Five years Three years Five years false --12-31 2022 FY 0001094972 NYSE D5 0001094972 ugp:TransportadoraSulbrasileiraDeGasMember 2022-12-31 0001094972 2022-01-01 2022-12-31 0001094972 2021-01-01 2021-12-31 0001094972 2020-01-01 2020-12-31 0001094972 ugp:FuelsLubricantsAndGreasesMember 2022-12-31 0001094972 ugp:RawMaterialsMember 2022-12-31 0001094972 ugp:LiquifiedPetroleumGasMember 2022-12-31 0001094972 ugp:ConsumableMaterialsAndOtherItemsForResaleMember 2022-12-31 0001094972 ugp:PurchaseForFutureDeliveryMember 2022-12-31 0001094972 ugp:PropertiesForResaleMember 2022-12-31 0001094972 2022-12-31 0001094972 ugp:FuelsLubricantsAndGreasesMember 2021-12-31 0001094972 ugp:RawMaterialsMember 2021-12-31 0001094972 ugp:LiquifiedPetroleumGasMember 2021-12-31 0001094972 ugp:ConsumableMaterialsAndOtherItemsForResaleMember 2021-12-31 0001094972 ugp:PurchaseForFutureDeliveryMember 2021-12-31 0001094972 ugp:PropertiesForResaleMember 2021-12-31 0001094972 2021-12-31 0001094972 2019-12-31 0001094972 2020-12-31 0001094972 ugp:ICMSStatevatMember 2022-12-31 0001094972 ugp:TaxOnIndustrializedProductsFederalVATMember 2022-12-31 0001094972 ugp:PisAndCofinsStateVATMember 2022-12-31 0001094972 ugp:ISSMunicipalVATMember 2022-12-31 0001094972 ugp:OtherTaxesPayableMember 2022-12-31 0001094972 ugp:ICMSStatevatMember 2021-12-31 0001094972 ugp:TaxOnIndustrializedProductsFederalVATMember 2021-12-31 0001094972 ugp:PisAndCofinsStateVATMember 2021-12-31 0001094972 ugp:ISSMunicipalVATMember 2021-12-31 0001094972 ugp:OtherTaxesPayableMember 2021-12-31 0001094972 2014-01-31 2014-01-31 0001094972 2021-02-24 0001094972 2021-08-11 0001094972 2022-02-23 0001094972 2022-08-03 0001094972 ugp:HealthAndDentalCareMember 2022-12-31 0001094972 ugp:IndemnificationOfFGTSMember 2022-12-31 0001094972 ugp:SeniorityBonusMember 2022-12-31 0001094972 ugp:LifeInsuranceMember 2022-12-31 0001094972 ugp:HealthAndDentalCareMember 2021-12-31 0001094972 ugp:IndemnificationOfFGTSMember 2021-12-31 0001094972 ugp:SeniorityBonusMember 2021-12-31 0001094972 ugp:LifeInsuranceMember 2021-12-31 0001094972 ugp:HealthAndDentalCareMember 2022-01-01 2022-12-31 0001094972 ugp:IndemnificationOfFGTSMember 2022-01-01 2022-12-31 0001094972 ugp:SeniorityBonusMember 2022-01-01 2022-12-31 0001094972 ugp:LifeInsuranceMember 2022-01-01 2022-12-31 0001094972 ugp:HealthAndDentalCareMember 2021-01-01 2021-12-31 0001094972 ugp:IndemnificationOfFGTSMember 2021-01-01 2021-12-31 0001094972 ugp:SeniorityBonusMember 2021-01-01 2021-12-31 0001094972 ugp:LifeInsuranceMember 2021-01-01 2021-12-31 0001094972 ugp:HealthAndDentalCareMember 2020-01-01 2020-12-31 0001094972 ugp:IndemnificationOfFGTSMember 2020-01-01 2020-12-31 0001094972 ugp:SeniorityBonusMember 2020-01-01 2020-12-31 0001094972 ugp:LifeInsuranceMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ActuarialAssumptionOfDiscountRatesMember 2022-12-31 0001094972 ifrs-full:ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember 2022-12-31 0001094972 ifrs-full:ActuarialAssumptionOfMedicalCostTrendRatesMember 2022-12-31 0001094972 ifrs-full:BottomOfRangeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TopOfRangeMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoIndustriaComercioMember ifrs-full:DiscontinuedOperationsMember ugp:IndoramaVenturesPlcMember 2021-08-16 2021-08-16 0001094972 ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ugp:AmPmComestveisLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:IcorbanCorrespondenteBancarioLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaTradingLimitedMember 2022-01-01 2022-12-31 0001094972 ugp:TropicalTransportesIpirangaLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaImobiliriaLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaLogsticaLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:OilTradingImportadoraExportadoraLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:IconicLubrificantesSAMember 2022-01-01 2022-12-31 0001094972 ugp:IntegraFrotasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:ImavenImoveisLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:ImifarmaProdutosFarmaceuticosCosmeticosMember 2022-01-01 2022-12-31 0001094972 ugp:CompanhiaUltragazMember 2022-01-01 2022-12-31 0001094972 ugp:NovaParanaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UtingasArmazenadoraMember 2022-01-01 2022-12-31 0001094972 ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:LPGInternationalIncMember 2022-01-01 2022-12-31 0001094972 ugp:UVCInvestimentosLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoIndustriaComercioMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoArgentinaSociedadDeResponsabilidadLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoUruguaySAMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoMexicoSADeCVMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoServiciosCorporativosSADeCVMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoServiciosIndustrialsDeCVMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoUSALLCMember 2022-01-01 2022-12-31 0001094972 ugp:GlobalPetroleumProductsTradingCorporationMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoEuropeSprlMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoColombiaSASMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoShanghaiLtdMember 2022-01-01 2022-12-31 0001094972 ugp:EmpresaCariocaDeProdutosQuimicosSAMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoOperacoesLogisticasParticipacoesLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoLogisticaSAMember 2022-01-01 2022-12-31 0001094972 ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UltraparInternationalSAMember 2022-01-01 2022-12-31 0001094972 ugp:SermaAssDosUsuariosEquipProcDeDadosMember 2022-01-01 2022-12-31 0001094972 ugp:UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember 2022-01-01 2022-12-31 0001094972 ugp:EaiClubeAutomobilistaSAMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaProdutosdePetroleoSAMember 2021-01-01 2021-12-31 0001094972 ugp:AmPmComestveisLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:IcorbanCorrespondenteBancarioLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaTradingLimitedMember 2021-01-01 2021-12-31 0001094972 ugp:TropicalTransportesIpirangaLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaImobiliriaLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaLogsticaLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:OilTradingImportadoraExportadoraLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:IconicLubrificantesSAMember 2021-01-01 2021-12-31 0001094972 ugp:IntegraFrotasLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:ImavenImoveisLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:ImifarmaProdutosFarmaceuticosCosmeticosMember 2021-01-01 2021-12-31 0001094972 ugp:CompanhiaUltragazMember 2021-01-01 2021-12-31 0001094972 ugp:NovaParanaDistribuidoraDeGasLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UtingasArmazenadoraMember 2021-01-01 2021-12-31 0001094972 ugp:BahianaDistribuidoraDeGasLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:LPGInternationalIncMember 2021-01-01 2021-12-31 0001094972 ugp:UVCInvestimentosLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoIndustriaComercioMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoArgentinaSociedadDeResponsabilidadLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoUruguaySAMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoMexicoSADeCVMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoServiciosCorporativosSADeCVMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoServiciosIndustrialsDeCVMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoUSALLCMember 2021-01-01 2021-12-31 0001094972 ugp:GlobalPetroleumProductsTradingCorporationMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoEuropeSprlMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoColombiaSASMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoShanghaiLtdMember 2021-01-01 2021-12-31 0001094972 ugp:EmpresaCariocaDeProdutosQuimicosSAMember 2021-01-01 2021-12-31 0001094972 ugp:UltracargoOperacoesLogisticasParticipacoesLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UltracargoLogisticaSAMember 2021-01-01 2021-12-31 0001094972 ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UltraparInternationalSAMember 2021-01-01 2021-12-31 0001094972 ugp:SermaAssDosUsuariosEquipProcDeDadosMember 2021-01-01 2021-12-31 0001094972 ugp:UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember 2021-01-01 2021-12-31 0001094972 ugp:EaiClubeAutomobilistaSAMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaProdutosdePetroleoSAMember 2020-01-01 2020-12-31 0001094972 ugp:AmPmComestveisLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:IcorbanCorrespondenteBancarioLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:IpirangaTradingLimitedMember 2020-01-01 2020-12-31 0001094972 ugp:TropicalTransportesIpirangaLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:IpirangaImobiliriaLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:IpirangaLogsticaLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:OilTradingImportadoraExportadoraLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:IconicLubrificantesSAMember 2020-01-01 2020-12-31 0001094972 ugp:IntegraFrotasLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:ImavenImoveisLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:ImifarmaProdutosFarmaceuticosCosmeticosMember 2020-01-01 2020-12-31 0001094972 ugp:CompanhiaUltragazMember 2020-01-01 2020-12-31 0001094972 ugp:NovaParanaDistribuidoraDeGasLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:UtingasArmazenadoraMember 2020-01-01 2020-12-31 0001094972 ugp:BahianaDistribuidoraDeGasLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:LPGInternationalIncMember 2020-01-01 2020-12-31 0001094972 ugp:UVCInvestimentosLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoIndustriaComercioMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoArgentinaSociedadDeResponsabilidadLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoUruguaySAMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoMexicoSADeCVMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoServiciosCorporativosSADeCVMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoServiciosIndustrialsDeCVMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoUSALLCMember 2020-01-01 2020-12-31 0001094972 ugp:GlobalPetroleumProductsTradingCorporationMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoEuropeSprlMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoColombiaSASMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoShanghaiLtdMember 2020-01-01 2020-12-31 0001094972 ugp:EmpresaCariocaDeProdutosQuimicosSAMember 2020-01-01 2020-12-31 0001094972 ugp:UltracargoOperacoesLogisticasParticipacoesLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:UltracargoLogisticaSAMember 2020-01-01 2020-12-31 0001094972 ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:UltraparInternationalSAMember 2020-01-01 2020-12-31 0001094972 ugp:SermaAssDosUsuariosEquipProcDeDadosMember 2020-01-01 2020-12-31 0001094972 ugp:UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember 2020-01-01 2020-12-31 0001094972 ugp:EaiClubeAutomobilistaSAMember 2020-01-01 2020-12-31 0001094972 ugp:OtherTaxesReceivableMember 2022-12-31 0001094972 ugp:ValueAddedTaxIvaOfForeignSubsidiariesMember 2021-12-31 0001094972 ugp:OtherTaxesReceivableMember 2021-12-31 0001094972 ugp:IrpjandcsllMember 2022-12-31 0001094972 ugp:IrpjandcsllMember 2021-12-31 0001094972 ugp:SubsidiariesGroupTwoMember ugp:ICMSStatevatMember 2022-12-31 0001094972 ugp:SubsidiariesGroupTwoMember ugp:ICMSStatevatMember 2021-12-31 0001094972 ugp:ICMSStatevatMember ifrs-full:TopOfRangeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:SubsidiariesMember ugp:ICMSStatevatMember 2022-12-31 0001094972 ifrs-full:SubsidiariesMember ugp:ICMSStatevatMember 2021-12-31 0001094972 ugp:IrpjAndCsll1Member ifrs-full:TopOfRangeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember ifrs-full:InAccordanceWithIFRS9Member 2022-01-01 2022-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2022-01-01 2022-12-31 0001094972 ugp:ResellerFinancingIpirangaMember ifrs-full:InAccordanceWithIFRS9Member 2022-01-01 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember ugp:DomesticCustomersMember 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember ugp:ForeignCustomersMember 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember ugp:DomesticCustomersMember 2021-12-31 0001094972 ifrs-full:TradeReceivablesMember ugp:ForeignCustomersMember 2021-12-31 0001094972 ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:CurrentMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember 2022-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember 2022-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember 2022-12-31 0001094972 ifrs-full:CurrentMember 2021-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember 2021-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember 2021-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember 2021-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember 2021-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember 2021-12-31 0001094972 ifrs-full:CurrentMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:CurrentMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:TradeReceivablesMember 2019-12-31 0001094972 ifrs-full:TradeReceivablesMember 2020-01-01 2020-12-31 0001094972 ifrs-full:TradeReceivablesMember 2020-12-31 0001094972 ifrs-full:TradeReceivablesMember 2021-01-01 2021-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:CurrentMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2022-12-31 0001094972 ifrs-full:CurrentMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2021-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2019-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2020-01-01 2020-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2020-12-31 0001094972 ugp:ResellerFinancingIpirangaMember 2021-01-01 2021-12-31 0001094972 ugp:MataripeBaseMember ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:CaucaiaBaseMember ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:JuazeiroBaseMember ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:AracajuBaseMember ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:SuapeBaseMember ugp:BahianaDistribuidoraDeGasLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:SuapeTerminalMember ugp:UltracargoLogisticaSAMember 2022-01-01 2022-12-31 0001094972 ugp:ItaquiTerminalMember ugp:UltracargoLogisticaSAMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoLogisticaSAMember ugp:AratuTerminalMember 2022-01-01 2022-12-31 0001094972 ugp:OilTradingImportadoraExportadoraLtdaMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:UltraparMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:AbasteceAiMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:IpirangaMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:UltracargoMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:OnshoreMember 2022-12-31 0001094972 ugp:IntegraFrotasMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:MillenniumMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:OilTradingImportadoraExportadoraLtdaMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:UltraparMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:AbasteceAiMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:UltracargoMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:OnshoreMember 2021-12-31 0001094972 ugp:IntegraFrotasMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:MillenniumMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:UltraparInternationalSAMember 2022-12-31 0001094972 ugp:UltraparInternationalSAMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2022-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:OtherAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:RealEstatePropertyMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:NotLaterThanOneYearMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneYearMember 2021-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember 2021-12-31 0001094972 ugp:NotLaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanFiveYearsAndNotLaterThanTenYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanTenYearsAndNotLaterThanFifteenYearsMember 2022-12-31 0001094972 ugp:LaterThanFifteenYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanFiveYearsMember 2021-12-31 0001094972 ifrs-full:RightofuseAssetsMember ugp:PortAreasMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ifrs-full:ComputerSoftwareMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ugp:DistributionRightsAssetMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ugp:TrademarkRightsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ifrs-full:OtherIntangibleAssetsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:DecarbonizationCreditsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ifrs-full:BrandNamesMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:DecarbonizationCreditsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember ifrs-full:ComputerSoftwareMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:DecarbonizationCreditsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:DecarbonizationCreditsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ugp:DecarbonizationCreditsMember 2019-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:BrandNamesMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:DecarbonizationCreditsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:ComputerSoftwareMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:TechnologybasedIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:DistributionRightsAssetMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:TrademarkRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:GoodwillMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember ifrs-full:GoodwillMember 2020-01-01 2020-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember ugp:CommercialPropertyRightsMember 2020-01-01 2020-12-31 0001094972 ugp:CommercialPropertyRightsMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ugp:ExtrafarmaMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaMember 2022-01-01 2022-12-31 0001094972 ugp:UniaoTerminaisMember 2022-01-01 2022-12-31 0001094972 ugp:TexacoMember 2022-01-01 2022-12-31 0001094972 ugp:IconicCblsamemberMember 2022-01-01 2022-12-31 0001094972 ugp:TemmarMember 2022-01-01 2022-12-31 0001094972 ugp:DNPMember 2022-01-01 2022-12-31 0001094972 ugp:RepsolMember 2022-01-01 2022-12-31 0001094972 ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:ExtrafarmaMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaMember 2021-01-01 2021-12-31 0001094972 ugp:UniaoTerminaisMember 2021-01-01 2021-12-31 0001094972 ugp:TexacoMember 2021-01-01 2021-12-31 0001094972 ugp:IconicCblsamemberMember 2021-01-01 2021-12-31 0001094972 ugp:TemmarMember 2021-01-01 2021-12-31 0001094972 ugp:DNPMember 2021-01-01 2021-12-31 0001094972 ugp:RepsolMember 2021-01-01 2021-12-31 0001094972 ugp:TEASTerminalExportadorDeAlcoolDeSantosLtdaMember 2021-01-01 2021-12-31 0001094972 srt:ParentCompanyMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ComputerSoftwareMember 2022-12-31 0001094972 ifrs-full:ComputerSoftwareMember 2020-12-31 0001094972 ifrs-full:ComputerSoftwareMember 2021-12-31 0001094972 ugp:DomesticSuppliersMember 2022-12-31 0001094972 ugp:ForeignSuppliersMember 2022-12-31 0001094972 ugp:DomesticSuppliersMember 2021-12-31 0001094972 ugp:ForeignSuppliersMember 2021-12-31 0001094972 ugp:DomesticSuppliersReverseFactoringMember 2022-12-31 0001094972 ugp:ForeignSuppliersReverseFactoringMember 2022-12-31 0001094972 ugp:DomesticSuppliersReverseFactoringMember 2021-12-31 0001094972 ugp:ForeignSuppliersReverseFactoringMember 2021-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2019-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2020-01-01 2020-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2020-12-31 0001094972 ugp:IrpjAndCsllMember 2021-12-31 0001094972 ugp:CivilEnvironmentalAndRegulatoryClaimsMember 2021-12-31 0001094972 ugp:LaborLitigationMember 2021-12-31 0001094972 ifrs-full:MiscellaneousOtherProvisionsMember 2021-12-31 0001094972 ugp:IrpjAndCsllMember 2022-01-01 2022-12-31 0001094972 ugp:CivilEnvironmentalAndRegulatoryClaimsMember 2022-01-01 2022-12-31 0001094972 ugp:LaborLitigationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:MiscellaneousOtherProvisionsMember 2022-01-01 2022-12-31 0001094972 ugp:IrpjAndCsllMember 2022-12-31 0001094972 ugp:CivilEnvironmentalAndRegulatoryClaimsMember 2022-12-31 0001094972 ugp:LaborLitigationMember 2022-12-31 0001094972 ifrs-full:MiscellaneousOtherProvisionsMember 2022-12-31 0001094972 ugp:TaxMattersMember 2022-12-31 0001094972 ugp:TaxMattersMember 2021-12-31 0001094972 ugp:SubsidiaryIPPMember 2022-01-01 2022-12-31 0001094972 ugp:CiaUltragazMember 2022-12-31 0001094972 ugp:CiaUltragazMember 2021-12-31 0001094972 ugp:ChevronAndSubsidiaryIPPMember 2022-12-31 0001094972 ugp:ChevronAndSubsidiaryIPPMember 2021-12-31 0001094972 ugp:ChevronAndSubsidiaryIPPMember 2017-12-01 0001094972 ugp:ChevronAndSubsidiaryIPPMember 2022-12-01 0001094972 ugp:ChevronAndSubsidiaryIPPMember 2021-12-01 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2019-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2019-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2019-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2019-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2020-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2020-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2020-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2020-01-01 2020-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2020-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2021-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2021-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2021-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2021-01-01 2021-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2021-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReserveOfCashFlowHedgesMember 2022-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember 2022-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReserveOfRemeasurementsOfDefinedBenefitPlansMember 2022-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2022-01-01 2022-12-31 0001094972 ugp:NoncontrollingShareholdersInterestChangeMember 2022-12-31 0001094972 ifrs-full:OrdinarySharesMember 2022-12-31 0001094972 ifrs-full:OrdinarySharesMember 2021-12-31 0001094972 ifrs-full:OrdinarySharesMember 2020-12-31 0001094972 ifrs-full:TreasurySharesMember 2022-12-31 0001094972 ifrs-full:TreasurySharesMember 2021-12-31 0001094972 ifrs-full:TreasurySharesMember 2020-12-31 0001094972 ifrs-full:TreasurySharesMember 2022-01-01 2022-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2022-01-01 2022-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2021-01-01 2021-12-31 0001094972 ifrs-full:MajorOrdinaryShareTransactionsMember 2022-12-31 0001094972 ugp:IpirangaMember 2022-01-01 2022-12-31 0001094972 ugp:UltragazMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AllOtherSegmentsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReportableSegmentsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaMember 2021-01-01 2021-12-31 0001094972 ugp:UltragazMember 2021-01-01 2021-12-31 0001094972 ugp:UltracargoMember 2021-01-01 2021-12-31 0001094972 ifrs-full:AllOtherSegmentsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReportableSegmentsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaMember 2020-01-01 2020-12-31 0001094972 ugp:UltragazMember 2020-01-01 2020-12-31 0001094972 ugp:UltracargoMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReportableSegmentsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:AllOtherSegmentsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ugp:IpirangaMember 2022-12-31 0001094972 ugp:UltragazMember 2022-12-31 0001094972 ugp:UltracargoMember 2022-12-31 0001094972 ifrs-full:AllOtherSegmentsMember 2022-12-31 0001094972 ifrs-full:ReportableSegmentsMember 2022-12-31 0001094972 ugp:IpirangaMember 2021-12-31 0001094972 ugp:UltragazMember 2021-12-31 0001094972 ugp:UltracargoMember 2021-12-31 0001094972 ifrs-full:AllOtherSegmentsMember 2021-12-31 0001094972 ifrs-full:ReportableSegmentsMember 2021-12-31 0001094972 country:BR 2022-01-01 2022-12-31 0001094972 srt:EuropeMember 2022-01-01 2022-12-31 0001094972 ugp:UnitedStatesOfAmericaAndCanadaMember 2022-01-01 2022-12-31 0001094972 ugp:OtherLatinAmericanCountriesMember 2022-01-01 2022-12-31 0001094972 ugp:OtherRegionsMember 2022-01-01 2022-12-31 0001094972 country:BR 2021-01-01 2021-12-31 0001094972 srt:EuropeMember 2021-01-01 2021-12-31 0001094972 ugp:UnitedStatesOfAmericaAndCanadaMember 2021-01-01 2021-12-31 0001094972 ugp:OtherLatinAmericanCountriesMember 2021-01-01 2021-12-31 0001094972 ugp:OtherRegionsMember 2021-01-01 2021-12-31 0001094972 country:BR 2020-01-01 2020-12-31 0001094972 srt:EuropeMember 2020-01-01 2020-12-31 0001094972 ugp:UnitedStatesOfAmericaAndCanadaMember 2020-01-01 2020-12-31 0001094972 ugp:OtherLatinAmericanCountriesMember 2020-01-01 2020-12-31 0001094972 ugp:OtherRegionsMember 2020-01-01 2020-12-31 0001094972 ugp:CargoContractOneMember 2022-01-01 2022-12-31 0001094972 ugp:CargoContractTwoMember 2022-01-01 2022-12-31 0001094972 ugp:CargoContractThreeMember 2022-01-01 2022-12-31 0001094972 ugp:CargoContractFourMember 2022-01-01 2022-12-31 0001094972 ugp:CargoContractFiveMember 2022-01-01 2022-12-31 0001094972 ugp:AratuMember 2022-12-31 0001094972 ugp:SuapeMember 2022-12-31 0001094972 ugp:ItaquiMember 2022-12-31 0001094972 ugp:ItaquiMember ugp:AreaPortLeaseMember ugp:UltracargoLogisticaSAMember ugp:AreaIqi13Member 2021-04-09 2021-04-09 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2021-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2022-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2022-01-01 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AccumulatedImpairmentMember 2022-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2020-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2021-01-01 2021-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:LandMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ConstructionInProgressMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:ImportsInProgressMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:BuildingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:LPGTanksAndBottlesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2019-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:IntangibleAssetsOtherThanGoodwillMember 2022-01-01 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-12-31 0001094972 ugp:DeferredStockUnitPlanMember ugp:GrantDateMarch42016Member ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2020-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2021-01-01 2021-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2021-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateApril42018Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember192018Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember242018Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateApril32019Member 2022-01-01 2022-12-31 0001094972 ugp:PerformanceStockAwardMember ugp:GrantDateApril32019Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember22019Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateApril12020Member 2022-01-01 2022-12-31 0001094972 ugp:PerformanceStockAwardMember ugp:GrantDateApril12020Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember162020Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateApril72021Member 2022-01-01 2022-12-31 0001094972 ugp:PerformanceStockAwardMember ugp:GrantDateApril72021Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember222021Member 2022-01-01 2022-12-31 0001094972 ifrs-full:IssuedCapitalMember 2021-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2021-12-31 0001094972 ifrs-full:CapitalReserveMember 2021-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2021-12-31 0001094972 ifrs-full:StatutoryReserveMember 2021-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2021-12-31 0001094972 ugp:ValuationAdjustmentsMember 2021-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2021-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2021-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2021-12-31 0001094972 ifrs-full:RetainedEarningsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2022-01-01 2022-12-31 0001094972 ugp:ValuationAdjustmentsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2022-01-01 2022-12-31 0001094972 ifrs-full:CapitalReserveMember 2022-01-01 2022-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2022-01-01 2022-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2022-01-01 2022-12-31 0001094972 ifrs-full:StatutoryReserveMember 2022-01-01 2022-12-31 0001094972 ifrs-full:IssuedCapitalMember 2022-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2022-12-31 0001094972 ifrs-full:CapitalReserveMember 2022-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2022-12-31 0001094972 ifrs-full:StatutoryReserveMember 2022-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2022-12-31 0001094972 ugp:ValuationAdjustmentsMember 2022-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2022-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2022-12-31 0001094972 ifrs-full:IssuedCapitalMember 2020-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2020-12-31 0001094972 ifrs-full:CapitalReserveMember 2020-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2020-12-31 0001094972 ifrs-full:StatutoryReserveMember 2020-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2020-12-31 0001094972 ugp:ValuationAdjustmentsMember 2020-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2020-12-31 0001094972 ugp:AdditionalDividendsMember 2020-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2020-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2020-12-31 0001094972 ifrs-full:RetainedEarningsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2021-01-01 2021-12-31 0001094972 ugp:ValuationAdjustmentsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2021-01-01 2021-12-31 0001094972 ifrs-full:CapitalReserveMember 2021-01-01 2021-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2021-01-01 2021-12-31 0001094972 ifrs-full:TreasurySharesMember 2021-01-01 2021-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2021-01-01 2021-12-31 0001094972 ifrs-full:StatutoryReserveMember 2021-01-01 2021-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2020-12-31 0001094972 ugp:GrantDateApril72021Member ugp:RestrictedAndPerformanceStockMember 2021-01-01 2021-12-31 0001094972 ugp:GrantDateSeptember222021Member ugp:RestrictedAndPerformanceStockMember 2021-01-01 2021-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2021-01-01 2021-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2022-01-01 2022-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2022-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2020-01-01 2020-12-31 0001094972 ifrs-full:RetainedEarningsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2020-01-01 2020-12-31 0001094972 ugp:ValuationAdjustmentsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:CapitalReserveMember 2020-01-01 2020-12-31 0001094972 ifrs-full:TreasurySharesMember 2020-01-01 2020-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2020-01-01 2020-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2020-01-01 2020-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2020-01-01 2020-12-31 0001094972 ugp:AdditionalDividendsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:StatutoryReserveMember 2020-01-01 2020-12-31 0001094972 ugp:ExtrafarmaMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2021-12-31 0001094972 ugp:OxitenoIndustriaComercioMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2021-12-31 0001094972 ifrs-full:EliminationOfIntersegmentAmountsMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2021-12-31 0001094972 ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2021-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:OxitenoIndustriaComercioMember 2021-01-01 2021-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:ExtrafarmaMember 2021-01-01 2021-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:OxitenoIndustriaComercioMember ifrs-full:DiscontinuedOperationsMember 2020-01-01 2020-12-31 0001094972 ugp:ExtrafarmaMember ifrs-full:DiscontinuedOperationsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:BottomOfRangeMember ugp:DeferredStockUnitPlanMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TopOfRangeMember ugp:DeferredStockUnitPlanMember 2022-01-01 2022-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:BottomOfRangeMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TopOfRangeMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2017-04-19 2017-04-19 0001094972 2017-04-19 0001094972 ugp:UniaoVopakMember 2022-12-31 0001094972 ugp:RPRMember 2022-12-31 0001094972 ugp:LatitudeLogsticaMember 2022-12-31 0001094972 ugp:NavegantesLogsticaMember 2022-12-31 0001094972 ugp:NordesteLogsticaIMember 2022-12-31 0001094972 ugp:NordesteLogsticaIIMember 2022-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2022-12-31 0001094972 ugp:UniaoVopakMember 2022-01-01 2022-12-31 0001094972 ugp:RPRMember 2022-01-01 2022-12-31 0001094972 ugp:LatitudeLogsticaMember 2022-01-01 2022-12-31 0001094972 ugp:NavegantesLogsticaMember 2022-01-01 2022-12-31 0001094972 ugp:NordesteLogsticaIMember 2022-01-01 2022-12-31 0001094972 ugp:NordesteLogsticaIIMember 2022-01-01 2022-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2022-01-01 2022-12-31 0001094972 ugp:UniaoVopakMember 2021-12-31 0001094972 ugp:RPRMember 2021-12-31 0001094972 ugp:ConnectCarMember 2021-12-31 0001094972 ugp:LatitudeLogsticaMember 2021-12-31 0001094972 ugp:NavegantesLogsticaMember 2021-12-31 0001094972 ugp:NordesteLogsticaIMember 2021-12-31 0001094972 ugp:NordesteLogsticaIIMember 2021-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2021-12-31 0001094972 ugp:UniaoVopakMember 2021-01-01 2021-12-31 0001094972 ugp:RPRMember 2021-01-01 2021-12-31 0001094972 ugp:ConnectCarMember 2021-01-01 2021-12-31 0001094972 ugp:LatitudeLogsticaMember 2021-01-01 2021-12-31 0001094972 ugp:NavegantesLogsticaMember 2021-01-01 2021-12-31 0001094972 ugp:NordesteLogsticaIMember 2021-01-01 2021-12-31 0001094972 ugp:NordesteLogsticaIIMember 2021-01-01 2021-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2021-01-01 2021-12-31 0001094972 ugp:UniaoVopakMember 2020-01-01 2020-12-31 0001094972 ugp:RPRMember 2020-01-01 2020-12-31 0001094972 ugp:ConnectCarMember 2020-01-01 2020-12-31 0001094972 ugp:NavegantesLogsticaMember 2020-01-01 2020-12-31 0001094972 ugp:NordesteLogsticaIMember 2020-01-01 2020-12-31 0001094972 ugp:NordesteLogsticaIIMember 2020-01-01 2020-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2020-01-01 2020-12-31 0001094972 ugp:TransportadoraSulbrasileiraDeGasMember 2022-01-01 2022-12-31 0001094972 ugp:MetalurgicaPlusMember 2022-01-01 2022-12-31 0001094972 ugp:PlenogasDistribuidoraDeGasMember 2022-01-01 2022-12-31 0001094972 ugp:MetalurgicaPlusMember 2022-12-31 0001094972 ugp:PlenogasDistribuidoraDeGasMember 2022-12-31 0001094972 ugp:TransportadoraSulbrasileiraDeGasMember 2021-12-31 0001094972 ugp:TransportadoraSulbrasileiraDeGasMember 2021-01-01 2021-12-31 0001094972 ugp:OxicapIndustriaDeGasesMember 2021-01-01 2021-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-01-01 2021-12-31 0001094972 ugp:MetalurgicaPlusMember 2021-01-01 2021-12-31 0001094972 ugp:PlenogasDistribuidoraDeGasMember 2021-01-01 2021-12-31 0001094972 ugp:OxicapIndustriaDeGasesMember 2021-12-31 0001094972 ugp:MetalurgicaPlusMember 2021-12-31 0001094972 ugp:PlenogasDistribuidoraDeGasMember 2021-12-31 0001094972 ugp:TransportadoraSulbrasileiraDeGasMember 2020-01-01 2020-12-31 0001094972 ugp:OxicapIndustriaDeGasesMember 2020-01-01 2020-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2020-01-01 2020-12-31 0001094972 ugp:MetalurgicaPlusMember 2020-01-01 2020-12-31 0001094972 ugp:PlenogasDistribuidoraDeGasMember 2020-01-01 2020-12-31 0001094972 ugp:Loan1Member 2022-01-01 2022-12-31 0001094972 ugp:Loan2Member 2022-01-01 2022-12-31 0001094972 ugp:Loan3Member 2022-01-01 2022-12-31 0001094972 ugp:Loan4Member 2022-01-01 2022-12-31 0001094972 ugp:Loan5Member 2022-01-01 2022-12-31 0001094972 ugp:Loan6Member 2022-01-01 2022-12-31 0001094972 ugp:Loan7Member 2022-01-01 2022-12-31 0001094972 ugp:Loan8Member 2022-01-01 2022-12-31 0001094972 ugp:Loan9Member 2022-01-01 2022-12-31 0001094972 ugp:Loan10Member 2022-01-01 2022-12-31 0001094972 ugp:Loan11Member 2022-01-01 2022-12-31 0001094972 ugp:Loan12Member 2022-01-01 2022-12-31 0001094972 ugp:Loan13Member 2022-01-01 2022-12-31 0001094972 ugp:Loan14Member 2022-01-01 2022-12-31 0001094972 ugp:Loan1Member 2022-12-31 0001094972 ugp:Loan2Member 2022-12-31 0001094972 ugp:Loan3Member 2022-12-31 0001094972 ugp:Loan4Member 2022-12-31 0001094972 ugp:Loan5Member 2022-12-31 0001094972 ugp:Loan6Member 2022-12-31 0001094972 ugp:Loan7Member 2022-12-31 0001094972 ugp:Loan8Member 2022-12-31 0001094972 ugp:Loan9Member 2022-12-31 0001094972 ugp:Loan10Member 2022-12-31 0001094972 ugp:Loan11Member 2022-12-31 0001094972 ugp:Loan12Member 2022-12-31 0001094972 ugp:Loan13Member 2022-12-31 0001094972 ugp:Loan14Member 2022-12-31 0001094972 ugp:Loan1Member 2021-12-31 0001094972 ugp:Loan2Member 2021-12-31 0001094972 ugp:Loan3Member 2021-12-31 0001094972 ugp:Loan4Member 2021-12-31 0001094972 ugp:Loan5Member 2021-12-31 0001094972 ugp:Loan6Member 2021-12-31 0001094972 ugp:Loan7Member 2021-12-31 0001094972 ugp:Loan8Member 2021-12-31 0001094972 ugp:Loan9Member 2021-12-31 0001094972 ugp:Loan10Member 2021-12-31 0001094972 ugp:Loan11Member 2021-12-31 0001094972 ugp:Loan12Member 2021-12-31 0001094972 ugp:Loan13Member 2021-12-31 0001094972 ugp:Loan14Member 2021-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2021-12-31 0001094972 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2021-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember 2021-12-31 0001094972 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember 2021-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember 2021-12-31 0001094972 ugp:DebenturesMember 2022-01-01 2022-12-31 0001094972 ugp:NotesInForeignMarketMember 2022-01-01 2022-12-31 0001094972 ugp:BancoDoBrasilMember 2022-01-01 2022-12-31 0001094972 ugp:DebenturesMember 2021-12-31 0001094972 ugp:NotesInForeignMarketMember 2021-12-31 0001094972 ugp:BancoDoBrasilMember 2021-12-31 0001094972 ugp:DebenturesMember 2022-12-31 0001094972 ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ugp:BancoDoBrasilMember 2022-12-31 0001094972 ugp:DebenturesMember 2021-01-01 2021-12-31 0001094972 ugp:NotesInForeignMarketMember 2021-01-01 2021-12-31 0001094972 ugp:BancoDoBrasilMember 2021-01-01 2021-12-31 0001094972 ugp:DebenturesMember 2020-12-31 0001094972 ugp:NotesInForeignMarketMember 2020-12-31 0001094972 ugp:BancoDoBrasilMember 2020-12-31 0001094972 ugp:DebenturesMember 2020-01-01 2020-12-31 0001094972 ugp:NotesInForeignMarketMember 2020-01-01 2020-12-31 0001094972 ugp:UnsecuredNotesPayableNotConvertibleIntoSharesMember 2020-01-01 2020-12-31 0001094972 ugp:BancoDoBrasilMember 2020-01-01 2020-12-31 0001094972 ugp:DebenturesMember 2019-12-31 0001094972 ugp:NotesInForeignMarketMember 2019-12-31 0001094972 ugp:UnsecuredNotesPayableNotConvertibleIntoSharesMember 2019-12-31 0001094972 ugp:BancoDoBrasilMember 2019-12-31 0001094972 ugp:ForeignLoansMember 2019-12-31 0001094972 ugp:OtherTransactionCostsMember 2019-12-31 0001094972 ugp:ForeignLoansMember 2020-01-01 2020-12-31 0001094972 ugp:OtherTransactionCostsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:NotLaterThanOneYearMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneYearMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFourYearsMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:LaterThanFourYearsAndNotLaterThanFiveYearsMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:LaterThanFiveYearsMember ugp:NotesInForeignMarketMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneYearMember 2022-12-31 0001094972 ugp:IpirangaProdutosdePetroleoSAMember 2022-12-31 0001094972 ugp:IpirangaProdutosdePetroleoSAMember 2021-12-31 0001094972 ugp:ChargesMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:ForeignLoanOneMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:ForeignLoanOneMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoanTwoMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoanThreeMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoanFourMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoanTwoMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:ForeignLoanThreeMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:ForeignLoanFourMember ugp:IpirangaProdutosdePetroleoSAMember ugp:ForeignLoansMember 2022-12-31 0001094972 ugp:MaturityFourMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturityFiveMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturitySixMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturitySevenMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturityEightMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturityNineMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturityTenMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:MaturityElevenMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:DebentureTwelveMember ugp:DebenturesFirstIssueMember ugp:TequimarVilaDoCondeMember 2022-12-31 0001094972 ugp:DebentureTwelveMember ugp:DebenturesFirstIssueMember ugp:TequimarVilaDoCondeMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureTwelveMember ugp:DebenturesSecondIssueMember ugp:UltracargoLogisticaSAMember 2022-12-31 0001094972 ugp:DebentureTwelveMember ugp:DebenturesSecondIssueMember ugp:UltracargoLogisticaSAMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureThirteenMember ugp:DebenturesTenthIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-12-31 0001094972 ugp:DebentureThirteenMember ugp:DebenturesTenthIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureElevenMember ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-12-31 0001094972 ugp:DebentureElevenMember ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ifrs-full:FixedInterestRateMember 2022-12-31 0001094972 ugp:UltraparInternationalSAMember 2022-04-14 0001094972 ugp:UltraparInternationalSAMember 2022-04-14 2022-04-14 0001094972 ugp:UltraparInternationalSAMember 2022-04-18 0001094972 ugp:UltraparInternationalSAMember 2022-04-18 2022-04-18 0001094972 ugp:UltraparInternationalSAMember 2022-04-27 0001094972 ugp:UltraparInternationalSAMember 2022-04-27 2022-04-27 0001094972 ugp:RestrictedAssetsMember 2022-12-31 0001094972 ugp:RestrictedAssetsMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoansMember ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureElevenMember ugp:DebenturesFirstIssueMember ugp:TequimarVilaDoCondeMember 2021-03-01 2021-03-31 0001094972 ugp:DebenturesFirstIssueMember ugp:TequimarVilaDoCondeMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureTwelveMember ugp:DebenturesSecondIssueMember ugp:UltracargoLogisticaSAMember 2021-03-01 2021-03-31 0001094972 ugp:DebenturesSecondIssueMember ugp:UltracargoLogisticaSAMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureThirteenMember ugp:DebenturesTenthIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2021-09-30 0001094972 ugp:DebentureThirteenMember ugp:DebenturesTenthIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2021-09-01 2021-09-30 0001094972 ugp:DebenturesTenthIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ugp:DebentureElevenMember ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-06-30 0001094972 ugp:DebentureElevenMember ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-06-01 2022-06-30 0001094972 ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoIndustriaComercioMember 2022-12-31 0001094972 ugp:ExtrafarmaMember 2022-12-31 0001094972 ugp:ExtrafarmaMember 2022-01-01 2022-12-31 0001094972 ugp:PropertyPlantAndEquipmentGroupOneMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ugp:UltragazMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AllOtherSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:ReportableSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ugp:IpirangaMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:UltragazMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:UltracargoMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:AbasteceAiMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:AllOtherSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:ReportableSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2021-01-01 2021-12-31 0001094972 ugp:IpirangaMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ugp:UltragazMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ugp:UltracargoMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:ReportableSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:AllOtherSegmentsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember 2021-12-31 0001094972 country:SG 2022-01-01 2022-12-31 0001094972 country:SG 2021-01-01 2021-12-31 0001094972 country:SG 2020-01-01 2020-12-31 0001094972 ugp:StellaMember 2022-01-01 2022-12-31 0001094972 ugp:StellaMember 2021-01-01 2021-12-31 0001094972 ugp:TradePayablesRreverseFactoringMember 2022-12-31 0001094972 ugp:TradePayablesRreverseFactoringMember 2021-12-31 0001094972 ifrs-full:WeightedAverageMember 2022-01-01 2022-12-31 0001094972 ugp:IRPJMember 2022-01-01 2022-12-31 0001094972 ugp:CSLLMember 2022-01-01 2022-12-31 0001094972 ugp:CashEquivalentMember ugp:DiMember 2022-12-31 0001094972 ugp:FinancialInvestmentsMember ugp:DiMember 2022-12-31 0001094972 ugp:LoansAndDebenturesMember ugp:DiMember 2022-12-31 0001094972 ugp:LiabilityPositionOfForeignExchangeHedgingInstrumentsMember ugp:DiMember 2022-12-31 0001094972 ugp:LiabilityPositionOfHedgingInstrumentsPreFixedMember ugp:DiMember 2022-12-31 0001094972 ugp:DiMember 2022-12-31 0001094972 ugp:CashEquivalentMember ugp:DiMember 2021-12-31 0001094972 ugp:FinancialInvestmentsMember ugp:DiMember 2021-12-31 0001094972 ugp:LoansAndDebenturesMember ugp:DiMember 2021-12-31 0001094972 ugp:LiabilityPositionOfForeignExchangeHedgingInstrumentsMember ugp:DiMember 2021-12-31 0001094972 ugp:LiabilityPositionOfHedgingInstrumentsPreFixedMember ugp:DiMember 2021-12-31 0001094972 ugp:DiMember 2021-12-31 0001094972 ugp:TJLPMember ugp:LoanPayablesMember 2021-12-31 0001094972 ugp:TJLPMember 2021-12-31 0001094972 ugp:AssetPositionOfForeignExchangeHedgingInstrumentsMember ugp:LIBORMember 2021-12-31 0001094972 ugp:LoanPayablesMember ugp:LIBORMember 2021-12-31 0001094972 ugp:LIBORMember 2021-12-31 0001094972 ugp:ScenarioMember ugp:DiMember 2022-01-01 2022-12-31 0001094972 ugp:ScenarioMember ugp:TJLPMember 2022-01-01 2022-12-31 0001094972 ugp:AAAMember 2022-12-31 0001094972 ugp:AAMember 2022-12-31 0001094972 ugp:AMember 2022-12-31 0001094972 ugp:AAAMember 2021-12-31 0001094972 ugp:AAMember 2021-12-31 0001094972 ugp:AMember 2021-12-31 0001094972 ifrs-full:CurrentMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ifrs-full:WeightedAverageMember 2022-12-31 0001094972 ifrs-full:CurrentMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 ifrs-full:NotLaterThanOneMonthMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 ifrs-full:LaterThanOneMonthAndNotLaterThanTwoMonthsMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 ifrs-full:LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 ifrs-full:LaterThanThreeMonthsAndNotLaterThanSixMonthsMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 ifrs-full:LaterThanSixMonthsMember ifrs-full:WeightedAverageMember 2021-12-31 0001094972 country:BR 2022-12-31 0001094972 ugp:UnitedStatesOfAmericaAndCanadaMember 2022-12-31 0001094972 ugp:OtherLatinAmericanCountriesMember 2022-12-31 0001094972 srt:EuropeMember 2022-12-31 0001094972 ugp:OtherRegionsMember 2022-12-31 0001094972 country:BR 2021-12-31 0001094972 ugp:UnitedStatesOfAmericaAndCanadaMember 2021-12-31 0001094972 ugp:OtherLatinAmericanCountriesMember 2021-12-31 0001094972 srt:EuropeMember 2021-12-31 0001094972 ugp:OtherRegionsMember 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2022-01-01 2022-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2021-01-01 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2022-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember 2022-12-31 0001094972 ifrs-full:CommodityPriceRiskMember 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:RBOBMember ugp:TermMember 2022-01-01 2022-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:RBOBMember ugp:TermMember 2021-01-01 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:RBOBMember ugp:TermMember 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:RBOBMember ugp:TermMember 2022-12-31 0001094972 ifrs-full:LaterThanOneYearAndNotLaterThanThreeYearsMember 2022-12-31 0001094972 ifrs-full:LaterThanThreeYearsAndNotLaterThanFiveYearsMember 2022-12-31 0001094972 ugp:ForeignExchangeHedgingInstrumentsMember 2022-12-31 0001094972 ugp:ForeignExchangeHedgingInstrumentsMember 2021-12-31 0001094972 ugp:ForeignExchangeHedgingInstrumentsMember 2022-01-01 2022-12-31 0001094972 ugp:InterestRateHedgingInstrumentsMember 2022-12-31 0001094972 ugp:InterestRateHedgingInstrumentsMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignExchangeHedgingInstrumentsMember 2021-01-01 2021-12-31 0001094972 ugp:InterestRateHedgingInstrumentsMember 2021-12-31 0001094972 ugp:InterestRateHedgingInstrumentsMember 2021-01-01 2021-12-31 0001094972 ugp:BrazilianRealPerUSDollarMember 2022-01-01 2022-12-31 0001094972 ugp:CustomerConcentrationsRiskMember ugp:CustomerOneMember ifrs-full:BottomOfRangeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LaterThanOneYearMember 2022-12-31 0001094972 ugp:ValueAddedTaxIvaOfForeignSubsidiariesMember 2022-12-31 0001094972 ugp:SubsidiariesGroupFiveMember ugp:PisAndCofinsStateVATMember 2022-12-31 0001094972 ugp:PisAndCofinsStateVATMember ifrs-full:TopOfRangeMember ugp:SubsidiariesGroupFourMember 2022-01-01 2022-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2021-01-01 2021-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2021-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2022-01-01 2022-12-31 0001094972 ugp:ProvisionForAssetRetirementObligationMember 2022-12-31 0001094972 ifrs-full:IntangibleAssetsOtherThanGoodwillMember 2021-01-01 2021-12-31 0001094972 ugp:UnsecuredNotesPayableNotConvertibleIntoSharesMember 2020-12-31 0001094972 ugp:ForeignLoansMember 2020-12-31 0001094972 ugp:OtherTransactionCostsMember 2020-12-31 0001094972 ifrs-full:IssuedCapitalMember 2019-12-31 0001094972 ugp:EquityInstrumentGrantedMember 2019-12-31 0001094972 ifrs-full:CapitalReserveMember 2019-12-31 0001094972 ifrs-full:TreasurySharesMember 2019-12-31 0001094972 ifrs-full:RevaluationSurplusMember 2019-12-31 0001094972 ifrs-full:StatutoryReserveMember 2019-12-31 0001094972 ugp:InvestmentsStatutoryReserveMember 2019-12-31 0001094972 ugp:ValuationAdjustmentsMember 2019-12-31 0001094972 ifrs-full:ReserveOfExchangeDifferencesOnTranslationMember 2019-12-31 0001094972 ugp:AdditionalDividendsMember 2019-12-31 0001094972 ifrs-full:EquityAttributableToOwnersOfParentMember 2019-12-31 0001094972 ifrs-full:NoncontrollingInterestsMember 2019-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ugp:DecarbonizationCreditsMember 2021-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ifrs-full:TechnologybasedIntangibleAssetsMember 2021-12-31 0001094972 ifrs-full:GrossCarryingAmountMember ugp:TrademarkRightsMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedImpairmentMember 2020-12-31 0001094972 ugp:MajorBorrowingsMember ugp:CompanhiaUltragazMember ugp:ForeignLoansMember 2023-01-19 0001094972 ifrs-full:VehiclesMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ifrs-full:FixturesAndFittingsMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ugp:ITEquipmentMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:AccumulatedImpairmentMember 2021-12-31 0001094972 ugp:MajorBorrowingsMember ugp:CompanhiaUltragazMember ugp:ForeignLoansMember 2023-01-19 2023-01-19 0001094972 ifrs-full:MajorBusinessCombinationMember ugp:CompanhiaUltragazMember ugp:NeogasGroupMember 2023-02-01 0001094972 ugp:AdvancesToSuppliersMember ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2020-01-01 2020-12-31 0001094972 ugp:IpirangaMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:UltragazComercialLtdaMember ugp:StellaGroupMember 2022-10-01 0001094972 ugp:UltragazComercialLtdaMember ugp:StellaGroupMember 2022-10-01 2022-10-01 0001094972 ugp:UltragazComercialLtdaMember ugp:StellaGroupMember 2022-01-01 2022-12-31 0001094972 ugp:UltragazComercialLtdaMember ugp:StellaGroupMember 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember 2021-01-01 2021-12-31 0001094972 ugp:AdditionalDividendsMember 2022-01-01 2022-12-31 0001094972 ugp:AdditionalDividendsMember 2021-01-01 2021-12-31 0001094972 ugp:TJLPMember ugp:LoanPayablesMember 2022-12-31 0001094972 ugp:TJLPMember 2022-12-31 0001094972 ugp:LIBORMember ugp:AssetPositionOfForeignExchangeHedgingInstrumentsMember 2022-12-31 0001094972 ugp:LIBORMember ugp:LoanPayablesMember 2022-12-31 0001094972 ugp:LIBORMember 2022-12-31 0001094972 ifrs-full:OtherIntangibleAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2022-01-01 2022-12-31 0001094972 ugp:TequimarVilaDoCondeMember 2021-01-01 2021-12-31 0001094972 ifrs-full:LandMember ifrs-full:AccumulatedImpairmentMember 2022-12-31 0001094972 ifrs-full:LeaseholdImprovementsMember ifrs-full:AccumulatedImpairmentMember 2022-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:AccumulatedImpairmentMember 2022-12-31 0001094972 ugp:AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember ifrs-full:AccumulatedImpairmentMember 2022-12-31 0001094972 ugp:DiMember ugp:ScenarioMember 2022-12-31 0001094972 ugp:TJLPMember ugp:ScenarioMember 2022-12-31 0001094972 ugp:OtherExternalCreditGradesMember 2022-12-31 0001094972 ugp:OtherExternalCreditGradesMember 2021-12-31 0001094972 ugp:ScenarioMember 2022-12-31 0001094972 ugp:ScenarioMember ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2022-12-31 0001094972 ugp:ScenarioMember ifrs-full:CommodityPriceRiskMember ugp:HeatingOilOneMember ugp:TermMember 2021-12-31 0001094972 ugp:ScenarioMember ifrs-full:CommodityPriceRiskMember ugp:TermMember ugp:RBOBMember 2022-12-31 0001094972 ugp:ScenarioMember ifrs-full:CommodityPriceRiskMember ugp:TermMember ugp:RBOBMember 2021-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:ScenarioMember 2022-12-31 0001094972 ifrs-full:CommodityPriceRiskMember ugp:ScenarioMember 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignExchangeSwapMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-12-31 0001094972 ugp:ForeignExchangeSwapMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignExchangeSwapOneMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-12-31 0001094972 ugp:ForeignExchangeSwapOneMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:TermMember 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:TermMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfMember 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfOneMember 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfOneMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapOneMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapOneMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:InterestRateSwapContractOneMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:InterestRateSwapContractOneMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:TermMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:TermMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember ugp:NdfMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember 2021-12-31 0001094972 ugp:DerivativesDesignatedAsHedgeAccountingMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:NdfMember 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:NdfMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember 2022-01-01 2022-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:NdfMember 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:NdfMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ifrs-full:InterestRateSwapContractMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember ugp:ForeignExchangeSwapMember 2021-01-01 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember 2021-12-31 0001094972 ugp:DerivativesNotDesignatedAsHedgeAccountingMember 2021-01-01 2021-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember 2021-01-01 2021-12-31 0001094972 ugp:InterestRateSwapContractOneMember 2022-01-01 2022-12-31 0001094972 ugp:InterestRateSwapContractOneMember 2021-01-01 2021-12-31 0001094972 ugp:BrazilianRealPerUSDollarMember 2022-12-31 0001094972 ifrs-full:BottomOfRangeMember 2022-12-31 0001094972 ifrs-full:TopOfRangeMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:CashAndBankDepositsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ifrs-full:TradeReceivablesMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:ResellerFinancingMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:LoanFinancingLiabilitiesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:DebenturesMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:DebenturesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:TradePayableMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:TradePayableMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:TradePayableMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:TradePayableMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:TradePayableMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:TradePayableMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:TradePayablesReverseFactoringMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ugp:SubscriptionWarrantsIndemnificationMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:FinancialLiabilitiesOfCustomersMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ifrs-full:Level3OfFairValueHierarchyMember ifrs-full:ContingentConsiderationMember 2022-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndBankDepositsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndBankDepositsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndBankDepositsMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndBankDepositsMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndBankDepositsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ifrs-full:TradeReceivablesMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember ugp:ResellerFinancingMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ResellerFinancingMember 2021-12-31 0001094972 ifrs-full:FinancialAssetsAtAmortisedCostCategoryMember ugp:ResellerFinancingMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ResellerFinancingMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ResellerFinancingMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:LoanFinancingLiabilitiesMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:LoanFinancingLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:LoanFinancingLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:LoanFinancingLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:LoanFinancingLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:DebenturesMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:DebenturesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:DebenturesMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:DebenturesMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:DebenturesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ifrs-full:LeaseLiabilitiesMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ifrs-full:LeaseLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ifrs-full:LeaseLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ifrs-full:LeaseLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ifrs-full:LeaseLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:TradePayableMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:TradePayableMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:TradePayableMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:TradePayableMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:TradePayableMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2021-12-31 0001094972 ugp:FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2021-12-31 0001094972 ifrs-full:FinancialLiabilitiesAtAmortisedCostCategoryMember ugp:SubscriptionWarrantsIndemnificationMember 2021-12-31 0001094972 ifrs-full:Level1OfFairValueHierarchyMember ugp:SubscriptionWarrantsIndemnificationMember 2021-12-31 0001094972 ifrs-full:Level2OfFairValueHierarchyMember ugp:SubscriptionWarrantsIndemnificationMember 2021-12-31 0001094972 ugp:ICMSStatevatMember 2021-12-31 0001094972 ugp:ICMSStatevatMember 2022-01-01 2022-12-31 0001094972 ugp:ICMSStatevatMember 2022-12-31 0001094972 ugp:ProvisionForIndemnitiesMember 2021-12-31 0001094972 ugp:ProvisionForIndemnitiesMember 2022-01-01 2022-12-31 0001094972 ugp:ProvisionForIndemnitiesMember 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:OxitenoIndustriaComercioMember 2022-04-01 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:ExtrafarmaMember 2022-08-01 0001094972 ugp:SubsidiaryIPPMember ugp:ReceivablesInvestmentFundMember 2022-01-01 2022-12-31 0001094972 ugp:SubsidiaryIPPMember ugp:ReceivablesInvestmentFundMember 2022-12-31 0001094972 ifrs-full:OrdinarySharesMember ifrs-full:TreasurySharesMember 2022-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2019-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2020-01-01 2020-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2020-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2021-01-01 2021-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2021-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2022-01-01 2022-12-31 0001094972 ugp:OtherValuationAdjustmentsMember 2022-12-31 0001094972 ifrs-full:OrdinarySharesMember ifrs-full:TreasurySharesMember 2021-12-31 0001094972 2022-05-11 2022-05-11 0001094972 ifrs-full:CapitalReserveMember ugp:ExtrafarmaMember 2022-01-01 2022-12-31 0001094972 ugp:ExtrafarmaMember 2021-02-24 2021-02-24 0001094972 ugp:ExtrafarmaMember 2021-08-11 2021-08-11 0001094972 ugp:ExtrafarmaMember 2022-02-23 2022-02-23 0001094972 ugp:ExtrafarmaMember 2022-08-03 2022-08-03 0001094972 ugp:PromissoryNotesMember 2020-12-31 0001094972 ugp:PromissoryNotesMember 2021-01-01 2021-12-31 0001094972 ugp:PromissoryNotesMember 2021-12-31 0001094972 ugp:DebenturesMember ugp:MaturityOneMember 2022-12-31 0001094972 ugp:DebenturesMember ugp:MaturityTwoMember 2022-12-31 0001094972 ugp:DebenturesMember ugp:MaturityThreeMember 2022-12-31 0001094972 ugp:NotesInForeignMarketMember ugp:UltraparInternationalSAMember 2022-04-07 0001094972 ugp:NotesInForeignMarketMember ugp:NotesDue2026Member ugp:UltraparInternationalSAMember 2022-04-07 0001094972 ugp:NotesInForeignMarketMember ugp:NotesDue2029Member ugp:UltraparInternationalSAMember 2022-04-07 0001094972 ugp:ForeignLoansMember ugp:IconicLubrificantesSAMember 2022-09-30 0001094972 ugp:ForeignLoansMember ugp:IconicLubrificantesSAMember 2022-12-31 0001094972 ugp:ForeignLoansMember ugp:IconicLubrificantesSAMember 2022-01-01 2022-12-31 0001094972 ugp:ForeignLoansMember ugp:CompanhiaUltragazMember 2022-12-19 0001094972 ugp:ForeignLoansMember ugp:CompanhiaUltragazMember 2022-12-31 0001094972 ugp:RPRMember ugp:InvestmentsWithPositiveEquityMember 2022-12-31 0001094972 ugp:RPRMember ugp:InvestmentsWithPositiveEquityMember 2022-01-01 2022-12-31 0001094972 ugp:RPRMember ugp:InvestmentsWithPositiveEquityMember 2021-12-31 0001094972 ugp:RPRMember ugp:InvestmentsWithPositiveEquityMember 2021-01-01 2021-12-31 0001094972 ugp:RPRMember ugp:InvestmentsWithPositiveEquityMember 2020-01-01 2020-12-31 0001094972 ugp:ConnectCarMember 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2022-12-31 0001094972 ugp:ConnectCarMember 2022-01-01 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2022-01-01 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-01-01 2021-12-31 0001094972 ugp:LatitudeLogsticaMember 2020-01-01 2020-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2020-01-01 2020-12-31 0001094972 ugp:OtherInvestmentMember 2022-12-31 0001094972 ugp:OtherInvestmentMember 2022-01-01 2022-12-31 0001094972 ugp:OtherInvestmentMember 2021-12-31 0001094972 ugp:OtherInvestmentMember 2021-01-01 2021-12-31 0001094972 ugp:OtherInvestmentMember 2020-01-01 2020-12-31 0001094972 ifrs-full:JointVenturesMember 2021-01-01 2021-12-31 0001094972 ifrs-full:JointVenturesMember 2021-12-31 0001094972 ifrs-full:AssociatesMember 2021-01-01 2021-12-31 0001094972 ifrs-full:AssociatesMember 2021-12-31 0001094972 ifrs-full:JointVenturesMember 2020-12-31 0001094972 ifrs-full:AssociatesMember 2020-12-31 0001094972 ifrs-full:AssociatesMember 2022-01-01 2022-12-31 0001094972 ifrs-full:JointVenturesMember 2022-12-31 0001094972 ifrs-full:AssociatesMember 2022-12-31 0001094972 ifrs-full:JointVenturesMember 2020-01-01 2020-12-31 0001094972 ifrs-full:AssociatesMember 2020-01-01 2020-12-31 0001094972 ifrs-full:JointVenturesMember 2019-12-31 0001094972 ifrs-full:AssociatesMember 2019-12-31 0001094972 ugp:NotesInForeignMarketMember ugp:NotesDue2026Member ugp:UltraparInternationalSAMember 2022-04-06 2022-04-07 0001094972 ugp:NotesInForeignMarketMember ugp:NotesDue2029Member ugp:UltraparInternationalSAMember 2022-04-06 2022-04-07 0001094972 ugp:NotesInForeignMarketMember ugp:CompanhiaUltragazMember 2022-12-18 2022-12-19 0001094972 ugp:ForeignLoansMember ugp:CompanhiaUltragazMember 2022-12-18 2022-12-19 0001094972 ifrs-full:JointVenturesMember 2022-01-01 2022-12-31 0001094972 ugp:OtherSubsidiariesMember ugp:OnshoreMember 2022-12-31 0001094972 ugp:OtherSubsidiariesMember ugp:OnshoreMember 2021-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2022-02-01 2022-02-01 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2022-01-01 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2022-12-31 0001094972 ugp:RefinariaDePetroleoRigrandenseSAMember 2022-01-01 2022-12-31 0001094972 ugp:RefinariaDePetroleoRigrandenseSAMember 2022-12-31 0001094972 ugp:UniaoVopakArmazensGeraisLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UniaoVopakArmazensGeraisLtdaMember 2022-12-31 0001094972 ugp:LatitudeLogsticaMember 2022-01-01 2022-12-31 0001094972 ugp:LatitudeLogsticaMember 2022-12-31 0001094972 ugp:NordesteLogsticaIMember 2022-01-01 2022-12-31 0001094972 ugp:NordesteLogsticaIMember 2022-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2022-01-01 2022-12-31 0001094972 ugp:NordesteLogsticaIIIMember 2022-12-31 0001094972 ugp:ChevronThailandLimitedMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronThailandLimitedMember 2022-12-31 0001094972 ugp:ChevronLatinAmericaMarketingLlcMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronLatinAmericaMarketingLlcMember 2022-12-31 0001094972 ugp:ChevronLubricantsOilsSAMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronLubricantsOilsSAMember 2022-12-31 0001094972 ugp:ChevronMarineProductsMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronMarineProductsMember 2022-12-31 0001094972 ugp:ChevronOroniteBrasilLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronOroniteBrasilLtdaMember 2022-12-31 0001094972 ugp:ChevronProductsCompanyMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronProductsCompanyMember 2022-12-31 0001094972 ugp:ChevronBelgiumNvMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronBelgiumNvMember 2022-12-31 0001094972 ugp:ChevronPetroleumCoColombiaMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronPetroleumCoColombiaMember 2022-12-31 0001094972 ugp:ChevronLubricantsLankaPlcMember 2022-01-01 2022-12-31 0001094972 ugp:ChevronLubricantsLankaPlcMember 2022-12-31 0001094972 ifrs-full:OtherRelatedPartiesMember 2022-01-01 2022-12-31 0001094972 ifrs-full:OtherRelatedPartiesMember 2022-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-01-01 2021-12-31 0001094972 ugp:QuimicaDaBahiaIndustriaEcomercioMember 2021-12-31 0001094972 ugp:RefinariaDePetroleoRigrandenseSAMember 2021-01-01 2021-12-31 0001094972 ugp:RefinariaDePetroleoRigrandenseSAMember 2021-12-31 0001094972 ugp:UniaoVopakArmazensGeraisLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UniaoVopakArmazensGeraisLtdaMember 2021-12-31 0001094972 ugp:ChevronThailandLimitedMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronThailandLimitedMember 2021-12-31 0001094972 ugp:ChevronLubricantsLankaPlcMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronLubricantsLankaPlcMember 2021-12-31 0001094972 ugp:ChevronLubricantsOilsSAMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronLubricantsOilsSAMember 2021-12-31 0001094972 ugp:ChevronMarineProductsMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronMarineProductsMember 2021-12-31 0001094972 ugp:ChevronOroniteBrasilLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronOroniteBrasilLtdaMember 2021-12-31 0001094972 ugp:ChevronProductsCompanyMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronProductsCompanyMember 2021-12-31 0001094972 ugp:ChevronBelgiumNvMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronBelgiumNvMember 2021-12-31 0001094972 ugp:ChevronPetroleumCoColombiaMember 2021-01-01 2021-12-31 0001094972 ugp:ChevronPetroleumCoColombiaMember 2021-12-31 0001094972 ifrs-full:OtherRelatedPartiesMember 2021-01-01 2021-12-31 0001094972 ifrs-full:OtherRelatedPartiesMember 2021-12-31 0001094972 ugp:OxicapIndustriaDeGasesMember 2020-01-01 2020-12-31 0001094972 ugp:RefinariaDePetroleoRigrandenseSAMember 2020-01-01 2020-12-31 0001094972 ugp:ConectCarSolucoesDeMobilidadeEletronicaMember 2020-01-01 2020-12-31 0001094972 ugp:LA7ParticipaesEEmpreendImobLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:ChevronThailandLimitedMember 2020-01-01 2020-12-31 0001094972 ugp:ChevronOroniteBrasilLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:ChevronProductsCompanyMember 2020-01-01 2020-12-31 0001094972 ugp:ChevronBelgiumNvMember 2020-01-01 2020-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateApril62022Member 2022-01-01 2022-12-31 0001094972 ugp:PerformanceStockAwardMember ugp:GrantDateApril62022Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateSeptember212022Member 2022-01-01 2022-12-31 0001094972 ugp:RestrictedStockAwardMember ugp:GrantDateDecember72022Member 2022-01-01 2022-12-31 0001094972 ifrs-full:BottomOfRangeMember ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ifrs-full:TopOfRangeMember ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2022-01-01 2022-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2021-12-31 0001094972 ugp:ConnectCarMember ugp:IpirangaProdutosdePetroleoSAMember 2021-10-01 2021-10-01 0001094972 ugp:IpirangaProdutosdePetroleoSAMember ugp:DebenturesFirstIssueMember 2021-03-31 0001094972 ugp:DebenturesSecondIssueMember ugp:UltracargoLogisticaSAMember 2021-03-31 0001094972 ugp:DebenturesEleventhIssueMember ugp:IpirangaProdutosdePetroleoSAMember 2022-06-30 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:OxitenoIndustriaComercioMember 2022-01-01 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember 2022-01-01 2022-12-31 0001094972 ugp:ExtrafarmaMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2022-01-01 2022-12-31 0001094972 ugp:ExtrafarmaMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:ExtrafarmaMember 2022-01-01 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ifrs-full:EliminationOfIntersegmentAmountsMember 2022-01-01 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:UltraparMember 2022-01-01 2022-12-31 0001094972 ugp:OxitenoIndustriaComercioMember ifrs-full:DisposalGroupsClassifiedAsHeldForSaleMember 2022-01-01 2022-12-31 0001094972 ugp:InterestRateSwapContractOneMember 2022-12-31 0001094972 ugp:InterestRateSwapContractOneMember 2021-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember 2021-12-31 0001094972 ugp:ForeignExchangeSwapTwoMember 2022-12-31 0001094972 ugp:ExtrafarmaMember ifrs-full:DiscontinuedOperationsMember 2022-08-01 2022-08-01 0001094972 ugp:ExtrafarmaMember ifrs-full:DiscontinuedOperationsMember ugp:EmpreendimentosPagueMenosSAMember 2022-08-01 2022-08-01 0001094972 ugp:ExtrafarmaMember ifrs-full:DiscontinuedOperationsMember ugp:ShareholdersMember 2022-08-01 2022-08-01 0001094972 ugp:UltragazComercialLtdaMember ugp:StellaGroupMember 2022-09-12 2022-09-12 0001094972 ugp:UltragazParticipacoesLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UltragazParticipacoesLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UltragazParticipacoesLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:UltragazEnergiaLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:UltragazEnergiaLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:UltragazEnergiaLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember 2022-01-01 2022-12-31 0001094972 ugp:StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember 2021-01-01 2021-12-31 0001094972 ugp:StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember 2020-01-01 2020-12-31 0001094972 ugp:UltracargoVilaDoCondeLogisticaPortuariaSAMember 2022-01-01 2022-12-31 0001094972 ugp:UltracargoVilaDoCondeLogisticaPortuariaSAMember 2021-01-01 2021-12-31 0001094972 ugp:UltracargoVilaDoCondeLogisticaPortuariaSAMember 2020-01-01 2020-12-31 0001094972 ugp:OxitenoIndustriaComercioMember ifrs-full:DiscontinuedOperationsMember ugp:IndoramaVenturesPlcMember ugp:BrazilianRealPerUSDollarMember 2022-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember 2019-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember ugp:GrossSharesGrantDateApril12020Member 2020-01-01 2020-12-31 0001094972 ugp:RestrictedAndPerformanceStockMember ugp:GrantDateSeptember162020Member 2020-01-01 2020-12-31 0001094972 ugp:AbasteceAiMember 2021-01-01 2021-12-31 0001094972 ugp:AbasteceAiMember 2020-01-01 2020-12-31 0001094972 ugp:AbasteceAiMember 2021-12-31 0001094972 ugp:AbasteceAiMember ifrs-full:EliminationOfIntersegmentAmountsMember 2020-01-01 2020-12-31 0001094972 ugp:ICMSStatevatMember ifrs-full:NotLaterThanOneYearMember 2022-12-31 0001094972 ugp:ICMSStatevatMember ifrs-full:LaterThanOneYearAndNotLaterThanTwoYearsMember 2022-12-31 0001094972 ugp:ICMSStatevatMember ifrs-full:LaterThanTwoYearsAndNotLaterThanThreeYearsMember 2022-12-31 0001094972 ugp:ICMSStatevatMember ifrs-full:LaterThanThreeYearsAndNotLaterThanFiveYearsMember 2022-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2021-01-01 2021-12-31 0001094972 ifrs-full:DiscontinuedOperationsMember ugp:DeferredStockUnitPlanMember ifrs-full:KeyManagementPersonnelOfEntityOrParentMember 2020-01-01 2020-12-31 0001094972 ugp:RealEstatePropertyMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:RealEstatePropertyMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:PortAreasMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ugp:PortAreasMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:OtherAssetsMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2020-01-01 2020-12-31 0001094972 ifrs-full:OtherAssetsMember ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:GrossCarryingAmountMember 2019-12-31 0001094972 ugp:RealEstatePropertyMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:RealEstatePropertyMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ugp:PortAreasMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ugp:PortAreasMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:VehiclesMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:MachineryMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:OtherAssetsMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:OtherAssetsMember ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2020-01-01 2020-12-31 0001094972 ifrs-full:RightofuseAssetsMember ifrs-full:AccumulatedDepreciationAndAmortisationMember 2019-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2019-12-31 0001094972 ifrs-full:RightofuseAssetsMember 2020-01-01 2020-12-31 0001094972 ifrs-full:MajorOrdinaryShareTransactionsMember 2023-02-15 0001094972 ugp:MajorBorrowingsMember ugp:IpirangaMember 2023-03-30 0001094972 ugp:MajorBorrowingsMember ugp:IpirangaMember 2023-03-30 2023-03-30 0001094972 ifrs-full:MajorOrdinaryShareTransactionsMember 2023-04-01 0001094972 dei:BusinessContactMember 2022-01-01 2022-12-31 0001094972 ugp:MajorBorrowingsMember ugp:CompanhiaUltragazMember ugp:ForeignLoansMember 2023-03-30 0001094972 ugp:MajorBorrowingsMember ugp:CompanhiaUltragazMember ugp:ForeignLoansMember 2023-03-30 2023-03-30 0001094972 ifrs-full:MajorBusinessCombinationMember ugp:UltracargoLogisticaSAMember ugp:OplaLogisticaAvancadaMember 2023-04-19 0001094972 ifrs-full:MajorBusinessCombinationMember ugp:UltracargoLogisticaSAMember ugp:OplaLogisticaAvancadaMember 2023-04-19 2023-04-19 0001094972 ifrs-full:MajorBusinessCombinationMember ugp:UltracargoLogisticaSAMember ugp:OplaLogisticaAvancadaMember ugp:BpBiofuelsBrazilInvestmentsLtdMember 2023-04-19 2023-04-19 0001094972 ifrs-full:MajorBusinessCombinationMember ugp:UltracargoLogisticaSAMember ugp:OplaLogisticaAvancadaMember ugp:CopersucarSAMember 2023-04-19 2023-04-19 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2021-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2022-01-01 2022-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2022-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2020-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2021-01-01 2021-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2019-12-31 0001094972 ifrs-full:AccumulatedOtherComprehensiveIncomeMember 2020-01-01 2020-12-31 xbrli:shares xbrli:pure iso4217:EUR iso4217:JPY iso4217:BRL utr:m3 utr:T iso4217:USD iso4217:BRL xbrli:shares ugp:Employee ugp:DEBENTURES ugp:Installments ugp:Customer

As filed with the Securities and Exchange Commission on April 25, 2023

 

 UNITED STATES

SECURITIES AND EXCHANGE COMMISSION

Washington, D.C. 20549

 

FORM 20-F

 

(Mark one)

    REGISTRATION STATEMENT PURSUANT TO SECTION 12(b) OR (g) OF THE SECURITIES EXCHANGE ACT OF 1934

OR

    ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934

For the fiscal year ended December 31, 2022

OR

   TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934

OR

    SHELL COMPANY REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934

Commission file number: 001-14950

 

ULTRAPAR PARTICIPAÇÕES S.A.

(Exact name of Registrant as specified in its charter)

ULTRAPAR HOLDINGS INC.

(Translation of Registrant’s name into English)

The Federative Republic of Brazil

(Jurisdiction of incorporation or organization)

Brigadeiro Luis Antônio Avenue, 1343, 9th Floor

São Paulo, SP, Brazil 01317-910

Telephone: 55 11 3177 7014

(Address of principal executive offices)

 

Rodrigo de Almeida Pizzinatto, Chief Financial and Investor Relations Officer

Brigadeiro Luis Antônio Avenue, 1343, 9th Floor

São Paulo, SP, Brazil 01317-910

Telephone: 55 11 3177 7014

(Name, telephone, e-mail and/or facsimile number and address of company contact person)

 

 

 

 

Securities registered or to be registered pursuant to Section 12(b) of the Act:

 

Title of each class

Trading Symbol

Name of each Exchange on which registered

 

 

Common shares, with no par value (represented by, and traded only in the form of American Depositary Shares, evidenced by American Depositary Receipts, with each American Depositary Share representing one common share)

UGP

New York Stock Exchange

 

Securities registered or to be registered pursuant to Section 12(g) of the Act:

None

Securities for which there is a reporting obligation pursuant to Section 15(d) of the Act:

None



Indicate the number of outstanding shares of each of the issuer’s classes of capital or common stock as of the close of the period covered by the annual report.


The number of outstanding shares of each class as of December 31, 2022.

 

 

Title of Class

 

Number of Shares Outstanding

 

Common Stock

1,089,014,097

Indicate by check mark if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Yes No

If this report is an annual or transition report, indicate by check mark if the registrant is not required to file reports pursuant to Section 13 or 15(d) of the Securities Exchange Act of 1934. Yes No

Note—Checking the box above will not relieve any registrant required to file reports pursuant to Section 13 or 15(d) of the Securities Exchange Act of 1934 from their obligations under those Sections.

Indicate by check mark whether the registrant (1) has filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such filing requirements for the past 90 days. Yes No

Indicate by check mark whether the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulations S-T (§232.405 of this chapter) during the preceding 12 months (or for such shorter period that the registrant was required to submit such files). Yes No

Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer or an emerging growth company. See the definitions of “large accelerated filer”, “accelerated filer,” and “emerging growth company” in Rule 12b-2 of the Exchange Act. (Check one):

Large Accelerated Filer Accelerated Filer

Non-accelerated Filer Emerging growth company

 

If an emerging growth company that prepares its financial statements in accordance with U.S. GAAP, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards† provided pursuant to Section 13(a) of the Exchange Act.

 

† The term “new or revised financial accounting standard” refers to any update issued by the Financial Accounting Standards Board to its Accounting Standards Codification after April 5, 2012.
 

Indicate by check mark whether the registrant has filed a report on and attestation to its management’s assessment of the effectiveness of its internal control over financial reporting under Section 404(b) of the Sarbanes-Oxley Act (15 U.S.C. 7262(b)) by the registered public accounting firm that prepared or issued its audit report.


If securities are registered pursuant to Section 12(b) of the Act, indicate by check mark whether the financial statements of the registrant included in the filing reflect the correction of an error to previously issued financial statements.

Indicate by check mark whether any of those error corrections are restatements that required a recovery analysis of incentive-based compensation received by any of the registrant’s executive officers during the relevant recovery period pursuant to §240.10D-1(b).


Indicate by check mark which basis of accounting the registrant has used to prepare the financial statements included in this filing:

 

 

 

U.S. GAAP              

International Financial Reporting Standards as issued

by the International Accounting Standards Board

other


If “Other” has been checked in response to the previous question, indicate by check mark which financial statement item the registrant has elected to follow: Item 17 Item 18


If this is an annual report, indicate by check mark whether the registrant is a shell company (as defined in Rule 12b-2 of the Exchange Act). Yes No 

 

 



 

TABLE OF CONTENTS


Page

PART I 10
ITEM 1. IDENTITY OF DIRECTORS, SENIOR MANAGEMENT AND ADVISERS 10
ITEM 2. OFFER STATISTICS AND EXPECTED TIMETABLE 10
ITEM 3. KEY INFORMATION 10
ITEM 4. INFORMATION ON THE COMPANY 27
ITEM 4A. UNRESOLVED STAFF COMMENTS 78
ITEM 5. OPERATING AND FINANCIAL REVIEW AND PROSPECTS 78
ITEM 6. DIRECTORS, SENIOR MANAGEMENT AND EMPLOYEES 92
ITEM 7. MAJOR SHAREHOLDERS AND RELATED PARTY TRANSACTIONS 104
ITEM 8. FINANCIAL INFORMATION 106
ITEM 9.THE OFFER AND LISTING 109
ITEM 10.ADDITIONAL INFORMATION 110
ITEM 11. QUANTITATIVE AND QUALITATIVE DISCLOSURES ABOUT MARKET RISK 123
ITEM 12. DESCRIPTION OF SECURITIES OTHER THAN EQUITY SECURITIES 132
PART II 133
ITEM 13. DEFAULTS, DIVIDEND ARREARAGES AND DELINQUENCIES 133
ITEM 14. MATERIAL MODIFICATIONS TO THE RIGHTS OF SECURITY HOLDERS AND USE OF PROCEEDS 133
ITEM 15. CONTROLS AND PROCEDURES 133
ITEM 16. [RESERVED] 136
ITEM 16A. AUDIT COMMITTEE FINANCIAL EXPERT 136
ITEM 16B. CODE OF ETHICS 136
ITEM 16C. PRINCIPAL ACCOUNTANT FEES AND SERVICES 136
ITEM 16D. EXEMPTIONS FROM THE LISTING STANDARDS FOR AUDIT COMMITTEES 137
ITEM 16E. PURCHASES OF EQUITY SECURITIES BY THE ISSUER AND AFFILIATED PURCHASERS 137
ITEM 16F. CHANGE IN REGISTRANT’S CERTIFYING ACCOUNTANT 137
ITEM 16G. CORPORATE GOVERNANCE 137
ITEM 16H. MINE SAFETY DISCLOSURE 141
ITEM 16I. DISCLOSURE REGARDING FOREIGN JURISDICTION THAT PREVENT INSPECTIONS 141
ITEM 16J. INSIDER TRADING POLICIES 141
PART III 141
ITEM 17. FINANCIAL STATEMENTS 141
ITEM 18. FINANCIAL STATEMENTS 141
ITEM 19. EXHIBITS 142
FINANCIAL STATEMENTS F-1

 

1



INTRODUCTION

Ultrapar is a Brazilian company with over 85 years, with its origins going back to 1937, when Ernesto Igel founded Ultragaz, a pioneer in the distribution of liquefied petroleum gas (LPG) as cooking gas. Since then, Ultrapar has become one of the largest business groups in Brazil, with an outstanding position in the energy and infrastructure segments.

Since 1999, Ultrapar’s shares are traded under an ADR Level III program on the New York Stock Exchange – NYSE, and on the São Paulo Stock Exchange B3 S.A. Since 2011, the Company’s shares have been listed on B3’s Novo Mercado, the segment with the highest standards of corporate governance in Brazil.

As of December 31, 2022, Ultrapar owned three main companies:

  • Ultragaz: pioneer and leading company in LPG distribution in Brazil, Ultragaz is a reference in innovation and has been expanding its offer of energy solutions for its customers. Ultragaz operates in Brazil directly or through resellers with professionals visiting several customers daily. In 2022, Ultragaz served approximately 59 thousand business customers in the bulk segment, 583 thousand customers of Individual Billing and more than 11 million households in the bottled segment through a network of approximately 5.8 thousand independent retailers.
  • Ultracargo: the leading company in the independent liquid bulk storage terminals sector in Brazil, Ultracargo is present in the country’s main ports with modern terminals to store and handle different products, such as fuels, biofuels, chemicals, corrosives and vegetable oils.
  • Ipiranga: one of the largest Brazilian fuels and lubricant distribution companies and one of the most valuable brands in the country, with a network of more than 6.7 thousand service stations, in addition to 1.6 thousand AmPm stores, the largest convenience store franchise in Brazil.

On December 31, 2021, our former wholly owned subsidiaries, Oxiteno and Extrafarma, were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates. For more information on our continuing and discontinued operations, please see "Item 4.A. Information on the Company—History and development of the Company—A.1. Continuing operations” and “—A.2. Discontinued operations.”

2

GLOSSARY AND OTHER CONVENTIONS

References in this annual report to “Ultrapar”, “we”, “our”, “us” and “the Company” are to Ultrapar Participações S.A. and its consolidated subsidiaries (unless the context otherwise requires). In addition, all references in this annual report to:

  • “2018 Shareholders’ Agreement” has the meaning given to such term in “Item 4.A. Information on the Company—History and development of the Company—Corporate events. The 2018 Shareholders’ Agreement is incorporated by reference to Exhibit 2.4;
  • “2020 Shareholders’ Agreement” has the meaning given to such term in “Item 4.A. Information on the Company—History and development of the Company—Corporate events. The 2020 Shareholders’ Agreement is incorporated by reference to Exhibit 2.10;
  • abastece ” are to Ultrapar’s subsidiary that operates in the digital payment segment, combining the abastece app and the Km de Vantagens loyalty program;
  • ABD” are to Associação Brasileira de Downstream (Brazilian Downstream Association);
  • “ABF” are to Associação Brasileira de Franchising (Brazilian Franchising Association);
  • “ABTL” are to Associação Brasileira de Terminais de Líquidos, the Brazilian association of liquid bulk terminal operators;
  • “Adonai” are to Adonai Química S/A;
  • “ADSs” are to our American Depositary Shares, each representing (i) one common share, with respect to any period on or after August 17, 2011; or (ii) one non-voting preferred share, with respect to any period prior to August 17, 2011;
  • “Ageo” are to Ageo Terminais e Armazéns Gerais S.A.;
  • AmPm” are to Ipiranga’s convenience stores franchise network that operate under the brand AmPm, managed by AmPm Comestíveis Ltda.;
  • “ANFAVEA” are to Associação Nacional dos Fabricantes de Veículos Automotores, the Brazilian association of vehicle producers;
  • “ANP” are to Agência Nacional do Petróleo, Gás Natural e Biocombustíveis, the Brazilian oil, natural gas and biofuels regulatory agency;
  • “ANPEI” are to Associação Nacional de Pesquisa e Desenvolvimento das Empresas Inovadoras, the National Association for Research and Development of Innovative Companies;
  • “ANTAQ” are to Agência Nacional de Transportes Aquaviários;
  • “ANVISA” are to Agência Nacional de Vigilância Sanitária, the Brazilian health surveillance agency established by Federal Law No. 9,782/99 and regulated by Decree No. 3,029/99;
  • “APPA” are to Administração dos Portos de Paranaguá e Antonina (Administration of the Ports of Paranaguá and Antonina);
  • “ARLA” are to Agente Redutor Líquido Automotivo (Automotive Liquid Reducing Agent);
  • “B3” are to the B3 S.A.—Brasil, Bolsa, Balcão, the São Paulo Stock Exchange;
  • “Braskem” are to Braskem S.A.;
  • “Brazilian Corporate Law” are to Law No. 6,404 enacted in December 1976, as amended by Law No. 9,457 enacted in May 1997, by Law No. 10,303 enacted in October 2001, by Law No. 11,638 enacted in December 2007, by Law No. 11,941 enacted in May 2009, by Law No. 12,431 enacted in June 2011, by Law No. 12,810 enacted in May 2013, by Law No. 13,129 enacted in May 2015, by Law No. 13,818 enacted in April 2019, by Law No. 13,874 enacted in September 2019, and by Law No. 14,030 enacted in July 2020;
  • “Brazilian GAAP” are accounting practices adopted in Brazil that comprise the Brazilian Corporate Law and the Pronouncements, Guidelines and Interpretations issued by the Accounting Pronouncements Committee (“CPC”) and approved by the Federal Accounting Council (“CFC”) and the Brazilian Securities and Exchange Commission (“CVM”);
  • “CADE” are to Conselho Administrativo de Defesa Econômica, the Brazilian Antitrust Authority;
  • “Cartão de Todos” are to TODOS Empreendimentos Ltda;
3

  • Cattalini” are to Cattalini Terminais Marítimos S.A.;
  • CBios” are to financial assets traded on B3, issued by biofuel producers, as a means for fossil fuel distributors to meet RenovaBio’s decarbonization targets;
  • “CBL” are to Chevron Brasil Ltda. (currently Ipiranga), a former subsidiary of Chevron that, together with Galena, held Texaco;
  • “CBPI” are to Companhia Brasileira de Petróleo Ipiranga, a company that was merged into Ipiranga in November 2009;
  • “Central Bank” are to Banco Central do Brasil, the Brazilian central bank;
  • “Chevron” are to Chevron Latin America Marketing LLC and Chevron Amazonas LLC;
  • “CIDE” are to Contribuições de Intervenção no Domínio Econômico (Contributions for Intervention in the Economic Domain), a Brazilian tax contribution levied on the import and sale of gasoline, diesel, aviation kerosene, liquefied petroleum gas (LPG), and others;
  • “CNPE” are to Conselho Nacional de Política Energética (National Energy Policy Council), advisory body to the President of Brazil, created by Law No. 9,478/97, intended for the formulation of energy policies and guidelines;
  • “Code” are to the U.S. Internal Revenue Code of 1986, as amended;
  • “Commodity Exception” are to gains derived from “qualified active sales” of commodities and “qualified hedging transactions” involving commodities, within the meaning of the applicable U.S. Treasury regulations;
  • “CONAMA” are to Conselho Nacional do Meio Ambiente (National Council of the Environment);
  • ConectCar” are to ConectCar Soluções de Mobilidade Eletrônica S.A., a joint-venture initially formed by Ipiranga and OTP (Odebrecht Transport S.A.), which started its operations in 2012. In 2016, Redecard S.A. acquired OTP’s interest in ConectCar. In June 2021, Ultrapar entered into a share purchase agreement for the sale of its equity interest in ConectCar to a subsidiary of Porto Seguro. The transaction was closed in October 2021. As a result, ConectCar is no longer part of Ultrapar’s business portfolio;
  • “Conversion” are to the conversion of all preferred shares issued by the Company into common shares, at a ratio of 1 preferred share for 1 common share, as approved at the Extraordinary General Shareholders’ Meeting and the special preferred Shareholders’ Meeting, both held on June 28, 2011;
  • “Copagaz” are to Copagaz Distribuidora de Gás S.A.;
  • “Cosan” are to Cosan S.A.;
  • “CVM” are to Comissão de Valores Mobiliários, the Securities and Exchange Commission of Brazil;
  • “Deposit Agreement” are to the Deposit Agreement between Ultrapar Participações S.A. and the Bank of New York Mellon, dated September 16, 1999, and all subsequent amendments thereto;
  • “DI” are to Certificados de Depósito Interbancário, the Brazilian money market interest rate;
  • “DNP” are to Distribuidora Nacional de Petróleo Ltda., a company that was acquired by Ipiranga in 2010 and was merged into Ipiranga in 2011;
  • “DOC” are to Documento de Ordem de Crédito (Credit Order Document);
  • “DPPI” are to Distribuidora de Produtos de Petróleo Ipiranga S.A., a company that was merged into CBPI in 2008;
  • “ESG” are to Environmental, Social and Governance;


4


  • Extrafarma” are to Imifarma Produtos Farmacêuticos e Cosméticos S.A., a wholly-owned subsidiary of Ipiranga, which is wholly-owned by Ultrapar. In May 2021, Ultrapar entered into a share purchase agreement for the sale of Extrafarma to Pague Menos. The transaction was closed on August 1, 2022 and, as a result, Extrafarma is no longer part of Ultrapar’s business portfolio as of this date. For more information, see “Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations—Extrafarma;
  • Extrafarma Transaction” are to the exchange of shares of Extrafarma for Ultrapar’s shares on January 31, 2014, as described in “Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations —Extrafarma;”
  • “FGV” are to Fundação Getúlio Vargas;
  • “Fogás” are to Sociedade Fogás Ltda.;
  • “Galena” are to Sociedade Anônima de Óleo Galena Signal, a former subsidiary of Chevron that, together with CBL, held Texaco;
  • “GDP” are to gross domestic product;
  • “GHG” are to greenhouse gas;
  • “HSE” are to Health, Safety and Environment, the set of procedures which study and implement the practical aspects of occupational health, workplace safety and environmental protection;
  • "I-RECs” are to International Renewable Energy Certificates;
  • “IAS” are to International Accounting Standard;
  • “IASB” are to International Accounting Standards Board;
  • “IBGE” are to Instituto Brasileiro de Geografia e Estatística, the Brazilian Institute of Geography and Statistics;
  • “IBP” are to Instituto Brasileiro de Petróleo e Gás, the Brazilian Institute of Oil and Gas;
  • “ICMS” are to Imposto sobre Circulação de Mercadorias e Serviços, the Tax on the Circulation of Goods and Services;
  • “Iconic” are to Iconic Lubrificantes S.A., formerly CBLSA, an association formed by Ipiranga and Chevron, which started its operations in 2017;
  • iFood” are to iFood.com Agência de Restaurantes Online S.A.;
  • “IFRS” are to International Financial Reporting Standards as issued by IASB;
  • “IGP-M” are to Índice Geral de Preços – Mercado, the General Index of Market Prices of Brazilian inflation calculated by FGV;
  • “Individual Billing” are to a segment of Ultragaz consumers who, despite living in buildings or condominiums, measure their consumption individually;
  • “Indorama” are to Indorama Ventures PLC;
  • “IPCA” are to Índice Nacional de Preços ao Consumidor Amplo, the Extended National Consumer Price Index calculated by IBGE;
  • Ipiranga” are to Ultrapar’s subsidiaries that operate in the fuel distribution business and related activities;
  • “Ipiranga Group” are to RPR, DPPI, CBPI, Ipiranga Química S.A. (“IQ”), Ipiranga Petroquímica S.A. (“IPQ”), Companhia Petroquímica do Sul S.A. (“Copesul”) and their respective subsidiaries prior to their sale to Ultrapar, Petrobras and Braskem;


5



  • “IRS” are to U.S. Internal Revenue Service;
  • “Itaúsa” are to Itaúsa – Investimentos Itaú S.A.;
  • “Km de Vantagens” are to Km de Vantagens (Km of Advantages Program) loyalty program, part of abastece business;
  • “Liquigás” are to Liquigás Distribuidora S.A.;
  • “LPG” are to liquefied petroleum gas;
  • Nacional Gás” are to Nacional Gás Butano Distribuidora Ltda.;
  • “NEOgás” are to NEOgás do Brasil Gás Natural Comprimido S.A.;
  • Novo Mercado” are to Novo Mercado listing segment of B3;
  • “NYSE” are to New York Stock Exchange;
  • "Odfjell" are to Terminals Granel Química Ltda;
  • "Oiltanking" are to Oiltanking Terminais Ltda.;
  • “Opla” are to Terminal de Combustiveis Paulinia S.A;
  • Oxiteno” are to Oxiteno S.A. – Indústria e Comércio, our wholly-owned subsidiary and its subsidiaries that produce ethylene oxide and its principal derivatives, fatty alcohols and other specialty chemicals. In August 2021, Ultrapar entered into a share purchase agreement for the sale of Oxiteno to Indorama. The transaction was closed on April 1, 2022 and, as a result, Oxiteno is no longer part of Ultrapar’s business portfolio as of this date. For more information see “Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations —Oxiteno;
  • “Pague Menos” are to Empreendimentos Pague Menos S.A.;
  • “Pandenor” are to Pandenor Importação e Exportação LTDA;
  • “Parth” are to Parth do Brasil Participações Ltda., an investment company controlled by Mrs. Daisy Igel’s family and owner of 8% of Ultrapar’s capital stock;
  • Pátria” are to Pátria Private Equity VI FIP Multiestratégia, an investment company and a shareholder of both Ultra S.A. and Ultrapar;
  • “Petrobras” are to Petrobras – Petróleo Brasileiro S.A.;
  • “Petrochemical Business” are to IQ, IPQ and IPQ’s stake in Copesul;
  • “Porto Seguro” are to Porto Seguro S.A.;
  • “PFIC” are to Passive Foreign Investment Company;
  • “PIS and COFINS taxes” are to Programa de Integração Social (the Integration Program Taxes) and Contribuição para o Financiamento da Securidade Social (the Contribution for the Financing of Social Security Taxes), respectively;
  • Raízen” are to Raízen S.A.;
  • Real”, “Reais” or “R$” are to Brazilian Reais, the official currency of Brazil;
  • “RecargaPay” are to RecargaPay Instituição de Pagamento Ltda.;
  • “Repsol” are to Repsol Gás Brasil S.A., a company that was acquired by Ultragaz in 2011 and was merged into Ultragaz in 2012;
6

  • “RPR” are to Refinaria de Petróleo Riograndense S.A. (formerly Refinaria de Petróleo Ipiranga S.A.), a joint-venture owned by Petrobras, Braskem and Ultrapar;
  • “SEC” are to the U.S. Securities and Exchange Commission;
  • “Securities Act” are to the U.S. Securities Act of 1933, as amended;
  • “Selic” are to the Brazilian base interest rate;
  • “SHV Energy” are to the energy segment of Group Steenkolen Handels-Vereeniging;
  • Sindicom” are to the Brazilian association of fuel distributors;
  • “Stella” are to Stella GD Intermediação de Geração Distribuída de Energia Ltda;
  • “STF” are to Supremo Tribunal Federal, the Brazilian Federal Supreme Court;
  • "Stolthaven" are to Stolthaven Santos LTDA;
  • “SUDENE” are to Superintendência do Desenvolvimento do Nordeste, the development agency of the Northeast of Brazil;
  • Supergasbrás” are to Supergasbrás Energia Ltda.;
  • “TEAS” are to Terminal Exportador de Álcool de Santos Ltda., a company acquired by Ultracargo in March 2018;
  • TED” are to Transferência Eletrônica Disponível (Eletronic Transfer Available);
  • "Temape" are to Terminais Marítimos de Pernambuco S/A;
  • “Temmar” are to Terminal Marítimo do Maranhão S.A., a company acquired by Ultracargo in 2012 and merged into Ultracargo Logística in 2013;
  • “Terin” are to Cpa Terminal Paranaguá S.A;
  • Texaco” are to the Texaco-branded fuel marketing business in Brazil, previously carried-out by CBL and Galena, companies that were acquired by Ipiranga in 2009;
  • “TPV” are to total payment volume, which represents the total amount of transactions carried out through abastece in Reais;
  • “Tropical” are to Tropical Transportes Ipiranga Ltda.;
  • “TRR” are to Transportador Revendedor Retalhista (Retail Wholesale Resellers), specialized resellers in the fuel distribution;
  • “U.S. holder” has the meaning given to such term in “Item 10. Additional information—E. Taxation—U.S. federal income tax considerations;
  • “Ultra S.A.” are to Ultra S.A. Participações, a holding company owned by members of the founding family and senior management of Ultrapar. Ultra S.A. is the largest shareholder of Ultrapar, holding 25% of its total capital stock;
  • Ultracargo” are to Ultracargo Operações Logísticas e Participações Ltda., our wholly owned subsidiary and its subsidiaries that provide storage, handling and logistics services for liquid bulk cargo;
  • Ultracargo Logística” are to Ultracargo Logística S.A., Ultracargo’s subsidiary that operates in the liquid bulk storage segment, formerly named Terminal Químico de Aratu S.A. - Tequimar;
  • “Ultragaz” are to Ultragaz Participações, composed of Cia. Ultragaz, which operates mainly in the distribution of LPG, and of Ultragaz Energia, which provides other types of energy, beyond LPG;
  • “Ultrapar International” are to Ultrapar International S.A.;
  • “União Terminais” are to União Terminais e Armazéns Gerais Ltda., a company that was merged into Ultracargo Logística in 2008;
  • União Vopak” are to União Vopak Armazéns Gerais Ltda., a joint-venture in which Ultracargo has a 50% stake;
  • “Unipar” are to União das Indústrias Petroquímicas S.A.;
  • “US$”, “U.S. dollar” or “U.S. dollars” are to the United States dollar;
  • Vibra” are to Vibra Energia S.A.;
  • “Vopak” are to Vopak Brasil S.A.;


7


PRESENTATION OF FINANCIAL INFORMATION

Our audited consolidated financial statements included in Item 18 were prepared in accordance with IFRS as issued by the IASB, and include our Consolidated statement of financial position as of December 31, 2022 and 2021 and the related Consolidated statements of income, comprehensive income, changes in equity and cash flows – indirect method for the years ended December 31, 2022, 2021 and 2020, as well as notes thereto (the “Consolidated Financial Statements”).

There are no standards, amendments and interpretations to IFRS issued by IASB which are effective and could have a material impact in the financial statements for the periods ended on December 31, 2022 and 2021 that have not been adopted by the Company.

The financial information presented in this annual report should be read in conjunction with our Consolidated Financial Statements.

Segment information for our businesses is presented on an unconsolidated basis. See Note 30 to our Consolidated Financial Statements for further information on segment information. Consequently, intercompany transactions have not been eliminated in segment information, and such information may differ from consolidated financial information provided elsewhere in this annual report. See “Item 7.B. Major shareholders and related party transactions—Related party transactions” for more information on intercompany transactions.

On December 31, 2021, our former wholly owned subsidiaries, Oxiteno and Extrafarma, were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates. In 2022, Ultrapar has ceased to present abastece as a separate segment, due to the small relevance of this business relative to the overall results of the Company.

Certain figures included in this annual report have been subject to rounding adjustments. Accordingly, figures shown as totals in certain tables and charts may not be an arithmetic aggregation of the figures that precede them.

Market share and economic information

All market share information, unless otherwise specified, related to (i) the LPG business was obtained from ANP, (ii) the fuel distribution business was obtained from IBP and ANP and (iii) the liquid bulk storage industry was obtained from ABTL. Unless otherwise specified, all macroeconomic data are obtained from IBGE, FGV and the Central Bank. Although we do not have any reason to believe any of this information is inaccurate in any material respect, we have not independently verified any such information.

Financial information in U.S. Dollars

Solely for the convenience of the reader, we have translated some amounts included in this annual report from Reais into U.S. dollars using the commercial selling rate as reported by the Central Bank on December 31, 2022 of R$5.22 to US$1.00. These translations should not be considered representations that any such amounts have been, could have been or could be converted into U.S. dollars at that or at any other exchange rate. Such translations should not be construed as representations that the Real amounts represent or have been or could be converted into U.S. dollars as of that or any other date.

Non-GAAP financial measures

This annual report presents our Gross and Net Debt, which are non-GAAP financial measures. A non-GAAP financial measure is generally defined as one that purports to measure financial performance but excludes or includes amounts that would not be so adjusted in the most comparable GAAP measure.

We calculate Gross Debt as loans, financing and derivative financial instruments plus debentures. We calculate Net Debt as the sum of Gross Debt plus leases payable minus cash, cash equivalents, financial investments and derivative financial instruments. Our calculations of Gross and Net Debt may differ from the calculations of similarly titled measures used by other companies.

Our management believes that disclosure of Gross and Net Debt is useful to potential investors as it helps to give them a clearer understanding of our financial liquidity. However, Gross and Net Debt are not measures under IFRS and should not be considered as a substitute for measures of indebtedness determined in accordance with IFRS. For a reconciliation of Gross and Net Debt to the most directly comparable IFRS measure, see Item 4.B. Information on the Company—Business overview—Key financial information.”


8



FORWARD-LOOKING STATEMENTS

This annual report contains forward-looking statements within the meaning of Section 27A of the Securities Act subject to risks and uncertainties, including our estimates, plans, forecasts and expectations regarding future events, strategies and projections. We may also make written or oral forward-looking statements in our annual report to shareholders, in our offering circulars and prospectuses, in press releases and other written materials and in oral statements made by our officers, directors or employees. Forward-looking statements speak only as of the date they were made, and we undertake no obligation to update publicly or revise any forward-looking statements after we distribute this annual report because of new information, future events and other factors. Words such as “believe,” “expect,” “may,” “will,” “plan,” “strategy,” “prospect,” “foresee,” “estimate,” “project,” “outlook,” “anticipate,” “can,” “intend” and similar words are intended to identify forward-looking statements. We have made forward-looking statements with respect to, among other things, our:

  • Strategy for marketing and operational expansion;
  • Capital expenditures forecasts; and
  • Development of additional sources of revenue.

The risks and uncertainties described above include, but are not limited to:

  • General business, economic and political conditions, including the price of crude oil and other commodities, refining margins and prevailing foreign exchange rates and the effect of such conditions on the economies of Brazil and other Latin American countries;
  • The political environment in Brazil;
  • Risks beyond our control, including geopolitical crises, natural disasters, epidemics or pandemics, cyber-attacks, acts of terrorism or other catastrophic events, including the economic, financial and business impacts of such events;
  • Uncertainty regarding the ongoing hostility between Russia and Ukraine and the related impact on global macroeconomic conditions as a result of such conflict;
  • Competition;
  • Ability to produce and deliver products on a timely basis;
  • Ability to anticipate trends in the LPG, fuels and logistics, including changes in capacity and industry price movements;
  • Changes in official regulations;
  • Receipt of official authorizations and licenses;
  • Political, economic and social events in Brazil and the other countries in which we have operations;
  • Access to sources of financing and our level of indebtedness;
  • Ability to integrate acquisitions;
  • Regulatory issues relating to acquisitions;
  • Instability and volatility in the financial markets;
  • Climate changes;
  • Availability of tax benefits;
  • Outcome of current or future lawsuits; and
  • Other factors contained in this annual report under “Item 3.D. Key information—Risk factors.”

Statements regarding the declaration or payment of dividends, the implementation of operating and financing strategies, capital expenditure plans, the direction of future operations and the factors or trends affecting the financial condition, liquidity or results of operations are examples of forward-looking statements. Forward-looking statements involve risks and uncertainties and are not a guarantee of future results. Considering the risks and uncertainties described above, the forward-looking events and circumstances discussed in this annual report might not occur and our future results may differ materially from those expressed in or suggested by these forward-looking statements.

9


PART I

ITEM 1.              IDENTITY OF DIRECTORS, SENIOR MANAGEMENT AND ADVISERS

Not applicable.

ITEM 2.              OFFER STATISTICS AND EXPECTED TIMETABLE

Not applicable.

ITEM 3.              KEY INFORMATION

A.   [Reserved]

B.   Capitalization and indebtedness

Not applicable.

C.   Reasons for the offer and use of proceeds

Not applicable.

D.   Risk factors

Investing in our shares and ADSs involves a high degree of risk. You should carefully consider the risks described below and the other information contained in this annual report in evaluating an investment in our shares or ADSs. Our businesses, results of operations, cash flow, liquidity and financial condition could be harmed if any of these risks materializes and, as a result, the trading price of the shares or the ADSs could decline and you could lose a substantial part or even all your investment.

We have included information in these risk factors concerning Brazil based on information that is publicly available. Other risks that we do not presently know about or deem as immaterial could also cause adverse effects on our businesses, operations, financial condition and results of operations.

10


Summary of risk factors

Risks relating to Ultrapar and its industries

  • Petrobras is the main supplier of LPG and oil-based fuels in Brazil. Fuel and LPG distributors in Brazil, including Ipiranga and Ultragaz, have formal contracts with Petrobras for the supply of oil-derivatives. Any material delay or interruption in the supply of LPG or oil-based fuels from Petrobras would immediately affect Ultragaz’s or Ipiranga’s ability to provide LPG and oil-based fuels to their customers. In addition, Petrobras’ current divestment plan may have an adverse effect in our businesses;
  • Intense competition is generally inherent to distribution markets, including the LPG and the fuel distribution markets and may affect our operating margins;
  • Anticompetitive practices in the fuel distribution sector may distort market prices;
  • LPG and oil-based fuels compete with alternative sources of energy. Competition with and the development of alternative sources of energy in the future may adversely affect the LPG and oil-based fuels market;
  • Our businesses would be materially adversely affected if operations at our transportation and distribution facilities experienced significant events outside of our control;
  • We may be adversely affected by changes to specific laws and regulations in our operating sectors;
  • Any change in our senior management and any difficulty in retaining, attracting and replacing qualified personnel could affect our ability to grow and could have an adverse effect on our activities, financial condition and results of operations;
  • Our level of indebtedness may require us to use a significant portion of our cash flow to service such indebtedness;
  • Higher LPG, fuels and other raw material costs could increase cost of products sold and decrease gross margin, adversely affecting our total operating result. Our exposure to cost volatility and other events related to these products could have a material adverse effect on our businesses, financial condition, and results of operations;
  • Our businesses may be materially and adversely affected by the outbreak of communicable diseases, such as the COVID-19 pandemic, or other epidemics or pandemics;
  • We are subject to extensive federal and state legislation and regulation by governmental agencies responsible for implementing environmental and health laws and policies in Brazil;
  • Our businesses, financial condition and results of operations may be materially and adversely affected by a general economic downturn and by instability and volatility in the financial markets, including as a result of the conflict between Ukraine and Russia;
  • Our insurance coverage may be insufficient to cover losses that we might incur;
11


  • The suspension, cancellation or non-renewal of certain tax benefits may adversely affect our results of operations;
  • No single shareholder or group of shareholders holds more than 50% of our capital stock, which may increase the opportunity for alliances between shareholders and other events that may occur as a result thereof;
  • As a result of acquisitions, Ultrapar has assumed and may assume in the future certain liabilities related to the businesses acquired or to be acquired. Additionally, Ultrapar has assumed and may assume certain risks associated with acquisitions and divestments, including regulatory risks;
  • The founding family and part of our senior management, through their ownership interest in Ultra S.A. and Parth, own a significant portion of our shares and may influence the management, direction and policies of Ultrapar, including the outcome of any matter submitted to the vote of shareholders;
  • Our status as a holding company may limit our ability to pay dividends on the shares and consequently, on the ADSs;
  • Failure to comply with, obtain or renew the licenses and permits required for each of the sectors in which we operate may have a material adverse effect on us;
  • Our governance and compliance processes may fail to prevent regulatory penalties and reputational harm;
  • Information technology failures, including those that affect the privacy and security of personal data, as a result of cyber-attacks or other causes, could adversely affect our businesses and the market price of our shares and ADSs; and
  • The production, storage and transportation of LPG and other fuels are inherently hazardous.

Risks relating to Brazil

  • The Brazilian government has exercised, and continues to exercise, significant influence over the Brazilian economy. Brazilian political and economic conditions, including ongoing political instability and perceptions of these conditions in the international markets, could adversely affect our businesses and the market price of our shares and ADSs;
  • Inflation and certain governmental measures to curb inflation, including as a result of the COVID-19 pandemic, may contribute significantly to economic uncertainty in Brazil and could harm our businesses and the market value of the ADSs and our shares;
  • Exchange rate instability may adversely affect our financial condition, results of operations and the market price of the ADSs and our shares;
  • Economic and market conditions in other countries, including in the United States and emerging market countries, may materially and adversely affect the Brazilian economy and, therefore, our financial condition and the market price of the shares and ADSs;
  • Holders of our ADSs may face difficulties in serving process on or enforcing judgments against us and other relevant persons;
  • Due to concerns about the risks of climate change, a number of countries, including Brazil, have adopted or are considering adopting regulatory frameworks which could adversely affect our businesses, financial condition and results of operations;
  • We may be adversely affected by the imposition and enforcement of more stringent environmental laws and regulations, including as a result of rising climate change concerns, that may result in increased costs of operation and compliance, as well as a decrease in demand for our products; and
  • Floods, storms, windstorms, rise in sea level and other climate change events could bring harm to our facilities, thus affecting our financial position and results of our operations.
12


Risks relating to our common shares and ADSs

  • Asserting limited voting rights as a holder of ADSs may prove more difficult than for holders of our common shares;
  • Holders of our shares or ADSs may not receive dividends;
  • Holders of our shares may be unable to exercise preemptive rights with respect to the shares;
  • If shareholders exchange ADSs for shares, they may lose certain foreign currency remittance and Brazilian tax advantages;
  • Changes in Brazilian tax laws may have an adverse impact on the taxes applicable to a disposition of our ADSs;
  • Substantial sales of our shares or our ADSs could cause the price of our shares or our ADSs to decrease; and
  • There may be adverse U.S. federal income tax consequences to U.S. holders if we are or become a PFIC under the Code.

Risks relating to Ultrapar and its industries

Petrobras is the main supplier of LPG and oil-based fuels in Brazil. Fuel and LPG distributors in Brazil, including Ipiranga and Ultragaz, have formal contracts with Petrobras for the supply of oil-derivatives. Any material delay or interruption in the supply of LPG or oil-based fuels from Petrobras would immediately affect Ultragaz’s or Ipiranga’s ability to provide LPG and oil-based fuels to their customers. In addition, Petrobras’ current divestment plan may have an adverse effect in our businesses.

Prior to 1995, Petrobras held a constitutional monopoly for the production and importation of petroleum products in Brazil. Although this constitutional monopoly was formally terminated pursuant to an amendment to the Brazilian constitution enacted in 1995, Petrobras effectively remains the main provider of LPG and oil-based fuels in Brazil. In 2022, 86% of all the LPG purchased by Ultragaz was supplied by Petrobras and 14% was supplied by other companies.

With respect to fuel distribution, Petrobras also supplied the majority of Ipiranga and other distributors’ oil-based fuel requirements in 2022. Petrobras’ supply to Ipiranga is governed by an annual contract, under which the supply volume is established based on the volume purchased in the previous year. For further information, see “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—C. Fuel distribution—Ipiranga—Supply of fuels.”

Significant interruptions or delays of LPG and oil-based fuel supply from Petrobras could occur in the future. Any interruption in the supply of LPG or oil-based fuels from Petrobras would immediately affect Ultragaz or Ipiranga’s respective ability to provide LPG or oil-based fuels to its customers, and material delays in the supply could also impact our operations.

13


Additionally, Petrobras announced in 2021 that it would cease to guarantee the supply of fuels to the Brazilian market and informed distributors that a portion of their fuel purchase orders would not be fully met. As a result, fuel distribution companies, including Ipiranga, were required to purchase part of their fuels needs in the international market. Although Petrobras has adopted a pricing policy of pegging domestic fuel prices to international rates, during some periods the prices at which our products are imported or bought from other companies might be materially different from those charged by Petrobras. If we are not able to obtain an adequate volume of LPG or oil-based fuel at competitive prices or pass on the increase in costs to our customers, our operating margins, market share, financial condition and results of our operations may be adversely affected.

Moreover, Petrobras has made several changes to the composition of its management team and has undertaken a long-term divestment plan. We may be impacted by the privatization of some of the refineries owned by Petrobras, which could result in the adoption of different pricing and more restrictive supply policies, limiting our access to oil derivatives or affecting our costs, gross margins, and sales volumes. The current divestment plan suggests that Petrobras is scaling back its positions in refining and logistics, which may cause disruption in logistics services, changes to distribution policies and adversely affect the competitiveness of fuel distributors. It is not clear how these changes or any future changes in management may impact price adjustment policy and change the structure and long-term outlook of the fuel market. In addition, we cannot predict how the new elected government of Brazil will change the divestment plan implemented during the prior government.

Intense competition is generally inherent to distribution markets, including the LPG and the fuel distribution markets and may affect our operating margins.

The Brazilian LPG market is very competitive in all segments — residential, commercial, and industrial. Intense competition in the LPG distribution market could lead to lower sales volumes, lower selling prices and increased marketing expenses, which may have a material adverse effect on our operating margins. See “Item 4.B. Information on the Company—Business overview——Industry and regulatory overview—A. Distribution of liquefied petroleum gas—Ultragaz—Competition.”

The Brazilian fuel distribution market is highly competitive as well, in both retail and wholesale segments, with companies with significant resources participating in it. Furthermore, small, local and regional distributors have increased their market share in recent years. Intense competition in the fuel distribution market could lead to lower sales volumes, lower selling prices and increased marketing expenses, which may have a material adverse effect on our operating margins. See “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—C. Fuel distribution—Ipiranga—Competition.”

Anticompetitive practices in the fuel distribution sector may distort market prices.

In the recent past, anticompetitive practices have been one of the main problems affecting fuel distributors in Brazil, including Ipiranga. Generally, these practices have involved a combination of tax evasion and fuel adulteration, such as the dilution of gasoline by mixing solvents or adding anhydrous ethanol in an amount greater than that permitted by applicable law.

Taxes constitute a significant portion of the cost of fuels sold in Brazil. For this reason, tax evasion by some fuel distributors has been prevalent, allowing them to lower the prices they charge compared to large distributors, such as Ipiranga. As the final prices for the products sold by distributors, including Ipiranga, are calculated based on, among other factors, the amount of taxes levied on the purchase and sale of these fuels, anticompetitive practices such as tax evasion may reduce Ipiranga’s sales volume and could have a material adverse effect on our operating margins. Should there be any increase in the taxes levied on fuel, tax evasion may increase, resulting in a greater distortion of the prices of fuels sold and further adversely affecting our results of operations.

In recent years, the fuel distribution sector has been under scrutiny by Brazilian authorities, including CADE and public prosecutors, as there have been allegations of cartels involving price arrangements and certain other antitrust practices within the sector. The outcome of these ongoing investigations and administrative and judicial proceedings may have an adverse impact on the Company’s businesses and results. For example, as of December 31, 2022, Ipiranga had two administrative proceedings filed by CADE, both of which were classified by outside legal counsel to have a remote risk of loss.

LPG and oil-based fuels compete with alternative sources of energy. Competition with and the development of alternative sources of energy in the future may adversely affect the LPG and oil-based fuels market.

LPG competes with alternative sources of energy, such as natural gas, wood, diesel, fuel oil and electricity. Natural gas is currently the main source of energy that we compete with. Currently, on a national average, natural gas is less expensive than LPG for large industrial consumers, but more expensive for most of residential consumers. Changes in relative prices or the development of alternative sources of energy in the future may adversely affect the LPG market and consequently our business, financial results, and results of operations.

14

Our businesses would be materially adversely affected if operations at our transportation and distribution facilities experienced significant events outside of our control.

The distribution of LPG and fuels is subject to inherent risks, including interruptions or disturbances in the distribution system which may be caused by accidents or force majeure events, such as the COVID-19 pandemic. Our operations are dependent upon the uninterrupted operation of our terminals, storage and distribution facilities and various means of transportation. We are also dependent upon the uninterrupted operation of certain facilities owned or operated by our suppliers. Operations at our facilities and at the facilities owned or operated by our suppliers could be partially or completely shut down, temporarily or permanently, as the result of any number of circumstances that are not within our control, such as:

  • Catastrophic events, including hurricanes and floods;
  • Social and economic conflicts, terrorist events and wars, such as the ongoing conflict between Russia and Ukraine;
  • Epidemics and pandemics, such as the COVID-19 pandemic (see “—Our businesses may be materially and adversely affected by the outbreak of communicable diseases, such as the COVID-19 pandemic, or other epidemics or pandemics”);
  • Environmental matters (including environmental licensing processes or environmental incidents, contamination, and others);
  • Labor difficulties (including work stoppages, strikes and other events); and
  • Disruptions in our means of transportation, affecting the supply of our products.

Any significant interruption at these facilities or inability to transport products to or from these facilities or to our customers for any reason could subject us to liability in judicial, administrative, or other proceedings, including for disruptions caused by events outside of our control, which could materially affect our businesses and results.

Our businesses are also subject to stoppages and blockades of highways and other public roads, such as the Brazilian truck drivers’ strike in May 2018, when truck drivers started a nationwide strike demanding the reduction in taxes levied on diesel and changes to the fuel prices policy adopted by Petrobras. The stoppages and blockages of highways and other public roads may impact our businesses and financial results.

We may be adversely affected by changes to specific laws and regulations in our operating sectors.

We are subject to extensive federal, state and local legislation and regulation by government agencies and sector associations in the industries we operate. Rules related to quality of products, product storage, staff working hours, among others, may become more stringent or be amended overtime, and require new investments or the increase in expenses so our operations are in compliance with the applicable rules. Changes in specific laws and regulations in the sectors we operate may adversely affect the conditions under which we operate in ways that could have a materially negative effect on our businesses and our results.

Any change in our senior management and any difficulty in retaining, attracting and replacing qualified personnel could affect our ability to grow and could have an adverse effect on our activities, financial condition and results of operations.

Our success depends, in part, on the efforts and skills of our senior management and key personnel. The loss or failure to retain one or more of our key personnel could adversely affect our businesses. Our success also depends, in part, on our continued ability to identify, hire, attract, train, develop and retain other highly qualified employees. Competition for these employees can be intense and we may not be able to attract and retain them. If we are unable to attract or retain qualified professionals to manage and expand our operations, we may not be able to conduct our businesses and, as a result, our operating and financial results may be adversely affected.

Our level of indebtedness may require us to use a significant portion of our cash flow to service such indebtedness.

As of December 31, 2022, our consolidated Gross Debt was R$13,274.1 million (US$2,542.9 million) and our net cash provided by operating activities from continuing operations totaled R$1,974.1 million (US$382.2 million). The level and composition of our indebtedness could have significant consequences for us, including requiring a portion of our cash flow from operations to be committed to the payment of principal and interest on our indebtedness, thereby reducing the available cash to finance our working capital and investment.

15

Higher LPG, fuels and other raw material costs could increase cost of products sold and decrease gross margin, adversely affecting our total operating result. Our exposure to cost volatility and other events related to these products could have a material adverse effect on our businesses, financial condition, and results of operations.

LPG, fuels and the main raw materials used in the distribution of our main products are subject to substantial price fluctuations, particularly those whose prices are denominated in foreign currency. Such fluctuations could have a material adverse effect on our businesses, financial condition, and results of operations. The prices of LPG, fuels and other raw materials are influenced by several factors over which we have little or no control, including, but not limited to, weather, agricultural production, international and national political and economic conditions, transportation and processing costs, regulations and government policies, and the relationship between world supply and demand. In addition, we may not be able to pass through to our customers, in due course, increases in LPG, fuels and other raw material costs and other operating costs related to the distribution of our products, which could decrease our profit margin and cause a material adverse effect in our activities, financial condition, and operating results.

Our businesses may be materially and adversely affected by the outbreak of communicable diseases, such as the COVID-19 pandemic, or other epidemics or pandemics.

Historically, some regional or global epidemics and outbreaks, such as the one caused by the Zika virus, the one caused by the Ebola virus, the H5N5 virus (popularly known as avian flu), the foot-and-mouth disease, the H1N1 virus (influenza A, popularly known as swine flu), the Middle East Respiratory Syndrome (MERS) and the Severe Acute Respiratory Syndrome (SARS) have affected certain sectors of the economy in countries where these diseases have spread. On March 11, 2020, the World Health Organization declared a pandemic, due to the global spread of COVID-19, a disease caused by the coronavirus (Sars-Cov-2). In response, the Brazilian Ministry of Health and the state and municipal governments have implemented policies designed to prevent or delay the spread of the disease, such as the restriction on circulation of people and social isolation, including the closing of commerce, parks and common areas. As a result, our businesses were materially and adversely affected by the COVID-19 pandemic and may be materially and adversely affected by the outbreak of other communicable diseases, including epidemics and pandemics.

The enactment of government policies and restrictions on the circulation of people and/or the operations of certain sectors of the economy led to a strong decline on demand (especially in 2020) and disruptions in the supply and value chains. The dissemination of COVID-19 also made us change our businesses’ practices, including additional hygienic practices for workplaces and employees and the adoption of remote working, considering the best interests and safety of our workforce, customers, and business partners. In addition, the COVID-19 pandemic has affected business and economic sentiment, causing significant volatility in global capital and commodity markets, and affecting the outlook of the economy of Brazil and other countries.

The implemented measures of social distancing, restrictions on the mobility of people and the operation of certain businesses due to the COVID-19 pandemic affected economic activity in Brazil over the last few years; however, these negative impacts were mitigated as local governments gradually lifted such restrictions in response to the increase in COVID-19 vaccinations. No significant effects were observed on the operations of the Company and its subsidiaries for the year ended December 31, 2022.

A global pandemic can also precipitate or exacerbate the other risks described in this annual report, which in turn could further materially and adversely affect our businesses, financial condition, results of operations, cash flows, prospects and the market price of our securities, including in ways not currently known or considered by us to present material risks.

We are subject to extensive federal and state legislation and regulation by governmental agencies responsible for implementing environmental and health laws and policies in Brazil.

Like other similar companies, our subsidiaries must obtain permits for its industrial facilities from the appropriate environmental agencies, which may create additional regulations for our operations by prescribing specific environmental standards in their operating licenses.

Changes in these laws and regulations, or in their enforcement, may adversely affect the Company by increasing its compliance and operating costs. Furthermore, additional new laws and regulations, as well as more stringent interpretation of existing laws and regulations, may require additional investments for the Company to maintain its operations in compliance with legislation, which could increase costs and adversely affect results.

In addition to regulatory issues, our environmental risks are mainly related to the use of water (especially in areas of water scarcity), the generation and disposal of waste and the contamination of soil and water.

In our operations, water is mainly used in emergencies involving fires. Our operations also generate waste, such as contaminated waste, civil construction waste, and others. Finally, soil and water contamination can occur due to leaks from products stored and transported by the group's companies. The occurrence of such events could result in fines, loss of operating licenses and reputational harm, consequently affecting our results and financial position.

16

Our businesses, financial condition and results of operations may be materially and adversely affected by a general economic downturn and by instability and volatility in the financial markets, including as a result of the conflict between Ukraine and Russia.

The turmoil of the global financial markets and the scarcity of credit in the past led to lack of consumer confidence, increased market volatility and widespread reduction of business activity. An economic downturn could materially and adversely affect the liquidity, businesses and/or financial conditions of our customers, which could in turn result not only in decreased demand for our products, but also increased delinquencies in our accounts receivable.

On February 24, 2022, a full-scale military invasion of Ukraine by Russian troops was reported. Since then, global markets have been experiencing volatility and disruption following the escalation of geopolitical tensions and the start of the military conflict between these countries. Although the length and impact of the ongoing military conflict are highly unpredictable, the conflict in Ukraine has led and could further lead to market disruptions, including significant volatility in commodity prices, including crude oil and natural gas, which could impact the prices of LPG and oil-based fuel, and demand in the markets in which we operate. Additionally, governments in the United States and many other countries have imposed economic sanctions on certain Russian individuals, including politicians, and Russian corporate and banking entities. These sanctions, or even the threat of further sanctions, could result in Russia taking countermeasures or retaliatory actions which may lead to further market disruptions and an increase in crude oil and natural gas prices globally, which could negatively impact our businesses and operations.

Moreover, an eventual new global financial crisis could have a negative impact on our cost of borrowing and on our ability to obtain future borrowings. The disruptions in the financial markets could also lead to a reduction in available trade credit, due to counterparties’ liquidity concerns. If we experience a decrease in demand for our products or an increase in delinquencies in our accounts receivable, or if we are unable to obtain borrowings our businesses, financial condition and results of operations could be materially adversely affected.

Our insurance coverage may be insufficient to cover losses that we might incur.

The specialized distribution and retail, as well as the operations of logistics of oil, LPG and fuels involve substantial risks of property damage and personal injury and may result in material costs and liabilities. Although we maintain insurance policies, the occurrence of losses or other liabilities that are not covered by insurance or that exceed the limits of our insurance coverage could result in significant unexpected additional costs.

The suspension, cancellation or non-renewal of certain tax benefits may adversely affect our results of operations.

Currently, we are entitled to tax benefits providing for income tax reduction for our activities in the Northeast region of Brazil, subject to certain conditions. Conversely, if the corresponding tax authorities understand that we have not complied with any of the tax benefit requirements or if the current tax programs from which we benefit are modified, suspended, cancelled, not renewed or renewed under terms that are substantially less favorable than expected, we may become liable for the payment of related taxes at the full tax rates and our results of operations may be adversely affected. Income tax exemptions amounted to R$93.4 million, R$47.1 million and R$46.1 million, for the years ended December 31, 2022, 2021 and 2020, respectively. See “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—A. Distribution of liquefied petroleum gasUltragaz—Income tax exemption status” and “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—B. Storage services for liquid bulk —Ultracargo—Income tax exemption status.”

No single shareholder or group of shareholders holds more than 50% of our capital stock, which may increase the opportunity for alliances between shareholders and other events that may occur as a result thereof.

No single shareholder or group of shareholders holds more than 50% of our capital stock. Due to the absence of a controlling shareholder, we may be subject to future alliances or agreements between shareholders, which may result in the exercise of a relevant influence over our Company by them. In the event a controlling group is formed and decides to exercise its influence over our Company, we may be subject to unexpected changes in our corporate governance and strategies, including the replacement of key executive officers. Any unexpected change in our management team, business policy or strategy, any dispute between our shareholders, or any attempt to acquire control of our Company may have an adverse impact on us. The term of office of our current Board of Directors, the members of which were elected at the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023, will expire in the Annual General Shareholders’ Meeting to be held in 2025. Consequently, a new composition of the Board of Directors might be elected by our shareholders.

17

As a result of acquisitions, Ultrapar has assumed and may assume in the future certain liabilities related to the businesses acquired or to be acquired. Additionally, Ultrapar has assumed and may assume certain risks associated with acquisitions and divestments, including regulatory risks.

Ultrapar has assumed certain liabilities of previously acquired businesses; therefore, certain existing financial obligations, legal liabilities or other known and unknown contingent liabilities or risks of the businesses acquired have become Ultrapars responsibility. Ultrapar may acquire new businesses in the future and, as a result, it may be subject to additional liabilities, obligations and risks. See “Item 4.A. Information on the Company—History and development of the Company” for more information in connection with these acquisitions.

In addition, Ultrapar is subject to risks relating to acquisitions and divestments that it enters into from time to time. Such risks include that the approval of such transactions may ultimately be refused by the relevant regulatory bodies, including CADE.

These liabilities may cause Ultrapar to be required to make payments (including indemnifications and future claims in judicial and arbitral proceedings), incur charges or take other actions that may adversely affect our financial position and results of operations and the price of our shares.

For example, the sale of Oxiteno to Indorama was closed on April 1, 2022, and the sale of Extrafarma to Pague Menos was closed on August 1, 2022. Thus, these two companies ceased to be consolidated as subsidiaries of Ultrapar and we no longer control their management or operations since then. However, under the applicable sale agreements, we will remain liable for certain previously existing financial obligations, legal liabilities or other known and unknown contingent liabilities or risks associated with Oxiteno and Extrafarma that may, if materialized, adversely affect our businesses, operations and/or results. In addition, as of December 31, 2022, the payment installments due by Indorama and Pague Menos amounted to US$150.0 million (equivalent to R$783.0 million as of December 31, 2022) and two installments of R$182.7 million, respectively. If Indorama and/or Pague Menos fail to make these payments, we would be adversely affected.

The founding family and part of our senior management, through their ownership interest in Ultra S.A. and Parth, own a significant portion of our shares and may influence the management, direction and policies of Ultrapar, including the outcome of any matter submitted to the vote of shareholders.

Although there is no controlling shareholder of Ultrapar, the founding family and part of our senior management, through their ownership interest in Ultra S.A., beneficially own 25.1% of our outstanding common stock. Ultra S.A., together with Parth, another branch of the Igel family, entered into a shareholders’ agreement on May 2, 2018 relating to their Ultrapar shares. On August 18, 2020, Ultra S.A. and Parth entered into the 2020 Shareholders’ Agreement to include Pátria, in its capacity as Ultra S.A.'s shareholder then holding a 20% stake in Ultra S.A.'s capital stock, as consenting intervening party, therefore bound by the provisions of the 2020 Shareholders' Agreement. The 2020 Shareholders’ Agreement replaced the 2018 Shareholders’ Agreement in its entirety, and the terms and conditions remain substantially the same of the latter. On September 28, 2021, Ultra S.A. informed the Company that Mr. Marcos Marinho Lutz, our Chief Executive Officer, had become a shareholder of Ultra S.A., holding 2.4% of its capital stock, and also had become a consenting intervening party of the 2020 Shareholders’ Agreement. A total of 34.7% of the Company’s capital stock is bound by the 2020 Shareholder’s Agreement as of April 14, 2023. 

See “Item 4.A. Information on the Company—History and development of the Company”, “Item 7.A. Major shareholders and related party transactions—Major shareholders—Shareholders’ Agreements” and “Exhibit 2.10—Shareholders’ Agreement dated August 18, 2020.” Accordingly, these shareholders, acting together through Ultra S.A. and Parth, may exercise significant influence over all matters requiring shareholder approval, including the election of our directors.

Our status as a holding company may limit our ability to pay dividends on the shares and consequently, on the ADSs.

As a holding company, we have no significant operating assets other than the ownership of shares of our subsidiaries. Substantially all of our operating income comes from our subsidiaries, and therefore we depend on the distribution of dividends or interest on shareholders’ equity from our subsidiaries. Consequently, our ability to pay dividends depends solely upon our dividends and other cash flows from our subsidiaries.

Failure to comply with, obtain or renew the licenses and permits required for each of the sectors in which we operate may have a material adverse effect on us.

The Company's subsidiaries are in a constant process of obtaining or renewing the required permits to operate. Our subsidiaries must obtain and maintain such licenses and permits from different public bodies for the continuity of their activities. If the Company's subsidiaries are unable to obtain or renew all licenses and permits necessary to conduct their businesses and operations, the absence of such licenses could materially and adversely affect the Company's businesses, financial condition, and results of operations.

18

Our governance and compliance processes may fail to prevent regulatory penalties and reputational harm.

Our governance and compliance processes, which include reviewing internal controls over financial reporting, may not prevent future violations of applicable legal, anti-corruption, antitrust and conflicts of interest laws and regulations, accounting or governance standards. We may be subject to legal and regulatory violations and to breaches of our Code of Ethics, anti-corruption policies and commercial conduct protocols, and to instances of fraudulent behavior, corrupt, anticompetitive and unethical practices and dishonesty by our employees, contractors or other agents. In the recent past, anticompetitive practices have been one of the main problems affecting fuels and LPG distributors in Brazil, including Ipiranga and Ultragaz. There are allegations of cartels involved in price fixing in the fuel distribution and LPG sectors, and CADE has been targeting players of these sectors in different regions of Brazil. CADE has been actively investigating these sectors and a negative outcome of the ongoing investigations, administrative proceedings and lawsuits could have a material adverse effect on Ipiranga and Ultragaz. Our failure to comply with applicable laws and other standards could subject us to, among others, litigation, investigations, expenses, fines, loss of operating licenses and reputational harm. For more information about ongoing proceedings, see “Item 8.A. Financial information—Consolidated statements and other financial information—Legal proceedings.”

In addition, our management is responsible for establishing and maintaining adequate internal controls over financial reporting as defined under the Exchange Act. During our assessment of our internal controls over financial reporting as of December 31, 2022, we identified a material weakness. A material weakness is a deficiency, or a combination of deficiencies, in internal control over financial reporting, such that there is a reasonable possibility that a material misstatement of annual or interim financial statements will not be prevented or detected on a timely basis. For more information, see “Item 15. Controls and Procedures”. If our efforts to remedy any identified inconsistencies and/or weaknesses are not sufficient, we could continue to experience material weaknesses in our internal controls in future periods which could result in a material misstatement in our consolidated financial statements.

Information technology failures, including those that affect the privacy and security of personal data, as a result of cyber-attacks or other causes, could adversely affect our businesses and the market price of our shares and ADSs.

We increasingly rely on information technology systems to process, transmit, and store electronic information. A significant portion of the communication between our personnel, customers, and suppliers depends on information technology. In addition, our billing systems relies heavily on technology infrastructure. As with all large systems, our information systems may be vulnerable to a variety of interruptions, due to events beyond our control including, but not limited to, natural disasters, terrorist attacks, telecommunications failures, computer viruses, hacker attacks, human errors or other security issues.

We depend on information technology to enable us to operate efficiently and interface with customers, as well as to maintain in-house management and control. We also collect and store non-public personal information that customers provide to purchase products or services, including personal information and payment information.

In addition, the concentration of processes in shared services centers means that any technology disruption could impact a large portion of our businesses within the operating regions we serve. Any transition of processes to, from or within shared services centers as well as other transformational projects, could lead to businesses’ disruptions. If we do not allocate, and effectively manage, the resources necessary to build and sustain the proper technology infrastructure, we could be subject to transaction errors, processing inefficiencies, loss of customers, operations disruptions, or the loss of or damage to intellectual property caused by security breach. As with all information technology systems, our system could also be penetrated by outside parties with the purpose of extracting information, corrupting information, or disrupting businesses’ processes.

In Brazil, we are subject to laws and regulations regarding data protection and privacy, including Brazilian Law No. 13,709/18 (Brazilian General Data Protection Law) or LGPD, which came into force on September 18, 2020. Inspired by the General Data Protection Regulation of the European Union, the LGPD sets forth a comprehensive set of rules on how companies, organizations and public authorities collect, use, process and store personal data when carrying out their activities.

The LGPD sets out a legal framework for the processing of personal data and provides, among others, for the rights of data subjects, the legal bases applicable to the protection of personal data, the requirements for obtaining consent, the obligations and requirements related to data breaches, requirements for international data transfers, among others. The LGPD also created the Autoridade Nacional de Proteção de Dados (National Data Protection Authority), or ANPD, responsible for enforcing the law. Most provisions of the LGPD entered into effect on September 18, 2020, while the provisions relating to administrative sanctions came into effect on August 1, 2021. On October 29, 2021, the Regulation on Supervision and Sanctioning Procedures approved by the ANPD was published, which governs, among other things, how the administrative sanctions provided for in the LGPD should be applied.

LGPD requires mandatory breach notification in case of relevant risk or damage to data holders and authorizes regulatory investigations that could lead to fines and other sanctions in case of non-compliance. As of the date of this annual report, we are not aware of any ongoing regulatory investigations affecting us. However, we cannot assure that we will not be subject to any such investigations and any resulting sanctions in the future, should any breaches take place.

LGPD, as well as any other changes to existing personal data protection laws, may subject us to, among other measures, additional costs and expenses, which would require costly changes to our businesses practices and security systems, policies, procedures and practices.

19


Our protections may be compromised as a result of third-party security breaches, burglaries, cyberattack, errors by employees or employees of third-party vendors, contractors, misappropriation of data by employees, vendors or unaffiliated third parties, or other irregularities that may result in persons obtaining unauthorized access to company data or otherwise disrupting our businesses.

For example, on January 11, 2021, an unauthorized party disrupted access to our IT systems, which caused a temporary interruption to our operations and resulted in the theft of certain proprietary data. On January 14, 2021, we began restoring the systems that were affected by this incident and all critical information systems have been fully operational since February 2021. No material impacts were incurred by the Company as a result of this event.

As of the date of this annual report, the Company does not carry insurance against cyber incidents. Therefore, similar interruptions, data breaches or any noncompliance with LGPD could have an adverse effect on our businesses, reputation, results of operations, cash flows or financial condition, or result in proceedings or actions against us, including the imposition of fines.

The production, storage and transportation of LPG and other fuels are inherently hazardous activities.

The operations performed by Ultrapar's businesses involve safety and other operational risks, including the handling, production, storage and transportation of highly flammable, explosive and toxic materials. These risks can result in bodily injury or death, damage to or destruction of facilities or equipment, and environmental damage. A sufficiently large accident at one of the service stations or storage facilities could force temporary suspension of activities at the site, resulting in significant remediation costs, lost revenues, and contingent liabilities. In addition, insurance coverage may not be available in a timely manner or may be insufficient to cover all losses. Equipment breakdowns, natural disasters and delays in obtaining imported products or spare parts or equipment could also affect the production process and, consequently, the results of operations and our reputation.

Risks relating to Brazil

The Brazilian government has exercised, and continues to exercise, significant influence over the Brazilian economy. Brazilian political and economic conditions, including ongoing political instability and perceptions of these conditions in the international markets, could adversely affect our businesses and the market price of our shares and ADSs.

The Brazilian government frequently intervenes in the Brazilian economy and occasionally makes substantial changes in policy and regulations. The Brazilian government’s actions to control inflation and affect other policies and regulations have involved price and wage controls, currency devaluations, capital controls, strong fiscal adjustments, and limits on imports, among other measures. Our businesses, financial condition and results of operations may be adversely affected by changes in policy or regulations involving or affecting tariffs, exchange controls and other matters, as well as factors such as:

  • Currency fluctuations;
  • Inflation;
  • Interest rates;
  • Exchange rate policies;
  • Liquidity available in the domestic capital, credit and financial markets;
  • Oil and gas sector regulations, including price policies;
  • Payment business regulations;
  • The impact of epidemics and pandemics; 
  • Price instability;
  • Social and political instability;
  • Energy and water shortages and rationing;
  • Liquidity of domestic capital and lending markets;
  • Fiscal policy;
  • Overturning of final judicial rulings on tax cases; and
  • Other political, economic, social, trade and diplomatic developments in or affecting Brazil.

Uncertainty over whether the Brazilian government may implement changes in policy, including with respect to the oil and gas industry, or regulation affecting these or other factors in the future may contribute to economic uncertainty in Brazil and to heightened volatility in the Brazilian securities markets and securities issued abroad by Brazilian issuers, as well as heightened volatility in the Real. These and other future developments in the Brazilian economy or government policies may adversely affect us and our businesses as well as our results of operations and may adversely affect the trading price of our ADSs and shares. Furthermore, the Brazilian government may enact new regulations that may adversely affect our businesses and us.

20

Uncertainty regarding whether the Brazilian government will implement policy and regulatory changes may be compounded by political instability. Historically, Brazilian politics have affected the performance of the Brazilian economy. Political crises have affected and continue to affect the confidence of investors and the general public and have historically resulted in economic deceleration and heightened volatility in the securities issued by Brazilian companies. Additionally, political instability in Brazil has been growing in recent years, which has contributed to a decline in market confidence in the Brazilian economy as well as to a deteriorating political environment.

In the aftermath of the 2022 election results, there were mass protests and demonstrations throughout Brazil highlighting a deeply polarized electorate amidst a political climate characterized by uncertainty as the country awaited definition regarding the political and economic agenda of the new administration, which contributed to increased macroeconomic and political instability. Furthermore, on January 8, 2023, protesters stormed government buildings in Brasília, Brazil’s capital, including the Congress, the Supreme Court and the Presidential Palace, which prompted the Supreme Court to order participants and certain politicians to be imprisoned and resulted in new investigations. It is unclear whether this heightened state of political and social tension will dissipate or intensify in coming months, which could contribute to increased macroeconomic and political instability.

Further, in recent years some of Brazil’s leading politicians were targets of inquiries involving corruption, misconduct of public management, including through a Parliamentary Committee Inquiry (or “CPI”, Comissão Parlamentar de Inquérito) which focused on the handling of the COVID-19 pandemic, as well as the potential misuse of government funds. The potential outcome of these and other inquiries, as well as potential new inquiries involving Brazilian politicians that may arise are uncertain, but they had, and still may have a negative impact on the general perception of the Brazilian economy and consequently have adversely affected and may continue to affect our businesses, financial condition, and results of operations, as well as the market price of our common shares.

In addition, we cannot predict the scope, nature and impact of any policy changes or reforms (or reversals thereof) that the president-elect’s new administration will implement, which could result in further political and economic instability and negatively impact the regulatory framework in which we operate, which in turn could adversely affect our businesses, financial condition and operating results.

Since 2014, Brazil’s federal budget has been in primary deficit, with 2022 being the only exception. Similarly, the governments of Brazil’s constituent states are also facing fiscal concerns due to their high debt burdens, declining revenues and inflexible expenditures.

A failure by the Brazilian government to implement necessary reforms may result in diminished confidence in the Brazilian government’s budgetary condition and fiscal stance, which could result in downgrades of Brazil’s sovereign foreign credit rating by credit rating agencies and the rise of risk premium, negatively impacting Brazil’s economy, and leading to further depreciation of the Real and an increase in inflation and interest rates, adversely affecting our businesses, financial condition and results of operations.

We cannot predict which policies will be adopted by the Brazilian government, including with respect to the oil and gas industry. Moreover, in the past, the Brazilian economy has been affected by the country’s political events, which have also affected the confidence of investors and the public in general, thereby adversely affecting the performance of the Brazilian economy. Furthermore, any indecisiveness by the Brazilian government in implementing changes to certain policies or regulations may contribute to economic uncertainty in Brazil and heightened volatility for the Brazilian securities markets and securities issued abroad by Brazilian companies. We are not able to fully estimate the impact of global and Brazilian political and macroeconomic developments on our businesses. In addition, there is substantial uncertainty regarding future economic policies, and we cannot predict which policies will be adopted by the Brazilian government and whether these policies will negatively affect the economy or our businesses or financial performance. Recent economic and political instability has led to a negative perception of the Brazilian economy and higher volatility in the Brazilian securities markets, which also may adversely affect our securities and us. Any continued economic instability and political uncertainty which results in reduced availability of credit and reduced economic growth may materially and adversely affect our businesses.

Further, on February 8, 2023, the STF decided that final judicial rulings on individual tax cases can be overturned, thus allowing for situations in which companies that had obtained the right not to pay certain taxes may become liable for their payment, including for the payment of back taxes, if the STF later finds that the tax is legal. We cannot predict whether any tax benefit or tax that we obtained the right not to pay will be charged or even charged retroactively, which in turn could adversely affect our businesses, financial condition, results of operations and cash flows. For more information about this decision, see Item 4.A. Information on the Company—History and development of the CompanyRecent developments.

21


Inflation and certain governmental measures to curb inflation, including as a result of the COVID-19 pandemic, may contribute significantly to economic uncertainty in Brazil and could harm our businesses and the market value of the ADSs and our shares.

Since the introduction of the Real in 1994, Brazil’s inflation rate has been substantially lower than that in previous periods. However, during the recent past, the economy has experienced increasing inflation rates and actions taken in an effort to curb inflation, coupled with economic and political impacts derived from COVID-19 crisis and speculation about possible future governmental actions, have contributed to economic uncertainty in Brazil and heightened volatility in the Brazilian securities market. According to the IGP-M, an inflation index, the Brazilian general price inflation rate was 5.5% in 2022, 17.8% in 2021 and 23.1% in 2020. According to the IPCA, an inflation index to which Brazilian government’s inflation targets are linked, inflation in Brazil was 5.8% in 2022, 10.1% in 2021 and 4.5% in 2020. Brazil may experience high levels of inflation in the future. Our operating expenses are substantially in Reais and tend to increase with Brazilian inflation. Inflationary pressures, due to low interest rates and exchange rate depreciation may also hinder our ability to access foreign financial markets or may lead to further government intervention in the economy, including the introduction of government policies that could harm our businesses or adversely affect the market value of our shares and, as a result, our ADSs.

Exchange rate instability may adversely affect our financial condition, results of operations and the market price of the ADSs and our shares.

A significant portion of the products that we distribute, including LPG and fuels, have prices linked to commodity prices denominated in U.S. dollars. Therefore, we are exposed to foreign exchange rate risks that could adversely affect our businesses, financial condition and results of operations as well as our capacity to service our debt. See “Item 11. Quantitative and Qualitative Disclosures about Market Risk.”

During the last decades, the Brazilian government has implemented various economic plans and a number of exchange rate policies, including sudden devaluations, periodic mini-devaluations during which the frequency of adjustments has ranged from daily to monthly, floating exchange rate systems, exchange controls and dual exchange rate markets. Although over long periods depreciation of the Brazilian currency has been generally correlated with the rate of inflation in Brazil, there have historically been observed shorter periods of significant fluctuations in the exchange rate between the Real and the U.S. dollar and other currencies, in particular in the last 10 years.

In 2020, the Real depreciated 29% against the U.S. dollar, mainly due to the low interest rate environment in Brazil coupled with local and international market conditions, including the economic, political and other impacts of the COVID-19 pandemic. In 2021, the Real depreciated 7% against the U.S. dollar, mainly due to the slow recovery of Brazil from the economic downturn, the increase in global inflation and fiscal risks in the country. In 2022, the reopening of the economy after the restrictions imposed by the coronavirus pandemic in 2021, added to the stimulus packages, the evolution of public accounts and financial support policies for the population contributed to the improvement of the economy’s performance and resulted in the appreciation of 7% of the Real against the U.S. dollar.

There are no guarantees that the exchange rate between the Real and the U.S. dollar will stabilize at current levels, and the Real and the U.S. dollar exchange rate may be adversely impacted by the economic and fiscal scenario. Although we have contracted hedging instruments with respect to part of our existing U.S. dollar debt obligations, in order to reduce our exposure to fluctuations in the U.S. dollar/Real exchange rate, we cannot guarantee that such instruments will be adequate to fully protect us against further devaluation of the Real, and we could in the future experience monetary losses as a result. See “Item 11. Quantitative and Qualitative Disclosures about Market Risk” for information about our foreign exchange risk hedging policy.

Depreciations of the Real relative to the U.S. dollar can create additional inflationary pressures in Brazil that may negatively affect us. Depreciations generally curtail access to foreign financial markets and may prompt government intervention, including recessionary governmental policies. Depreciations also reduce the U.S. dollar value of distributions and dividends on the ADSs and the U.S. dollar equivalent of the market price of our shares and, as a result, the ADSs. On the other hand, appreciation of the Real against the U.S. dollar may lead to a deterioration of the country’s current account and the balance of payments, as well as to a dampening of export-driven growth.

22


Economic and market conditions in other countries, including in the United States and emerging market countries, may materially and adversely affect the Brazilian economy and, therefore, our financial condition and the market price of the shares and ADSs.

The market for securities issued by Brazilian companies is influenced by economic and market conditions in Brazil, and to varying degrees, market conditions in other countries, including the United States, other Latin American and emerging market countries. Although economic conditions are different in each country, the reaction of investors to developments in one country may cause the capital markets in other countries to fluctuate. Developments or conditions in other countries, including the United States and other emerging market countries, have at times significantly affected the availability of credit in the Brazilian economy and resulted in considerable outflows of funds and declines in the amount of foreign currency invested in Brazil, as well as limited access to international capital markets, all of which may materially and adversely affect our ability to borrow funds at an acceptable interest rate or to raise equity capital when and if we should have such a need.

In 2022, 2021 and 2020, the Brazilian market remained volatile due to, among other factors, uncertainties about the increasing risk aversion to emerging market countries, the COVID-19 pandemic, and the uncertainties regarding Brazilian macroeconomic and political conditions. These uncertainties adversely affected us and the market value of our securities. In addition, we continue to be exposed to disruptions and volatility in the global financial markets because of their effects on the financial and economic environment, particularly in Brazil, such as a slowdown in the economy, an increase in the unemployment rate, a decrease in the purchasing power of consumers and the lack of credit availability.

Disruption or volatility in the global financial markets, including as a result of the military conflict between Russia and Ukraine, could further increase negative effects on the financial and economic environment in Brazil, which could have a material adverse effect on our businesses, results of operations and financial condition.

Holders of our ADSs may face difficulties in serving process on or enforcing judgments against us and other relevant persons.

We are a company incorporated under the laws of Brazil. All members of our Board of Directors, executive officers and experts named in this annual report are residents of Brazil or have business address in Brazil. All or a substantial part of the assets pertaining to these individuals and to Ultrapar are located outside the United States. As a result, it is possible that investors may not be able to effect service of process upon these individuals or us in the United States or other jurisdictions outside Brazil or enforce judgments against us or these other persons obtained in the United States or other jurisdictions outside Brazil, including for civil liability based upon United States federal securities laws or otherwise. In addition, because judgments of United States courts for civil liabilities based upon the United States federal securities laws may only be enforced in Brazil if certain conditions are met, holders may face greater difficulties in protecting their interests in the case of actions against us or our Board of Directors or executive officers than would shareholders of a United States corporation.

Due to concerns about the risks of climate change, a number of countries, including Brazil, have adopted or are considering adopting regulatory frameworks which could adversely affect our businesses, financial condition and results of operations.

New laws and regulatory frameworks adopted by countries in response to concerns about climate change include the adoption of cap and trading carbon market system, taxes on carbon emissions, increased efficiency standards, bans on vehicles running on petroleum-based fuels, and incentives or requirements for the use of renewable energy. Such requirements can reduce the demand for hydrocarbon fuels at different rates and levels in each of the regions where our customers are located, as well as lead to a replacement of their demand with lower carbon sources. In addition, many governments are offering tax breaks and providing other subsidies and guidelines to make alternative energy sources more competitive with oil and gas, which may discourage the sale of certain products supplied by the Companys subsidiaries.

Governments around the world have been encouraging the development of new technologies and companies have also been promoting research to reduce the cost and increase the scale of production of alternative energy sources, which could reduce demand for the Companys products. In addition, current regulations on GHG, or regulations that may eventually be approved, could substantially increase the Companys compliance costs and thus increase the prices of the products that it produces or distributes.

Furthermore, discussions about carbon pricing, whether by emissions trading or taxation, are gaining momentum in Brazil. In 2022, the Brazilian government approved the Federal Decree 11,075/22, which establishes the procedures for the preparation of sectoral plans for the mitigation of climate change and creates the Sistema Nacional de Redução de Emissões de Gases Estufa (national system for reduction of GHG emissions). We cannot predict the scope, nature and impact of any policy changes or reforms related to the carbon market, which could result in higher costs, lower operational margins and, in turn, could adversely affect our businesses, financial condition and operating results.

23

We may be adversely affected by the imposition and enforcement of more stringent environmental laws and regulations, including as a result of rising climate change concerns, that may result in increased costs of operation and compliance, as well as a decrease in demand for our products.

In December 2016, the Ministry of Mines and Energy (MME), seeking to fulfill the commitments made at the 2014 United Nations Climate Change Conference (COP 21), launched RenovaBio, a program aimed at reducing carbon emissions and encouraging the production of biofuels in Brazil, such as ethanol, biodiesel, biogas and aviation biofuel. Under this program, biofuel producers and importers duly certified by the ANP issue CBios based on their sales and purchase invoices, while fossil fuel distributors receive annual decarbonization targets based on the proportion of fossil fuels they sell, which can only be met by purchasing CBios.

CBios are traded freely on B3, and their prices are set by market supply and demand, which can be influenced, among other factors, by unexpected regulatory changes, such as the postponement of the CBios purchase targets announced by the Brazilian government in July 2022. Because CBios prices can be highly volatile and targets increase annually, we cannot predict whether we will be able to successfully pass through the costs of our CBios to resellers, which could adversely affect our operations, market share, financial condition, and results. The possible unavailability of CBios or our inability to meet these targets may result in administrative penalties and the blocking of operating licenses. In addition, the Brazilian government is reviewing the RenovaBio’s guidelines, and we cannot predict how these possible changes may affect us.

If we do not invest in research and development of new, less carbon intensive solutions and adapt our operating structure to operate with cleaner energy sources, we may incur higher compliance and operating costs, which may have an adverse effect on our competitiveness and revenues.

In addition, if we violate environmental laws and regulations, we may face reputational damage with consumers, our business customers, investors, the communities in which we operate and other stakeholders, which could adversely affect our access to capital, revenues, and ability to obtain the necessary permits to conduct our operations.

Floods, storms, windstorms, rise in sea level and other climate change events could bring harm to our facilities, thus affecting our financial position and results of our operations.

Floods, storms, and windstorms can cause production stoppages, interrupt supplies, and damage physical structures. The rise in sea levels is also a risk to our operations since our companies have assets in coastal regions and ports.

Risks relating to the shares and the american depositary shares

Asserting limited voting rights as a holder of ADSs may prove more difficult than for holders of our common shares.

Under the Brazilian Corporate Law, only shareholders registered as such in our corporate books may attend shareholders’ meetings. All common shares underlying the ADSs are registered in the name of the depositary bank. A holder of ADSs, accordingly, is not entitled to attend shareholders’ meetings. A holder of ADSs is entitled to instruct the depositary bank as to how to exercise the voting rights of its common shares underlying the ADSs in accordance with procedures provided for in the Deposit Agreement, but a holder of ADSs will not be able to vote directly at a shareholders’ meeting or appoint a proxy to do so. In addition, a holder of ADSs may not have sufficient or reasonable time to provide such voting instructions to the depositary bank in accordance with the mechanisms set forth in the Deposit Agreement and custody agreement, and the depositary bank will not be held liable for failure to deliver any voting instructions to such holders.

24


Holders of our shares or ADSs may not receive dividends.

Under the Brazilian Corporate Law and our Bylaws, unless otherwise proposed by the Board of Directors and approved by the voting shareholders at our Annual General Shareholders’ Meeting, we must pay our shareholders a mandatory distribution equal to at least 25% of our adjusted net profit, after the allocation of 5% of the net profit to the legal reserve. However, our net income may be used to increase our capital stock, used to set off losses and/or otherwise retained in accordance with the Brazilian Corporate Law and may not be available for the payment of dividends, including in the form of interest on shareholders’ equity. Therefore, whether you receive a dividend or not depends on the amount of the mandatory distribution, if any, and whether the Board of Directors and the voting shareholders exercise their discretion to suspend these payments. See “Item 8.A. Financial information—Consolidated statements and other financial information—Dividends and Distribution Policy—Dividend Policy” for a more detailed discussion of mandatory distributions.

Holders of our shares may be unable to exercise preemptive rights with respect to the shares.

In the event that we issue new shares pursuant to a capital increase or offer rights to purchase our shares, shareholders would have preemptive rights to subscribe for the newly issued shares or rights, as the case may be, corresponding to their respective interest in our share capital, allowing them to maintain their existing shareholder percentage.

However, our Bylaws establish that the Board of Directors may exclude preemptive rights to the current shareholders or reduce the time our shareholders have to exercise their rights, in the case of an offering of new shares to be sold on a registered stock exchange or otherwise through a public offering.

The holders of our shares or ADSs may be unable to exercise their preemptive rights in relation to the shares represented by the ADSs, unless we file a registration statement for the offering of rights or shares with the SEC pursuant to the United States Securities Act or an exemption from the registration requirements applies. We are not obliged to file registration statements in order to facilitate the exercise of preemptive rights and, therefore, we cannot assure ADS holders that such a registration statement will be filed. As a result, the equity interest of such holders in our Company may be diluted. If the rights or shares, as the case may be, are not registered as required, the depositary will try to sell the preemptive rights held by holder of the ADSs and you will have the right to the net sale value, if any. However, the preemptive rights will expire without compensation to you should the depositary not succeed in selling them.

 If shareholders exchange ADSs for shares, they may lose certain foreign currency remittance and Brazilian tax advantages.

The ADSs benefit from the depositary’s certificate of foreign capital registration, which permits the depositary to convert dividends and other distributions with respect to the shares into foreign currency and remit the proceeds abroad. In order to surrender ADSs for the purpose of withdrawing the shares represented thereby, investors are required to comply with National Monetary Council (“CMN”) Resolution 4,373 of September 29, 2014 (“CMN Resolution 4,373”), which requires, among other things, that investors appoint a legal representative in Brazil. If the investors fail to comply with CMN Resolution 4,373, or the legal representative appointed by the investors fails to comply with CMN Resolution 4,373 or to take action when required to do so, it could affect the investors’ ability to receive dividends or distributions relating to our shares or the return of their capital in a timely manner. Investors that are registered as CMN Resolution 4,373 investors may buy and sell their shares on the Brazilian stock exchanges without obtaining separate certificates of registration. If investors do not qualify under CMN Resolution 4,373, they will generally be subject to less favorable tax treatment on distributions with respect to the shares. The depositary’s certificate of registration or any certificate of foreign capital registration obtained by the investor may be affected by future legislative or regulatory changes, and additional Brazilian law restrictions applicable to their investment in the ADSs may be imposed in the future. For a more complete description of Brazilian tax regulations, see “Item 10.E. Additional information—Taxation—Brazilian tax considerations.”

25


Changes in Brazilian tax laws may have an adverse impact on the taxes applicable to a disposition of our ADSs.

According to Article 26 of Brazilian Law No. 10,833/03, if a holder not deemed to be domiciled in Brazil for Brazilian tax and regulatory purposes, or a non-Brazilian holder, disposes of assets located in Brazil, the transaction will be subject to taxation in Brazil, even if such disposition occurs outside Brazil or if such disposition is made to another non-Brazilian holder. A disposition of our ADSs involves the disposal of a non-Brazilian asset, which in principle should not be subject to taxation in Brazil. Nevertheless, in the event that the disposal of assets is interpreted to include a disposal of our ADSs, this tax law could result in the imposition of the withholding income tax on a disposal of our ADSs between non-residents of Brazil. See “Item 10.E. Additional information—Taxation—Brazilian tax considerations—Taxation of gains.”

Substantial sales of our shares or our ADSs could cause the price of our shares or our ADSs to decrease.

The shareholders of Ultra S.A. and Parth, which together owned 33.5% of our outstanding shares (excluding shared held in treasury) as of April 14, 2023, have the right to exchange their shares of Ultra S.A. and Parth for shares of Ultrapar and freely trade them in the market as more fully described under “Item 7.A. Major shareholders and related party transactions—Major shareholders—Shareholders’ Agreements.” Other shareholders, who may freely sell their respective shares, hold a substantial portion of our remaining shares. A sale of a significant number of shares could negatively affect the market value of the shares and ADSs. The market price of our shares and the ADSs could drop significantly if the holders of shares or the ADSs sell them or the market perceives that they intend to sell them.

There may be adverse U.S. federal income tax consequences to U.S. holders if we are or become a PFIC under the Code.

If we were characterized as a PFIC, in any year during which a U.S. holder holds our shares or ADSs, certain adverse U.S. federal tax income consequences could apply to that person. Based on the manner in which we currently operate our businesses, the projected composition of our income and valuation of our assets, and the current interpretation of the PFIC rules, including the Commodity Exception, we do not believe that we were a PFIC in 2022 and we do not expect to be a PFIC in the foreseeable future. However, because PFIC classification is a factual determination made annually and is subject to change and differing interpretations, there can be no assurance that we will not be considered a PFIC for the current taxable year or any subsequent taxable year. U.S. holders should carefully read “Item 10.E. Additional information—Taxation—U.S. federal income tax considerations” for a description of the PFIC rules and consult their tax advisors regarding the likelihood and consequences of us being treated as a PFIC for U.S. federal income tax purposes.


26

ITEM 4. INFORMATION ON THE COMPANY

A.              History and development of the Company

We were incorporated on December 20, 1953, with our origins dating back to 1937, when Ernesto Igel founded Ultragaz and pioneered the use of LPG as cooking gas in Brazil, using bottles acquired from Companhia Zeppelin. The gas stove began to replace the traditional wood stove, and to a lesser degree, kerosene and coal, which dominated Brazilian kitchens at the time. Since then, Ultrapar has become one of the largest business groups in Brazil. As of December 31, 2022, Ultrapar owned three main businesses: Ipiranga, Ultragaz and Ultracargo. On December 31, 2021, our former wholly owned subsidiaries, Oxiteno and Extrafarma, were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates.

Ultrapar Participações S.A. is a listed corporation incorporated under the laws of Brazil. Our main executive office is located at Brigadeiro Luis Antônio Avenue, 1343, 9th Floor, 01317-910, São Paulo, SP, Brazil. Our telephone number is +55 (11) 3177 7014. Our internet website address is http://ultra.com.br and our investor relations internet website address is http://ri.ultra.com.br. Unless expressly incorporated by reference into this annual report, including the exhibits and schedules filed herewith, the contents of our website are not incorporated by reference into this annual report. Our agent for service of process in the United States is C.T. Corporation System, located at 28 Liberty Street, New York, NY 10005.

In addition, SEC maintains an internet website that contains reports, proxy and information statements, and other information regarding Ultrapar electronically filed within the SEC. The address of the SEC’s website is www.sec.gov.

Below we describe our main continuing and discontinued operations. In 2022, Ultrapar has ceased to present abastece as a separate segment, due to the small relevance of this business relative to the overall results of the Company.

A.1. Continuing operations

Ultragaz

When Ultragaz began its operations, it served only the Southeast region of Brazil. Currently, Ultragaz operates nationwide in the distribution of both bottled and bulk LPG, including the most highly populated states in Brazil, such as São Paulo, Rio de Janeiro and Bahia, and may sell bottled LPG through independent dealers. Bulk LPG is serviced through Ultragaz own infrastructure.

In 1995, Ultragaz introduced its own bobtail trucks system to process small bulk distribution to residential, commercial and industrial segments, and started the process of geographical expansion through the construction of new LPG filling and satellite plants.

In 2003, Ultragaz acquired Shell Gás, Royal Dutch Shell plc’s LPG operations in Brazil. With this acquisition, Ultragaz became the Brazilian market leader in LPG, with a 24% share of the Brazilian market on that date. In 2011, Ultragaz acquired Repsol’s LPG distribution business in Brazil.

In the past few years, Ultragaz undertook a comprehensive review of its business strategy, positioning itself as a diverse and innovative company, and using its experience, knowledge and reliability of its processes, products and services to create and offer energy solutions that meet its clients’ needs. This strategy shift was illustrated through the redefinition of Ultragaz’s business motto in order to make it broader, inspirational and more suitable to the Company’s goals. Ultragaz’s new motto is: “we use our energy to change people’s lives.”

On September 12, 2022, Ultragaz signed an agreement for the acquisition of all shares of Stella, a technology platform founded in 2019 that connects renewable electricity generators and customers through distributed generation, and the transaction closed on October 1, 2022. Ultragaz acquired Stella for a minimum amount of R$63.0 million, and an initial payment of R$7.6 million. The remaining amount of the purchase price is expected to be settled in 2027, subject mainly to performance metrics of the acquired company. Stella has been part of UVC’s portfolio (Ultrapar's Corporate Venture Capital fund) since 2021. This acquisition marked Ultragaz entry into the electricity segment, in line with its strategy of expanding its offering of energy solutions to its customers, leveraging on its capillarity, commercial strength, the Ultragaz brand and its extensive base of industrial and residential customers.


27


Additionally, on November 21, 2022, Ultragaz signed an agreement for the acquisition of all shares of NEOgás, a pioneer in the transportation of compressed natural gas in Brazil, operating in several segments including the industrial, vehicular and development of special projects in partnership with natural gas distributors. The transaction was approved by CADE in January 2023 and closed on February 1, 2023. The total value of the company is R$165.0 million, subject to customary working capital and net debt adjustments. This acquisition marks Ultragaz's entry into the compressed natural gas distribution segment and, in addition, Ultragaz believes that NEOgás is an ideal platform to enable biomethane distribution opportunities. This transaction reinforces Ultragaz’s strategy of expanding its offering of energy solutions to its industrial customers, making use of its capillarity, commercial strength and brand.

Ultracargo

In the decade of 1960, the market demand for high-quality and safe transportation services led to our entrance in the transportation of chemicals, petrochemicals and LPG. In 1978, Ultracargo Logística (formerly Terminal Químico de Aratu S.A. – Tequimar) was founded for the purpose of operating terminals. Later, it was acquired by Ultracargo, which is currently the largest independent provider of liquid bulk storage in Brazil.

In 2005, Ultracargo started up a new terminal in Santos, in the state of São Paulo, its second port terminal, that integrates road, rail and maritime transportation systems. In 2008, Ultracargo acquired 100% of the shares of União Terminais held by Unipar, with port terminals in Santos and Rio de Janeiro, in the state of Rio de Janeiro. The combination of its operations with those of União Terminais doubled the size of Ultracargo’s results and made it the largest liquid bulk storage company in Brazil, strengthening its operating scale. With this acquisition, Ultracargo increased its presence in the port of Santos, the largest Brazilian port, and was strategically positioned in the port of Rio de Janeiro, where the company did not previously have operations.

Also in 2008, Ultracargo acquired the 50% stake held by Unipar in União Vopak total capital stock, the owner of a port terminal in Paranaguá, in the state of Paraná, representing 28 thousand of static capacity. In 2022, Ultracargo decided to discontinue its operations in Paranaguá and, as of the date of this annual report, the demobilization process of the storage capacity at this terminal is ongoing.

In 2009, Ultracargo acquired Puma Storage do Brasil Ltda., a storage terminal for liquid bulk located at the port of Suape, in the state of Pernambuco. In 2012, Ultracargo acquired Temmar from Temmar Netherlands B.V. and Noble Netherlands B.V., subsidiaries of Noble Group. Temmar owned a terminal in the port of Itaqui, in the state of Maranhão.

In March 2018, Ultracargo Logística acquired all shares of TEAS, owned by Raízen Energia S.A. and Raízen Araraquara Açúcar e Álcool Ltda., whose assets had already been operated by Ultracargo Logística in the port of Santos.

In April 2019, Ultracargo won the concession of the area VDC12 at the Vila do Conde port, in Barcarena, state of Pará, with a minimum storage capacity of 59 thousand . The area will be operated by Ultracargo for at least 25 years. In December 2021, Ultracargo started its operations at this new terminal, with a total storage capacity of 110 thousand . The new terminal is in a region that is strategic for Ultracargo since it is the only provider of storage services for liquid bulk at this port.

In April 2021, Ultracargo won the concession of the IQI13 area in the Itaqui port, for storage and handling of liquid bulk products, especially fuels. The minimum installed capacity will be 79 thousand . The area will be operated by Ultracargo for at least 20 years, according to the auction notice. Ultracargo expects to start operating in this area by 2026. Throughout 2021, Ultracargo also completed the phase 3 expansion at the Itaqui terminal, which increased Ultracargo’s total capacity by 46 thousand , resulting in a total capacity of 155 thousand in this terminal.

Ipiranga

In 2007, Ultrapar, Petrobras and Braskem announced their intent to acquire the Ipiranga Group. After the completion of the acquisition of Ipiranga Group, its businesses were divided among Petrobras, Ultrapar and Braskem. Ultrapar retained the fuel and lubricant distribution businesses located in the South and Southeast regions of Brazil and a one-third stake in RPR; Petrobras received the fuel and lubricant distribution businesses located in the North, Northeast and Midwest regions of Brazil; Petrobras and Braskem received the Petrochemical Business, in the proportion of 60% for Braskem and 40% for Petrobras. For a more detailed discussion of the acquisition of Ipiranga Group, see our Form F-4 filed with SEC on December 17, 2007.

28


Following the acquisition, Ultrapar, which was already Brazil’s largest LPG distributor, became the second largest fuel distributor in the country, with a 14% market share in 2007, according to ANP.

In 2008, Ipiranga entered into a sale and purchase agreement with Chevron for the acquisition of 100% of the shares of CBL and Galena. The combination with Texaco created a nationwide fuel distribution business, strengthening its competitiveness through a larger operational scale. By the end of 2012, Ipiranga had converted all the acquired Texaco branded stations into the Ipiranga brand.

In 2010, Ipiranga acquired 100% of the shares of DNP. DNP distributed fuels in the states of Amazonas, Rondônia, Roraima, Acre, Pará and Mato Grosso, with 4% market share in 2009 in the North of Brazil.

In 2012, Ipiranga entered into the segment of electronic toll and parking payment with Odebrecht by creating a company named ConectCar. In June 2021, Ultrapar signed a share purchase agreement for the sale of its equity interest in ConectCar (50% of ConectCar’s shares), through its subsidiary Ipiranga, to Porto Seguro, through its subsidiary Portoseg S.A. The sale was closed on October 1, 2021, for R$165.0 million.

In 2016, Ipiranga entered into an association agreement with Chevron to create a new company in the lubricants business, Iconic, of which Ipiranga and Chevron hold 56% and 44%, respectively. Operations commenced in December 2017.

In March 2019, Ipiranga won the concession of specific areas in Cabedelo (state of Paraíba) and Vitória (state of Espírito Santo) through the consortia Nordeste and Navegantes, in which Ipiranga holds 1/3 of the total participation, together with Vibra and Raízen Energia S.A. The concessions require the consortia to build and operate a minimum storage capacity for the Nordeste consortium of 64 thousand , which started operating on the second quarter of 2021, while the minimum storage capacity of the Navegantes consortium is 66 thousand , with initial operation currently expected during 2025. In April 2019, Ipiranga won two concessions in the port of Miramar, in Belém (state of Pará): (i) area BEL02A, through a consortium 50% owned by Ipiranga and 50% owned by Raízen, with a minimum storage capacity of 41 thousand , and (ii) area BEL04A, which is currently operated by Ipiranga, with minimum storage capacity of 23 thousand . These were strategic moves for Ipiranga, which improves logistics efficiency of fuel distribution through its own storage capacity and contributes to better quality services in the respective regions.

Ipiranga’s AmPm convenience stores

The first AmPm convenience stores in Brazil were established in 1993 at the Atlantic’s service stations, whose national operation was acquired by Ipiranga in that same year. In 2012, Ipiranga acquired the AmPm brand and its right of use in Brazil.

In 2008, Ipiranga started its first AmPm bakery operation. As of December 31, 2022, we had 762 bakeries operating within Ipiranga’s AmPm convenience stores.

Since 2013, AmPm has its own supply structure (AmPm Suprimentos), which has four distribution centers in the states of Rio de Janeiro, São Paulo, Rio Grande do Sul and Paraná. This initiative aims to streamline AmPm operations, improve the franchisees’ competitiveness and ensure a higher quality product assortment, creating value for clients and franchisees.

In 2019, AmPm was separated from Ipiranga and became a standalone business unit, in order to strengthen its network, promote greater agility and increase the company’s profitability. AmPm follows Ipiranga’s complete offering strategy, but with a totally separate organizational structure, which includes a management team fully dedicated to AmPm, the implementation of specialized retail systems, the internalization of key business processes and an exclusive advisory board for AmPm.

Also in 2019, AmPm started its company-operated stores, which serves as a laboratory for the continuous development of the franchise model, acting as a reference of operational excellence for franchisees, increasing their engagement to the business and ensuring the application of operational standards established by the franchisor. In December 2022, AmPm had 229 company-operated stores.

In 2020, AmPm launched its new store concept, which allows the consumer to have a more fluid experience at the stores, focusing on food service. The new concept provides consumers with a more intuitive and intelligent shopping experience in a nicer and cozier environment. The new model has a comprehensive digital services package which is offered on the main marketplaces in Brazil, in the delivery applications, abastece and WhatsApp, and in other company-operated stores solutions. In December 2022, AmPm had 300 stores using the new concept, of which 101 are company-operated stores and 199 are franchises.

AmPm is part of Ipiranga's complete offering strategy, which brings together all synergistic businesses.

29


abastece

In July 2020, Ultrapar announced the creation of a business in the digital payment segment, combining the abastece app and the loyalty program Km de Vantagens. The application also offers discounts and cashback at a growing network of retail partners. This initiative is designed to accelerate the value creation of these platforms and the expansion of the services provided, with the potential for creating a digital ecosystem of sizeable proportions and capillarity. As a result of this initiative, the abastece app and the Km de Vantagens program became a subsidiary of Ultrapar, that operates under the brand abastece .

In 2022, Ultrapar has ceased to present abastece as a separate segment, due to the small relevance of this business relative to the overall results of the Company.

A.2. Discontinued operations

Oxiteno

As of April 1, 2022, Oxiteno was a multinational producer of surfactants and specialty chemicals in the Americas. Prior to its sale to Indorama, described below, Oxiteno was a wholly-owned subsidiary of the Company and had eleven industrial units across Brazil, the United States, Mexico and Uruguay, in addition to research and development centers and commercial offices in the Americas, Europe and Asia.

As part of the review of our business portfolio aimed at streamlining and expanding our business operations within the energy and infrastructure sectors in Brazil, through Ipiranga, Ultragaz and Ultracargo, we decided to sell Oxiteno.

In August 2021, we announced the signing of a share purchase agreement for the sale of all shares of Oxiteno to Indorama and, on April 1, 2022, the transaction was closed. The initial payment of US$1,150.0 million (equivalent to R$5,449.6 million), adjusted by the variations in working capital and net debt position of Oxiteno of US$176.4 million (equivalent to R$834,0 million), resulted in the total initial payment of US$1,326.4 million (equivalent to R$6,283.6 million), which was settled on April 1, 2022. The conversions between U.S. dollars and Brazilian Reais were based on the exchange rate of R$4.74 to US$1.00, the commercial selling rate for U.S. dollars as of the closing day of the transaction, as reported by the Central Bank.

The final payment of US$150.0 million (equivalent to R$783.0 million as of December 31, 2022) will be settled in April 2024. 

Extrafarma

In 2013, Ultrapar and the former shareholders of Extrafarma entered into an association agreement, marking our entry into the retail pharmacy segment. According to the terms of the agreement, Ultrapar and Extrafarma entered into a merger of shares, pursuant to which Ultrapar acquired 100% of the shares of Extrafarma in exchange for up to 2.9% of shares issued by Ultrapar to Extrafarma’s shareholders, through its subsidiary Ipiranga. Extrafarma became a wholly owned subsidiary of Ultrapar from February 2014 onwards.

In connection with the Extrafarma acquisition, we issued 24,042,200 shares and subscription warrants to the former Extrafarma shareholders that, if exercised, could potentially lead to the issuance of up to 8,014,062 shares, subject to adjustment based on numerous factors. Of the total possible shares that could be issued to the former Extrafarma shareholders upon exercise of the subscription warrants, they could receive up to 6,411,244 shares of Ultrapar based on absence of indemnification obligations. Since 2020, the subscription warrants were partially exercised, with an issuance of 2,394,109 common shares, to former Extrafarma shareholders. As of the date of this annual report, the exercise of the remaining subscription warrants by the former Extrafarma shareholders could potentially lead to the issuance of up to 3,351,010 additional shares of Ultrapar. The number of shares were adjusted to reflect the stock split issued by the Company on April 10, 2019.

In May 2021, Ultrapar entered into a share purchase agreement for the sale of all shares of Extrafarma to Pague Menos and, on August 1, 2022, the transaction was closed. The total sale price of R$700.0 million was adjusted by the variations in working capital and the net debt position of Extrafarma of R$37.8 million resulting in the total amount of R$737.8 million, which was settled on August 1, 2022. The payment of the two remaining installments of R$182.7 million each will be made in August 2023 and August 2024 by Pague Menos.

30


Corporate events

On October 6, 1999, we concluded our initial public offering, listing our shares simultaneously on B3 and NYSE. In 2000, Ultra S.A.’s shareholders signed an agreement, assuring equal treatment of all shareholders (holders of both common and/or preferred shares) in the event of any change in control – tag along rights. The agreement determined that any transfer of control of Ultrapar, either directly or indirectly, would only be executed in conjunction with a public offer by the acquiring entity to purchase the shares of all shareholders in the same proportion and under the same price and payment terms as those offered to the controlling shareholders. In December 2002, we completed a corporate restructuring process that had begun in October 2002. The effects of the corporate restructuring were (i) the merger of Gipóia Ltda., a company which held a 23% direct stake in Ultragaz and was owned by Ultra S.A., into Ultrapar, increasing our ownership in Ultragaz to 99.6% and (ii) the exchange of shares issued by Oxiteno for shares issued by Ultrapar.

In April 2011, our Board of Directors approved the submission to our shareholders of a proposal to (a) convert any and all shares of preferred stock issued by the Company into common shares, on a 1:1 conversion ratio; (b) amend the Company’s Bylaws, modifying several of its provisions, aiming to strengthen the Company’s corporate governance; and (c) adhere to the Novo Mercado segment rules. Our shareholders approved all the proposals and, in August 2011, Ultrapar’s shares began trading on the Novo Mercado under the ticker symbol UGPA3. Simultaneously, Ultrapar’s ADSs, formerly represented by preferred shares, began representing Ultrapar’s common shares and began trading on the NYSE under this new format.

In April 2019, the Company’s Annual and Extraordinary General Meeting approved a stock split of Ultrapar’s common shares, whereby one existing share now represents two shares of the same class and type. The stock split did not alter Ultrapar’s total share capital and was effective on April 24, 2019.

In August 2020, Ultra S.A. and Parth entered into the 2020 Shareholders’ Agreement to include Pátria, in its capacity as Ultra S.A.'s shareholder then holding a 20% stake in Ultra S.A.'s capital stock, as consenting intervening party, therefore bound by the provisions of the 2020 Shareholders' Agreement. The 2020 Shareholders’ Agreement replaced the 2018 Shareholders’ Agreement in its entirety, and the terms and conditions remained substantially the same of the latter. On September 28, 2021, Ultra S.A. informed the Company that Mr. Marcos Marinho Lutz, our Chief Executive Officer, became a shareholder of Ultra S.A., holding 2.4% of its capital stock, and became a consenting intervening party of the 2020 Shareholders’ Agreement. For more information about the 2020 Shareholders’ Agreement, see “Item 7.A. Major shareholders and related party transactions—Major shareholders—Shareholders’ Agreements” and “Exhibit 2.10—Shareholders’ Agreement dated August 18, 2020.”

On March 3, 2022, Ultrapar was notified by Ultra S.A. Participações about the conclusion of the acquisition of the convertible debentures issued by Pátria, Fabio Igel and Marcos Lutz through IgelPar Participações S.A. (“IgelPar”), a shareholder of Ultra S.A. holding, as of March 3, 2022, 4.3% of its capital stock. The debentures were converted into IgelPar shares and acquired by Mr. Igel and Mr. Lutz, who now hold 50.1% and 49.9% of IgelPar, respectively. The total number of shares linked to the Ultrapar Shareholders' Agreement remained unchanged.

Company management

As part of a planned succession process, consistent with the Company’s governance, in May 2018, Paulo Guilherme Aguiar Cunha, after more than four decades of contributions, resigned as Chairman of the Board of Directors and Pedro Wongtschowski, Vice-Chairman of the Board of Directors and Chief Executive Officer of Ultrapar between 2007 and 2012, was elected Chairman. Mr. Lucio de Castro Andrade Filho, who joined the Company in 1977 and had been a member of the Board of Directors since 1998, was elected for the position of Vice-Chairman of the Board of Directors.

Other important succession movements took place at the senior management level between 2018 and 2020, with the appointment of Rodrigo de Almeida Pizzinatto, Tabajara Bertelli Costa, Marcelo Pereira Malta de Araújo and Décio de Sampaio Amaral as Chief Executive Officers of Extrafarma, Ultragaz, Ipiranga and Ultracargo, respectively, equally aligned to a planned succession process which blended internal promotions with the attraction of external talents.

In September 2020, the Board of Directors elected Rodrigo Pizzinatto, Chief Executive Officer of Extrafarma at that time, as our Chief Financial and Investor Relations Officer, after the resignation of André Pires de Oliveira Dias.

31


In September 2021, Ultrapar announced the succession plan of the leadership of its Board of Directors, developed under the leadership of the Chairman at that time, Pedro Wongtschowski, whose mandate ended in April 2023. To succeed him at the end of his term of office, the Board of Directors decided upon the preparation of Marcos Marinho Lutz to potentially recommend him for the Chairman position. As part of this process, Marcos Lutz assumed the position of Chief Executive Officer of Ultrapar in January 2022. Additionally, Frederico Pinheiro Fleury Curado, our Chief Executive Officer from 2017 to 2021, was elected to the position of Vice-Chairman of the Board of Directors, succeeding Lucio de Castro Andrade Filho, who retired at the end of 2021 after 45 years of dedication to the Company.

Also in September 2021, the Board of Directors approved the election of Leonardo Remião Linden as Chief Executive Officer of Ipiranga and the election of Marcelo Pereira Malta de Araújo as Chief Corporate Development & Advocacy Officer of Ultrapar. Both changes took place in October 2021.

In April 2022, the members of the Board of Directors took note that, as a result of the sale of all shares issued by Oxiteno S.A. Indústria e Comércio to Indorama, Mr. João Benjamin Parolin submitted a letter of resignation from his position as Executive Director of Ultrapar. The Board of Directors decided to keep this position vacant.

In April 2023, as a part of the succession plan of the leadership of the Board of Directors, Pedro Wongtschowski left the Company after 45 years of dedication and contributions to Ultrapar both in executive roles and on the Board of Directors, of which he was a member since 2013. Frederico Curado, who joined Ultrapar in 2017 as Chief Executive Officer and the Board of Directors in 2022, also decided to leave the Company, after having played a relevant role in renewing the Company’s management team and reviewing its portfolio, among other contributions.

In addition, at the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023, new members of the Board of Directors were elected. The new Board of Directors also elected Jorge Camargo, who has been a member of the body since 2015, to the position of Chairman of the Board of Directors. Furthermore, Marcos Lutz was elected to the position of Vice-Chairman of the Board of Directors and re-elected to the position of Chief Executive Officer of Ultrapar.

Recent developments

Financings raised by Ultragaz

On January 19, 2023, Ultragaz raised foreign financing (without financial covenants) in the amount of JPY12,564.4 million (equivalent to R$500.0 million at the time of the transaction), bearing annual interest of 1.3125% p.a. and maturity on March 19, 2025. Ultragaz contracted hedging instruments for the interest rate in Japanese yen and the exchange variation, changing the fixed rate to 109.40% of the DI.

On March 30, 2023, Ultragaz raised foreign financing (without financial covenants) in the amount of US$100.0 million (equivalent to R$508.0 million at the time of the transaction), with financial charges of US$ + 4.5815% p.a. and maturity on July 30, 2024. Ultragaz contracted hedging instruments for the interest rate in Dollars and the exchange variation, changing financial charges to 110.90% of the DI.

Conclusion of an agreement for the acquisition of NEOgás by Ultragaz.

On November 21, 2022, Ultrapar through its subsidiary Ultragaz, signed an agreement for the acquisition of all shares of NEOgás. The transaction was approved by CADE in January 2023 and was closed on February 1, 2023. The total value of the company is R$165.0 million, subject to customary working capital and net debt adjustments. This acquisition marks Ultragaz's entry into the compressed natural gas distribution segment and, in addition, Ultragaz believes that NEOgás is an ideal platform to enable biomethane distribution opportunities. This transaction reinforces Ultragaz’s strategy of expanding its offering of energy solutions to its industrial customers, making use of its capillarity, commercial strength and brand.

STF decision on taxes paid

On February 8, 2023, STF decided that final judicial rulings on individual tax cases can be overturned, thus allowing for situations in which companies that had obtained the right not to pay certain taxes may become liable for their payment, including for the payment of back taxes, if the STF later finds that the tax is legal. In general terms, the STF ruled that res judicata loses its effect once the opposite position on the same tax matter is taken by the STF, provided that such ruling is used under the general repercussion regime, which is binding and should guide the case law of all other courts in the country. The STF’s decision also determined that any outstanding taxes affected by such ruling shall be payable, provided that the applicable statutes of limitations are duly observed. In effect, this means that a prior definitive ruling issued in an individual tax case may be voided when the STF decides otherwise in a case with broader repercussions. As a result, companies that had obtained the right not to pay certain taxes would have this right extinguished and could become liable for the payment of back taxes. Ultrapar and its subsidiaries assessed the impacts of said judgment and concluded that no relevant impact on the financial statements or use of proceeds in the relevant period shall result from said decision.

32

Issuance of Extrafarma’s subscription warrants shares

On February 15, 2023, the Company’s Board of Directors confirmed the issuance of 31,211 common shares. Such issuance occurred within the limits of the authorized capital asset forth in Art. 6 of the Company's Bylaws and was made due to the partial exercise of the rights conferred by the subscription warrants (see Note 24 to our Consolidated Financial Statements) which were issued by the Company in connection with the acquisition of Extrafarma in 2014. As the date of this annual report, considering the issuance of such shares, the share capital of the Company is represented by 1,115,204,291 common shares, all of which are registered and with no par value.

Funding of the bank credit bill by Ipiranga

On March 30, 2023, Ipiranga raised a Bank Credit Bill (without financial covenants) in the amount of R$ 500 million, with financial charges of 109.40% of the DI and rate renegotiation in April 2024, with maturity on April 02, 2025.

Acquisition of 50% stake in Opla by Ultracargo

On April 19, 2023, Ultracargo signed an agreement for the acquisition of a 50% stake in Opla, held by Copersucar S.A. The value of the transaction is R$237.5 million, subject to customary working capital and net debt adjustments. As of the date of this annual report, the transaction was still subject to approval by the CADE.

Opla, which was founded in 2017, is the largest independent terminal of ethanol in Brazil. Located in Paulínia (state of São Paulo), it has an installed tank capacity of 180 thousand m3 and offers integrated storage and logistics solutions through railways, pipelines and road transportation. It is jointly controlled by BP Biofuels Brazil Investments Ltd. (“BP”) and Copersucar, both with 50% stake. With the approval of the acquisition, Ultracargo and BP will be co-controllers of Opla.

The acquisition of this stake in Opla marks Ultracargo's entry into the inland liquid bulk storage and logistics segment, integrated with port terminals, in line with its growth plan. Opla is a strategic asset in the ethanol and derivatives distribution chain, with high growth potential and value creation by opening the terminal to third parties and relevant productivity gains in the use of the asset.

B.              Business overview

Ultrapar is a Brazilian company with its origins in 1937 when Ernesto Igel founded Ultragaz. Since then, Ultrapar has become one of the largest business groups of Brazil, with an outstanding position in the energy and infrastructure segments through Ipiranga, Ultragaz and Ultracargo. On December 31, 2021, our former wholly owned subsidiaries, Oxiteno and Extrafarma, were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates. For more information on our continuing and discontinued operations, please see "Item 4.A. History and development of the Company —A.1. Continuing operations” and “—A.2. Discontinued operations.”

The following chart simplifies our organizational structure as of the date of this annual report, showing our main businesses. For more detailed information about our current organizational structure, see “Item 4.C. Information on the Company—Organizational Structure.”

Image1

33


Our strengths

Relevant market positions across our main businesses

Ultragaz is a pioneer and a leader in LPG distribution in Brazil, one of the largest markets worldwide, and the growth of LPG is mainly driven by population growth, income and GDP. Ultragaz operates in Brazil directly or through resellers with professionals visiting several customers daily. According to ANP, Ultragaz’s market share in 2022 was 23.1%, having served approximately 59 thousand business customers in the bulk segment, 583 thousand customers of Individual Billing and more than 11 million households in the bottled segment through a network of approximately 5.8 thousand independent retailers. For the year ended December 31, 2022, Ultragaz’s total volume of LPG sold was 1.7 million tons. We believe the strength of its nationally recognized brand, consumer last-mile expertise and the close relationship with its customers enables Ultragaz to identify opportunities to expand its product offering, not only related to LPG, but other energy solutions as well.

Ultracargo is the largest private company in the liquid bulk storage industry in Brazil, according to ABTL latest volume release, with six terminals and a total storage capacity of 955 thousand m³ in 2022, providing it with leading positions in the main ports in Brazil in which it operates.

Ipiranga is one of the largest fuel distributors in Brazil with 18.4% market share (considering only diesel, gasoline and ethanol) in 2022, according to ANP, and a network of 6,771 service stations as of December 31, 2022. In addition to the service stations, Ipiranga’s network includes 1,598 AmPm convenience stores and 1,134 Jet Oil franchises. In 2022, Ipiranga’s strategy was focused on strengthening its resale operations and increasing its performance. The implementation of Ipiranga’s business model — including its network of convenience stores and loyalty programs — in its network of service stations allows it to offer a wide range of products and services, benefiting consumers and resellers. The volume of fuel sold (diesel, gasoline and ethanol) by Ipiranga in 2022 was 22.4 million m³.

Synergistic, robust and resilient business portfolio

We concentrate our activities in the energy and infrastructure segments, through Ultragaz, Ultracargo and Ipiranga, which we believe to be irreplicable assets with a consistent history of operating results, solid operational scale, and structural competitive advantages. Our portfolio is complementary, synergic, and focused on our core competencies, which we believe leverages the competitive advantages of each of our businesses, allowing for greater efficiency and value generation potential.

We believe that our portfolio provides us with great financial strength and flexibility, positioning us to seek further investment opportunities within the energy and infrastructure sectors, with a growing focus on the energy transition via renewable energy sources. For example, in September 2022 and November 2022, we announced the acquisition of all shares of Stella and NEOgás, respectively, through Ultragaz. Stella is a technology platform that connects renewable electricity generators and customers through distributed generation and NEOgás is a pioneer in the transportation of compressed natural gas in Brazil, operating in several segments including the industrial, vehicular and development of special projects in partnership with natural gas distributors. Both acquisitions marked Ultragaz's entry into these segments, in line with its strategy of expanding the offering of energy solutions to customers, leveraging on its capillarity, commercial strength, the Ultragaz brand and its extensive base of industrial and residential customers.

We believe Ultrapar’s businesses are simultaneously resilient and leveraged on Brazilian economic growth. Some of Ultrapar’s businesses, such as the sale of LPG for residential use and fuels for light vehicles, are relatively resilient, due to their inelastic demand profile and, therefore, are less volatile in economic downturns. Bottled LPG is an essential good, as it is mainly used for cooking, and, therefore, is generally less correlated to economic performance. Volume of fuels for light vehicles tends to grow linked to the number of light vehicles in Brazil. On the other hand, other businesses of Ultrapar, such as sales of diesel fuel and bulk LPG are linked to the economic performance and tend to experience higher sales volumes during periods of strong economic growth. Sales growth of these products have been historically correlated to the performance of the Brazilian economy.

Highly efficient energy distribution network

In April 1995, Ultragaz was the first player to introduce LPG small bulk delivery in Brazil, with lower distribution costs as compared to bottled distribution. Over the years, it has built a strong client base in this segment. Ultragaz maintains an exclusive network of independent dealers, which has enabled it to control the quality and productivity of its dealers, leading to a recognition that we believe is associated with quality, safety and efficiency, and also to have frequent contact with LPG customers.

Ultragaz aims to be a reference in multi-energy distribution by taking advantage of its capillarity and good relationship with its customers to offer a diversified portfolio of energy solutions to its customers. Ultragaz believes that its strong and nationally known brand, and its last-mile expertise further support its growth plans.

Efficiencies in retail network logistics in addition to resale management know-how

We believe that the expertise in logistics and resale management that we have gained at Ultragaz is complemented by Ipiranga’s know-how in the same areas, thus maximizing efficiency and profitability at both companies.

34


Robust retail network

Through its capillarity and last-mile expertise, Ultragaz developed an important role in the Brazilian LPG retail system. Ultragaz operates in Brazil directly or through resellers with professionals visiting several customers daily. According to ANP, Ultragaz’s market share in 2022 was 23.1%, having served approximately 59 thousand business customers in the bulk segment, 583 thousand customers of Individual Billing and more than 11 million households in the bottled segment through a network of approximately 5.8 thousand independent retailers. For the year ended December 31, 2022, Ultragaz’s total volume of LPG sold was 1.7 million tons.

Ultrapar’s strategy for its fuel retail operations is strongly focused on profitability and productivity through the expansion of Ipiranga’s logistics infrastructure coupled with differentiation and innovation initiatives. At Ipiranga, this focus has translated to the creation of new market niches through its reseller network characterized by customer service and convenience, thus contributing to high levels of customer loyalty. We believe these initiatives result in a better value proposition for customers and resellers, creating benefits for the whole chain – the client has access to differentiated, more convenient products and services; the reseller has a more attractive business; and the service station has a differentiated positioning, contributing to the evolution of the company’s results.

AmPm is a relevant part of Ipiranga’s differentiation strategy to develop the complete offering strategy. AmPm is the seventh largest franchise network in the country, according to the 2022 ranking of ABF, with 1,598 stores and a penetration of 24% in the total number of service stations as of December 31, 2022.

In 2019, AmPm was segregated from Ipiranga, with the aim of strengthening its network, promoting greater agility, and increasing the company’s profitability. AmPm follows Ipiranga’s complete offering strategy, but with a totally separate organizational structure, which includes a management team fully dedicated to AmPm, the implementation of specialized retail systems, the internalization of key business processes and an exclusive advisory board for AmPm.

Also in 2019, we started our company-operated stores, which serves as a laboratory for the continuous development of the franchise model, acting as a reference of operational excellence for franchisees, increasing their engagement to the business and ensuring the application of operational standards established by the franchisor. In December 2022, AmPm had 229 company-operated stores.

In 2020, AmPm launched a new store concept, which allows the consumer to have a more fluid experience, focusing on food service with an expansion of the product mix of food service. This new concept provides consumers with a more intuitive and intelligent shopping journey in a nicer and cozier environment. The new model has a comprehensive digital services package, which is offered on the main marketplaces in Brazil, in the delivery applications, abastece aí and WhatsApp, and in other company-operated stores solutions. In December 2022, AmPm had 300 stores using our new concept, of which 101 were company-operated stores and 199 were franchises.

Distinguished positioning in the fuel distribution sector

We believe that Ipiranga differentiates itself from its competition in the sector by having a more diverse array of products and services and thereby being a more convenient choice for customers. These services and products include convenience stores, lubricant-changing service shops, electronic payment, bakeries, loyalty program and a set of initiatives that aim at enhancing customer’s convenience and loyalty.

Cost-efficient operations

Ultragaz has significant market presence in densely populated areas, which allows it to operate its filling plants and distribution system with a high level of capacity utilization and efficiency with depth and capillarity. Additionally, Ultragaz launched in 2021 the SOU Program (Ultragaz Operation System Program), a strategic initiative focused on cost management that applies the lean methodology to standardize and improve the efficiency and quality of its processes.

Ipiranga also has a significant market presence in Brazil, which allows it to operate its extensive network of primary and secondary storage terminals and its distribution system in a cost-efficient manner. Also, the increased scale of Ipiranga allows improvements in efficiency and competitiveness in the distribution and sales processes, dilution of advertising, marketing and new product development expenses, and gains from economies of scale in administrative functions.

35


Ultracargo is the largest independent liquid bulk storage company in Brazil and the only player in the liquid bulk storage sector present in most of the major ports in Brazil. Such position provides Ultracargo with increased operational flexibility, efficiency, and economies of scale. In addition, Ultracargo also developed programs designed to improve its processes, such as Soul and Conecta, aimed at enhancing its productivity and operational efficiency to ensure a more efficient deployment of the company’s resources. For more information about these initiatives, see “Item 4. Information on the Company—Industry and regulatory overview—B. Storage services for liquid bulk —Ultracargo—Storage facilities.”

Strong corporate governance structure and alignment of interest

We believe we have been one of Brazil’s leaders in the development and adoption of best practices in corporate governance. We use the capital markets not only as an investment resource but also as a driver for the development and consolidation of our corporate culture. One of the central pillars of this culture is a shared responsibility concept, based on the alignment of interests.

We have a solid track record of pioneering initiatives in corporate governance. In 1999, we were the first company to go public simultaneously on the B3 and NYSE under an ADR Level III (only for companies that complies with the highest corporate governance standards of foreign companies listed in the United States). In 2000, we became the first company in Brazil to offer to all our shareholders tag along rights at the same price in case of a transfer of control.

In 2011, we completed the implementation of a new corporate governance structure, which we believe further aligned our shareholders’ interests by converting all preferred shares into common voting shares. The conversion resulted in all our shares having identical voting rights, which allows our shareholders to participate in the decisions of our shareholders’ meetings without (i) any limitations on voting rights, (ii) special treatment to current shareholders or (iii) mandatory public tender offers at a premium to market prices once a certain beneficial ownership threshold is achieved. In that same year, our shares were listed on the Novo Mercado segment of B3, which is the B3 segment with the highest standards of corporate governance and transparency. Currently, Ultrapar is a component of some of B3 stock indices that extol companies with great corporate governance initiatives, such as the IGCT, IGC-NM, ITAG and IGC.

To further enhance our corporate governance structure, we have a robust compliance program. One of the pillars of our compliance program is related to its guidelines composed of our Code of Ethics, a document revised in March 2023 that guides the conduct of the Company members and their representatives from the external public, and our Corporate Policies, a set of more prescriptive documents covering procedures and controls to be adopted on topics such as corruption, good competition practices, conflicts of interest, among other issues related to corporate integrity. All these guidelines were approved by the Board of Directors and serve as a basis for training the employees of Ultrapar, in addition to be a reference to enforce the consequences in cases of misconduct. Ultrapar also has a Conduct Committee, a body directly related to the Board of Directors, which consists of an independent and external president and executives of Ultrapar, including the Risks, Integrity and Audit Director, with the purpose of managing the application of the Code of Ethics, among others.

Our robust governance structure also includes a People Committee, which has been in place since 2011, a Strategy Committee, which has been in place since 2019, and an Audit and Risks Committee which, since 2019, is a permanent body with independent board members.

In addition, to strengthen the alignment of interests between management and shareholders, members of Ultrapar’s management receive variable short-term compensation linked to performance based on financial goals defined for each business and for Ultrapar, in addition to individual goals associated with the businesses' operating and commercial performance, people development, projects execution, among other objectives, always in line with the strategic plan approved by the Board of Directors. Since 2022, executives have at least 1/3 of their individual goals related to the ESG agenda. The long-term compensation plan, through which the Company’s executives become shareholders of Ultrapar, is based on: i) restricted shares – with transfer of ownership at the end of the vesting period, and ii) performance shares – with transfer of ownership at the end of the vesting period, conditional on meeting pre-established goals.

Furthermore, we believe we are led by a strong and experienced management team with a proven track record in the energy and infrastructure industries. As of the date of this annual report, our Board of Directors consisted of 9 members, being seven independent members. Under the Company's Bylaws, our Board of Directors must be composed of 5 to 11 members, of which at least one-third (or two members, the highest) must be independent members. In 2021, we were awarded the stamp Women on Board, a recognition of our corporate culture of incentivizing gender equality and the presence of women in our board.

On April 19, 2023, the Annual and Extraordinary General Shareholders’ Meeting promoted an important renewal of the Board of Directors combining candidates who were members of the Company's management, including the Chief Executive Officer, with four new candidates, who bring relevant and complementary experiences to the Board. Furthermore, the majority of members of the Board of Directors remains independent members.

Strong operational track record

Our Company has exhibited a solid operational track record. Since our Initial Public Offer on October 13, 1999, we have never ended a year with net loss, presenting an average compounded annual growth of net income attributable to shareholders of the company of 17% from 1999 to 2022, despite the overall macroeconomic volatility in Brazil and in the world during this same period.

36

Our strategies

Streamline our business portfolio and further invest in the energy and infrastructure sectors in Brazil

Throughout 2021, Ultrapar conducted a portfolio rationalization process fully divesting from Extrafarma, Oxiteno and its stake in ConectCar, and concentrating its operations in the energy and infrastructure sectors, in which we have robust operational scale, know-how and structural competitive advantages. In addition to allowing our management to increase focus on our core businesses, the divestments also contributed to reducing Ultrapar’s financial leverage. The revised business portfolio is mainly concentrated in Brazil, which is a country with several opportunities in the energy and infrastructure industries and well positioned in the context of energy transition via renewable energy sources. Ultrapar is also well positioned to take advantage of these opportunities, considering the main strengths of its businesses, such as:

  • Ultragaz (energy): brand of national reference and an industry innovation leader, with last-mile nationwide coverage and a trusting relationship with its customers;
  • Ultracargo (infrastructure): holds a national presence with multipurpose terminals, diversified customers and products, engineering expertise and implementation capability;
  • Ipiranga (fuels and mobility): holds leading brands, with a national coverage and scale infrastructure, being the third largest fuel distributor in Brazil and one of the largest biofuels sale platform;
  • Ultrapar (as a Holding): provides access to capital at low cost, fiscal and capital allocation optimization, scale to administrative functions and attraction and retention of talented professionals, as well as revenues diversification and institutional strength.

Build on the strength of our brands

We believe that our businesses have a high brand recognition associated with quality, safety, and efficiency that we continually strive to deliver. We intend to reinforce this market perception by continuing to supply high-quality products and services and introducing new services and distribution channels.

Invest in building a succession pipeline for key leadership positions

We remain committed to building a pipeline of entrepreneurial leaders at Ultrapar as well as in our businesses. Through a combination of promoting internal talent, internal horizontal transfers and external hires, there has been a relevant renovation in senior management positions, covering all the senior management. These movements have been carried out in a gradual, planned, and constructive manner. In the last years, we worked to strengthen our management structure and governance, consolidating the pillars supporting the growth and longevity of Ultrapar.

Maintain a strong relationship with our resellers in the LPG and fuel distribution businesses

We intend to preserve our strong relationship with dealers by keeping their distribution exclusivity and continuing to implement our differentiated incentive programs in Ultragaz and Ipiranga. We plan to continue investing in training our dealers, in order to maximize efficiency, to further strengthen our relationship and to promote the high standards of our distribution network. In parallel, we plan to continue increasing our operational efficiency and productivity at Ultragaz and Ipiranga.

Continuously improve cost and capital efficiency in the LPG and fuel distribution businesses

We plan to continue investing in the cost and capital efficiency of our distribution systems. Current initiatives include enhanced discipline with respect to our capital allocations and other programs designed to control our costs in both the LPG and fuel distribution businesses units.

Maintain financial strength as a holding company

We seek to maintain a solid financial position to allow us to pursue investment opportunities and enhance our shareholders’ return on their investment in our company. As a holding company, our diversified portfolio, scale, and listing in the domestic and international markets allow us to access different sources and types of financing that each of our businesses would not be able to access individually.

Invest in logistics infrastructure in certain regions to expand our market share and efficiency in fuel distribution

Our strategy also consists of investing in Ipiranga’s logistics infrastructure to expand our capillarity and strengthen our national footprint, especially in the Midwest, North and Northeast regions of Brazil. Such investments aim to enhance our logistics efficiency of fuel distribution through increased proprietary storage capacity in strategic locations, contributing to improve service quality in relevant regions. In addition, we aim to solidify our network in service stations with larger throughput (volume sold per station), therefore increasing the sales volume at Ipiranga.

We expect that by investing in logistics infrastructure and focusing our service stations network on higher throughput stations will allow us to sustain and even expand our market share in the fuel distribution market, as well as to reduce our operating costs and improve our productivity gains.

37


Promote and benefit from the formalization of the fuel distribution market

We plan to continue to collaborate with the competent authorities to promote improvements to legislation and to enhance regulatory enforcements in the fuel distribution sector as means of creating a level playing field in the market, increasing sales volume in the formal market, and improving our gross margin, thus reducing the competitiveness of players which benefited from cost advantages derived from unfair practices.

Invest in niche segments for LPG distribution

Ultragaz is strengthening its presence in the North and Northeast regions of Brazil by focusing on expanding to states where it previously did not have significant operations in the bottled segment.

For the bulk segment, Ultragaz strategy is focused on two areas. The first area is offering its clients mainly in industrial and agribusiness segments new applications and services for LPG. As a result, Ultragaz aims at expanding its market share in LPG used for home and personal care and localized heating, such as preheating of industrial furnaces, especially in steel, lead, asphalt manufacturing and metallurgical plants; and in new applications in agribusiness, such as drying grains and seeds, with greater operational and economic efficiency. We believe that some of Ultragaz’s new applications and services provide environmental benefits and cost savings such as reduction in energy consumption and emission of carbon dioxide and pollutants. The second area is to invest in the expansion of the bulk LPG distribution to small-and-medium-sized businesses, such as laundry shops, restaurants, bakeries, and residential condominiums, through agile and convenience services.

Expand our bulk storage capacity while maintaining operational efficiency

Over the last few years, Ultracargo has expanded its installed capacity and diversified its geographic position with gains of scale. Meanwhile, Ultracargo developed processes improvement programs, such as Soul and Conecta, aimed at enhancing its productivity and operational efficiency to ensure a more efficient deployment of the company’s resources. For more information about these initiatives, see “Item 4. Industry and regulatory overview—B. Storage services for liquid bulk —Ultracargo—Storage facilities.”

Key financial information

Net revenue from sales and services

The table below sets forth the net revenue from sales and services for our segments:

Year ended December 31,



2022


2021


2020



(in millions of Reais)


Ultragaz(1)

11,483.4


9,744.7


7,408.3


Ultracargo(1)

867.1


713.1


644.2


Ipiranga(1)

131,338.0


99,382.6


66,133.0


abastece aí(1)(2)

N/A


84.7


17.2


Others(2)(3)
(53.8 ) (192.3 ) (144.7 )

Net revenue from sales and services

143,634.7


109,732.8


74,058.1


(1)

Financial information relating to Ultragaz, Ultracargo, Ipiranga and abastece aí is presented on an unconsolidated basis and does not reflect elimination of intercompany transactions, which is included in “Others”. Accordingly, the sum of individual financial information of Ultrapar’s subsidiaries may not correspond to the consolidated financial information of Ultrapar. See “Presentation of financial information.”

(2)  In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company and presented such amounts as “Others.”
(3) Includes Ultrapar's holding structure, eliminations of intercompany transactions and other subsidiaries (see “Item 4.C. Information on the Company—Organizational Structure.”)

Gross Debt and Net Debt

The information in the table below presents a reconciliation of Gross Debt and Net Debt, a non-GAAP financial measure, to the most directly comparable IFRS financial measure. Our calculation of Gross Debt and Net Debt may differ from the calculation of similarly titled measures used by other companies. Our management believes that the disclosure of Gross Debt and Net Debt is useful to potential investors as it helps to give them a clearer understanding of our financial liquidity. However, Gross Debt and Net Debt are not measures under IFRS and should not be considered as a substitute for measures of indebtedness determined in accordance with IFRS. For more information, see "Presentation of financial information—non-GAAP financial measures."

38


The table below presents a reconciliation from Gross Debt to Net Debt measure to the most directly comparable measure derived from IFRS financial measures:

 

As of December 31,


In millions of Reais

2022



2021



2020


Loans, financing and derivative financial instruments

5,714.5



9,290.9



10,832.1


(+) Debentures

6,035.9



7,086.8



6,544.1


Gross Debt

11,750.4



16,377.6



17,376.2


(+) Leases payables

1,523.8



1,348.3



1,833.3


(-) Cash, cash equivalents, financial investments and derivative financial instruments

(6,585.0

)

(4,463.5

)

(8,672.2

)

Net Debt

6,689.2



13,262.5



10,537.3



Industry and regulatory overview of our continuing operations

A.    Distribution of liquefied petroleum gas

LPG is a fuel derived from the oil or natural gas refining process. In 2022, 74% of Brazil’s domestic demand was produced in local refineries and processing units while the remaining 26% was imported. LPG has the following primary uses in Brazil:

  • Bottled LPG — used primarily by residential consumers for cooking; and
  • Bulk LPG — used primarily for cooking and water heating in shopping malls, hotels, residential buildings, restaurants, laundries, hospitals and industries, with several other specific applications to each industrial process, such as furnace heating, asphalt production, HPC products, agricultural appliances, among others.

The following chart shows the process of LPG distribution:

Graphics

39

Historically, bottled LPG has represented a substantial portion of the LPG distributed in Brazil and is primarily used for cooking. The domestic heating usage of LPG is immaterial in Brazil due to its climate, leading to an overall lower consumption of LPG per capita in Brazil compared to other countries where domestic heating is a major element of LPG demand.

Currently, the LPG distribution industry in Brazil consists of 20 LPG distribution companies or groups of companies and is regulated by the ANP.

The LPG distribution industry consists in:

  • LPG supply and transport from production plants (refineries or processing plants) to filling stations;
  • Filling LPG bottles and bulk delivery trucks at filling stations;
  • Selling LPG to dealers and end users; and
  • Product quality control and technical assistance to LPG consumers.

LPG can be delivered to end users either in bottles or in bulk. The bottles are filled in the LPG distributors’ filling stations. Distribution of bottled LPG is conducted via two main channels:

  • Home delivery of LPG bottles; and
  • The sale of LPG bottles in retail stores and at filling stations.

In both cases, the bottles are either delivered by the LPG distributors themselves or by independent dealers.

Bulk delivery is the main delivery method to large volume consumers, such as residential buildings, hospitals, small-and-medium-sized businesses and industries. In the case of bulk delivery, LPG is pumped directly into tanker trucks at filling stations, transported to customers and pumped into a bulk storage tank located at the customer’s premises.

The role of the Brazilian government. The Brazilian government historically regulated the sale and distribution of LPG in Brazil. The period from 1960 to 1990 was characterized by heavy governmental regulation, including price controls, regulation of the geographical areas in which each LPG distributor could operate, regulation of the services offered by distributors and governmental quotas for the LPG sold by distributors, thus restricting the growth of larger LPG distributors. In the early ‘90s, a deregulation process took place, easing the requirements for the entry of distributors into the market, reducing administrative burdens and removing regional market restrictions. There are currently no restrictions on foreign ownership of LPG companies in Brazil.

The role of Petrobras. Petrobras had a legal monopoly in the exploration, production, refining, importing and transporting of crude oil and oil products in Brazil and Brazil’s continental waters since its establishment in 1953. This monopoly was confirmed in Brazil’s federal constitution enacted in 1988 and lasted until 1997 when the monopoly was lifted by the enactment of the “Lei do Petroleo” (Oil Law). Petrobras was historically the sole supplier in Brazil of oil and oil-related products, including LPG, and despite no longer being a monopoly, it is still responsible for the vast majority of the LPG supply in Brazil.

In 2004, Petrobras entered into the LPG distribution market in Brazil through the acquisition of Liquigás, one of the main players in the market. In August 2019, Copagaz, Itaúsa, Nacional Gás and Fogás entered into an agreement with Petrobras to acquire Liquigás, which was approved by CADE in November 2020 and closed in December 2020, marking the exit of Petrobras from the LPG distribution market.

The role of ANP. ANP is responsible for the control, supervision and implementation of the government’s oil, gas and biofuels policies. ANP regulates all aspects of the production, distribution and sale of oil and oil products in Brazil, including product quality standards and minimum storage capacities required to be maintained by distributors.

In order to operate in Brazil, an LPG distributor must be licensed with ANP and must comply with certain minimum operating requirements, including:

  • Maintenance of sufficient LPG storage capacity;
  • Maintenance of an adequate quantity of LPG bottles;
  • Use of bottles stamped with the distributor’s own brand name;
  • Possession of its own filling plant;
  • Appropriate maintenance of LPG filling units;
  • Distribution of LPG exclusively in areas where it can provide technical assistance to the consumer either directly or indirectly through an authorized dealer; and
  • Full compliance with Sistema de Cadastramento Unificado de Fornecedores – SICAF (the Unified Suppliers Registration System).
40


LPG distributors are required to provide the ANP with monthly reports showing their sales in the previous month and the volume of LPG ordered from Petrobras for the next four months. ANP limits the volume of LPG that may be ordered by each distributor based on the number of bottles and infrastructure owned by the distributor. Based on the information provided by the distributors, Petrobras supplies the volume of LPG ordered, which alongside natural gas processing units, other local refineries and imports are enough to meet the demand.

LPG distribution to the final consumer may be carried out by independent or exclusive resellers, according to ANP Resolutions 49/16 and 51/16. Each LPG distributor must provide the ANP with information regarding its contracted independent resellers on a monthly basis. The construction of LPG filling plants and storage facilities is subject to the prior approval of ANP and may only begin its operations after ANP inspection.

The Self-Regulatory Code/ANP Resolutions 49/16 and 51/16. In 1996, most of the Brazilian LPG distributors, representing more than 90% of the market, bottle manufacturers, LPG transportation companies and certain LPG retail stores, under the supervision of the Brazilian government, entered into a statement of intent regarding the establishment of a program for “requalifying” LPG bottles (a process under which they undergo safety and quality checks) and other safety procedures, known as “Código de Autorregulamentação” (Self-Regulatory Code). See “—Ultragaz—Bottle swapping centers” and “— Ultragaz—Requalification of bottles.” Before the Self-Regulatory Code came into effect, certain LPG distributors, not including Ultragaz, would fill bottles stamped with another distributor’s brand. This practice resulted in a low level of investment in new bottles, giving rise to concerns regarding the safety of older bottles. The Self-Regulatory Code provides, among other things, that:

  • Each LPG distributor may only fill and sell bottles that are stamped with its own trademark;
  • Each LPG distributor is responsible for the quality and safety control of its bottles; and
  • Each LPG distributor must maintain enough bottles to service its sales volume.

The Self-Regulatory Code was replaced by ANP Resolutions 49/16 and 51/16, as amended, which regulates the distribution of LPG activities.

Ultragaz had to requalify 2.4 million bottles, 2.1 million bottles and 2.5 million bottles in 2022, 2021 and 2020, respectively.

Environmental, health and safety standards. LPG distributors are regulated by ANP and subject to Brazilian federal, state and local laws and regulations relating to the protection of the environment, public health and safety. The CONAMA, the Ministry of Economy, and the Ministry of Infrastructure are the primary regulators of LPG distribution at the federal level.

The Brazilian regulations require LPG distributors to obtain operating permits from the environmental agencies, from municipal authorities and from the fire department. In order to obtain and maintain the validity of such permits, distributors must satisfy regulatory authorities that the operation of facilities are in compliance with regulations and are not prejudicial to the environment and the community. In addition, regulations establish standard procedures for transporting, delivering and storing LPG and for testing and requalification of LPG bottles. Civil, administrative and criminal sanctions, including fines and the revocation of licenses, may apply to violations of regulations. Under applicable law, distributors are strictly and jointly liable for environmental damages.

The LPG industry and market are also subject to occupational health and safety standards, including labor laws, social security laws and consumer protection laws. In addition, the company also has a sustainability policy that describes the best management practices for health, safety and the environment (HSE).

In 2016, as a part of the “Atitude Segura” (Safe Attitude) initiative, Ultragaz began to implement an extensive HSE plan focused on further enhancing the safety of its operations through best practices. Ultragaz carried out a behavioral and process diagnosis on health and safety, and, in 2022, developed a plan to build a collaborative safety culture among their employees by raising awareness of the importance of preserving their own safety and that of their peers. Ultragaz continuously seeks to improve its safety behavior culture by intensifying the activities of safety technicians and by developing senior leadership, including directors and managers that act as agents of change in their respective teams.

Also in 2022, Ultragaz has advanced in providing its resellers with training in safe driving techniques to avoid accidents. In addition, an accident prevention action plan was implemented in the bottle loading and unloading phase of the filling process.

Ultragaz’s lost time injury frequency rate was 2.10 in 2022 compared to 2.51 in 2021, a decrease of 16%. The process accident frequency rate with Ultragaz’s own employees (Tier 1 and 2) was 0.75 in 2022 compared to 0.31 in 2021, an increase of 141%.

41


Ultragaz

As of December 31, 2022, Ultragaz was the leading company in the Brazilian bulk LPG market and the second largest in total volumes, according to ANP. Founded in 1937, Ultragaz was the first LPG distributor in Brazil, when wood stoves and, to a lesser extent, alcohol, kerosene and coal stoves were used. For more information about Ultragaz’s history, see “Item 4.A. Information on the Company—History and development of the Company—A.1. Continuing operations—Ultragaz.”

Ultragaz is comprised of the following operating subsidiaries:


Cia Ultragaz, which comprises:



- Ultragaz, the company that pioneered our LPG operations;


-

Bahiana, which primarily operates in the Northeast region of Brazil;



- Utingás, a storage services provider that operates two facilities in São Paulo and Paraná. Utingás was incorporated in 1967 when Ultragaz and other LPG distributors joined to construct LPG storage facilities based in the states of São Paulo and Paraná. Ultragaz currently indirectly owns 57% of Utingás. See “Item 4. Information on the Company—Industry and regulatory overview—Storage of LPG;” and

Ultragaz Energia, a company that aims to provide other types of energy beyond LPG, which comprises:



- Stella, a technology platform that connects renewable electricity generators and customers through distributed generation. It is an alternative for low voltage consumers to access lower energy prices. The company was founded in 2019 and was acquired by Ultragaz in 2022. For more information about this acquisition, see “Item 4.A. Information on the Company—History and development of the Company—A.1 Continuing operations—Ultragaz.”

Furthermore, on February 1, 2023, Ultragaz closed the acquisition of all shares of NEOgás. This acquisition marks Ultragaz's entry into the compressed natural gas distribution segment and, in addition, Ultragaz believes that NEOgás is an ideal platform to enable biomethane distribution opportunities. This transaction reinforces Ultragaz’s strategy of expanding the energy solutions it offers to its industrial customers, making use of its capillarity, commercial strength and brand. For more information see “Item 4.A. Information on the Company—History and development of the Company—A.1 Continuing operations—Ultragaz.”

Markets and marketing. When Ultragaz began its operations, it served only the Southeast region of Brazil. Currently, Ultragaz is present in almost all of Brazil’s significant population centers. In recent years, Ultragaz strengthened its presence in the North and Northeast of Brazil, where it did not have significant operations. Distribution of bottled LPG includes mainly retail stores, carried out by Ultragaz’s dealership network, mainly using 13 kg ANP approved bottles. In the case of Ultragaz, the bottles are painted blue. Ultragaz’s operating margins for bottled LPG vary from region to region and reflect the distribution channel in the region.

Before Shell Gás’ acquisition, Ultragaz’s sales strategy for bottled LPG delivery was to increase market share through geographical expansion as well as protecting and incrementing market participation in regions where it already operated. With the acquisition of Shell Gás, Ultragaz became the Brazilian market leader in LPG, and the focus of its marketing strategy evolved to protecting market share and strengthening its position in certain regions where it does not have a significant presence. The LPG bottled market in Brazil is mature and Ultragaz believes that growth in demand in the long term will be a function of an increasing number of households consuming the product as well as an increasing level of household income.

Distribution of bulk LPG is largely carried out through 190 kg storage tanks installed on the clients’ premises. Since 1995, Ultragaz operates small-and-medium-sized bulk delivery facilities with bob-tail trucks, which deliver LPG in bulk mainly to residential buildings, commercial and industrial clients. Ultragaz’s clients in the commercial sector include shopping centers, hotels, residential buildings, restaurants, laundries, and hospitals. Ultragaz’s trucks supply clients’ stationary tanks using a system that is quick, safe, and cost effective.

Ultragaz’s bulk sales include large industrial clients, such as companies in the food, metallurgical, steel and home and personal care sectors. In the case of large volume consumers, Ultragaz is competing with other highly competitive energy sources such as natural gas, diesel, wood, fuel oil and electricity.

Ultragaz’s strategy for the bulk LPG distribution is to continue its process of product and service innovation. Ultragaz has a team to identify the needs of each bulk LPG client and to develop technical solutions for using LPG as an energy source. Furthermore, in 2015, Ultragaz started operating under a new concept for the small and medium business clients, named Ultrapronto. As an innovative concept in the LPG industry, Ultrapronto represents a more agile and complete service to the client, including prospecting of clients, setup of equipment, logistics and after-sale services. It permeates the entire value chain of the bulk segment, based on: (i) differentiated value proposition for the client, (ii) standardization of processes, and (iii) rationalization of the installation process.

42


The table below shows Ultragaz’s sales of LPG to clients of bottled and bulk LPG:  

Client category

2022


2021


2020


 (in thousands of tons)


Bottled LPG

 






        Residential delivery by Ultragaz / Ultragaz owned retail stores

41.5


38.1


39.2


        Independent resellers

1,085.5


1,116.0


1,158.7


Total bottled LPG

1,127.1


1,154.1


1,197.9


Total bulk LPG

579.1


560.2


534.4


Total tons delivered

1,706.2


1,714.2


1,732.3


(1)   Includes residential deliveries and distribution through retailers’ stores.


Residential delivery has evolved during the last years from primarily door-to-door to a scheduled, order by phone or app.

LPG distribution is a dynamic retail market where consumers’ habits change constantly, thus creating opportunities for the company. In order to track market developments more closely and differentiate itself from its competitors, Ultragaz has developed and enhanced sales channels and payment methods. In the last decade, the company expanded the participation of Disk Gás (sale of LPG bottles by telephone) and, more recently, introduced ordering through a website (Pedido Online), cell phone messages (Whatsapp) and through a smartphone app (Ultragaz app), which reached 3.7 million downloads at the end of 2022. Ultragaz entered into sales partnerships with apps from companies such as iFood, RecargaPay, abastece aí, Cartão de Todos, and is currently implementing a vending machine for LPG cylinders, called Ultragaz 24h, which works 24/7 and accept varied payment methods. These initiatives provide customers with greater convenience, add further value, and generate logistic optimization to Ultragaz. The same principles have been extended to the bulk segment, in which Ultragaz is a pioneer and has a leading position.

Ultragaz has been developing new technologies for different markets, such as industrial, agribusiness, small and medium businesses, residential buildings, and household customers. For segments, such as the industrial laundries, Ultragaz has developed a new system to control the whole seed drying process using Internet of Things (IoT) to optimize LPG consumption. Ultragaz has also expanded LPG uses portfolio to agribusiness, such as a solution for grain and seed drying, increasing productivity. Finally, tracking consumption trends in the bulk segment, Ultragaz has created a food recycler solution, which converts 80% of a typical restaurant waste into fertilizer through a fully automated process.

In May 2021, Ultragaz launched its new brand image. The new visual identity addressed its purpose of contributing to changing people’s lives. With an eye to the future, and in the spirit of its new motto “Somando energias” (Combining energies), Ultragaz is employing its vast experience together with technology to create energy solutions that focus on its customers’ needs, helping them to better manage the energy usage in their homes and businesses.

Contracts. Ultragaz supplies its bulk clients based on contracts with terms ranging typically from two to five years. The contract also requires that any tank supplied by Ultragaz may only be filled up with LPG delivered by the company. By having customers in contract, Ultragaz is able to build a closer relationship and identify opportunities for expanding the consumption of LPG and for energy transition.


Environmental, social and governance initiatives

In 2022, Ultragaz consolidated its ESG initiatives under one banner, ESG Journey – Ultragaz More Sustainable, which is grounded in four drivers for the company, broken down into ten strategic objectives. These drivers are the energies that guide its actions: Ethical Energy (value for investors and society), Human Energy (value for employees), Energy to Innovate (value for suppliers, customers, partner resellers and the planet) and Citizen Energy (value for communities). Some highlights of each of such energies are:


43


Ethical energy

Ultragaz reinforced the awareness and the culture of integrity with the creation of the Ethical Contact initiative, which consists of content prepared for its leadership to use in conversations with teams, taking examples that promote a more practical look at ethical issues on daily life. Additionally, an Integrity Campaign was developed, which addressed topics such as harassment, competition, prejudice, relationship with suppliers, corruption, and discrimination, based on testimonials from the company’s own employees, bringing up personal situations that each one has already experienced. The competitive aspect was also reinforced through training carried out with the internal public and with resellers’ partners.

Energy to innovate

Energy transition. Ultragaz acquired Stella in September 2022 and NEOgás in November 2022, initiatives that increase the energy solutions offering of Ultragaz to its consumers. Ultragaz also adhered to the Climate Commitment program, promoted by the Ekos Institute, to encourage the development of a low-carbon economy.

Eco-efficient operations. Ultragaz developed the standard base concept, seeking to standardize the infrastructure of all its bases, prioritizing efficiency and sustainability. The last two new operational bases in the North and Northeast regions, in Belém (state of Pará) and Fortaleza (state of Ceará), have already been built considering sustainability aspects, with state-of-the-art technologies, such as the reduction of heat islands, reduction of water use, prevention of damage to the environment and storage and collection of recyclable materials. In addition, Ultragaz made progress in the disposal of waste generated in operations, reducing the amount sent to landfills by approximately 50% in 2022.

In logistics, the vehicles that make up Ultragaz's light fleet gradually began to be filled up with ethanol. Also looking for cleaner and more sustainable energy alternatives for supplying bottle transport trucks, Ultragaz started pilot projects with two electric, smaller and lighter VUC trucks and with a truck powered by gas.

Ultragaz has also acquired the I-RECs, proving that 100% of its energy comes from renewable sources, zeroing its indirect GHG emissions from the purchase of electricity (scope 2 emissions).

Value chain. Ultragaz advanced in the relationship with its resellers’ partners, reorganizing the service model for this public. Ultragaz's Lapidar Challenge, a partner qualification program that values and rewards the journey of each reseller, showed better qualification of resellers in 2022. To further strengthen the relationship with resellers, some meetings were held in the regions of Brazil where the partners’ network is present. At these meetings, Ultragaz showcased its initiatives, latest innovations and its ESG journey, reinforcing the company's strategy. In addition, Ultragaz also carried out workshops with suppliers selected for the supply chain engagement program Carbon Disclosure Project (CDP), resulting in greater adherence to the program. For more information on Lapidar Challenge, see “—Independent Resellers.”

Human energy

Inclusive culture and diversity. Ultragaz disclosed its efforts in diversity and inclusion, with its strategic priorities and pillars of action. In terms of training, Ultragaz offered mentorships to women in leadership positions in operations and sales, and training for leaders in unconscious biases, person with disabilities, gender equity and toxic masculinity. In addition, in order to welcome diversity since the attraction of new talents, Ultragaz has strengthened its recruitment and selection guidelines, considering race, disabilities and women in its operation through prioritization actions on the selection processes.

Health and safety. Ultragaz has been investing on several fronts to guarantee a safe environment in its operations. In 2022, the company expanded the monitoring of the loading and unloading process, reinforced internal procedures and those with its service providers, and is testing new automation of its processes. The digitalization of the relationship with its customers and greater logistical efficiency also reduced the number of trips, reducing exposure to accidents. Moreover, Ultragaz revisited its Safety Program, reinforcing the pillar of safety behavior. In health management, Ultragaz, through the Valoriza Program, has been encouraging its employees, especially in the risk group, to adhere to health and quality of life programs.


44

Ultragaz is a signatory of the UN Global Compact since 2009. In 2022, Ultragaz participated in Innova 2030, an intrapreneurial program promoted by UN Global Compact Brazil and Fundação Dom Cabral, a renowned Brazilian university, aiming at promoting the entrepreneurial mindset of its employees.

Citizen energy

Business solution providing social impact. In 2022, Ultragaz was selected by recognized Brazilian NGOs and movements for having developed the digital Vale Gás, a secure and traceable solution, with guaranteed distribution capacity all over Brazil, to carry out the initiative promoted by Petrobras in the donation of LPG bottles to families in socially vulnerable situations. This initiative enabled thousands of families to benefit from a cleaner fuel, the LPG.

Social programs. Moreover, Ultragaz invested in education projects for children and teenagers, such as Escola de Música da Rocinha, Pluga Cuca, Alavanca Associação Santo Agostinho (ASA) and Recriarte, positively impacting people in socially vulnerable situations. Ultragaz also delivered items including gallons of mineral water, food and hygiene and cleaning products to the population that suffered from torrential rains in Pernambuco, benefiting families in the region. In Bahia, also due to the critical situation caused by heavy rains, Ultragaz mobilized resellers throughout the state as collection points for non-perishable food and hygiene and cleaning items to donate to flood victims in the region, at which time it also distributed basic food baskets to the affected communities in the municipalities of Jaguará, Eunápolis, Jequié and Itabuna.

Volunteering program. With the active participation of its employees, Ultragaz has revised its Corporate Volunteering Program and included new volunteering activities that resonate with its corporate purpose. Some of the volunteering activities performed in 2022 include (i) “Ler é Presente (To Read is a Gift) Program that aims to develop the creativity and imagination of children from public institutions and schools, through voluntary reading; (ii) the donation of books and toys to vulnerable children on National Children’s day, (iii) a beach clearance day, whereby some of our employees were educated on the importance of keeping the beaches clean and collected waste out of the Santos’ beach; and (iv) Social Acceleration Program, organized by Ultrapar, which supported 13 NGOs in their management challenges, aiming at maximizing their social impact.

Distribution infrastructure. Ultragaz’s distribution strategy includes having its own infrastructure for bulk LPG, given that the proximity to customers is a significant success factor. Ultragaz also maintains a large independent reseller network for bottled LPG. Deliveries for both bottled and bulk LPG are made by a staff wearing Ultragaz uniforms and driving vehicles with Ultragaz’s logo. Ultragaz has also invested in information technology for improving its process, such as logistics optimization and production efficiency, and has established a partnership to produce electric tricycles, which will be offered to Ultragaz’s resellers for delivering LPG to the end customer, thus contributing to the reduction of GHG. Ultragaz delivers bottled LPG, using a distribution network, which included 5.8 thousand independent resellers and a fleet of 111 vehicles for the delivery of gas bottles and 304 vehicles for bulk delivery as of December 31, 2022.

Bottled sales capacity derives from the number of bottles bearing Ultragaz’s brands. As of December 31, 2022, there were 25.0 million 13 kg bottles stamped with Ultragaz’s brands in the market.

Independent resellers. Ultragaz’s independent distribution network ranges from large resellers, which carry out extensive home deliveries, to single retail stores, which sell small quantities of LPG bottles. ANP Resolution 51/16, as amended, sets that the independent resellers must be registered with ANP and comply with a list of prerequisites, as well as those required by law for the storage of bottles up to 90 kg. Also, each municipality sets forth its own safety regulations, including a minimum distance from certain locations, such as schools. For the year ended December 31, 2022, 96% of Ultragaz’s bottled LPG sales were made through resellers. The agreements entered between Ultragaz and independent resellers require the use of the Ultragaz brand and the display of the Ultragaz logo in the delivery vehicles and on the uniforms worn by delivery personnel. Proprietary rights of the trademark and the logo are retained by Ultragaz and are duly registered with INPI – Instituto Nacional de Propriedade Industrial (the National Institute of Industrial Property). All contracted resellers are Ultragaz’s exclusive representatives. Under the terms of the respective contracts, each dealer agrees not to deliver non-Ultragaz LPG bottles.

Ultragaz understands that investing in the efficiency of its reseller network is key for staying ahead of competition and at the same time aligned with market demand for LPG. Accordingly, Ultragaz has developed several programs aimed at improving resellers’ management quality and standards.

The main program is the Lapidar Challenge (exclusive excellence program for resellers), which seeks to standardize the best management practices of Ultragaz’s resellers, through the pillars of customer experience, business management, teams and resale structure, with focus on strict compliance with the laws applicable to the sector. Through a continuous evaluation process with annual cycles, resellers are classified into categories allowing participants to verify their performance against Ultragaz standards of excellence and stimulating constant improvement. In 2020, Ultragaz reviewed the entire program to turn it more attractive, contributing to an evolution in its dealer network continuously and bringing excellence in execution and a better customer experience.

45


In 2020, Ultragaz created a digital relationship channel with its resellers called MAP – Meu Aplicativo Parceiro (my partner app), which currently has 6 thousand connected partners. In this app resellers have access to resources that improve their work process. Through MAP, the reseller also accesses a marketplace platform, namely Portal Ultragaz, where they can purchase several items.

In 2020, Ultragaz also developed the Amigu app, the company’s last-mile tool that identifies the closest Ultragaz’s delivery person to the customer location. Currently, the app has more than 10 thousand downloads with deliverymen connected in more than 900 cities across Brazil.

Distribution channels to bulk consumers. Bulk distribution is made directly to customers by delivering LPG to storage tanks located at customers' facilities. Both large and small bulk distribution are mainly made by bobtail trucks and, in some cases, third-party tanker trucks.

Ultragaz has improved the digitization of its processes and sales channels by offering an omnichannel solution to customers. This digital service channel offers greater security, transparency, and agility in service.

Ultragaz’s logistics strategy is also focused on the customer journey. The investments in routing systems, demand planning and last-mile solutions are intended to provide high-level delivery and information services to the client. In addition to improving the customer experience, Ultragaz raises its own operational efficiency.

Payment terms. Ultragaz’s sales through its retail stores and through home delivery are made mainly on a cash basis. Ultragaz’s sales to independent resellers and to industrial and commercial users have payment terms of 18 days on average.

Bottle swapping centers. Pursuant to the ANP Resolution 49/16, as amended, distributors have established 9 operating swapping centers to facilitate the return of the bottles to the appropriate distributor. Under the ANP Resolution 49/16, as amended, LPG distributors were not permitted to refill third-party bottles, although they may pick up any empty LPG bottle tendered by costumers in exchange for a full LPG bottle, regardless of whether such empty bottle was put in circulation by that distributor. Accordingly, LPG distributors may deliver third-party bottles to a swapping center where such bottles may be exchanged for bottles placed in circulation by such LPG distributor.

Requalification of bottles. The lifetime of a bottle depends on several factors, the most important being the exposure of the bottle to corrosion from the atmosphere and whether the bottle has been damaged. The ANP Resolution 49/16, as amended, provides that all bottles must be requalified after their first 15 years of use, and every ten years thereafter. Each bottle is visually inspected for damage and corrosion to determine if it can be requalified or if it should be scrapped. In the case of bottles which pass the quality and safety checks, several procedures are followed before the bottles are stamped with the year of requalification and the next term in which they are due for requalification.

Supply of LPG. Currently, the main LPG supplier to Ultragaz is Petrobras. In 2019, Petrobras entered into an agreement with CADE aimed at promoting the competition in the natural gas market in Brazil, including the sale of shareholdings in companies operating thereof as a means of encouraging the entry of new players into the LPG supply network. In 2022, 14% of Ultragaz’s overall supply needs were met by private suppliers, other than Petrobras.

Prices of LPG. From 2008 to 2016, Petrobras increased LPG refinery prices for commercial and industrial usage only sporadically. Since June 2017, LPG refinery prices generally reflected international pricing levels and exchange rate variations, although there have been periods when oil derivatives prices in Brazil did not immediately reflect international due to Petrobras’ pricing guidelines, which softened the effects of price volatility in the international market on domestic prices. From 2017 to 2019, LPG refinery prices were adjusted more frequently.

In November 2019, after a change in its pricing policy, Petrobras ended the price differentiation for bulk and bottled segments, and both were converted into one single price.

During 2022, 2021 and 2020, Petrobras’ pricing policy followed international commodity prices and, due to greater volatility in international LPG prices, mainly caused by the COVID-19 pandemic and, more recently by the conflict between Russia and Ukraine, the frequency of price adjustments increased.

46


The following table shows Petrobras’ monthly LPG price adjustments for the last three years.

Date


% Petrobras LPG prices adjustments

Dec-22


-9.7%

Nov-22


-5.3%

Sep-22


-10.4%

Apr-22


-5.6%

Mar-22


16.2%

Oct-21


7.0%

Jul-21


6.0%

Jun-21


6.0%

Apr-21


5.0%

Mar-21


5.0%

Feb-21


5.0%

Jan-21


6.0%

Dec-20


5.5%

Nov-20


5.0%

Oct-20


5.0%

Aug-20


10.3%

Jul-20


5.0%

Jun-20


10.6%

May-20


5.0%

Mar-20


-18.9%

Feb-20


-2.9%


The following table shows a comparison between Petrobras’ average prices and international parity prices (R$ per ton) on yearly basis:

Year


Petrobras avg price


International parity price


2022


4,121


3,607


2021


3,452


3,477


2020


2,139


1,893


Storage of LPG. On December 31, 2022, Ultragaz’s storage capacity was approximately 20.8 thousand tons, including Utingás’ storage capacity. Based on its 2022 average LPG sales, Ultragaz could store approximately 3.7 days of LPG supply.

Ultragaz stores its LPG in large tanks at each of its filling plants located throughout the regions in which it operates. Primary filling plants receive LPG directly from refineries and processing units by pipeline; secondary filling plants are supplied by truck; and satellite plants primarily hold LPG which is used to fill bob-tail trucks for small bulk distribution to customers that are not located near a primary or secondary filling plant. See “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—A. Distribution of liquefied petroleum gas” and “Item 4.D. Information on the Company—Property, plant and equipment.”


47


Competition. Ultragaz’s main competitors are:

  • Copa Energia, a group created in 2021 that owns the LPG distributors Liquigás and Copagaz;
  • Nacional Gás, a Brazilian LPG distributor, which has been present in the market for more than 60 years; and
  • Supergasbrás, a company controlled by SHV Energy (a major multinational LPG distributor), formed by the merger of Minasgás S.A. and Supergasbrás S.A.

The following table sets forth the market share of Ultragaz and its LPG competitors in terms of volume, according to ANP:


 


Year ended December 31, 


LPG distributor

 


2022

 


2021

 


2020


Ultragaz


23.1%


23.1%


23.1%


Copa Energia (Liquigás + Copagaz)         


24.5%


25.7%


30.0%


Nacional Gás


21.8%


21.3%


18.5%


Supergasbrás  


20.8%


20.6%


20.0%


Others 


9.9%


9.3%


8.5%


Total


100.0%


100.0%


100.0%


Since per capita consumption is small, low distribution cost is a critical factor in dictating profitability. Therefore, LPG distributors largely compete based on efficiencies in distribution and delivery as all LPG distributors currently purchase most part of their LPG requirements from Petrobras, and as Petrobras’ refinery price charged to the distributors is the same to all LPG distributors. Ultragaz’s main markets, including the cities of São Paulo, Salvador and Recife, are highly populated areas and, therefore, distribution to these markets can be carried out with great economies of scale, resulting in lower distribution costs. Additionally, Ultragaz benefits from low bulk LPG distribution costs.

In addition to competing with other LPG distributors, Ultragaz competes with companies that offer alternative energy sources to LPG, such as natural gas, wood, diesel, fuel oil and electricity. While fuel oil is less expensive, LPG has performance and environmental advantages in most uses. As a result, natural gas is currently the main source of energy Ultragaz compete with.

The natural gas segment has become increasingly more competitive relative to LPG over the last years, especially in the South and Southeast regions of Brazil, as a result of increased investments in the natural gas infrastructure grid in these regions. Going forward, we expect the natural gas market to receive further investments and witness the entry of new players following the agreement entered into between Petrobras and CADE to promote competition in the sector. For example, in July 2022, Petrobras sold its 51% stake in Gaspetro (currently Commit Gás S.A.), a holding company with a stake in piped gas distribution companies located in different states of Brazil, to Compass Gás e Energia S.A., a company controlled by Cosan.


48

Besides the grid development, current investments in Liquified Natural Gas (LNG) terminals will increase the supply of natural gas, which will likely facilitate small-scale operations. This type of operation competes against LPG in areas where the natural gas grid/pipes do not reach. The natural gas sector, in general, is a threat for LPG, especially for industries in the bulk segment.

In 2022, the Brazilian LPG market decreased 0.8% compared to 2021. The bottled segment decreased 1.9%, compared to 2021 mainly due to lower market demand. At the same time, the bulk segment increased 2.6% compared to 2021, due to the easing of COVID-19 restrictions and higher economic activity. In 2021, the Brazilian LPG market decreased 1.1% compared to 2020 while the bottled segment decreased by 3.3%, due to the lift of many COVID-19 restrictions and an ease on lockdowns. On the other hand, the bulk segment increased 7.1% in 2021 as compared to 2020, mainly due to the economic recovery.

The following graph shows LPG sales volume for the Brazilian market and Ultragaz for the periods indicated.

Graphics

Source: ANP

Quality. Ultragaz is the first Brazilian LPG distributor to receive ISO (International Standards Organization) certification for excellence in quality management system and to receive Prêmio Paulista de Qualidade (the state of São Paulo Quality Award), recognized as the best company in management system.

In order to keep improving operations, Ultragaz launched in 2021 the SOU Program (Ultragaz Operation System Program), a strategic initiative focused on cost management that applies a lean methodology to standardize and improve the efficiency and quality of its processes.

Moreover, Ultragaz continually invests to improve the painting process at its LPG filling plants – every bottle is repainted before it is shipped to consumers. Investments in this area have been focused on modernizing the painting systems and equipment to achieve higher performance and lower carbon emissions. In this regard, Ultragaz has been using for several years solvents free of aromatic hydrocarbons and, more recently, experimenting "Bio-Paint" made of renewable plant inputs, which, we expect, should considerably reduce volatile organic compounds and CO2 emissions into the atmosphere, and therefore be more environmentally friendly.

In 2022, Ultragaz created the “Aterro Zero (Zero Landfill) Program, which targets to end the disposal of waste generated by the company in landfills by 2030. In 2022, 23% of all waste was disposed of in landfills while in 2021 the total disposal of waste in landfills was 46%. This important reduction was the result of raising awareness with employees, in addition to the implementation of proper segregation and disposal of organic and recyclable materials and the acquisition of recycling machines for some bases, as well as the qualification of new suppliers. To enhance the initiatives to decrease waste disposed in waste, Ultragaz started the “Zero Copo” (Zero Cup) campaign, focused on replacing disposable cups with reusable alternatives (bottles and mugs).

Regarding the improvement of water and energy use, Ultragaz reinforces the rational use of resources among its employees, through guidelines, actions, revisions of standards and monitoring of strategic indicators aimed at reducing waste. For example, Ultragaz is currently implementing a plan to replace the use of lighting lamps with LED lamps, which are more durable and contribute to saving energy.

Since 2021, as part of its corporate maintenance strategy, Ultragaz has conducted predictive maintenance techniques alongside a specialized company, aiming to reduce compressed air waste from its filling operations by identifying air leakages through acoustic emission tools. Energy savings from the air compressors and enhanced safety processes are additional benefits of this initiative. Several inspections were carried out in our compressed air lines resulting in 314 leakages detected in 2022 as compared to 168 leakages in 2021.

49


Income tax exemption status. Brazilian legislation provides a 75% income tax reduction for businesses located in the Northeast region of Brazil, which depends on SUDENE’s formal and previous approval. Ultragaz is entitled to this tax benefit at its filling plants located at Mataripe, Caucaia, Juazeiro, Aracaju and Suape until 2024, 2025, 2026, 2027 and 2027, respectively. The total amount of SUDENE’s income tax exemption for the Ultragaz segment for the years ended December 31, 2022, 2021 and 2020, was R$56.4 million, R$19.7 million and R$23.1 million, respectively. For further information, see Note 10.c to our Consolidated Financial Statements.

B. Storage services for liquid bulk

Port infrastructure and efficiency are key factors in economic development, especially to international and regional trade development. In Brazil, the most common port management system is the Landlord Port model. Under this model, terminals are leased to private companies through concession agreements. Companies are granted long-term leases, associated with rights to operate the terminal, in exchange for fixed and/or variable payments. Under the Landlord Port model, the Public Port is responsible for maintenance and investments in infrastructure and for acting as a local regulator, whereas the private companies are responsible for maintenance and investments in infrastructure and for providing storage services to users.

The Brazilian Infrastructure Ministry classifies cargo into the following categories, according to the National Port Logistic Plan (PNLP):

  • Solid bulk: sugar, soil beans, corn, lumber, cereal;
  • Mineral solid bulk: fertilizer, coal, metal, salt;
  • Liquid bulk (fuel and chemicals): oil, alcohol, chemical, fuel;
  • Liquid bulk (vegetable): oil, food, juice; and
  • Containerized and general cargo: machine, equipment, furniture, food, clothing, vehicle, livestock.

According to the information presented by ANTAQ, in 2022, solid bulk accounted for 59% of all cargo handled in Brazilian ports, followed by liquid bulk (25%) and containerized and general cargo (16%).

Ultracargo

Ultracargo is the largest private provider of liquid bulk storage in Brazil. The company stores and handles liquid bulk, mainly fuels, ethanol, chemicals, corrosives and vegetable oils. Through its multipurpose terminals, Ultracargo operates a wide range of products, which allows it to meet the needs of different clients. Besides other skills that allow Ultracargo to efficiently operate multipurpose terminals, the company has an important operational know-how concerning proper coating and cooling temperatures of its tanks in order to avoid chemical reactions that could affect the safety of the terminals. Ultracargo also offers ship loading and unloading services, operation of pipelines, logistics programming and installation engineering.

Ultracargo operates with a diversified portfolio of clients and long-term contracts. Ultracargo’s ten largest clients accounted for 69% of its revenues in 2022, with its three largest clients, Ipiranga (a related party), Vibra and Braskem, accounting for 17%, 11% and 11% of Ultracargo’s revenues, respectively. In the same period, clients with contract terms of three or more years represented 71% of its revenues.

Ultracargo's record results in recent years are a result of its strategy of expanding capacity, gains in operational efficiency, safety and productivity, as well as opportunities associated with the energy transition. The company prepares and seeks alternatives to expand its operations to the interior of the country, expanding its participation in biofuels handling, mainly ethanol, connected to the potential that Brazil has to lead the transition to a low-carbon economy.

Terminal infrastructure. As of December 31, 2022, Ultracargo operated 6 terminals, along the Brazilian coast, with a total capacity of 955 thousand m³.

Ultracargo’s strategic location of its operations, close to the main Brazilian port terminals, railroad junctions and roads, is one of the company’s main strengths and a key driver for integrated services profitability. Ultracargo’s history is one of pioneering logistics solutions in the Brazilian market

50

The following table sets forth the m³ sold at Ultracargo’s port terminals in 2022, 2021 and 2020.

 

 


Volume sold (in thousand )


Facility


2022


2021


2020


Santos (state of São Paulo)


3,729


3,736


3,805


Itaqui (state of Maranhão)


3,432


3,026


2,450


Aratu (state of Bahia)


2,807


2,778


2,758


Suape (state of Pernambuco)


2,528


2,576


2,830


Vila do Conde (state of Pará)


887


-


-


Rio de Janeiro (state of Rio de Janeiro)


206


214


209


Paranaguá (state of Paraná)


-


216


192


Total


13,589


12,545


12,244


Regulation. Port infrastructure and services in Brazil are regulated by ANTAQ, which was created in 2001 to implement, regulate and enforce guidelines established by the Infrastructure Ministry. The agency dedicates efforts to ensure an adequate level of competition, tariffs, and to balance the interests of clients and service providers. The port administration and supervision of operators is regionally performed by a local port authority.

Storage facilities. Ultracargo primarily provides storage services for liquid bulk, especially fuels, ethanol, chemicals, corrosives and vegetable oils.

In 2019, Ultracargo’s operational capacity in Santos increased by 84 thousand m³ as a result of the retrofit of 38 thousand m³ in July and the repair of 46 thousand m³ in September. In October 2019, Ultracargo added 30 thousand m³ to Itaqui’s capacity through the implementation of the first phase, out of three phases, of its expansion. Also, in 2019, Ultracargo won a bid for a greenfield terminal in Vila do Conde’s port, located in Barcarena, state of Pará. Vila do Conde is considered a strategic position for Ultracargo, since it allows the company to meet the increasing demand for fuel at the state of Pará. Ultracargo incorporated Tequimar Vila do Conde Logística Portuária S.A. in 2019 in connection with Vila do Conde’s concession. See “Item 4.A. Information on the Company—History and development of the Company—A.1. Continuing operations— Ultracargo.”

In 2020, Ultracargo’s operational capacity in Itaqui increased by 24 thousand m³ through the full implementation of the second phase and beginning of the third phase of its expansion.

Also in 2020, Ultracargo adopted two innovative and strategic programs: Conecta, a digital transformation program designed to develop and improve processes across various areas of the company and enhance operational efficiency based on a new software architecture; and Soul, a new operational management model designed to optimize the terminal’s operations. In 2021, the company concluded the implementation of Conecta at the terminals of Itaqui, Suape, Vila do Conde and at its headquarters, and the implementation in all terminals is expected to be concluded until the end of the first semester of 2023. The Soul program already demonstrates notable gains related to continuous improvement in processes and management methods, in addition to reduction in waste, optimization of operational processes, increased productivity and safety standards.

In 2021, Ultracargo accomplished several milestones related to its expansion plan, consolidating its position and leadership in the liquid bulk market. In April, the company won the public auction to operate in the IQI13 area at the Itaqui port, where the company already operates and is the market leader. The new area will initially increase Ultracargo’s total capacity by 79 thousand m³ and its operations are expected to start up to 2026. Throughout 2021, Ultracargo concluded the third phase of its expansion at the Itaqui terminal, which further increased its capacity by 46 thousand m³, resulting in a total capacity of 155 thousand m³. At the Vila do Conde terminal, Ultracargo started its operations in December 2021, with a total capacity of 110 thousand m³. Ultracargo currently is the only provider of storage services for liquid bulk at this port, which marks an important step in the expansion plan for the North region.

In 2022, Ultracargo decided to discontinue its operations in Paranaguá and, as of the date of this annual report, the demobilization process of the storage capacity of Paranaguá terminal is underway.

For more information on our storage facilities, see “Item 4.D. Information on the Company—Property, plant and equipment.”

51


Competition. Ultracargo remains among the leaders in all the ports in which we operate. According to ABTL, Ultracargo’s market share in product storage in 2022 was 100% in Rio de Janeiro, 62% in Aratu, 50% in Itaqui, 36% in Suape, 18% in Santos and 100% in Vila do Conde. Ultracargo’s national geographic presence represents a competitive advantage compared with local operators, allowing it to offer differentiated proposals to customers compared to other players.

Ultracargo operates in a highly regulated and capital-intensive market. Terminal lease contracts are usually long term, as well as contracts with clients. Port competitiveness and overall structure are important factors to determine the most efficient route for each product. At the same time, the terminal’s operational efficiency, quality of service, capacity, and price level are factors to determine which operator will be more competitive within the port.

Ultracargo’s main competitors are:

  • Cattalini, which is the largest liquid bulk operator in Paranaguá port, with 610 thousand m³ of storage capacity;
  • Ageo, which is the largest liquid bulk operator in Santos port, with 510 thousand m³ of storage capacity; and
  • Vopak, which is one of the world leaders in tank storage. Vopak operates terminals in Santos and Aratu.

The following table sets forth the market share of Ultracargo and its competitors in terms of volume handled according to ABTL in 2022, 2021 and 2020:

 


Market share – Volume handled (tons)


 


2022


2021


2020


Ultracargo


24.7%


24.9%


24.0%


Cattalini


17.3%


15.8%


16.0%


Ageo


13.0%


13.2%


14.2%


Odfjell


9.9%


8.7%


8.7%


Vopak


7.1%


8.3%


7.8%


TFB S/A


6.6%


6.6%


7.6%


Others*


21.4%


22.5%


21.7%


             * Others: Oiltanking, Adonai, APPA, CBL, Pandenor, Stolthaven, Temape and Terin.

Maintenance and quality control. We believe that Ultracargo stands out for its engineering and project execution skills, which is fundamental in the capital-intensive infrastructure segment. During the design phase of each terminal, Ultracargo determines the capacity and accounts for a preventive maintenance program, considering a schedule for rotational tank shutdowns to ensure storage supply and meeting all clients’ needs. In addition, Ultracargo has a team of employees dedicated to ensure appropriate levels of quality in its services and compliance with safety standards.


52


Environmental, health and safety standards. Ultracargo is subject to Brazilian federal, state and local laws and regulations relating to environmental protection, safety, and occupational health and safety licensing by the fire department. CONAMA is the main responsible for ruling and accepting matters with respect to the environment. Environmental state agencies and municipal departments are also responsible for establishing and supervising complementary laws and regulations. Ultracargo must also obtain authorizations and/or licenses from federal, state, and/or municipal environmental agencies and fire departments to implement and operate their facilities. Ultracargo is required to develop and implement programs to control air and water pollution and hazardous waste, emergency plans for its terminals and headquarters involving communities, public companies, and other private companies. Some of the products stored in Ultracargo’s terminals such as fuel and some chemicals may be classified as hazardous by The International Maritime Dangerous Goods Code (IMDG), which is also used by ANTAQ. The storage and transport of these products may be subject to specific regulation and authorization by the port authority. Ultracargo is in compliance with international standards as ISO 9001, ISO 14001 and ISO 45001.

Regarding health and safety, Ultracargo has invested in asset integrity and massively communicated the “Rules that Save Lives”, an educational campaign that seeks to prevent accidents in its operations, reinforcing its safety culture, besides launching its well-being and life quality program for employees.

Ultracargo’s lost time injury frequency rate was 1.14 in 2022 compared to 0.82 in 2021, an increase of 38%. The process accident frequency rate (Tier 1 and 2) was 0.85 in 2022 compared to 0.62 in 2021, an increase of 38%.

Environmental, social and governance initiatives


In 2021, Ultracargo launched internally its Strategic Sustainability Plan, which presents its ambition, targets and initiatives aiming social, environmental, and governance issues. 2022, however, marked the adhesion of Ultracargo to the UN Global Compact, reinforcing its commitment to the Sustainable Development Goals. This was also the year in which Ultracargo's sustainability governance was consolidated, with the creation of its Sustainability Committee, which includes the participation of the company's main executives and specialists.

Environmental


Energy transition. Ultracargo earned the silver seal in its first-year reporting in the GHG Protocol Program, which encourages companies and governments to understand, quantify and manage their GHG emissions through a platform for public recording of emissions. Moreover, Ultracargo has multipurpose terminals and is constantly evaluating opportunities to become an important logistics platform for the transition to a low-carbon economy.

Eco-efficient operations. Pursuant to its materiality matrix, a low carbon economy is one of Ultracargo’s priorities. In this matter, 100% of electricity consumed in its terminals come from certified renewable sources, with a positive impact on Ultrapar’s carbon footprint. Additionally, Ultracargo started a research to identify new technologies that could be an alternative to equipment that burn volatile organic compounds at Santos and Aratu terminals, which are responsible for most of the company’s scope 1 emissions. Ultracargo also counts with a hydric system in the terminals in Itaqui, Santos and Vila do Conde ports that allows the reuse of rainwater in its operations.

At the terminal in Santos, Ultracargo started using a new vertical tank cleaning system, that reduces water consumption and does not require an industrial climber, eliminating their exposure to heights, thus generating more safety to the employees involved in the process. The technical committee of ANPEI selected this project among others in the Conference of Innovation in 2022.

Also in 2022, Ultracargo reduced the volume of waste sent to landfills. This result was achieved through employees’ awareness and advances on waste segregation, recycling and composting practices. In November 2022, Ultracargo received the Amigo do Oceano seal from the port of Suape, a recognition that is part of the global initiatives of the 2030 United Nations Agenda for sustainable development.

53


Social


Value chain. Ultracargo maintained, in 2022, a plan for the approval of its suppliers, which verifies aspects on the social, environmental and governance fronts. In addition, Ulltracargo published its Responsible Sourcing Policy in December and made it available on its sourcing platform, making its acceptance mandatory for new contracts.

Inclusive culture and diversity. Ultracargo started, in September 2022, another edition of the Operational Training Program, providing positions for residents around the Aratu terminal. The course is offered free of charge and seeks to contribute to the professional development of residents, in addition to fostering diversity in the company.

Health and safety. All terminals of Ultracargo (except for the Vila do Conde terminal, which started operations at the end of 2021) are ISO 45001 certified (occupational health and safety). Soul and Conecta also contribute to an efficient safety management at the company. For more information, see “—Quality.” Ultracargo launched in the second half of 2022 the Cuidar Bem program, bringing together actions to promote physical and mental health, as well as the quality of life of employees and their families.

Responsibility with the community. Reinforcing its commitment to the communities surrounding its operations, in 2022, Ultracargo, in partnership with the Ayrton Senna Institute, carried out the Socio-emotional Dialogues project, which seeks to develop the socio-emotional skills of elementary school students in public schools in São Luís (state of Maranhão). Through the culture incentive law, Ultracargo sponsored the Water Planet on Stage 4 project, in Barcarena (state of Pará), which works on environmental education with theatrical presentations and distribution of children's books with the same theme. The presentations were held in public schools in the region for about a thousand children.

In 2022, the Integrar Arte e Vida (Integrate art and life) project began, promoted by the National Sports Association and the National Association for Development, Sports and Education, sponsored by the sport incentive law. The project offers cultural and sports workshops for young people aged 6 to 17, after school, seeking to reduce school dropout at the Alemoa complex in Santos. At the end of 2022, Ultracargo entered into a partnership with the Cactus Association, an organization that transforms the reality of public school students through the teaching of mathematics. The project is already active in Cabo de Santo Agostinho and Ipojuca (state of Pernambuco).

Governance


Governance and integrity. Ultracargo worked on the culture of integrity by carrying out various actions throughout 2022 for all job levels and locations. The Commitment to Integrity Week was one of the main actions last year, promoting informal conversations with employees, in addition to awareness communications with practical examples of conduct on ethical dilemmas.

Quality. In 2002, Santos and Rio de Janeiro’s terminals obtained an ISO 14001 certification and the OHSAS 18001 certificate in the next year. In 2007, Ultracargo’s terminal in Aratu obtained an ISO 14001 certification and then, in 2012, obtained the OHSAS 18001 certificate. In 2011, Suape terminal obtained an ISO 14001 certification and the OHSAS 18001 certificate in the next year. In 2015, Itaqui terminal obtained both an ISO 14001 and the OHSAS 18001 certifications. Since then, Ultracargo’s terminals have undergone several re-certification processes, most recently in 2021.

In 2020, Ultracargo launched the vital quality management system, which consists in a group of best practices regarding safety, environment, and risk mitigation, and is applied in all of the company’s terminals. Vital quality management system is currently under review, in accordance with Soul. Also in 2020 and 2021, all terminals were evaluated according to the first stage of certification by ISO 45001 as the evaluation process occurred in vital system.

In 2022, all terminals of Ultracargo were certified in ISO 9001, ISO 14001 and ISO 45001, except for Vila do Conde terminal, which started its operations in December 2021, and is expected to be certified by 2024.

Fire at storage facilities in Santos. In 2015, a fire occurred in six ethanol and gasoline tanks operated by Ultracargo in Santos, which represented 4% of the company’s overall capacity as of December 31, 2014. The Civil and Federal Polices investigated the accident and its impacts and concluded that determining the cause of the accident and identify any specific actions related to the cause was not possible. Accordingly, there was no criminal charge against either any individual or Ultracargo, by such authorities. Notwithstanding, on February 21, 2018, the Federal Criminal Court of Santos accepted a criminal indictment filed by the Federal Public Prosecutor’s Office against Ultracargo Logística (formerly Tequimar), which has already presented its defense against these charges, after being summoned in June 2018.

54


In 2017, Ultracargo obtained the licensing required for the return to operation of 67.5 thousand of the total of 151.5 thousand affected by the fire. The remaining tanks (84 thousand ) resumed operations between July and September 2019.

In 2019, Ultracargo signed a partial Conduct Adjustment Agreement (“TAC”) with the Federal Public Prosecutor’s Office and the State Public Prosecutor’s Office in the amount of R$67.5 million for the implementation of actions to offset the impacts caused to the Santos estuary following the fire at the Ultracargo terminal in 2015. Such amount was already paid in full by Ultrapar. Negotiations of indemnification for other alleged environmental damages are still in progress with the Federal Public Prosecutor’s Office and the State Public Prosecutor’s Office and, once finalized, Ultracargo may need to make future disbursements that are not currently provisioned, which may adversely affect our results of operations.

In addition, Ultracargo agreed to a deferred prosecution agreement in 2019. Pursuant to the terms of the deferred prosecution agreement, the prosecution by the 5th Federal Criminal Court of Santos was initially suspended until September 2021 and Ultracargo agreed to an additional compensation of R$13.0 million to a social project in Santos. Considering that Ultracargo complied with the obligations assumed in the TAC, at the end of the suspension period, Ultracargo requested the criminal proceeding to be closed by the court, which was granted on June 23, 2022, with recognition of compliance with the imposed conditions.

Therefore, the measures pursuant to an agreement signed between Ultracargo and the Public Prosecutor´s Office in relation to certain alleged environmental damages are in the process of being implemented.

As a result of the evolution of the regulation process with insurers, as of December 31, 2016, the Company recorded insurance receivables in the amount of R$366.7 million and indemnities to customers and third parties in the amount of R$99.9 million in its balance sheet. In the first quarter of 2017, Ultracargo received the full amount from the insurers. On February 4, 2021, the subsidiary paid the remaining balance related to the TAC, without pending and/or additional financial obligation arising from such commitment assumed. Between December 31, 2021, and December 31, 2022, there were no extrajudicial claims. See “Item 8.A. Financial information—Consolidated statements and other financial information—Legal proceedings.”

Income tax exemption status. Brazilian legislation provides a 75% income tax reduction for businesses located in the Northeast region of Brazil, which depends on SUDENE formal and previous approval. Ultracargo’s terminals at Suape and Itaqui are both entitled to the tax benefit up to 2030. The total amount of SUDENE’s income tax exemption for Ultracargo for the years ended on December 31, 2022, 2021 and 2020 was R$37.1 million, R$27.4 million and R$23.0 million, respectively. For further information, see Note 10.c to our Consolidated Financial Statements.

Aratu's tax benefit ended in 2022, and, as the date of this annual report, an application to renew the concession of benefits for another 10 years was submitted for SUDENE's approval. 

C. Fuel distribution

The Brazilian fuel market comprises the distribution and marketing of diesel, gasoline (including aviation gasoline), ethanol, fuel oil, kerosene (including aviation kerosene) and natural gas for vehicles (NGV). In 2022, diesel represented 48% of the volume of fuel distributed in Brazil, followed by gasoline and ethanol, each of which represented 33% and 12%

Fuel demand in Brazil is mainly segregated into demand for Otto cycle fuel (which comprises gasoline, ethanol and NGV), intended for light vehicles and diesel, intended mainly for heavy-duty vehicles.

Historically, a high positive correlation is observed between the behavior of the diesel market and the Brazilian GDP. This has been the primary indicator for consumption projections, also considering the possibility of increase in the biofuel blend on gasoline and diesel and the long-term impacts of other decarbonization initiatives.

The expansion of Otto cycle fuel demand is related to the growth of the light vehicle fleet and, consequently, to the availability of credit and disposable income for the purchase of new vehicles, as well as the country's economic activity.


55

The amount of credit for vehicle financing and leasing grew by almost 12% in 2022, although new credit concessions increased by 5% for companies and decreased by 3% for families. In 2022, Brazilian families were responsible for 69% of total vehicle financing debt.

According to ANFAVEA, approximately 2.0 million new light vehicles were registered in Brazil in 2022, a decrease of 1% compared to 2021, influenced by the increase in the prices of new vehicles, driven by the shortage of semiconductors and by global inflation. Last year, flex-fuel vehicles - which have engines adapted to run on gasoline, ethanol, or any combination of the two - accounted for 83% of the country's vehicle registrations, followed by diesel-powered light commercial vehicles (12%), electric or hybrid vehicles (3%) and gasoline-only passenger cars (2%).

Moreover, recent changes to legislation and inspection in the fuel distribution sector have helped to progressively curb unfair competition, creating a level playing field. These improvements should benefit the formal market by capturing the volume from the grey market.

According to ANP, the distribution of fuels (gasoline, ethanol, and diesel) is made mainly through three channels, as follows:

  • Service stations, which serve final retail consumers;
  • Large consumers, mainly industries and fleets; and
  • Retail—wholesale resellers—TRR, specialized resellers that distribute diesel to medium and small volume end-users. 

The following chart shows the fuel distribution process in Brazil:


Graphics


Imported products arrive at the port terminals and are then sent to primary bases via road, railway, river and/or cabotage modal and to secondary bases via road, railway and/or river.

Oil-derivative products are transported from refineries and port terminals to storage terminals via pipelines, coastal or river shipment and trucks. Distribution of oil-derivative products is carried out through an extensive network of primary and secondary storage terminals. Primary storage terminals are generally located near refineries and ports and are used either to store products to be sold to customers (service stations, large consumers and TRRs) or to be transported to secondary storage terminals.

56

Transportation of oil-derivative products between primary and secondary storage terminals is provided by pipeline, railroads, trucks and coastal or river barges. Purchases from ethanol mills are usually sent via road and rail to primary and secondary bases, and via pipeline only to primary bases. Delivery to service stations, large consumers and TRRs is made exclusively by trucks.

All gasoline sold in Brazil must contain a certain proportion of anhydrous ethanol that can vary from 18% to 27%, according with Law No. 9,478/97. The CNPE establishes the percentage of anhydrous ethanol that must be used as an additive to gasoline (currently, at 27% in regular gasoline and 25% in additive/premium gasoline).

On January 13, 2005, in accordance with Law No. 11,097, Programa Nacional de Biodiesel (the National Biodiesel Program) was created. Since 2008, a certain amount of biodiesel has been required to be added to diesel. In addition, some changes were required in the distributors’ facilities, as well as the restructuring of its logistics. The Resolution 3/23 of the CNPE, fixed the mandatory blending rate at 12% from April 2023 to April 2024. According to this Resolution, the mandatory blending rate should increase 1% per year, reaching 15% in April 2026.

Gasoline A” (as it is known in its unmixed form) and diesel are mixed with anhydrous ethanol and biodiesel, respectively, at the distributors storage terminals which are then sold to service stations, large consumers and TRRs.

Supply. According to ANP, Petrobras is the most relevant domestic supplier of oil derivatives, accounting for 84% of the Brazilian refining capacity, as of December 31, 2022. There are currently 19 oil refineries in Brazil, 12 of which are owned by Petrobras. In November 2021, as part of its divestment plan, Petrobras closed the sale of the Landulpho Alves Refinery (RLAM), located in Bahia, and in August 2022, CADE approved the sale of Isaac Sabbá Refinery (REMAN), located in Manaus. Additionally, Petrobras has entered into agreements for the sale of Potiguar Clara Camarão Refinery (RPCC), Northeastern Lubricants and Petroleum Derivatives (LUBNOR) and Shale Industrialization Unit (SIX), but the conclusion of these sales are subject to certain precedent conditions.

Petrobras’ sales of five refineries and their logistics assets are in line with Resolution 9/19 of the CNPE, which established guidelines for the promotion of free competition in Brazil. The premises are part of the commitment signed by Petrobras with CADE in June 2019 to the opening of the refining sector in Brazil, increasing the market’s transparency and competitiveness.

Brazilian refineries are located predominantly in the South and Southeast regions of Brazil. Petrobras’ total refining capacity in December 2022 was approximately 1.7 million barrels per day, already excluding RLAM’s and REMAN’s refining capacity. The overall product yield for these refineries in 2022 was 38% diesel, 22% gasoline, 15% fuel oil, 6% LPG and 18% other products. In 2022, 76% of oil derivatives were supplied by local refineries and the remaining 24% was imported.

Since the end of 2021, Petrobras announced that it would cease to guarantee the supply of fuels to the Brazilian market and informed distributors that a portion of their fuel purchase orders would not be fully met. As a result, fuel distribution companies, including Ipiranga, were required to purchase part of their fuel needs in the international market. Although Petrobras has adopted a pricing policy of pegging domestic fuel prices to international rates, during some periods prices of imported fuels might be materially different from those charged by Petrobras.

Ethanol is purchased from various producers. In 2022, approximately 29 million of ethanol were produced, 40% of which was anhydrous ethanol and 60% was hydrated ethanol. Brazil’s supply of anhydrous and hydrated ethanol is seasonal and depends mostly on the sugarcane harvest.

Biodiesel is purchased from several biofuels producers in Brazil, and its main inputs are soybean oil and tallow. As of December 31, 2022, there were 58 biodiesel producers, located predominantly in the Midwest and South regions. Brazil’s biodiesel production in 2022 was 6.3 billion of liters.

57

The role of the Brazilian government. The Brazilian government regulated the pricing of oil and oil-derivative products, ethanol, natural gas and electric energy until 1990. From this time onwards, the Brazilian oil and gas sector has been significantly deregulated. Until the adoption of the Petroleum Law in 1997, the Brazilian government maintained strict control over the prices that could be charged by (i) refineries to distributors, (ii) distributors to service stations and other channels and (iii) service stations to end-users. The Petroleum Law released the import of gasoline, ended the policy of price table, established the white flag stations, and released the entry of new distributors and importers.

Currently, there is no legislation or regulation in force giving the Brazilian government power to set oil-derivative and ethanol fuel prices.

With the discovery of the pre-salt reservoirs, the Brazilian government adopted a series of measures in the regulatory environment, establishing a new legal framework for the oil industry, which may result in a series of regulations, such as production-sharing and concession contracts, among others. This discovery has been bringing a new scenario for the sector, which may, in turn, attract major investments and improvements in infrastructure with the addition of new refineries, highways, pipelines, platforms, ports and ships, among others.

Due to the increase in fuel prices, in 2022, the federal government temporarily extended exemptions of PIS and COFINS and CIDE taxes applied on diesel to gasoline, LPG and ethanol. As of the date of this annual report, the full exemption is no longer in place for gasoline and ethanol, but different percentages of discounts for both fuels are still under discussion by congress. State taxes were also cut down by Law No. 194/22, which reduced the ICMS tax rate. Moreover, constitutional amendment 123/22 states that biofuel taxes should be lower than fossil fuel taxes, in order to enhance the competitiveness of the former.

In addition, Law No. 192/22 determined that states should standardize ICMS tax rates on diesel and gasoline throughout the country and that the producer or importer should be the sole taxpayer of this tax. After states litigated both Laws No. 192/22 and No. 194/22, it was agreed that the ICMS taxation regime should start on May 1, 2023, for diesel and June 1, 2023, for gasoline.

 The role of Petrobras. Since its establishment in 1953, Petrobras maintained a legal monopoly in the exploration, production, refining, importing and transporting of crude oil and oil products in Brazil and its continental waters. This monopoly was confirmed in Brazil’s federal constitution enacted in 1988. As a result, Petrobras has historically been the sole supplier of oil and oil-derivatives in Brazil.

In November 1995, Petrobras’ monopoly was removed from the federal constitution by a constitutional amendment approved by the Brazilian Congress. According to this amendment, other state and private companies are permitted to compete against Petrobras in virtually all fields in which Petrobras operates. This amendment was also reflected in Law No. 9,478/97, which limited Petrobras’ monopoly to a maximum period of three years. Law No. 9,478/97 prescribed that the termination of Petrobras’ monopoly would be accompanied by the deregulation of oil, gas, and oil-derivative product prices, and created a new regulatory agency, ANP, to oversee all oil-related activities. However, Petrobras is still the largest domestic oil-derivative supplier of oil and oil-related products, including naphtha, LPG, and oil-derivative fuels in Brazil, even though there are no legal restrictions on the operations of other suppliers or to imports.

Prices of fuels. In 2022, oil prices showed high volatility, mainly due to uncertainties regarding the supply of derivatives due to the conflict between Russia and Ukraine. During this period, Petrobras maintained its price adjustment policy linked to the international diesel and gasoline market and the Brazilian government implemented policies to lower the cost of fuels such as the exemptions of federal taxes and the reduction of state taxes for diesel and gasoline.

58


The following graphs show the price volatility of fuels acquired by the distributors from the Petrobras’ refineries.


Graphics

Graphics




Source: Petrobras

Ethanol prices are freely charged by ethanol producers.


59


The role of ANP. ANP is responsible for the control, supervision, and implementation of the Brazilian government’s policies with respect to activities related to oil, natural gas, and biofuels. ANP regulates all aspects of the industry, from the exploration and/or production, transportation to the sale of these products, including product quality standards, to the minimum storage capacities required to be maintained by distributors with respect to oil and oil products in Brazil. Prior to 1999, there were no formal requirements imposed by the Brazilian government on the fuel distribution segment. Distributors were only required to register with the national department of fuels or the National Petroleum Agent or the National Agency prior to starting operations. The ANP Resolution 58/14, as amended, establishes that a fuel distributor, in order to operate in Brazil, must obtain an operating authorization and meet certain minimum requirements of operation, including:

     Minimum paid-in capital of R$4,500,000.00; and

     Proof of financial capacity equivalent to expected volumes to be sold (proof of such capacity may include proof of ownership of assets, insurance, or a bank guarantee).

ANP is also responsible for establishing the limits of oil-based fuel volume purchased by distributors based on their storage capacity. Fuel distributors are required to provide to ANP monthly reports showing their previous month sales.

Fuel distribution for service stations and large consumers must be carried out only by a registered distributor. TRRs are allowed to trade only diesel, lubricants, and grease to small-end consumers. The construction of storage facilities and approval for new retail sellers to operate is subject to the prior approval of ANP. Service stations and storage facilities may only begin operations after ANP inspections.

Regulation. Distributors are prohibited from operating service stations, other than for training purposes or for the development and testing of new products and services, and therefore, service stations are operated by independent resellers. Three types of arrangements between distributors and service station operators are generally used in the fuels industry: (i) the distributor owns the land, equipment and buildings for a service station and leases to an operator, (ii) a third party owns the land, leases it to a distributor who constructs a service station facility or makes improvements to an existing facility and leases the station to an operator and (iii) the operator or a third party owns the land and constructs a service station facility or makes improvements to an existing facility, which is typically financed by the distributor (the most common practice in Brazil). Agreements between distributors and operators of service stations are generally exclusive for a given period. In exchange for being an exclusive reseller, the operator is granted the right to operate under the distributor’s brand name. The agreement might also include provisions related to the leasing of pumps and tanks, layout standards, training, quality control, technical and financial support, marketing and advertising support and franchises for complementary services, such as convenience stores (AmPm) and lubricant servicing franchises (Jet Oil).

ABD is the association that represents the interests of major Brazilian players of the downstream oil and gas supply chain. The association was formed in 2020 as part of IBP and its primary purpose is to promote uniform standards for industry regulation and to provide a forum in which members can discuss matters affecting the industry and downstream sector. ABD represents its members in discussions before federal and state governmental bodies and presents its members perspectives on relevant laws, regulations, and bills, including those relating to taxation, operations, industrial and occupational safety, and environmental protection. Prior to ABD, Sindicom, founded in 1941, was the main association responsible for representing the interests of fuel and lubricant distributors in Brazil. Now, most of its previous actions are concentrated in ABD, while Sindicom currently focus on taking judicial action on matters in connection with this sector.

During the 1990s, when the process of deregulation began in the fuel distribution sector in Brazil, a number of parties entered the market with a business model based on cost advantages derived from anticompetitive practices through fuel adulteration and tax evasion, including (i) diluting gasoline by mixing solvents or adding anhydrous ethanol in an amount greater than the permitted by applicable law (anhydrous ethanol has its taxation incorporated into gasoline “A” and is historically cheaper than gasoline), (ii) non-payment of federal taxes on fuels, taxes on gross revenues and state value-added taxes and (iii) selling anhydrous ethanol mixed with water as hydrated ethanol. Such practices have enabled these players, all of them smaller distributors, to increase their market share by charging artificially lower prices also based on artificially lower costs. Major distributors, including Ipiranga, have taken, individually and collectively, several actions targeted at reducing or eliminating the effects of these anticompetitive and illegal practices.


60


Among the actions taken were: (i) significant interaction with the Brazilian judiciary, including holding seminars for judges and prosecutors concerning the problems facing the industry and directly participating in tax litigation involving distributors that are not ABD members, (ii) sponsorship of the development of a chemical coloring solvent that is added to anhydrous ethanol, in order to prevent the addition of water (and later to be sold as hydrated ethanol); (iii) contribution to the development of CODIF, a system that electronically controls the collection of value-added taxes on fuel sales, (iv) support in the implementation of electronic invoices at the federal level, concluded in 2008, (v) support for ANP regulation which established brand definition and the obligation of disclosing the origin of the fuels in order to inhibit certain distributors from using a fake brand (known as cloned stations); (vi) development of a new model for biodiesel commercialization implementing a transition from bimestrial biddings managed by Petrobras using its PETRONECT system to open market with free negotiation between producers and distributors subject to 80% of volume goals to be determined annually by ANP; and (vii) the suggestion of several other measures, supported by ANP, including focusing the collection of PIS and COFINS on distilleries and the installation of flow meters, which were included in Law No. 11,727/08. As a result of these efforts, the more regulated market has been leading to the weakening of the business model of lower prices based on artificially lower costs and unfair practices, creating a level playing field and increasing sales volume of the formal market.

Environmental, health and safety standards. Fuel distributors are subject to Brazilian federal, state, and local laws and regulations relating to environmental protection, safety and occupational health and safety licensing by the fire department and transportation. The CONAMA is the main responsible for ruling and accepting matters with respect to the environment. Environmental state agencies and municipal departments are also responsible for establishing and supervising complementary laws and regulations within its areas of operation. Fuels may be transported only under special conditions. In Brazil, transportation of dangerous products is regulated, and the regulations cover all types of transport.

Fuel distributors must obtain authorizations and/or licenses from federal, state and/or municipal environmental agencies and fire departments to implement and operate their facilities. They are required to develop programs to control air and water pollution and hazardous waste. Emergency plans for its plants and headquarters, involving communities, public companies and other private companies must also be implemented. Additionally, fuel distributors must also comply with laws from the Ministry of Economy, which prescribes occupational health and safety standards. To maintain a safe and healthy workplace, companies must carry out comprehensive occupational health and safety programs.

Ipiranga’s Betim terminal has ISO 9001, ISO 14001 and ISO 45001 certifications. Furthermore, in order to minimize the impact of its activities, through SIGA + (Ipiranga’s management system applied to health, safety, environment, quality and social responsibility), Ipiranga monitors and manages the units' performance indicators in order to ensure alignment with the reference standards for integrated management and continuous improvement.

On the Safety Program, Ipiranga establishes procedures and includes inspections, investments in facilities physical conditions improvements, training, and engagement of people. At risk management, preventive action aims to guarantee the integrity of barriers and protection systems, with periodic monitoring of anomalies and process accident rates. In its value chain, Ipiranga works with its reseller customers by offering tools, manuals, and technical training to minimize possible environmental impacts that could result from accidents in the fuel loading and unloading process. In addition, through the implementation of the Ipiranga's Transportation Manuals, audits are carried out at the transportation contracted companies, in addition to workshops and communication campaigns to engage drivers and reduce the transport accidents.

Ipiranga’s lost time injury frequency rate was 0.45 in 2022 compared to 0.61 in 2021, a decrease of 26%. The process accident frequency rate with Ipiranga’s own employees (Tier 1 and 2) was 1.52 in 2022 compared to 1.94 in 2021, a decrease of 22%.


Decarbonization credits. The RenovaBio Program was designed to support Brazil’s COP21 goals and was launched in 2016 by the Ministry of Mines and Energy, instituted as the “National Biofuels Policy.RenovaBio’s goal is to reduce carbon emissions and encourage the consumption and production of biofuels in Brazil, contributing to a higher share of renewable fuels of Brazil’s energy matrix. This program foresees that biofuel producers will generate CBios in an amount related to the volume produced, and distributors receives decarbonization targets according to the volume of oil products sold in the previous year, to their share of CO2 emissions in gasoline and diesel, and then they are required to acquire CBios to achieve those targets. The CBios acquired are recorded at acquisition cost and are retired in the year to fulfill the individual target set by ANP.

61


In December 2019, the RenovaBio Program was fully implemented. Despite coming into effect in 2019, Ipiranga was not required to buy CBios that year as the target for 2019 was required to be purchased in 2020. In 2022, the total target pursuant to the RenovaBio Program was 36.7 million CBios.

In 2022, CBios prices increased and reached more than R$200.0 per CBio in July 2022, raising concerns from the government about the liquidity of the program. In order to reduce the prices, the government changed the final compliance date related to 2022 fiscal year, from December 2022 to September 2023 and prices reduced in August 2022. Ipiranga’s target for 2022 was 6.75 million CBios, 18.4% of the total market obligation.

Ipiranga


Ipiranga was established in 1937 and is one of the largest fuel distributors in Brazil, according to ANP, with 18.4% market share in 2022 in terms of diesel, gasoline, and ethanol sales volume. Ipiranga distributes diesel, gasoline, ethanol, NGV, fuel oil, kerosene, ARLA 32 (liquid agent to reduce nitrogen oxides emissions from heavy vehicles), lubricants, and greases nationwide through its network of 6,771 service stations and 88 storage terminals as of December 31, 2022.

Ipiranga has implemented a differentiation strategy by offering a broad range of products and services throughout its service station network. This strategy has led to the development of a convenience store business, branded AmPm, as well as lubricant servicing businesses, Jet Oil and the consolidation of other related products and services.

Ipiranga’s fuel distribution


Ipiranga operates in the retail segment of the fuel distribution market through a network of service stations operating under the Ipiranga brand throughout Brazil and, to a significantly lesser extent, through spot sales to un-branded (white flag) service stations. Sales volumes from the service stations network accounted for 76% of Ipiranga’s total sales in 2022. Ipiranga also operates in the business-to-business (B2B) segment with almost 7 thousand customers, such as state and municipal governments, industries, and cargo and passenger transportation fleet owners. Distribution to B2B accounted for 24% of Ipiranga's sales in 2022.

In 2022, the volume of fuel sold by Ipiranga increased by 3%, while diesel sales increased by 3%. The volume of gasoline, ethanol, and NGV was 2% higher than the previous year, with a reduction of 13% and 2% in ethanol and NGV, respectively, and an increase of 8% in gasoline.

The table below shows Ipiranga’s sales of fuels by-products:

 

The year ended December 31,

 


2022

 


2021

 


2020

 

 

(in thousand )

Diesel

12,214.6


11,805.7


11,164.2

Gasoline

7,645.0


7,051.8


6,417.2

Ethanol

2,558.9


2,938.9


3,247.4

Lubricants

259,3


286.3


266.7

Others (1) 

392.0


394.1


365.5

Total volume sold

23,069.8


22,477.0


21,461.0



(1)       Includes NGV, fuel oil, kerosene and ARLA 32.

 

Network of service stations. Responsible for 76% of total sales in 2022, the retail segment of the fuel distribution market had, as of December 31, 2022, a network of 6,771 service stations operating under the Ipiranga brand throughout Brazil, of which 772 were located on land owned by or leased to Ipiranga, while 5,999 were located on lands owned by third parties. In 2022, 90% of these stations were in urban areas, whereas the remaining 10% were on highways.

62


B2B – Business to business. Ipiranga operates in the B2B segment with almost 7 thousand clients, such as state and municipal governments, industries and cargo and passenger transportation fleet owners, TRRs and others. In 2022, Ipiranga’s ten largest clients in B2B segment accounted for 18% of its revenues and no single customer accounted for more than 4%. Distribution to B2B represented 24% of Ipiranga’s sales in 2022.

Ipiranga has implemented a differentiation strategy in the B2B segment, offering a variety of premium products and technological services to provide better customer experience and promote customer retention. Ipiranga’s goal is to continue to develop new products and services to meet the needs of its B2B clients in the various segments in which it operates and become the first choice of corporative consumers. To achieve this, Ipiranga’s B2B team relies on a group of highly skilled and experienced professionals dedicated to multiple projects designed to provide new solutions to the B2B market.


Contracts. The relationship between Ipiranga and its clients is generally governed by exclusive supply contracts with terms ranging from 1 to 5 years. The types of contracts change according to the distribution channel. For service stations, contracts usually have terms of 3 to 5 years. Our commercial strategy includes the concession of bonuses agreements, which can be paid upfront (received on the signing of the contract) and/or post-paid (through the achievement of certain targets defined in contract). For the B2B segment, Ipiranga sells fuels under exclusive supply contracts, with the terms ranging from 1 to 3 years on average, or in the spot market. Ipiranga has been working to increase the percentage of supply of fuels in the B2B segment under exclusive supply contracts by providing additional services and generating value to its clients.

Supply of fuels. Currently, Ipiranga purchase most oil-derivative fuels from Petrobras under a formal supply contract that establishes the volume and the terms of supply. The contract with Petrobras is renewed annually. The procedures for ordering and purchasing fuels from Petrobras are generally common to all distributors, including Ipiranga. In 2022, 76% of oil derivatives were supplied by local refineries and the remaining 24% was imported. Ipiranga began importing fuels in 2016 and, since then, strengthened its infrastructure in the main Brazilian ports and expanded its importing capillarity to ensure its capacity to supply its resellers.

The ethanol fuel market in Brazil consists of corn and sugarcane mills, producing sugar, ethanol, and Dried Distillers Grains (DDG). Ethanol production from sugarcane occurs approximately eight months per year and ethanol from corn runs through the whole year. A portion of the production is stored in the distilleries to meet demand during the inter-harvest season. Distilleries produce two types of ethanol: (i) anhydrous ethanol, which must be blended with gasoline “A” and (ii) hydrated ethanol, which is essentially used for flex fuel vehicles.

Ethanol in Brazil is substantially based on sugarcane that can either be used to produce ethanol or sugar. There are also six corn-based ethanol plants currently operating in the Midwest region of Brazil. From an ethanol producer’s perspective, the production ratio between ethanol and sugar is determined based on the prices of ethanol and sugar in the Brazilian and international markets. Although ethanol production is subject to favorable climate conditions, the risk of interruptions in supply is mainly restricted to the end of the harvest.

Storage of fuels. Ipiranga stores its fuels in large tanks at each of its facilities located throughout the regions in which it operates. Primary facilities receive fuels directly from Petrobras by pipeline and from distilleries by railroad and road transportation, while secondary facilities are supplied by railroad and trucks. See “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—C. Fuel distribution.” In 2022, Ipiranga’s storage capacity was 903 thousand . Based on its 2022 average sales, Ipiranga can store approximately 10 days of fuel supply. Accordingly, an interruption in the production of oil-based fuels for longer than that time could result in shortages.

In 2021, we had the start-up of the operations of the SPEs of Cabedelo and Belém (BEL2A), in addition to the beginning of the operations of the shared base of Miritituba, which has 21 thousand of static capacity and in which Ipiranga, Vibra and Raízen hold equal stakes. In the second half of 2021, Ipiranga started the construction of a shared base in Fortaleza, which started operating in February 2023, and has a total static capacity of 21 thousand , with Ipiranga holding 60% of it. In December 2021, Ipiranga also started contracting a static capacity of 25 thousand at Ultracargo’s terminal in Vila do Conde.

AmPm

AmPm convenience store is the seventh largest franchise network in the country, according to ABF’s ranking in 2022, with 1,598 stores, a penetration of 24% in the total service stations as of December 31, 2022.

Through its AmPm convenience stores, Ipiranga has been developing initiatives to increase product offerings. In 2010, we announced the launch of private label products, including energy drinks and snacks, and the expansion of the AmPm bakeries, providing to resellers an additional source of income, as well as strengthening the AmPm brand. In 2020, we expanded the bakery foodservice mix and items related to grocery, home, and personal care categories, following our new product mix management policy.


63


With nationwide presence, our bakeries serve fresh products, such as bread, coffee, snacks, and hot meals through more than 150 items, including AmPm branded products. A convenience store with a bakery has the potential to substantially increase revenues compared to a regular AmPm by offering more products of daily consumption and increasing the flow of costumers in the store. Ipiranga ended 2022 with 762 bakeries.

In 2014, Ipiranga launched a new beer purchase experience through its Beer Cave, which is a walk-in refrigerated area that stores more than 100 premium brands of beer. Ipiranga ended 2022 with 407 Beer Caves.

In order to strengthen the AmPm convenience stores’ product offerings and operations, Ipiranga launched in 2014 its own supply solution. The AmPm Suprimentos concentrates logistics, sales, and customer service of the convenience store main products in just one structure serving approximately 1.5 thousand stores. This initiative aims to streamline the AmPm convenience store’s operation, increase the competitiveness of franchisees and ensure higher-quality product range and higher standardization of products assortment and availability. This model allows the entry of a wider range of suppliers, who are unable to deliver to each store individually, and eliminates the effort required for franchisees to keep their stores stocked.

At the end of 2022, AmPm Suprimentos operated four distribution centers located in Rio de Janeiro, São Paulo, Paraná, and Rio Grande do Sul states, which supply the stores in those states with the main categories of products, except tobacco and ice cream.

In January 2020, AmPm released a new store model, developed with what we believe to be the most up-to-date concepts in the global C-Store market. This new store focuses on providing ​​a more fluid and less frictional consumer journey, emphasizing food service. As a result, the first stores using this concept show an average growth in sales of food category products. We believe this new store concept changes the way customers shop in AmPm by allowing customers to be closer to walk-in coolers, the Beer Cave format, and to have a digital experience, including the possibility of shopping in the main marketplaces in Brazil, such as iFood and Rappi. As of December 31, 2022, AmPm had 300 stores in the new concept, being 101 company-operated stores and 199 franchises. We expect to implement this new omnichannel concept as part of our plan to achieve operational excellence in our AmPm stores.

In order to expand our franchise network, we also started operating our own AmPm stores. AmPm ended 2022 with 229 units and expects to further expand the number of company-operated stores going forward. AmPm's company-owned operations are intended to (i) strengthen the franchise model, (ii) achieve operational excellence, (iii) boost the profit of the business model, (iv) test the business model, and (v) work as a transitional operation model when franchisees withdraw or until we believe the franchise model is sufficient to lead to critical mass and turnover in the region where own stores are located.

The company-operated stores have a management model focused on business results, efficient management controls and a specialized team with experience in retail management. The location choices are determined by an expansion committee that analyzes the trade with indicators and decide whether to go ahead with the venue in question. This allows the Company to accelerate the expansion of AmPm in a more strategic and secure way with the goal of improving financial return of each business.

The table below shows the highlights of AmPm stores:

 

 

2022


2021


2020

Number of stores

1,598


1,841


1,804

Penetration in service stations (1)

24%


26%


25%

Revenues (in millions of Reais)

1,929.7


1,751.9


1,738.6

SKUs

1,823


1,515


1,563

Average area (in square meters)

61.8


56.6


60.1



(1) Calculated based on the number of AmPm’s stores in relation to the number of Ipiranga’s gas stations


64


AmPm revenues include a fixed franchising fee and a percentage of total revenues, which generally range between 4% and 8%. We also receive merchandising fees linked to contracts with suppliers, which establish trade agreements for the convenience stores.

We believe the service stations convenience stores sector has potential for continued growth, mainly due to the shifts in cultural and household habits, such as (i) higher participation of women in the labor market, (ii) the increase of single-person households and smaller apartments, (iii) urbanization, increasing population density and logistical complexity, among others.

The convenience proposal increasingly adapts to the needs of consumers who seek practicality and speed in their routine, trying to solve their demands in a single stop. Thus, convenience stores fit the ideal model, adapting a complete service in one place.

These strategic differentiation initiatives implemented by Ipiranga resulted in a better value proposition for customers and resellers, generating benefits for the whole chain – the consumer gets access to differentiated products and services, the reseller earns higher revenues, and the service station obtains a differentiated positioning, turning Ipiranga into a convenience business platform for facilitating people’s daily routine and mobility.

 

Jet Oil

The Jet Oil business unit, Ipiranga’s lubricant-changing and automotive specialized service network, is the 14º in ABF ranking among all kind of franchises. Jet Oil ended 2022 with 1,134 franchises.

More than 7,730 oil changes were made at Jet Oil units per day and 75.4% of the products sold were premium products in 2022. Jet Oil units offer an oil change service that features technology and safety, unifying quality products and expert services. These attributes translate Jet Oil’s slogan for consumers: “The full care that your car deserves.” 

Competition

Ipiranga’s main competitors in 2022 were:

  • Vibra, a former subsidiary of Petrobras, which has been operating in the Brazilian fuel distribution sector since 1971. Vibra is the Brazilian market leader and operates throughout the entire country. In 2017, Vibra concluded its initial public offering, listing the shares on B3. Since 2021, as disclosed by Vibra, Petrobras is no longer its shareholder; and
  • Raízen, a joint-venture between Cosan and Shell International Petroleum Company Limited (“Shell”), a subsidiary of Royal Dutch Shell. Cosan, through its subsidiaries, is the largest producer of sugar and ethanol in Brazil, having entered into the fuel distribution market in 2008, when it acquired Esso’s fuel distribution business in Brazil. Raízen consummated its IPO in August 2021, listing its shares on B3.

In addition, several small local and regional distributors entered into the Brazilian fuel distribution market in the late 1990’s, after the market was deregulated, which further increased competition in such market. Moreover, in 2018, some important international players entered the Brazilian fuel distribution market: (i) Glencore Oil Participações Ltda., a Swiss company, through the acquisition of 78% of Alesat Combustíveis S.A. (further expanded to 100%); (ii) TotalEnergies SE., a French company, through the acquisition of 100% of Zema Cia. de Petróleo; (iii) PetroChina Company Limited, a Chinese company, through the acquisition of 30% of Tt Work Participacoes S.A. As of the date of this annual report, there were 179 fuel distributors authorized by ANP to operate in Brazil.

65

The following table sets forth the market share of Ipiranga and its main competitors based on volume of gasoline, ethanol and diesel sold, according to ANP and IBP data:


Year ended December 31,

 

Distributor (1)

 

2022


2021


2020

Vibra

25.8%


25.4%


24.6%

Raízen

21.8%


22.4%


20.8%

Ipiranga

18.4%


18.4%


18.5%

Others

33.9%


33.8%


36.1%

Total

100.0%


100.0%


100.0%



(1)       Volume sold of gasoline, ethanol and diesel.

The retail market for gasoline, diesel and ethanol in Brazil is highly competitive, with similar products and relatively low margins. Therefore, our strategy is to differentiate ourselves in the market by offering value-added services to complement our main products, aiming to be the preferred choice of customers. The following graphs show sales volumes for the Brazilian market and Ipiranga for the periods indicated:

Graphics

 1 Includes only diesel, gasoline and ethanol



Sources: diesel, gasoline and ethanol: ANP and IBP; Information provided by ANP and IBP are subject to retroactive adjustments and, therefore, can differ from the information contained herein.

66

Environmental, social and governance initiatives

Ipiranga has sustainability as one of its strategic initiatives and works on increasingly incorporating a sustainability culture into the routines of its entire team and on ensuring the integration of sustainability into decision-making.

Ipiranga annually publishes its Sustainability Report, prepared in accordance with the standards of the Global Reporting Initiative (GRI), showing projects and actions taken during the year. The material themes that guide Ipiranga’s ESG actions are: i) governance and integrity, ii) energy transition, iii) health and safety, iv) eco-efficient operations, v) proximity to the network and consumers, vi) value chain, vii) inclusive culture and diversity and viii) responsibility for the surrounding communities.

Governance and integrity. Ipiranga has a structured Integrity Program that is guided by best practices in fighting against corruption, preventing anti-competitive conduct, mitigating conflicts of interest, and maintaining an environment that is free of harassment and discrimination, with processes and controls aimed at increasingly strengthening the company's culture of integrity. In 2022, the company rolled out new ethics and anti-corruption training for all employees, also implementing training groups for the internal public and resellers.

Energy transition. Ipiranga has been implementing actions aimed at energy efficiency and, for more than 10 years, has had an exclusive and independently audited program to manage its GHG emissions. The Carbono Zero Program (Zero Carbon) includes actions to measure, reduce and offset GHG emissions and follows recognized international guidelines. Also, as part of this program, since 2014 Ipiranga has offset 100% of its direct (scope 1) and indirect (scope 2) emissions by purchasing carbon credits.

Ipiranga is also one of the largest biofuels distributors in Brazil and seeks to expand the development of new products and services that are less carbon intensive, such as electric mobility initiatives and additive products, which improve engine efficiency and, thus, reduce fuel consumption. The company was also the first fuel distributor to make electric chargers available in its service stations. As of the date of this annual report, Ipiranga had 44 chargers in urban areas, in a partnership with BMW, and 6 chargers on highways, in a partnership with BMW and EDP.

Health and safety. Ipiranga bases its safety management on actions that ensure adequate technology, facility integrity, efficient processes, people training and engagement, continuous procedure improvement, and the setting of guidelines that all the value chain must follow. Its main objective is to strengthen the health and safety culture and further include safety in the decision-making process.

To strengthen its safety culture, Ipiranga has a program that seeks to ensure adequate physical conditions, efficient procedures, and safety behavior in its operations. Its safety program has a structured investment plan for asset reliability, engagement, and training of stakeholders, in order to make them agents of change. In 2021, the Safety Culture Diagnosis was carried out in the first semester, which considered the perceptions of employees, including leadership and administrative and operational employees.

In 2022, the actions of the Safety Evolution Plan were implemented. The plan aims to strengthen the safety culture through the improvement of Ipiranga’s processes, including a set of training and engagement actions designed to further internalize its safety culture as part of the decision-making process of all functions and activities. Also in 2022, Ipiranga launched its Golden Rules, which established mandatory safety principles that must be rigorously followed by both the company’s own employees and third-party service providers.

Eco-efficient operations. Ipiranga has adopted its own environmental management system through a program named SIGA+ (Ipiranga’s management system applied to health, safety, environment, quality, and social responsibility), which applies the highest international standards to its policies and practices. Through SIGA+, Ipiranga monitors and manages the units' performance indicators to ensure alignment with the reference standards for integrated management and continuous improvement. The data are audited annually to categorize the performance of the operating units into five levels. In 2022, new guidelines and actions were also implemented seeking to prioritize waste reduction (for example, increasing reuse/recycling processes), reduce landfill waste disposal and minimize the environmental impacts resulting from the generation of waste.

The GHG emissions inventory is externally verified and complies with the international guidelines of the GHG Protocol. In 2022, for the 10th consecutive year, we were granted the Gold Seal of the Brazilian GHG Protocol Program, recognition given to companies for disclosing the audited GHG inventory in the Public Emissions Registry. For the second year, Ipiranga acquired I-RECs coming from wind generation for every volume of power consumed in the organization.

67


Proximity to the network and consumers. In 2022, Ipiranga invested in training to the resellers, managers, and VIPs through “Escola de Varejo" (Retail School). Also in 2022, all the contracts with critical suppliers were reviewed to ensure the inclusion of clauses on anti-corruption, information security, human rights, social and labor responsibility, environmental, health and safety practices and other previously assessed compliance requirements. They are also subject to audits during the term of the contract.

Value chain. In 2022, focused on disseminating best ESG practices among its suppliers, Ipiranga revised its Supplier Policy and Booklet on Sustainability for Suppliers, which set out social and environmental guidelines that must be followed by all its business partners. Also in 2022, as part of the plan to improve logistics efficiency, Ipiranga launched the Mover program (To move), which aims to increase the efficiency and safety levels of the company’s operations and transport partners in an integrated manner. By carrying out a comprehensive evaluation of the partners operation using safety, efficiency and productivity criteria, Ipiranga encourages them to adopt the best technological practices in the sector, better managing transport risks and its vehicle fleet as a whole. Based on this evaluation, partners are ranked in four categories (diamond, gold, silver and bronze) and those who do not achieve minimum requirements are not admitted in Ipiranga’s value chain.

Inclusive culture and diversity. In addition to talent development and employee engagement, Ipiranga promotes actions that reaffirm its commitment to make its environment increasingly diverse and inclusive. For example, in 2022 Ipiranga: i) started a mentoring program aiming at accelerating the female leadership pipeline, ii) launched the Construa training program (To build), aimed exclusively at people with disabilities, to promote the development of administrative consultants, iii) half of the internship program positions were destined for black and brown-skinned candidates.

Responsibility for the surrounding communities. In 2022, the risks of all fuel storage bases and pools were mapped aiming to identify and manage potential social, environmental, and safety risks to stakeholders. Ipiranga’s focus for the coming years will be on the development of education, employment, and income generation of the communities where it operates.

Furthermore, Ipiranga developed its own programs for greater responsibility for the surrounding communities. For example: i) Operação Mulher(Woman Operation), which goal is to train women around its operations, aiming to boost the employability of women in the industry, ii) Volunteering Program Gente Ipiranga Gera Gentileza (Ipiranga’s People Generate Kindness), that carried out a number of initiatives, including presentations to schools on safety, donation of toys and warm clothes, mentoring for young people, and a blood donation campaign, iii) Humanitarian actions contributions in the event of emergency crises, like the donation of basic food baskets and iv) Saúde na EstradaProgram (Health in the Highways), that brings health to truckers, drivers, travelers, and communities attending Brazilian cities into a collaboration with the Ministry of Health.

D. Digital platform for mobility

abastece is a digital platform, created in 2020, to leverage the benefits of the loyalty program Km de Vantagens and the abastece app that were previously offered by Ipiranga. The company offers a unified ecosystem of advantages and benefits to clients, especially car drivers, integrated with a digital payment solution and great capillarity, including adoption by other business partners outside service stations.

Km de Vantagens was created in 2009, pioneering the customer loyalty program within the fuel industry, allowing customers and resellers to redeem rewards and benefits in areas of entertainment, tourism, magazines, airline tickets, car rental, among others. With over 37 milllion participants in December 2022, Km de Vantagens has served as an important platform, strengthening the relationship with Ipiranga’s customers. In 2022, more than 30 million transactions were redeemed at Km de Vantagens.

Ipiranga developed and launched abastece in 2016, a mobile payment service app, that seeks to maximize advantages from the integration of platforms to offer even greater convenience and benefits to customers. Through the abastece app, customers can obtain discounts in exchange for Km de Vantagens points. In addition, they can receive rewards of their preference and finalize the fueling process by using a unique Km de Vantagens password in a safe payment method. In 2022, approximately 1 million digital accounts have been created.


68


Context and market

Digital wallets are a global trend that involve a very diverse range of businesses. Between 2018 and 2020, the number of users of digital wallets grew by 30%, reaching more than 2 billion active users worldwide. According to a recent study by Bain & Company, “e-wallets” will represent 28% of total payments made in the world and almost 50% of all payments made in the sphere of e-commerce by 2022. In Brazil, this market is still very young, with great space for growth and development. The highly regulated and concentrated national banking system is the main obstacle to the current low participation of digital portfolios. However, due to recent changes in legislation, reduced technological costs, the entry of major international players in the market and the democratization of access to technology, digital wallets are expected to have an accelerate growth over the next few years.

The difficult and bureaucratic access to banks, combined with the mass use of smartphones, also contributes to the rise of digital wallets. Consequently, e-wallets emerge as a viable option to take care of people's financial organization, by offering a low cost and high efficiency service.

In 2020, the Central Bank of Brazil announced a new instant payment system with the potential to profoundly transform the country's payment industry. The PIX is a tool that allows the transaction of resources in a few seconds at any time of the day and all days of the year. In addition, PIX have a much lower transaction cost when compared to other payment methods such as Bank slip, TED or DOC. In order to use it, it is not necessary to have a bank account, just register it in any of the institutions approved by the Central Bank to offer this service, which includes abastece . Thus, by eliminating the need for intermediaries in the transfer process, we believe that PIX intensify the strengthening of digital wallets. It is extremely important to mention that the PIX is not only a substitute for traditional forms of payment, but it is also a mean to meet other financial demands, with the possibility of making payments in commercial establishments. As of December 31, 2022, PIX had already been registered by more than 141 million users, handling a volume of approximately R$1.2 trillion.

Operation

abastece is a relevant ecosystem of advantages for vehicles’ drivers, integrated with a financial platform that expands the purchasing power of its users. The application offers a varied range of services for its clients, such as: cashbacks on purchases from partner companies, payment of slips, transfers, functions of cash in/cash out on digital wallet and various financial products. The main revenue stream for abastece derives from Ipiranga service stations. When filling your car using the app at Ipiranga, the customer has the possibility to reverse a portion of the amount spent on several benefits, including: the accumulation of kilometers of advantage, cashback reversed in the portfolio, among others. Currently, abastece has partnerships with other companies operating in various sectors, such as TAM Linhas Aéreas S/A (LATAM), Movida Locação de Veículos S.A., among others.

In 2022, the strategy of abastece was concentrated around the revenues from the association fee with partner companies, being the main partnership with Ipiranga, operating more than 39 million transactions, totaling more than R$5.7 billion TPV.

Marketplace model. It is a virtual shopping mall, where partner companies advertise their products by paying an association fee. The partner exposes its products to a larger number of people, the consumer can access products from various segments and the company providing the marketplace receives a percentage of each transaction.

Cashback model. Through this model, when the user makes a purchase through the application, they receive a percentage of the money spent back. abastece works as the payment method and as a platform through which partners announce their products.


69


Work methodology. The abastece operation is based on three main pillars: technological know-how, data intelligence and agile culture. The first involves the entire user experience of the application, its functionality, and facilities. The company works to maintain an application with simple and intuitive interface, constantly improving the user’s experience.

In data intelligence, the company promotes the activation and growth of the customer base, identifying the main suggestions and criticisms to the functioning of the app. Also, it is critical to improve statistical and artificial intelligence models to personalize promotional campaigns, recognize potential customers and activate old users.

Industry and overview of our discontinued operations

  1. Petrochemicals and chemicals

Ultrapar used to operate in the petrochemical industry through Oxiteno. On August 16, 2021, Ultrapar entered into a share purchase agreement for the sale of all shares of Oxiteno to Indorama. The sale was closed on April 1, 2022 and, as a result, Oxiteno is no longer part of Ultrapar’s business portfolio as of this date. For more information, see Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations—Oxiteno.”

The petrochemical industry transforms crude oil or natural gas into widely used consumer and industrial goods. The Brazilian petrochemical industry is generally divided in three sectors, depending on the stage of transformation of the petrochemical raw materials. The companies that operate in these different stages are known as first, second and third-generation companies.

Brazil’s first-generation companies, which are referred to as “crackers”, break down or “crack” naphtha (a by-product of the oil refining process), their principal feedstock, into basic petrochemicals, including olefins, primarily ethylene, propylene and butadiene, and aromatics, such as benzene, toluene, and xylenes. Second-generation companies process the basic petrochemicals produced by the crackers to obtain intermediate petrochemicals, such as (i) polyethylene, ethylene oxide, polystyrene and polyvinyl chloride (PVC), each produced from ethylene; (ii) polypropylene, oxo-alcohols and acrylonitrile, each produced from propylene; (iii) caprolactam, produced from benzene; and (iv) purified terephthalic acid (PTA), produced from p-xylene. The intermediate petrochemicals are produced in solid form (as plastic pellets or powders) and in liquid form and are transported through roads, railroads or by ship to third-generation companies, which transform them into final products, including polyester, plastics, elastomers, acrylic fibers, and nylon.

Oxiteno

As of March 31, 2022, Oxiteno was a second-generation company, which processes basic petrochemicals produced by the crackers to obtain intermediate petrochemicals. While operated by Ultrapar, Oxiteno was the only producer of ethylene oxide, ethylene glycols, ethanolamines, glycol ethers and methyl-ethyl-ketone in Brazil, as well as the only producer of fatty alcohol in Latin America and the only ethylene oxide producer in South America. Its products were used in a broad range of industrial sectors, such as cosmetics, detergents, crop solutions, polyester, packaging, coatings, and oil industry. During the year ended December 31, 2021 and the three months period ended March 31, 2022, right before the conclusion of its sale, Oxiteno sold 779 thousand and 177 thousand tons of chemical and petrochemical products, respectively.

Products and markets. While operated by Ultrapar, Oxiteno’s products could be divided into two main groups for ease of understanding: (i) commodity chemicals, which are generally higher-volume products, with standard specifications, and (ii) specialty chemicals, which tend to be lower-volume products sold based on chemical features and suitability to meet a particular end-use requirement. Oxiteno’s main commodity chemicals were ethylene oxide and ethylene glycol whereas its main specialty chemicals included a wide variety of products that were used as surfactants, softeners, dispersants, emulsifiers, and hydraulic fluids.

70


Specialty chemicals. The following table sets forth Oxiteno’s main specialty chemical products and their main uses and markets while operated by us.

 

 

 

Major markets

 

Specialty chemicals

 

Examples of uses and effects

 

 

 

 

Detergents

Alkylbenzene sulfonic acids, alkylsulfates, alkyl ether sulfates, ethoxylated alkylphenols, ethoxylated fatty alcohols, polyethyleneglycols, alkanolamides, betaines, sulphosuccinates, block copolymers EO/PO.

Used in detergents, the specialty chemicals are added mainly to improve cleaning power and foaming and to reduce skin irritability.

Cosmetics

Alkylsulfates, alkyl ether sulfates, betaines, ethoxylated fatty alcohols, polyethyleneglycols, alkanolamides, ethoxylated sorbitan esters, sorbitan fatty esters.

Used in cosmetics as moisturizers, detergents for foaming and residue removal, and reduction of eye irritation in shampoos.

Crop protection chemicals

Ethoxylated fatty amines, ethoxylated alkylphenols, alkyl ether sulfates, blends, naphthalene sulfonate, ethoxylated vegetable oil, copolymers EO/PO.

Used as part of the composition of crop protection chemical, such as herbicides. Increases their efficiency, by improving soil penetration and adherence of the products to plant surfaces.

Foods

Sorbitan fatty esters, ethoxylated sorbitan esters, emulsifiers, stabilizers, dispersants.

Mainly used as additives for breads and cakes, improving their texture and consistency, and as an emulsifier responsible for ice cream creaminess.

Textiles

Ethoxylated alkylphenols, ethoxylated fatty alcohols, ethoxylated vegetable oils, ethoxylated fatty amines, antistatic agents, lubricants, softeners, emulsifiers, antifoamers, mercerizing additives, humectants, low foam detergents.

Used in the processing of textiles, improving spinning and weaving performance. Permits greater evenness in the mixing of fibers, dyeing, bleaching and improving the softness of the final cloth.

Hydraulic fluids

Ethylene glycol ethers, ethylene glycols, corrosion inhibitors.

Used directly as hydraulic fluids in vehicles. Brake fluids guarantee brake system performance and safe braking. Cooling liquids help to cool the motor and maintain the correct operating temperature.

Oil field chemicals

Additives, emulsion breaker, mutual solvent, surfactant, antifouling, glycols, ethanolamines and dispersants.

Chemical inputs applied in all stages of the production of oil and gas, such as drilling, cementing, completion, stimulation, production and refining, each one with specific characteristics.

Coatings

Acetates, alcohols, glycols ethers, glycols, ketones, alkyl ether sulfates, ethoxylated alkylphenols, ethoxylated fatty alcohols, block copolymers EO/PO.

Solvents and surfactants are used in the preparation of paints and coatings, adhesives and inks. Solvents serve multiple functions in solvent borne paints and coatings: solubilization of the resin or polymer forming the continuous coating phase, pigment wetting and viscosity reduction to facilitate the application of the coating. Surfactants are used in emulsion polymerization and also as additive: thickeners, antifoaming agents, additives used to control rheological properties and others.


71

Commodity products. The following were Oxiteno’s main commodity products, and their principal uses and markets:

Ethylene oxide. Ethylene oxide is a colorless and highly flammable gas at room temperature and atmospheric pressure. Ethylene oxide is produced in a continuous production process by gaseous phase catalytic partial oxidation of ethylene by oxygen at high temperature and pressure.

Ethylene glycols. The main ethylene glycol produced by Oxiteno was mono-ethylene glycol, known as MEG. Oxiteno also produced di- and tri-ethylene glycol. Mono-ethylene glycol is a clear, non-flammable, non-volatile liquid at room temperature and atmospheric pressure. Ethylene glycols are produced in a continuous process from an ethylene oxide solution and principally sold to chemical companies for the manufacture of polyester fibers and polyethylene terephthalate, known as PET, with the remainder sold for use in the production of antifreeze, brake fluids, solvent, and other chemicals.

The Brazilian petrochemicals industry seeks to prioritize demand from the domestic market, where there is greater value added, although sales are also made to the international market. While operated by Ultrapar, Oxiteno sold the larger part of its commodities and specialty chemicals in Brazil, with production capacity exceeding domestic market demand, with Oxiteno exporting surplus production to more than 50 countries in Asia, America, Europe, Africa, and Oceania. Oxiteno maintained its production capacity above local demand for strategic reasons. For the three months period ended March 31, 2022, right before the conclusion of Oxiteno’s sale and the year ended December 31, 2021, 36% and 34% of its net revenue from sales and services, respectively, were from sales outside Brazil. For the three months period ended March 31, 2022 and the year ended December 31, 2021, 31% and 29%, respectively, of Oxiteno’s sales volume were from sales outside Brazil.

The following table shows Oxiteno’s sales volume by market group for the period indicated:

 


Year Ended
December 31,

 


Market group

 


2022(1)

 


2021

 


2020

 


 


(in thousand tons)


Commodity chemicals


20.1


126.4


146.9


Specialty chemicals


102.3


424.9


387.9


Total domestic sales volume


122.4


551.3


534.7




(1)  For the period between January 1, 2022, and March 31, 2022.


 


Year Ended
December 31,

 


Market group

 


2022(1)

 


2021

 


2020

 


 


(in thousand tons)


Commodity chemicals


0.2


7.5


3.8


Specialty chemicals


54.1


220.6


214.8


Total sales volume outside Brazil


54.3


228.1


218.6




(1)  For the period between January 1, 2022, and March 31, 2022.


72


B. Retail pharmacy

Ultrapar used to operate in the retail pharmacy sector through Extrafarma. On May 18, 2021, Ultrapar entered into a share purchase agreement for the sale of all shares of Extrafarma to Pague Menos. The sale was closed on August 1, 2022 and, as a result, Extrafarma is no longer part of Ultrapar’s business portfolio as of this date. For more information, see Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations—Extrafarma.”

The retail pharmacy business is a highly regulated industry. In Brazil, the regulation of the sector is executed by the federal government, states and municipalities. The federal government enacts laws and regulations of general applicability, which are enforced and complemented by actions of the states and municipalities. At the federal level, the health and pharmaceutical sectors are regulated and supervised by the Ministry of Health, through ANVISA.

The retail pharmacy business in Brazil is responsible for the purchase, distribution, and resale of medicines to end consumers through drugstores. It is also a common practice in this industry to sell beauty and personal care products as well as certain convenience products at drugstores. Its main suppliers are pharmaceutical producers and beauty and personal care producers.

The main types of pharmaceutical products sold in Brazil are listed below:

Branded medicine. Innovative products, registered at the federal agency responsible for sanitary surveillance and marketed in the country whose efficacy, safety and quality have been scientifically proven by the federal competent body upon registration.

Generic medicine. Contain the same active ingredient, in the same strength and dosage form, being administered by the same route and with the same therapeutic indication as the reference drug in the country, showing the same safety as the reference drug in the country.

Similar medicine. Contain the same active ingredients, has the same concentration, pharmaceutical form, method of administration, dosage, and therapeutic instructions, and is equivalent to a medicine registered with the Federal Agency responsible for sanitary surveillance, differing only as regard the characteristics of size and form of the product, period of validity, packaging, labelling, excipients and vehicle.

OTC medicines. Over the Counter (“OTC”) medicines that do not need a prescription to be sold.

Extrafarma

As of July 31, 2022, Extrafarma operated 399 drugstores in ten states of Brazil (121 in Pará, 11 in Amapá, 3 in Tocantins, 91 in Ceará, 57 in Maranhão, 34 in Pernambuco, 20 in Bahia, 16 in Rio Grande do Norte, 4 in Paraíba and 42 in São Paulo). Extrafarma operated four distribution centers: Benevides, in the state of Pará; Aquiraz, in the state of Ceará; Guarulhos, in the state of São Paulo and São Luís, in the state of Maranhão, which were responsible for supplying all stores.

As of July 31, 2022, Extrafarma operated both in the retail and wholesale of pharmaceutical products. For the seven months period ended July 31, 2022, right before the conclusion of its sale, Extrafarma’s gross revenues from sales and services reached R$1.3 billion, of which retail products represented 95% and wholesale products represented 5%.

Within the retail business, Extrafarma’s product mix consisted of all the main types of pharmaceutical products (branded medicine, generic medicine, similar medicine, and OTC), in addition to personal care products and convenience products. For the seven months period ended July 31, 2022, out of Extrafarma’s revenues in the retail business, branded medicines represented 35%, generic/similar medicines represented 16%, OTC 14%, personal care products represented 16% and convenience products represented 17%.

On the wholesale side, Extrafarma operated as a distributor of both pharmaceutical and personal care products. It purchased the products from manufacturers and sold them to other drugstore chains and independent retailers, which were serviced through Extrafarma’s own and leased truck fleet.

73


Insurance

We maintain insurance policies covering all the facilities of our wholly owned subsidiaries, which we consider appropriate to cover the risks to which we believe we are exposed, including but not limited to loss and damage from fire, lightning, explosion of any nature, windstorm, plane crash and electrical damage. The maximum compensation values based on the maximum possible loss that could result from a specific location as of December 31, 2022 are shown below:

 


Maximum compensation

value (*)

 


 


 


Ipiranga


R$1,849


Ultracargo


R$1,210


Ultragaz


R$374




(*)  In millions. In accordance with our policies terms and conditions.

We maintain general liability insurance that covers all our wholly-owned subsidiaries with a maximum coverage of US$250.0 million (R$1,304.4 million as of December 31, 2022) for losses and damage incurred by third parties as a result of any accidents that occur in connection with our commercial/industrial operations and/or the distribution and sale of our products and services.

We maintain Directors & Officers Liability insurance policies to indemnify members of the Board of Directors, Fiscal Council and executives of Ultrapar and its subsidiaries (insured persons) in the total amount of US$80.0 million (R$417.4 million as of December 31, 2022), which covers any insured liabilities resulting from wrongful acts, including any act or omission or any matter claimed against them solely by reason of his or her serving in such capacity, except if the act, omission or the claim is consequence of gross negligence or willful misconduct.

In addition, we also take out group life and personal accident, national and international transportation, and other insurance policies.

We believe that our insurance covers, in all material respects, the risks to which we are exposed and is in line with industry standards. However, the occurrence of losses or other liabilities that are not covered by insurance or that exceed the limits of our insurance coverage could result in significant unexpected additional costs.

74


          C. Organizational structure

The following chart shows our organizational structure for our main subsidiaries as of December 31, 2022:

 Image26




 Percentages represent approximate ownership of voting share capital and total capital (voting capital/total capital).
(1) 
Non-controlling interests in Utingás are mainly held by Liquigas Distribuidora and Supergasbras Energia (31% and 8% of total capital, respectively).
(2) Other shareholders of RPR are Petrobras and Braskem, each holding 1/3 of the voting shares.
(3)  União Vopak — a company jointly owned by Ultracargo Logística and Vopak Brasil S.A.
(4)   Iconic — an association between Ipiranga and Chevron.
(5) In April 2022, the name of subsidiary Tequimar Vila do Conde Logística Portuária S.A was changed to Ultracargo Vila do Conde Logística Portuária S.A.
(6) Latitude Logística Portuária — a company jointly owned by Ipiranga and Petróleo Sabbá S.A.
(7) Other shareholders of Nordeste Logística I, II and II are Raízen and Vibra Energia, and of Navegantes Logística are Raízen and Petrobras each holding 1/3 of the voting shares.
(8) In April 2021, the name of the subsidiary Terminal Químico de Aratu S.A – Tequimar was changed to Ultracargo Logística S.A.
(9) Company with suspended operational activities.
(10) On July 1, 2022, the indirect subsidiaries Bahiana Distribuidora de Gás Ltda. and LPG International Inc. became controlled by Companhia Ultragaz S.A.
(11)  On August 1, 2022, the subsidiary Companhia Ultragaz S.A. became directly controlled by UltraparIn November 2022, Companhia Ultragaz S.A. became a subsidiary of Ultragaz Participações Ltda.
(12)  On September 12, 2022, the Company through its subsidiary Ultragaz Energia Ltda., signed an agreement for the acquisition of all shares of Stella. The acquisition was concluded on October 1, 2022.
(13) On November 18, 2022, the name of the subsidiary Ultragaz Comercial Ltda. was changed to Ultragaz Energia Ltda.


75

We conduct our LPG distribution business through Ultragaz, composed by Cia. Ultragaz and Ultragaz Energia. Cia. Ultragaz comprises three main companies: i) Ultragaz (the original company), ii) Bahiana and iii) Utingás. Ultragaz operates in the business of LPG distribution, primarily in the South, Southeast and Midwest regions of Brazil. Bahiana operates in the business of LPG distribution, primarily in the Northeast region of Brazil. Utingás is an LPG storage company, with facilities in the states of São Paulo and Paraná. In addition, in 2022, we announced the acquisitions of Stella and of NEOgás, which mark Ultragaz's entry into the electricity and the compressed natural gas distribution segments, expanding its offer of energy solutions to its customers and enhancing its capillarity, commercial strength and brand.

We conduct our fuel distribution business through Ipiranga, represented by our wholly owned subsidiary Ipiranga. Ipiranga covers the distribution and marketing of petroleum products, ethanol and NGV throughout Brazil. Ipiranga, through its subsidiaries, owns AmPm brand in Brazil, and Tropical, which provides transportation services for Ipiranga and other fuel distributors. Ipiranga also owns 56% of Iconic, which is a joint venture with Chevron, that owns the remaining 44% of it.

We conduct liquid bulk storage business through our wholly owned subsidiary, Ultracargo, which operates through its subsidiary Ultracargo Logística that maintains storage facilities at six terminals, close to the main Brazilian port terminals, railroad junctions and roads. In April 2019, Ultracargo won the concession of VDC12 area at the Vila do Conde port, in Barcarena, state of Pará, with a minimum storage capacity of 59 thousand . In December 2021, Ultracargo started its operations at this new terminal, with a total storage capacity of 110 thousand .

We conduct a digital payment platform business through the brand abastece , which was created in 2020, combining the abastece app and the loyalty program Km de Vantagens, both of which became a new subsidiary of Ultrapar.

Until April 1, 2022, we conducted petrochemical and chemical activities through our then-wholly owned subsidiary, Oxiteno. In August 2021, Ultrapar entered into a share purchase agreement for the sale of all of its shares in Oxiteno to Indorama. On April 1, 2022, the transaction was closed and, as a result, Oxiteno is no longer part of Ultrapar’s business portfolio as of this date. For more information, see “Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations—Oxiteno.”

Until August 1, 2022, we conducted retail and wholesale pharmacy businesses through our then-wholly owned subsidiary, Extrafarma. In May 2021, Ultrapar entered into a share purchase agreement for the sale of all of its shares in Extrafarma to Pague Menos. On August 1, 2022, the transaction was closed and, as a result, Extrafarma is no longer part of Ultrapar’s business portfolio as of this date. For more information see “Item 4.A. Information on the Company—History and development of the Company—A.2. Discontinued operations—Extrafarma.”

As of the date hereof, all our material subsidiaries are incorporated under the laws of Brazil. For further information, see “Item 4.A. Information on the Company—History and development of the Company.”

For more information about our organizational structure, see Note 1.a.2 to our Consolidated Financial Statements for the year ended December 31, 2022.

D.      Property, plant and equipment

Ultragaz

Ultragaz’s LPG distribution network includes 19 filling plants. LPG is carried to the filling plants either via gas pipelines from Petrobras’ facilities or by tanker trucks. When LPG transportation is made via gas pipelines, the bases are known as primary and when transportation is made via tanker trucks, the bases are known as secondary.

76


Ultragaz also operates storage bases for LPG, known as satellite bases, for supplying our bulk trucks. These storage facilities are strategically located in order to keep supplies close to Ultragaz’s customer base, thus reducing transportation costs. As of December 31, 2022, Ultragaz had 9 primary plants, 10 secondary plants and 20 satellite bases located in the Southeast, Midwest, and Northeast regions of Brazil.

LPG is stored in the filling plants in large LPG storage tanks with an average of 60 tons per tank. In the case of LPG to be delivered in bulk, LPG is pumped directly from the storage tanks into the bulk tankers. In the case of LPG to be delivered in bottles, LPG is pumped from storage tanks into several filling heads, which fill the LPG bottles.

As of December 31, 2022, Ultragaz had a total storage capacity of 21 thousand tons, including the storage capacity indirectly held through its stake in Utingás. In addition, Ultragaz maintains its headquarters in the city of São Paulo and regional offices in the areas in which it operates.

Beyond the risks discussed in “Item 3.D. Key information—Risk factors”, there were no specific environmental issues that could affect Ultragaz’s utilization of these facilities.

Ultragaz is planning to invest R$428 million in 2023, R$190 million of which will be invested in the expansion of its operations and R$238 million in maintenance and other investments in upkeep. Expansion investments are mainly focused on continuously capturing new customers in the bulk segment, on revitalizing and opening points of sale, and on projects related to optimizing storage infrastructure and to energy diversification. The portion focused on maintenance will be directed to the sustaining of the businesses and includes mainly investments in maintenance of assets, safety and the renovation and remodeling of points of sale. 


Ultracargo

The following table sets forth the main products stored at and the storage capacity operated by Ultracargo’s facilities as of December 31, 2022.


Facility


Installed capacity
(in thousand )


Product lines


Santos (state of São Paulo)


297


Chemicals, ethanol, lubricants, fuels, and corrosives


Aratu (state of Bahia)


218


Chemicals, ethanol, vegetable oils, corrosives, and fuels


Suape (state of Pernambuco)


158


Chemicals, ethanol, corrosives, and fuels


Itaqui (state of Maranhão)


155


Ethanol and fuels


Vila do Conde (state of Pará)


110


Ethanol and fuels


Rio de Janeiro (state of Rio de Janeiro)


17


Corrosives and lubricants


Total


955


 



Beyond the risks discussed in “Item 3.D. Key information—Risk factors”, there were no specific environmental issues that could affect Ultracargo’s utilization of these facilities. 

Ultracargo is planning to invest R$317 million in 2023, of which R$204 million will be invested in the expansion of its operations and R$113 million in maintenance and other investments in upkeep. The expansion investments will be focused on continuing the expansion of the IQI13 area in the Itaqui port (concession granted in 2021), on the grant of the Vila do Conde terminal (state of Pará), and on the acquisition of land for the construction of a railway branch in Santos. The portion focused on maintenance will be directed to the sustaining of the businesses and includes mainly investments in maintenance of assets and safety.


Ipiranga

As of December 31, 2022, Ipiranga distributed fuels through 88 storages terminals, which are strategically located to provide fast and efficient delivery of its products. There are two types of storage terminals: primary, which are usually located near the coast and large cities and are supplied by refineries through pipelines, and secondary storage terminals, mainly located inland and supplied by primary storage terminals through railways or road transportation at locations not serviced by railway systems. Large customers and TRRs are also serviced by primary storage terminals. As of December 31, 2022, Ipiranga had 51 primary storage terminals and 37 secondary storage terminals.

77

Distributors may own their storage terminals, lease space in third parties’ storage terminals or participate in pools via jointly operated terminals that serve two or more distributors. As of December 31, 2022, the total capacity of Ipiranga’s storage terminals was 903 thousand , out of each 31% were owned, 44% were related to third party agreements and 25% were related to jointly operated terminals.

Beyond the risks discussed in “Item 3.D. Key information—Risk factors”, there were no specific environmental issues that could affect Ipiranga’s utilization of these facilities.

Ipiranga is planning to invest R$1,376 million in 2023, of which R$585 million will be invested in the expansion of its operations and R$791 million in maintenance and other investments in upkeep. Expansion investments will mainly be directed to the branding of service stations with higher levels of throughput and, to a lesser extent, the expansion of capacity and logistics infrastructure on existing bases. The portion focused on maintenance will be directed to the sustaining of the businesses and includes mainly investments in maintenance of assets, safety and information technology.


ITEM 4A.           UNRESOLVED STAFF COMMENTS

None.

ITEM 5.              OPERATING AND FINANCIAL REVIEW AND PROSPECTS

A.      Operating results

You should read this discussion together with our Consolidated Financial Statements, including the notes thereto and other financial information included elsewhere in this annual report. This annual report contains forward-looking statements that involve risks and uncertainties. Our actual results may differ materially from those discussed in the forward-looking statements as a result of various factors including, without limitation, those set forth in “Cautionary Statement Regarding Forward-Looking Information” and the matters set forth in this annual report generally.

In 2021 and 2022, Ultrapar conducted a portfolio rationalization process and, as a result, it entered into share purchase agreements for the sale of Extrafarma, ConectCar and Oxiteno. The sale of Ipiranga’s interest in ConectCar was closed in October 2021. On December 31, 2021, Oxiteno and Extrafarma were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates. In 2022, Ultrapar has ceased to present abastece as a separate segment, due to the small relevance of this business relative to the overall results of the Company.

Overview

Ultrapar’s origins date back to 1937 when Ernesto Igel founded Ultragaz, which pioneered the use of LPG as cooking gas. Ultrapar is one of the largest business groups of Brazil, with an outstanding position in the energy and infrastructure segments through Ultragaz, Ultracargo and Ipiranga:

  • Ultragaz: a pioneer and a leader in LPG distribution in Brazil, Ultragaz is a reference in innovation and has been expanding the energy solutions it offers to its customers. Ultragaz operates in Brazil directly or through resellers with professionals visiting several customers daily. In 2022, Ultragaz served approximately 59 thousand business customers in the bulk segment, 583 thousand customers of Individual Billing and more than 11 million households in the bottled segment through a network of approximately 5.8 thousand independent retailers;
  • Ultracargo: the leading company in the independent liquid bulk storage terminals sector in Brazil, Ultracargo is present in the country’s main ports with modern terminals for the storage and handling of different products, such as fuels, ethanol, chemicals, corrosives and vegetable oils; and
  • Ipiranga: one of the largest Brazilian fuel and lubricant distribution companies and one of the most valuable brands in the country, with a network of more than 6.7 thousand service stations, in addition to 1.6 thousand AmPm stores, the largest convenience store franchise in Brazil.

Brazilian economic background

Since our continuing operating businesses are located in Brazil, we are significantly affected by Brazil’s economic and social conditions, including, but not limited to, GDP, growth rates, credit availability and disposable incomes, the domestic rate of inflation and exchange rate fluctuations.


78

GDP. In 2020, as a result of the COVID-19 pandemic, Brazilian GDP contracted 3.9%. Our operations suffered the effects of such contraction, especially regarding LPG sales to commercial and industrial customers, diesel sales and Ultracargo’s logistics operations. In 2021, GDP grew 4.6% driven by a 4.7% and 4.5% growth in the service and industry sectors, respectively. In comparison to 2020, 2021 was a year of recovery, the first since the outbreak of COVID-19 pandemic, mainly due to the progress of the vaccination process, which had a direct impact on family consumption. The increase in fiscal uncertainty and inflation drove the increase in the Selic rate, from 2.00% at the beginning of the year to 9.25% on December 31, 2021. The beginning of 2022 was marked by volatility in the capital markets, rising prices of commodities and rising inflation around the world, mainly due to another wave of COVID-19 and the conflict between Russia and Ukraine, factors that resulted in interest rate increases and greater risk perception by investors. In 2022, Brazilian GDP grew 2.9%, mainly driven by the reopening of the economy after the restrictions imposed by the COVID-19 pandemic in 2021, added to the stimulus packages, the evolution of public accounts and the financial support policies for the population.

As a result of the uncertainties with respect to both the domestic and international outlook, including as a result of the ongoing military conflict between Ukraine and Russia and the general elections held in Brazil in October 2022, the market perspective as of the date of this annual report was of a stagnant economy, with both inflation and high interest rates. Additionally, in the aftermath of the 2022 election results, there were mass protests and demonstrations throughout Brazil highlighting a deeply polarized electorate amidst a political climate, which could contribute to increased macroeconomic and political instability. For more information, see Item 3.D. Key information—Risk factors—The Brazilian government has exercised, and continues to exercise, significant influence over the Brazilian economy. Brazilian political and economic conditions, including ongoing political instability and perceptions of these conditions in the international markets, could adversely affect our businesses and the market price of our shares and ADSs.”

Inflation and currency fluctuations. Our cash operating activities are substantially in Reais and tend to increase with inflation. However, some of our costs of sales and services sold are linked to the U.S. dollar and are not substantially affected by the Brazilian inflation rate. In addition, some of our Real-denominated debt is indexed to the rate of inflation. In 2020, the Real depreciated 28.9% against the U.S. dollar, mainly due to (i) the impact of the COVID-19 pandemic; (ii) uncertainties in the U.S. political landscape in view of its presidential elections and (iii) the worsening of risks in the Brazilian fiscal debt. The IGP-M index was 23.1%, impacted mainly by the devaluation of the Real against the U.S. dollar that affects directly the prices of raw material and others industrial inputs. The IPCA index rate closed 2020 at 4.5%. In 2021, the Real depreciated 7.4% against the U.S. dollar, mainly due to the increase in global inflation coupled with high fiscal risks and low growth rate in Brazil. The IGP-M index was 17.8% and the IPCA index rate ended 2021 at 10.1%. In 2022, the Real appreciated 6.5% against the U.S. dollar, mainly due to the reopening of the economy after the restrictions imposed by the COVID-19 pandemic in 2021, added to the stimulus packages, the evolution of public accounts and the financial support policies for the population. The IGP-M index was 5.5% and the IPCA index rate ended 2022 at 5.8%.

The main foreign exchange risk we face arises from certain U.S. dollar denominated costs and expenses. Although a part of our debt is U.S. dollar-denominated, it is currently hedged against currency devaluation through the use of various derivative instruments or matching assets in the same currency. Additionally, a significant part of our raw materials is also denominated or indexed to the U.S. dollar. Hence, we are exposed to foreign exchange rate risks which could negatively impact our businesses, financial situation and operating results as well as our capacity to service our debt.

The table below shows the inflation rate for the periods indicated, as well as the devaluation (or appreciation) of the Real against the U.S. dollar.

 


Year ended December 31,

 


Index

 


2022

 


2021

 


2020

 


IGP-M


5.5%


17.8%


23.1%


IPCA


5.8%


10.1%


4.5%


Devaluation (appreciation) of the Real against the U.S. dollar


(6.5%

)

7.4%


28.9%


We manage foreign exchange risk associated with the scheduled payments under the terms of our U.S. dollar indebtedness by investing in U.S. dollar-denominated securities and foreign currency/interest swap contracts, under which we pay variable interest in Reais based on the DI and receive fixed interest in U.S. currency. As of December 31, 2022, our liabilities in foreign currency totaled R$7,153.1 million (US$1,370.9 million), including financing in foreign currency, gross of transaction costs and discount, and payables arising from imports, net of advances to foreign suppliers. At the same date, our total assets in foreign currency including foreign currency hedging instruments totaled R$6,599.2 million (US$1,264.8 million), comprised of investments indexed to U.S. dollars and hedging instruments used to manage fluctuations of exchange rates and foreign currency receivables exposures. As of December 31, 2022, Ultrapar had a net liability position (income statement effect) in foreign currency of R$553.8 million (US$106.1 million), comprised of a short-term net asset position of R$1,123.0 million (US$215.2 million) and a long-term net liability position of R$1,676.8 million (US$321.4 million). For the purposes of this paragraph, amounts in U.S. dollar were calculated based on a 5.2177 Real/U.S. dollar exchange rate, as of December 31, 2022. See “Item 11. Quantitative and Qualitative Disclosures About Market Risk” for information about our foreign exchange risk hedging policy and Notes 17 and 31 to our Consolidated Financial Statements.


79

IFRS standards and criteria adopted in preparing the financial information

The consolidated financial information presented below was prepared based on the consolidated statements of income and cash flows – indirect method for the years ended December 31, 2022, 2021 and 2020 that derived from our Consolidated Financial Statements included in this annual report and prepared in accordance with IFRS as issued by IASB. Financial information relating to Ultragaz, Ultracargo, Ipiranga and abastece is presented on an unconsolidated basis and does not reflect elimination of intercompany transactions. Accordingly, the sum of individual financial information of Ultrapar’s subsidiaries may not correspond to the consolidated financial information of Ultrapar. See “Presentation of financial information.”

On December 31, 2021, our former wholly owned subsidiaries, Oxiteno and Extrafarma, were classified as assets and liabilities held for sale and discontinued operations, due to signing of a share purchase agreement with Indorama in August 2021 and with Pague Menos in May 2021, respectively. The sales of Oxiteno and Extrafarma were closed on April 1, 2022 and on August 1, 2022, respectively, and as a result these companies are no longer part of Ultrapar’s business portfolio as of these dates. For more information see Note 4.c to our Consolidated Financial Statements. In 2022, Ultrapar has ceased to present abastece as a separate segment, due to the small relevance of this business relative to the overall results of the Company.

80


Results of operations

Year ended December 31, 2022 compared to the year ended December 31, 2021.

The following table shows a summary of our results of operations for the years ended December 31, 2022 and 2021:

(R$ million)


Year ended
December 31,
2022



% of net revenue

from sales and services


Year ended
December 31,
2021



% of net revenue from sales and
services


Percent
change
2022—2021


Continuing operations


 



 


 



 


 


Net revenue from sales and services


143,634.7



100%


109,732.8



100%


31%


Cost of products and services sold


(136,276.3

)

95%


(104,828.0

)

96%


30%


Gross profit


7,358.5



5%


4,904.9



4%


50%


Sales, general and administrative expenses (1)


(3,676.5

)

3%


(3,398.2

)

3%


8%


Other operating income (expenses), net (2)


(514.5

)

0%


96.2



0%


N/A


Gain on disposal of property, plant and equipment and intangible assets


169.3



0%


184.2



0%


(8%)

)

Operating income before financial result and share of profit (loss) of joint ventures and associates


3,336.8



2%


1,787.0



2%


87%


Share of profit (loss) of joint ventures and associates


12.2



0%


(17.6

)

0%


N/A


Financial result, net (3)


(1,469.2

)

1%


(762.7

)

1%


93%


Income before income and social contribution taxes


1,879.7



1%


1,006.6



0%


87%


Income and social contribution taxes (4)


(341.5

)

0%


(188.0

)

0%


82%


Net income from continuing operations


1,538.2



1%


818.6



1%


88%


Discontinued operations


 



 


 



 


 


Net income from discontinued operations


301.9



N/A


65.3



N/A


363%


Net income for the year


1,840.1



N/A


883.9



N/A


108%


Net income attributable to:


 



 


 



 


 


Shareholders of Ultrapar


1,800.8



N/A


850.5



N/A


112%


Non-controlling interests in subsidiaries


39.2



N/A


33.4



N/A


17%


     
       (1)      Considers both selling and marketing and general and administrative expenses

       (2)      Considers both other operating income and other operating expenses

       (3)      Considers both finance income and finance expenses

       (4)      Considers both current and deferred income and social contribution taxes

Net revenue from sales and services. Ultrapar’s net revenue from sales and services was R$143,634.7 million in 2022, an increase of 31% compared to R$109,732.8 million in 2021, reflecting the higher revenues of Ipiranga, Ultragaz and Ultracargo. In 2022, more than 90% of our consolidated net revenue from sales and services was generated by Ipiranga and Ultragaz. Therefore, the main components of these revenues come from diesel, gasoline, ethanol and LPG sales.


81

The following table shows the change in net revenue from sales and services for each of our segments:

 


2022



2021



Percent change
2022—2021


 


(R$ million)



 


Ultragaz(1)


11,483.4



9,744.7



18%


Ultracargo(1)


867.1



713,1



22%


Ipiranga(1)


131,338.0



99,382.6



32%


abastece (1)(2)


N/A



84.7



N/A


Others(2)(3)


(53.8

)

(192.3

)

(72%

)

Net revenue from sales and services from continuing operations


143,634.7



109,732.8



31%



(1)Financial information relating to Ultragaz, Ultracargo, Ipiranga and abastece aí is presented on an unconsolidated basis and does not reflect elimination of intercompany transactions which is included in “Others”. Accordingly, the sum of individual financial information of Ultrapar’s subsidiaries may not correspond to the consolidated financial information of Ultrapar. See “Presentation of financial information.”


(2)In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company and presented such amounts as “Others.”


(3)Includes Ultrapar's holding structure, eliminations of intercompany transactions and other subsidiaries (see “Item 4.C. Information on the Company—Organizational Structure.”)

 

Ultragaz’s net revenue from sales and services was R$11,483.4 million in 2022, an increase of 18% compared to R$9,744.7 million in 2021, due to the pass throughs of LPG cost increases (see “Item 4.B. Information on the Company—Business overview—Industry and Regulatory Overview—A. Distribution of liquefied petroleum gasUltragaz—Prices of LPG") and better sales mix (higher sales to the bulk segment and lower sales to the bottled segment). The volume sold by Ultragaz totaled 1,706 thousand tons in 2022, practically stable in relation to 2021, as a result of a 2% decrease of sales in the bottled segment, due to lower market demand, and the growth of 3% of the bulk segment, mainly due to higher sales for the commercial, services and industries segments.

Ultracargo’s net revenue from sales and services was R$867.1 million in 2022, an increase of 22% compared to R$713.1 million in 2021, due to contractual readjustments and higher m³ sold mainly from the capacity expansions (Itaqui and Vila do Conde). Ultracargo's average static capacity was 955 thousand in 2022, an increase of 9%, as a result of the start-up of operations at the terminal of Vila do Conde in December 2021 and the capacity expansion in Itaqui throughout 2021. The sold totaled 13,589 thousand, mainly due to the start-up of operations in Vila do Conde terminal and the higher handling of fuels in Itaqui.

Ipiranga’s net revenue from sales and services was R$131,338.0 million in 2022, an increase of 32% compared to R$99,382.6 million in 2021, mainly due to the pass throughs of cost increases of oil derivatives and ethanol, in addition to higher sales volume. Ipiranga’s sales volume totaled 23,070 thousand m³, an increase of 3% in 2022 compared to 2021, with a growth of 3% in diesel and 2% in the Otto cycle.

Cost of products and services sold. Ultrapar’s cost of products and services sold was R$136,276.3 million in 2022, an increase of 30% compared to R$104,828.0 million in 2021, due to cost increases at Ipiranga, Ultragaz and Ultracargo, for the reasons discussed below.

The following table shows the change in cost of products and services sold for each of our segments:

 


2022



2021



Percent change
2022—2021 


 


(R$ million) 


Ultragaz(1)


9,446.4



8,626.3



10%


Ultracargo(1)


340.6



285.4



19%


Ipiranga(1)


126,569.5



96,110.4



32%


abastece (1)(2)


N/A





N/A


Others(2)(3)



(80.2 )

(192.2

)

(59%

)

Costs of products and services sold from continuing operations


136,276.3



104,828.0



30%



(1) 

Financial information relating to Ultragaz, Ultracargo, Ipiranga and abastece aí is presented on an unconsolidated basis and does not reflect elimination of intercompany transactions which is included in “Others”. Accordingly, the sum of individual financial information of Ultrapar’s subsidiaries may not correspond to the consolidated financial information of Ultrapar. See “Presentation of financial information.”

(2)  In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company and presented such amounts as “Others.”
(3) Includes Ultrapar's holding structure, eliminations of intercompany transactions and other subsidiaries (see “Item 4.C. Information on the Company—Organizational Structure.”)
            
82


Ultragaz’s cost of products and services sold was R$9,446.4 million in 2022, an increase of 10% compared to R$8,626.3 million in 2021, due to the readjustments of LPG costs carried out by Petrobras, higher costs with freight (due to an increase in the price of diesel), personnel (due to collective bargaining agreements) and inputs (as a result of inflation), partially offset by the positive effect of the recognition of PIS and COFINS credits related to the Supplementary Law No. 192/22 in the amount of R$333.4 million in 2022.

Ultracargo’s cost of products and services sold was R$340.6 million in 2022, an increase of 19% compared to R$285.4 million in 2021, of which about 63% of the increase refers to costs and depreciation of the Vila do Conde terminal (which operations started in December 2021), while the remainder comes from higher depreciation, due to capacity expansions in Itaqui and investments made in the last two years, along with the effect of inflation on personnel and inputs.

Ipiranga’s cost of products and services sold was R$126,569.5 million in 2022, an increase of 32% compared to R$96,110.4 million in 2021, due to increased costs of oil derivatives and ethanol arising from the increase in international prices in the last two years, and to higher sales volume, partially offset by the positive effect of the recognition of PIS and COFINS credits related to the Supplementary Law No. 192/22 in the amount of R$638.0 million in 2022.

For more information on the PIS and COFINS credits related to the Supplementary Law No. 192/22, see Note 8.a.2 to our Consolidated Financial Statements.

Gross profit. For the reasons described above, Ultrapar’s gross profit was R$7,358.4 million in 2022, an increase of 50% compared to R$4,904.9 million in 2021. Ipiranga’s gross profit was R$4,768.5 million in 2022, an increase of 46% compared to R$3,272.2 million in 2021. Ultragaz’s gross profit was R$2,037.0 million in 2022, an increase of 82% compared to R$1,118.3 million in 2021. Ultracargo’s gross profit was R$526.5 million in 2022, an increase of 23% compared to R$427.7 million in 2021.

Sales, general and administrative expenses. Ultrapar’s sales, general and administrative (“SG&A”) expenses were R$3,676.5 million in 2022, an increase of 8% compared to R$3,398.2 million in 2021, due to the inflationary impact in 2022 and specific effects in each of the businesses.

The following table shows the changes in SG&A expenses for each of our segments:

 


2022 


2021


Percent change
2022—2021 


 


(R$ million) 


Ultragaz(1)


833.4


661.2


26%


Ultracargo(1)


146.9


136.3


8%


Ipiranga(1)


2,381.4


2,232.3


7%


abastece(1)(2)


N/A


184.9


N/A


Others(2)(3)


314.8


183.6


71%


SG&A from continuing operations


3,676.5


3,398.2


8%



(1)

Financial information relating to Ultragaz, Ultracargo, Ipiranga and abastece aí is presented on an unconsolidated basis and does not reflect elimination of intercompany transactions which is included in “Others”. Accordingly, the sum of individual financial information of Ultrapar’s subsidiaries may not correspond to the consolidated financial information of Ultrapar. See “Presentation of financial information.”

(2) In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company and presented such amounts as “Others.”
(3) Includes Ultrapar's holding structure, eliminations of intercompany transactions and other subsidiaries (see “Item 4.C. Information on the Company—Organizational Structure.”)


83

Ultragaz’s SG&A expenses were R$833.4 million in 2022, an increase of 26% compared to R$661.2 million in 2021, due to higher personnel expenses (mainly as a result of higher variable compensation, in line with the progression of results, and collective bargaining agreement), freight and higher sales commissions.

Ultracargo’s SG&A expenses were R$146.9 million in 2022, an increase of 8% compared to R$136.3 million in 2021, resulting from higher personnel expenses (mainly as a result of higher variable compensation, in line with the progression of results, and collective bargaining agreement), partially offset by productivity and efficiency gains.

Ipiranga’s SG&A expenses were R$2,381.4 million in 2022, an increase of 7% compared to R$2,232.3 million in 2021, resulting from higher personnel expenses (mainly as a result of higher variable compensation, in line with the progression of results, and collective bargaining agreement), freight (due to an increase in diesel prices and higher sales volume) and AmPm's company-operated stores, partially offset by credits related to a gain resulting from the sale of receivables from an action for damages.

Other operating income (expenses), net. Other operating income (expenses), net was R$514.5 million expense in 2022, an increase of expenses of R$610.7 million compared to a R$96.2 million other operating income in 2021, reflecting an increase of R$477.3 million in expenses with CBios and the lower constitution of extemporaneous tax credits in the amount of R$131.4 million, both effects at Ipiranga.

Gain on disposal of property, plant and equipment and intangible assets. Ultrapar’s income from disposal of assets was R$169.3 million in 2022, a decrease of 8% compared to R$184.2 million in 2021, mainly due to the capital gain from the sale of ConectCar of R$76.5 million in 2021, partially offset by the higher result with the sale of real estate assets at Ipiranga.

Operating income before financial result and share of profit (loss) of joint ventures and associates. For the reasons described above, Ultrapar’s operating income before financial result and share of profit (loss) of joint ventures and associates was R$3,336.8 million in 2022, an increase of 87% compared to R$1,787.0 million in 2021.

Ultragaz’s operating income before financial result and share of profit (loss) of joint-venture and of associates was R$1,208.5 million in 2022, an increase of 157% compared to R$470.3 million in 2021, mainly due to higher gross profit, partially offset by higher expenses. Ultracargo’s operating income before financial result and share of profit (loss) of joint-ventures and associates was R$382.1 million in 2022, an increase of 30% compared to R$293.6 million in 2021, mainly due to higher gross profit. Ipiranga’s operating income before financial result and share of profit (loss) of joint-ventures and associates was R$2,029.8 million in 2022, an increase of 56% compared to R$1,298.4 million in 2021, mainly due to higher gross profit, partially offset by higher expenses and lower other operating income, net.

Financial result, net. Ultrapar recognized a net financial expense of R$1,469.2 million in 2022, an increase of 93% compared to a net financial expense of R$762.7 million in 2021, mainly reflecting (i) higher DI rate, despite the lower average balance and lower cost , as a percentage of DI, of Net Debt (representing the sum of Gross Debt and leases payable minus cash, cash equivalents, financial investments and derivative financial instruments), and (ii) higher expenses from the fair value of hedges, due to the increase in interest curves and exchange rates throughout the year. For the reconciliation of Gross Debt and Net Debt, see “Item 4.B. Information on the Company—Business overview—Key financial information.”

Income and social contribution taxes. Ultrapar’s income and social contribution taxes were R$341.5 million in 2022, an increase of 82% compared to R$188.0 million in 2021, mainly due to higher operating income, partially offset by higher net financial expenses. The effective income and social contribution tax rate was 18.2% in 2022, roughly stable when compared to the 18.7% tax rate in 2021.

84


Net income from continuing operations. Net income from continuing operations was R$1,538.2 million in 2022, an increase of 88% compared to R$818.6 million in 2021, mainly due to higher operating income, despite the increase in net financial expenses and in depreciation and amortization costs and expenses.

Net income from discontinued operations. Net income from discontinued operations was R$301.9 million in 2022, an increase of R$236.6 million, compared to R$65.3 million in 2021, mainly due to the negative effect of the impairment of R$427.5 million at Extrafarma in 2021, partially offset by the closing of the sales of Oxiteno and Extrafarma throughout 2022. Net income from discontinued operations for the year ended December 31, 2022 considers the results of Oxiteno from January to March 2022, and the results of Extrafarma from January to July 2022.

Net income for the year. As a result of the foregoing, Ultrapar’s net income was R$1,840.1 million in 2022, an increase of 108% compared to R$883.9 million in 2021.

Year ended December 31, 2021, compared to the year ended December 31, 2020.

For a discussion of our results of operations for the year ended December 31, 2021 compared to the year ended December 31, 2020, see “Item 5. Operating and financial review and prospects—A. Operating results—Results of operations—Year ended December 31, 2021 compared to year ended December 31, 2020” of our Form 20-F for the year ended December 31, 2021, filed with the SEC on May 10, 2022.

B.    Liquidity and capital resources

Sources and uses of funds

Our principal sources of liquidity derive from (i) cash, cash equivalents and financial investments, (ii) cash generated from operations and (iii) financings. In addition to these sources of liquidity, as of December 31, 2022, Ultrapar had yet to receive US$150.0 million and R$365.4 million as a result of the sales of Oxiteno and Extrafarma, respectively. The residual payment of US$150.0 million in connection with the sale of Oxiteno will be paid in a single installment due in April 2024, without embedded interest. No exchange hedge was contracted to protect against the U.S. dollar fluctuation for this installment. The residual payment of R$365.4 million in connection with the sale of Extrafarma will be paid in two installments of R$182.7 million in August 2023 and August 2024, respectively. These installments are adjusted annually by DI + 0.5%. The present value of the pending installments from Oxiteno and Extrafarma are represented as “Trade receivables – sale of subsidiaries” on the balance sheet of our Consolidated Financial Statements.

Our material cash requirements have included the following:

  • Working capital;
  • Capital expenditures;
  • Amortization of debts; and
  • Payment of dividends.

Discussion of contractual obligations

The table below presents a summary of financial liabilities and leases payable as of December 31, 2022 by the Company and its subsidiaries, listed by maturity. The amounts disclosed in this table are the contractual undiscounted cash flows, and, therefore, these amounts may be different from the amounts disclosed in the statement of financial position.

R$ million

Total


Less than 1 year


Between 1 and 3 years


Between 3 and 5 years


More than 5 years

Loans including future contractual interest

13,960.9


3,744.3


2,524.3


2,993.2


4,699.2

Derivative instruments

2,292.6


584.7


725.7


648.2


334.0

Trade payables

7,377.8


7,377.8


-


-


-

Leases payable

2,404.1


343.8


596.6


374.5


1,089.3

Financial liabilities of customers

551.6


184.2


354.4


13.0


-


85

Ultrapar has resources to meet its short-term and long-term cash requirements through a combination of cash, cash equivalents and financial investments (R$6,585.0 as of December 31, 2022), cash generated from operating activities (see − Cash flows) and cash generated by financing activities (including new debt financing and the refinancing of some of our indebtedness as it becomes due). We believe that our sources of liquidity are sufficient to meet our short-term and long-term cash requirements going forward. In addition, we do not believe that the absence of cash flow from discontinued operations should cause any material effects in our liquidity or indebtedness.

Cash flows

Net cash provided by operating activities

Net cash provided by operating activities from continuing operations was R$1,974.1 million in 2022, R$370.7 million higher than that of 2021, due to a higher operating result, partially offset by higher investments in working capital, as a result of higher fuels costs. Net cash provided by operating activities from continuing operations was R$1,603.4 million in 2021, R$660.6 million lower than that of 2020, due to higher fuels and LPG costs.

Net cash provided by (consumed by) investing activities

In 2022, net cash provided by investing activities from continuing operations was R$8,123.3 million, an increase of R$7,240.4 million compared to 2021, mainly due the conclusion of the divestments of Oxiteno and Extrafarma in April and August 2022, respectively. In 2021, net cash provided by investing activities from continuing operations was R$882.9 million, an increase of R$2,531.9 million compared to 2020. Of this increase in net cash provided by investing activities from continuing operations, R$2,732.8 million resulted from the net redemptions of financial investments, partially offset by the investment of R$201.1 million in addition to property, plant and equipment and intangible assets, net of disposals.

Net cash provided by (consumed by) financing activities

In 2022, net cash consumed by financing activities from continuing operations was R$6,731.7 million, R$3,929.1 million higher than that of 2021, due to the repurchase of notes in the foreign market, payment of certain indebtedness at maturity in 2022 and the increase in interest payments, due to the higher DI rate in the period. In 2021, net cash consumed by financing activities from continuing operations was R$2,802.6 million, R$3,129.9 million lower than that of 2020, mainly due to higher preventive fundraising carried out in 2020 because of the Covid-19 pandemic in Brazil, management initiatives on indebtedness — such as paying in advance those debts with a higher cost, thus reducing the effects with loading costs —, and the higher payment of dividends in 2021, which were retained in 2020.

Cash and cash equivalents

Accordingly, cash and cash equivalents totaled R$5,621.8 million, R$2,280.1 million and R$2,661.5 million as of December 31, 2022, 2021 and 2020, respectively.

As of December 31, 2022, we had R$6,142.1 million in cash, cash equivalents, financial investments and derivative financial instruments in current assets (short-term) whereas our consolidated debt due from January 1 to December 31, 2023, totaled R$3,744.3 million, including estimated interest payments on loans.

The Company and its subsidiaries use exchange rate hedging instruments (especially between the Real and the U.S. dollar) available in the financial market to protect its assets, liabilities, receipts and disbursements in foreign currency and net investments in foreign operations. Hedging instruments are used to reduce the effects of variations in exchange rates on the Company’s income and cash flows in Reais within the exposure limits under its Policy. Such foreign exchange hedging instruments have amounts, periods, and rates substantially equivalent to those of assets, liabilities, receipts, and disbursements in foreign currencies to which they are related. For additional information regarding our funding and treasury policies, see “Item 11. Quantitative and Qualitative Disclosures About Market Risk.”

86

Consolidated debt

Our consolidated short and long-term debt was as follows:

Consolidated debt (in millions of Reais) 


Currency


Interest rate(1) 


Principal amount of outstanding and
accrued interest through
December 31,


 


 


 


2022 


2021


Foreign currency – denominated loans:


 


 


5,190.2


8,832.8


Notes in the foreign market             


US$


5.3%


3,973.8


7,821.4


Foreign loan             


US$


4.2%


1,161.8


735.4


Foreign loan             


EU$


2.9%


54.5



Foreign loan             


US$


LIBOR (2) + 1.0%



275.9


Reais – denominated loans:


 


 


6,035.9


7,347.7


Debentures – CRA – 5th, 7th, 8th, 10th and 11th issuances Ipiranga


R$


IPCA (3) + 5.1%


3,011.5


1,940.2


Debentures – 6th issuance Ultrapar              


R$


105.3% of DI


1,800.2


1,764.2


Debentures – CRA – 5th, 7th and 8th issuances Ipiranga             


R$


97.5% of DI


660.5


2,063.8


Debentures – 2nd public issuance Ultracargo Logística and 1st issuance Tequimar Vila do Conde             


R$


IPCA (3) + 4.1%


482.2


466.1


Debentures – 1st public issuance Ultracargo Logística             


R$


6,5%


81.5


80.9


Debentures – 4th and 6th public issuances Ipiranga             


R$


105.0% of DI



771.5


Banco do Brasil – floating rate             


R$


110.9% of DI



204.8


Bank Credit Bill             


R$


DI + 2.0%



51.2


Financial institutions             


R$


 



4.6


FINEP – Research and Projects Financing             


R$


TJLP (4) - 1.5%



0.3


Total loans             


 


 


11,226.0


16,180.5


Unrealized losses on swaps transactions             


 


 


524.3


197.2


Total             


 


 


11,750.4


16,377.6




(1) Interest rate as of December 31, 2022.
(2) LIBOR = London Interbank Offered Rate.
(3) IPCA = Extended National Consumer Price Index.
(4) TJLP (Long-Term Interest Rate) = set by the National Monetary Council, TJLP is the basic financing cost of FINEP for agreements entered into before 2020. On December 31, 2022, TJLP was fixed at 7.20% p.a.

For more information on the composition of, changes and maturity of our consolidated debt, see Note 17.a to our Consolidated Financial Statements.

The transaction costs and issuance premiums associated with our fundraising are included as part of our financial liabilities. See Note 17.b to our Consolidated Financial Statements for more information.

Ultrapar contracted hedging instruments against foreign currency exchange and interest rate variations for a portion of its indebtedness. See “Item 11. Quantitative and Qualitative Disclosures about Market Risk” and Note 31 to our Consolidated Financial Statements for more information.

Guarantees

The financing does not have collateral as of December 31, 2022 and December 31, 2021 and has guarantees and promissory notes in the amount of R$9.4 billion as of December 31, 2022 (R$14.2 billion as of December 31, 2021). For more information about our guarantees, see Note 17.c to our Consolidated Financial Statements.

Notes in the foreign market

As of December 31, 2022, Ultrapar had R$4.0 billion of debt relating to the issuance of notes in the foreign market, recorded at fair value, all issued by Ultrapar International. For more information about our notes in the foreign market, see Note 17.d to our Consolidated Financial Statements.

87

Foreign loans

As of December 31, 2022, Ultrapar had R$1.2 billion of debt relating to foreign loans, recorded at fair value, all issued by Ipiranga, Ultragaz and Iconic. For more information about our foreign loans, see Note 17.e to our Consolidated Financial Statements.

 Debentures

As of December 31, 2022, Ultrapar had R$6.0 billion of debt relating to the issuance of debentures, recorded at fair value. Of this sum, R$3.7 billion, R$1.8 billion and R$0.6 billion was due by Ipiranga, Ultrapar and Ultracargo, respectively. For more information about our debenture’s issuances, see Note 17.g to our Consolidated Financial Statements.

For more information about our debt profile, hedge derivative, risks, and financial instruments, see Notes 17 and 31 to our Consolidated Financial Statements.

Leases payable

As of December 31, 2022, Ultrapar had R$1.5 billion of leases payable. For more information about our leases payable, see Note 14.b to our Consolidated Financial Statements.

 Capital expenditures and other investments

The following table shows our capital expenditures and other investments, for the years ended December 31, 2022, 2021 and 2020:


Year ended December 31,

 

2022



2021



2020






(in millions of Reais)



Acquisition of property, plant and equipment             

929.2



1,028.4



750.6


Acquisition of intangible assets             

277.6



237.5



154.5


(+) Payments of contractual assets with costumers – exclusively rights             

710.9



420.3



356.0


(+) Direct costs of right-of-use assets             

48.4



43.6



-


(+) Capital increase in associates and joint ventures             

28.0



25.7



28.8


(+) Initial direct costs of right-of-use assets             

12.1



14.9



-


() Capital increase in ConectCar             

-



(15.0)



(20.0)


() Drawdowns of financing to clients, net of receipts             

(22.3)



(32.0)



132.5


() Proceeds from disposal of property, plant, and equipment and intangibles             

(228.8)



(162.8)



(154.7)


Total capital expenditures and other investments             

1,755.4



1,560.6



1,247.8


Ultragaz             

354.5



354.3



282.4


Ultracargo             

229.5



358.0



214.8


Ipiranga             

1,129.9



806.7



688.2


Others             

41.4



41.6



62.4




In 2022, Ultrapar's capital expenditures and other investments, net of divestments and receipts, totaled R$1.8 billion, a 12% increase when compared to 2021, mainly due to higher investments in Ipiranga, partially offset by lower investments in Ultracargo.

  • Ultragaz invested R$354.5 million in 2022, directed mainly to the acquisition and replacement of bottles, equipment installed at new customers in the bulk segment and maintenance of existing operations. 
  • Ultracargo invested R$229.5 million in 2022, directed towards projects to gain efficiency, maintenance and operational safety of the terminals and the grant of the Vila do Conde terminal. 
  • Ipiranga invested R$1,129.9 million in 2022, aimed at expanding and maintaining Ipiranga’s service stations and franchises networks and logistics infrastructure. Of the total invested, R$441.3 million refer to property, plant and equipment and additions to intangible assets and R$710.9 million to assets from contracts with customers (exclusive rights). These amounts were offset by R$22.3 million from the receipt of properties sold on a financed basis, net of releases of financing to customers.
88

Ultrapars investment plan for 2023 totals R$2.2 billion (net of disposals and excluding mergers and acquisitions), an amount greater than that invested in the last five years.

  • Ultragaz is planning to invest R$427.7 million, R$190.1 million of which will be invested in the expansion of its operations and R$237.6 million in maintenance and other investments in upkeep. Expansion investments are mainly focused on continuously capturing new customers in the bulk segment, on revitalizing and opening points of sale, and on projects related to optimizing storage infrastructure and to energy diversification. The portion focused on maintenance will be directed to the sustaining of the business and includes mainly investments in maintenance of assets, safety and the renovation and remodeling of points of sale.
  • Ultracargo is planning to invest R$317.3 million, of which R$204.4 million will be invested in the expansion of its operations and R$112.9 million in maintenance and other investments in upkeep. The expansion investments will be focused on continuing the expansion of the IQI13 area in the Itaqui port (concession granted in 2021), on the grant of the Vila do Conde terminal, and on the acquisition of land for the construction of a railway branch in Santos. The portion focused on maintenance will be directed to the sustaining of the business and includes mainly investments in maintenance of assets and safety.
  • Ipiranga is planning to invest R$1,376.3 million, of which R$585.0 million will be invested in the expansion of its operations and R$791.3 million in maintenance and other investments in upkeep. Expansion investments will mainly be directed to the branding of service stations with higher levels of throughput and, to a lesser extent, the expansion of capacity and logistics infrastructure on existing bases. The portion focused on maintenance will be directed to the sustaining of the business and includes mainly investments in maintenance of assets, safety and information technology.

C.   Research and development, trademarks and patents

Research and development

Our main research and development activities for the fiscal years ended December 31, 2022, 2021 and 2020 concentrate in the following actions:

Ultragaz carried out a wide range of research and development activities, mainly related to new applications and services for LPG, internet of things and artificial intelligence applied to LPG metering, and new customer relationship channels, such as vending machines for LPG cylinders, called Ultragaz 24h, which operate 24/7 and accept many payment methods. Ultragaz’s investments in research and development have resulted in the introduction of more than 20 new products in different segments. Ultragaz has also expanded LPG uses portfolio to agribusiness, with a solution for grain and seed drying, increasing its productivity.

In 2022, Ipiranga restructured its research and development department, which received higher investment compared to 2021. The goal of this department is to build a portfolio of high-quality products and solutions that are valued and recognized by the market, aligned with Ipiranga’s differentiation strategy. In September 2022, Ipiranga held its first Innovation Day, in partnership with companies such as Bosch, Mahle, ThyssenKrupp and Petrobras, to discuss trends on the future of mobility.

Trademarks and patents

Ipiranga and its subsidiaries owns registrations for the trademarks used in its distribution business, such as Ipiranga, AmPm, Jet Oil, Clube VIP Ipiranga, Clube do Milhão Ipiranga, Posto 24 horas, Atlantic, Gasolina Original Ipiranga (Original Ipiranga Gasoline), “AmPm Estação”, among several others. The 10-year period of validity of the registrations for these trademarks will expire between 2023 and 2033.

The other Company’s subsidiaries also own registrations and applications for its main trademarks, such as (i) Ultragaz, Ultragaz Ultrasystem and Brasilgás trademarks for the activities of Ultragaz, (ii) Ultracargo and Ultradata for the activities of Ultracargo, and (iii) Km de Vantagens and abastece for the activities of abastece . The 10-year period of validity of the registrations for these trademarks will expire between 2023 and 2033.

D.   Trend information

We believe that the following significant market trends are the most important trends affecting our results of operations, and we believe this will continue to have a material impact on our results of operations in the future.

89

LPG business

Any sharp fluctuation in LPG prices may impact on Ultragaz’s results if the company is unable to pass through the costs or if the sales volume is impacted by higher prices. In addition, LPG bulk sales are correlated to economic growth and thus, an acceleration or deceleration in Brazilian GDP growth can affect Ultragaz’s total sales volume. For more information on LPG prices see “Item 4.B. Information on the Company—Business overview—Industry and regulatory overview—A. Distribution of liquefied petroleum gasUltragaz—Prices of LPG.”

In 2021, the exchange rate in Brazil remained mostly at the same level of the beginning of the year, between R$/US$5.40 and R$/US$5.60, so the volatility observed during 2021 can be attributed mainly to international LPG prices. In the first quarter, international prices fell, following the seasonality of the product. After that, just like most commodities prices worldwide, LPG prices increased to the highest levels since 2014. Petrobras followed that trend and adjusted LPG prices several times in 2021, the last of which happened in October.

In 2022, the conflict between Russia and Ukraine has increased volatility in oil prices, mainly in the first semester, with a direct impact on LPG international prices. As a result, Petrobras announced an adjustment to the LPG price in March 2022. In the second semester of 2022, the international oil prices droppedmainly due to the drop in the oil demand caused by the decrease in the world’s economic activity. As a result, in September, November and December of 2022, Petrobras made new adjustments to the LPG prices, reducing them.

According to ANP data, as of December 31, 2022, the total sales volume of LPG decreased 1% compared to 2021, with a decrease of 2% in the bottled segment and an increase of 3% in the bulk segment.

Fuel distribution business

The volume of gasoline and ethanol sold is mainly influenced by the circulating fleet of light vehicles which, according to ANFAVEA, registered approximately 2.0 million of new vehicles licensed in Brazil in 2022. The volume of diesel sold is correlated with the performance of the Brazilian economy, particularly in the agricultural and consumer goods segments. The increase in fuels consumption can positively affect the volume sold by Ipiranga and its results. According to ANP data, the fuel distribution market (which comprises gasoline, ethanol, and diesel) grew by 3% compared to 2021, with an increase of 4% in gasoline and ethanol and 2% in diesel.

E.       Critical Accounting Estimates

The preparation of the Company’s consolidated financial statements requires management to make judgments, estimates and assumptions that affect the application of accounting policies and the reported amounts of assets, liabilities, revenue, and expenses at the end of the reporting period. Actual results may differ from these estimates. Therefore, the Company and subsidiaries’ management use the best information available at the date of preparation of the financial statements, as well as the experience of past and current events, also considering assumptions regarding future events. The estimates and assumptions are reviewed periodically. Such estimates and underlying assumptions are reviewed on an ongoing basis and changes are recognized in the period in which the estimates are revised and in any future periods affected. Our financial statements are presented in IFRS as issued by the IASB. For summary information see Note 2 to our consolidated financial statements.

The following accounting estimates were applied by management in 2022 and were considered critical:

Impairment of non-current assets

The Company and its subsidiaries review in every reporting period the existence of any indication that an asset may be impaired. To intangible assets with indefinite useful life the review is done annually or more frequently when there is indication that such assets might be impaired. If there is an indication of devaluation the Company and its subsidiaries estimate the recoverable amount of the asset. Assets that cannot be evaluated individually are grouped in the smallest group of assets that generate cash inflow from continuous use and that are largely independent of cash flows of other assets (cash generating units, “CGU”). The recoverable amount of assets or CGUs corresponds to the greater of their fair value net of applicable direct selling expenses and their value in use.

The fair value less costs to sell is determined by the price that would be received to sell an asset in an orderly transaction between market participants at the measurement date, net of costs of removing the asset, and direct incremental costs to bring an asset into condition for its sale, legal costs, and taxes.


90


To assess the value in use, the projections of future cash flows, trends, and outlooks, as well as the effects of obsolescence, demand, competition, and other economic factors were considered. Such cash flows are discounted to their present values ​​using the discount rate before tax that reflects market conditions for the period of impairment testing and the specific risks of the asset or CGU being evaluated. In cases where the expected discounted future cash flows are less than their carrying amount, an impairment loss is recognized for the amount by which the carrying value exceeds the fair value of these assets. Losses for impairment of assets are recognized in profit or loss. In case goodwill has been allocated to a CGU, the recognized losses are first allocated to reduce the corresponding goodwill. If the goodwill is not enough to absorb such losses, the surplus is allocated to the assets on a pro-rata basis. An impairment of goodwill cannot be reversed. For other assets, impairment losses are reversed only to the extent that the asset's carrying amount does not exceed the carrying amount that would have been determined, net of depreciation or amortization, if the impairment had not been recognized. 

A reasonably possible change in the most significant assumptions used for the determination of the value in use for the cash generating units would not lead to an impairment loss.

For more details about the judgments, uncertainties related to the assumptions and estimates, and the management analyzes of impacts on the financial statements, see Notes 2.u.2, 2.v and 16.a to our Consolidated Financial Statements.

Recognition of tax credits


The accounting policy applied by the Company considers relevant estimates and judgments for the tax credits recognition and for estimating its recovery. The tax credits are recorded only when management has elements that guarantee (i) that the credit is a legal right; (ii) the amount could be estimated with sufficient reliability to enable it to be compensated or refunded; and (iii) the amounts is recoverable through either offsetting with other tax credits or a tax refund. In cases where the recovery of the asset is not probable, or the amount cannot be reliably measured, the amounts are not recognized, or a provision is recorded.

For more details about the judgments, uncertainties related to the assumptions and estimates, and the management analyzes of impacts on the financial statements, see Notes 2.u.2, 2.z and 8.a.2 to our Consolidated Financial Statements.

Provisions for tax, civil, and labor risks


A provision for tax, civil and labor risks is recognized for quantifiable risks, when the chance of loss is probable in the opinion of management supported by internal and external legal counsel, and the amounts are recognized based on the evaluation of the outcomes of the legal proceedings.

Provisions for tax, civil and labor risks are estimated based on the judgment of the management of the Company, supplemented by the experience of similar transactions, evaluation of available evidence, applicable laws, available jurisprudence and, in some cases, reports from independent experts. The risks and uncertainties that inevitably surround many events and circumstances are considered in reaching the best estimate of a provision.

Management's assessment of our exposure to tax, civil and labor risks may change as new developments occur or as new information becomes available.

For more details about the judgments, uncertainties related to the assumptions and estimates, and the management analyzes of impacts on the financial statements, see Notes 2.u.2, 2.p and 23 to our Consolidated Financial Statements.

91


Realization of deferred tax assets


In order to evaluate the realization of deferred tax assets, we consider the taxable income projections from business plans of each segment of the Company, which indicates trends and perspectives, demand effects, competition and other economic factors, and that represent the management’s best estimate about the economic conditions existing during the period of realization of the deferred tax asset were taken into account. The main key assumptions used to calculate the realization of deferred tax assets are: growth in Gross Domestic Product (“GDP”), exchange rate, basic interest rate (SELIC) and DI, inflation rate, commodity price index, among others.

For more details about the judgments, uncertainties related to the assumptions and estimates, and the management analyzes of impacts on the financial statements, see Notes 2.u.2, 2.n and 10 to our Consolidated Financial Statements.

Business combination


A business combination is accounted for applying the acquisition method. The cost of the acquisition is measured based on the consideration transferred and to be transferred, measured at fair value at the acquisition date. The non-controlling interest in the acquired company is measured based on its interest in net assets identified in the acquired company. Goodwill is measured as the excess of the consideration transferred and to be transferred over the fair value of net assets acquired (identifiable assets and liabilities assumed, net). After the initial recognition, goodwill is measured at cost less any accumulated impairment losses. For impairment testing purposes, goodwill is allocated to the Company’s operating segments. When the cost of the acquisition is lower than the fair value of net assets acquired, a gain is recognized directly in the statement of income. Costs related to the acquisitions are recorded in the statement of income when incurred. For more details about the judgments, uncertainties related to the assumptions and estimates, and the management analyzes of impacts on the financial statements, as well as the sensitivity analysis of the contingent consideration, see Note 33 to our Consolidated Financial Statements.

For more information about our critical accounting estimates, see Note 2.u.2 to our Consolidated Financial Statements.


ITEM 6.              DIRECTORS, SENIOR MANAGEMENT AND EMPLOYEES

A.      Directors and senior management

The following table lists the members of our Board of Directors and senior management as of the date of this annual report: 

Name


Position


Years with the
Company


Age 

Board of Directors


 


 


 

Jorge Marques de Toledo Camargo
Chairman
8
68
Marcos Marinho Lutz(2)
Vice-Chairman
9
53

Ana Paula Vitali Janes Vescovi             


Director


4


54

Fabio Venturelli (¹)        


Director


-


57

Flávia Buarque de Almeida             


Director


4


55

Francisco de Sá Neto (¹)       


Director


-


57

José Mauricio Pereira Coelho             


Director


8


56

Marcelo Faria de Lima (¹)             


Director


-


61

Peter Paul Lorenço Estermann (¹)             


Director


-


65

Executive Officers


 


 


 

Marcos Marinho Lutz (²)              


Chief Executive Officer, Ultrapar


9


53

Rodrigo de Almeida Pizzinatto             


Chief Financial and Investor
Relations Officer, Ultrapar


23


46

Décio de Sampaio Amaral             


Officer, Ultracargo


3


53

Leonardo Remião Linden              


Officer, Ipiranga


5


57

Tabajara Bertelli Costa             


Officer, Ultragaz


27


51



(1) Members of the Board of Directors elected for their first term at the Annual and Extraordinary General Shareholders’ Meeting held in April 2023.
(2) Mr. Lutz was re-elected as Chief Executive Officer of Ultrapar and was elected as the Vice-Chairman of the Board of Directors of the Company at the Annual and Extraordinary General Shareholders’ Meeting held in April 2023. Mr. Lutz was a member of the Board of Directors until December 2021 and took office as Chief Executive Office in January 2022. Mr. Lutz has also served as Ultracargo’s Officer from 2001 to 2003 and held different positions at Ultracargo from 1994 to 1999.
92

Summarized below is information regarding the business experience, areas of experience and principal outside business interest of the current members of our Board of Directors and our senior management.

Board of Directors

Ana Paula Vitali Janes Vescovi. Ms. Vescovi joined Ultrapar in July 2019 as a member of the Board of Directors and the Audit and Risks Committee (as a coordinator from 2021 to 2023). In 2019, Ms. Vescovi became head of macroeconomics at Banco Santander (Brasil) S.A. Ms. Vescovi was the Chairwoman of the Board of Directors of Caixa Econômica Federal from 2017 to 2018. Ms. Vescovi was also secretary of the National Treasury in the Ministry of Finance of the Federative Republic of Brazil from 2016 to 2018 and executive secretary of the Ministry of Finance in 2018. Ms. Vescovi was member of the Board of Directors of IRB – Brasil Resseguros S.A. from 2016 to 2018. She received a degree in economics from Federal University of Espírito Santo in 1990, a master’s degree in economics from the FGV in 1992 and a master’s degree in public policies from the University of Brasília in 2001.

Fabio Venturelli. Mr. Venturelli joined Ultrapar in April 2023 as a member of the Board of Directors and the Strategy Committee. Since 2007, Mr. Venturelli has served as Chief Executive Officer at São Martinho S.A., Bioenergética São Martinho S.A., Bioenergética Santa Cruz S.A., Bioenergética Boa Vista S.A., Bioenergética São Martinho Ltda, São Martinho Logística e Participações S.A., São Martinho Inova S.A., São Martinho Terras Agrícolas S.A. and São Martinho Terras Imobiliárias S.A. Mr. Venturelli has also been a member of the Board of Directors of CTC Centro de Tecnologia Canavieira S.A. since 2015. He served as a member of the Board of Directors at Braskem from 2018 to 2020. Mr Venturelli graduated in production engineering from the University of São Paulo and executive education from the Insead of Fontainebleau at France.

Flávia Buarque de Almeida. Ms. Buarque de Almeida joined Ultrapar in April 2019 as a member of the Board of Directors and was a member of the Strategy Committee until 2023. Currently, she also serves as the coordinator of Ultrapar’s People Committee. She has been a partner at Península Capital S.A. since 2013, Officer from 2013 to 2019, and Chief Executive Officer and member of the Board of Directors since 2019. Ms. Buarque de Almeida has been member of the Board of Directors of O3 Gestão de Recursos Ltda since 2021, where she also served as Officer from 2017 to 2021. She has also been a member of the Board of Directors of Groupe Carrefour since 2017 and W2W E-Commerce de Vinhos S.A. since 2016. Ms. Buarque de Almeida was a member of the Board of Directors of Vitamina Chile S.P.A. from 2019 to 2022, BRF S.A. from 2017 to 2022, and served as Officer at GAEC Educação S.A. from 2014 to 2018. She received a degree in business administration from the FGV in 1989 and holds an MBA from the Harvard Business School in 1994, in addition to extension courses from the Kellogg Graduate School of Management (Northwestern University), Insead and Harvard.

Francisco de Sá Neto. Mr. Neto joined Ultrapar in April 2023 as a member of the Board of Directors and the People Committee. Currently, he is also a member of the Board of Directors at Votorantim Cimentos S.A. and has been a partner at E2F Participações S.A. since 2018. He graduated in civil engineering from the Federal University of Bahia and obtained a master’s degree in finance and organizational behavior from the University of California of Berkeley.

Jorge Marques de Toledo Camargo. Mr. Camargo joined Ultrapar in April 2015 as a member of the Board of Directors and has been a member of the Strategy Committee since 2019 (as a coordinator since 2023), and was a member of the Audit and Risks Committee from 2021 to 2023. Since April 2023, Mr. Camargo has been the Chairman of Ultrapar’s Board of Directors. Mr. Camargo has been a member of the Board of Directors and coordinator of the People, Sustainability and Governance Committee at Vast Infraestrutura S.A. since 2020. He has also been member of the Board of Directors, Strategy Committee and coordinator of the People, Integrity and Sustainability Committee of Prumo Logística S.A. since 2014 and is also a member of the Board of Trustees of Centro Brasileiro de Relações Internacionais (CEBRI). Mr. Camargo served as Chief Executive Officer of IBP from 2015 to 2018 and has been a member of its Board of Directors since 2010. He was also a senior advisor at McKinsey & Comp., Inc. from 2012 to 2019. Mr. Camargo was a member of the Board of Directors of Odebrecht from 2018 to 2019, and a member of Nexans Strategic Advisory Board from 2014 to 2018. He graduated in geology from the University of Brasilia and obtained a master’s degree in geophysics from the University of Texas.

José Mauricio Pereira Coelho. Mr. Coelho joined Ultrapar in April 2015 as a member of the Board of Directors and, since 2019, has been a member of the Audit and Risks Committee, where he has served as coordinator since 2023. He was the Chairman of the Board of Directors of Vale S.A, a position he held from 2019 to 2021, Chief Executive Officer of Previ (Caixa de Previdência dos Funcionários do Banco do Brasil) from 2018 to 2021 and Chairman of the Deliberative Council of ABRAPP (Associação Brasileira das Entidades Fechadas de Previdência Complementar) from 2018 to 2021. He was also a member of the Board of Directors from 2015 to 2018 and Chief Executive Officer from 2017 to 2018 of BB Seguridade Participações. Mr. Coelho served as a member of the Board of Directors of Instituto Brasileiro de Resseguros from 2017 to 2019, Confederação Nacional das Empresas de Seguros Gerais, Mapfre BB SH2 Participações S.A., BB Mapfre SH1 Participações S.A. and Brasilprev Seguros e Previdência S.A. from 2017 to 2018. He obtained a degree in accounting from the Unigranrio University in Rio de Janeiro in 1990 and an MBA in finance and capital markets, with specialization in corporate governance from the FGV in Rio de Janeiro.

93

Marcelo Faria de Lima. Mr. Lima joined Ultrapar in April 2023 as a member of the Board of Directors and the Audit and Risks Committee. He has also served as the Chairman of the Board of Directors of Kilmasan Klima Sanayl ve Ticaret AS since 2009, of Metalfrio Solutions S.A. since 2004 and of Restoque Comércio e Confecção de Roupas S.A. since 2008. He received a degree in economics from the Pontifical Catholic University of Rio de Janeiro.

Marcos Marinho Lutz. Lutz joined Ultrapar in April 2021 as a member of the Board of Directors and, since January 2022, has held the position of Chief Executive Officer of Ultrapar. Since April 2023, Mr. Lutz has been the Vice-Chairman of Ultrapar’s Board of Directors and a member of the People Committee. He also holds a position as Director of Ultra S.A. Participações since 2021. Mr. Lutz has been a member of the Board of Directors of Votorantim S.A. since 2020 and of Corteva Agriscience since 2019. He also served as a member of the Board of Directors of Rumo Logística S.A. from 2008 to 2020, and as the Chairman in 2020. Mr. Lutz was a member of the Board of Directors of Comgás S.A. from 2018 to 2020, of Raízen S.A. from 2013 to 2020, of Moove S.A. from 2008 to 2020 and of Monsanto S.A. from 2014 to 2018. Mr. Lutz was Chairman of the Infrastructure Council of FIESP (Federação das Indústrias do Estado de São Paulo) from 2015 to 2021 and Chief Executive Officer of Cosan S.A. – Indústria e Comércio from 2009 to 2020. He graduated as a naval engineer from the University of São Paulo and holds an MBA in marketing, operations and logistics from the Kellogg School of Management.

Peter Paul Lorenço Estermann. Mr. Estermann joined Ultrapar in April 2023 as a member of the Board of Directors and the Strategy Committee. He is a Partner and Chief of Portfolio Management at Pátria Investimentos since 2021. Mr. Estermann was Chief Executive Officer of Grupo Pão de Açúcar from 2018 to 2020 and of Via Varejo S.A. from 2015 to 2018. Mr. Estermann graduated in agronomy engineering from the Federal University of Lavras and has a post-graduate degree from the Harvard Business School.

Executive Officers

Marcos Marinho Lutz. See "—Board of Directors."

Rodrigo de Almeida Pizzinatto. Mr. Pizzinatto joined Ultrapar in 1999 as an intern and, since then, has worked in different areas of the Company, including treasury, M&A, corporate planning, and investor relations. From 2012 to 2014, Mr. Pizzinatto was Ultrapar’s officer of M&A, Corporate Planning, and Investor Relations. From 2014 to 2018, Mr. Pizzinatto served as Extrafarma’s officer, responsible for different areas during his tenure, such as expansion, marketing, commercial and logistics. In June 2018, he was named Chief Executive Officer of Extrafarma, leading a strategic revision and turnaround plan for the company. In October 2020, he was nominated Ultrapar’s Chief Financial and Investor Relations Officer. Mr. Pizzinatto holds an MBA from the Stanford Graduate School of Business and a bachelor’s degree in business administration from the FGV.

Décio de Sampaio Amaral. Mr. Amaral joined Ultrapar in 2020. With 28 years of experience in logistics, supply chain, operations and project management, Mr. Amaral held leadership positions in Itautec-Philco, Souza Cruz and Vale. From 2017 to 2018, he was the Chief Executive Officer of Camargo Correa Infraestrutura. Mr. Amaral graduated in engineering at ITA (Instituto Tecnológico de Aeronáutica) and in industrial management at Fundação Vanzolini, and he holds a master’s degree in finance from the IBMEC and completed executive programs in IMD and MIT.

Leonardo Remião Linden. Mr. Linden joined Ultrapar in 2017 as Chief Executive Officer of Iconic and, in April 2021, he took over as Commercial Vice President in Ipiranga. Since October 2021, Mr. Linden holds the position of Chief Executive Officer of Ipiranga. He is currently the Chairman of the Board of Directors of ICONIC Lubrificantes and was a member of the Board of Directors of Associação Brasileira de Downstream from 2020 to 2021 and of the Board of Directors of Plural from 2017 to 2020. Mr. Linden has a long executive career in the fuels sector in Brazil and overseas. Prior to joining the Company, he formerly served as Strategic Planning and M&A Vice President from 2014 to 2015, and Marketing Vice President from 2011 to 2014 at Raízen. Mr. Linden also served as Sales and Marketing Vice President at Cosan from 2008 to 2011, after an international career at ExxonMobil between 1990 and 2008. He graduated in business administration from Federal University of Rio Grande do Sul, with specializations in the University of North Carolina, the Kellogg Business School, and the Thunderbird Executive Education.

Tabajara Bertelli Costa. Mr. Bertelli initiated his career at Ultrapar in 1995 in the finance department and moved to Ultragaz in 2000, where he established a solid career, predominantly in commercial areas. In 2015, he was transferred to Ipiranga, as an officer, to the recent developed department dedicated to Large Consumers Market (B2B) and had the opportunity to develop and consolidate a differentiated strategy to its customers. In January 2019, Mr. Bertelli became Chief Executive Officer of Ultragaz. Mr. Bertelli graduated in industrial engineering and holds a master’s degree in business management, both from the University of São Paulo, and a post-graduation in finance at FGV. Mr. Bertelli also attended the STC – Skills, Tools and Competences from the Kellogg Business School in 2010.

94

B.   Compensation

The purposes of our compensation policy and practices for our management are (i) to align executives’ and shareholders’ interests, based on the principle of sharing risks and returns and a long-term value generation view, (ii) to converge individual goals to the Company’s long-term strategy and sustainability, (iii) to foster autonomy with accountability, recognizing distinguished performance and reinforcing meritocracy; and (iv) to be competitive vis-à-vis the relevant market, enabling attraction and retention of the best professionals to manage the Company.

Following these principles, we adopt a competitive compensation plan that includes the use of financial, operational and value creation metrics to establish variable compensation targets, benefits aligned with market practices and long-term stock-based incentive plan.

Pursuant to Ofício Circular/CVM/SEP/Annual/2023 starting in 2020, we ceased to report social charges paid by employer as management compensation information.

For the year ended December 31, 2022, the Company recognized an aggregate compensation for our Board of Directors, Fiscal Council and Executive Officers of R$66.8 million in its financial statements. The compensation does not consider the social charges paid by the employer as management compensation information, pursuant to Ofício Circular/CVM/SEP/Annual/2022. The numbers are distributed as follows:

2022 Board of Directors
Executive Officers
Fiscal Council
Total

(in thousands of Reais, except for the number of members)
Number of members (1) 10.00
6.25
6.00 (2)
22.25

Annual fixed compensation

10,267.8


15,752.0


796.4


26,816.2


Salary

10,267.8


12,008.4


796.4


23,072.6


Direct and indirect benefits

0.00


3,743.6


0.00


3,743.6


Variable compensation

0.00


25,756.4


0.00


25,756.4


Short-term variable compensation

0.00


25,756.4


0.00


25,756.4


Long-term variable compensation

0.00


0.00


0.00


0.00


Post-employment benefits

0.00


1,331.7


 0.00


1,331.7


Benefits upon termination of employment

0.00


0.00


 0.00


0.00


Stock-based compensation

0.00


12,859.5


 0.00


12,859.5


Total compensation

10,267.8


55,699.5


796.4


66,763.7




(1)       Average number of members in the period.

(2)       Only three members are compensated in the Fiscal Council.

The table below shows the higher, lower, and average individual compensation recognized in our financial statements for our Directors and Executive Officers in 2022:

Body

Number of members


Highest individual compensation


Lowest individual compensation


Average individual compensation


 

(in thousands of Reais, except for the number of members)


Board of Directors

10.0


2,100.0


630.0


1,026.8


Statutory Executive Officers

6.3


17,700.5


6,317.4


8,911.9


Fiscal Council

3.0


336.5


230.0


265.5


 

95

The main components of our management compensation plan are:

  • Fixed compensation (salary and direct and indirect benefits): a monthly amount paid with the purpose of compensating the responsibility and complexity inherent to each position, the individual contribution, experience of each professional and market practices.
  • Short-term variable compensation: an annual amount paid in order to align the interests of the executives with those of the Company. This amount is linked to Company’s economic performance, and the achievement of annual individual goals. All targets related to the Company’s and the individual executive’s performance are established in accordance with the strategic planning. Since 2022, at least 1/3 of the individual goals for executive officers has been related to the ESG agenda specifically designed for each officer.
  • Stock-based incentive plan: Ultrapar has adopted stock-based incentive plan to reinforce the alignment between the long-term interests of executives and shareholders and to retain executives and make a relevant portion of their compensation contingent on shareholder value generation. According to the terms of the stock plan in force since 2017, there are three different programs: (i) one plan is tied exclusively to executives’ period of permanence with the Company, and the other two cover two equal portions: (ii) one for retention, contingent on continued ties with the Company, and (iii) the other contingent on the attainment of financial targets previously set by the Board of Directors. Since 2020, grants were set based on economic value-added (EVA®), in line with the Company’s Strategic Plan. The Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023 approved a new stock-based incentive plan since the limit of shares to be granted under the plan approved in 2017 was reached and also includes members of the Company’s Board of Directors.
  • Post-employment benefits: In February 2001, the Company’s Board of Directors approved the adoption of a defined contribution pension plan to be sponsored by the Company and its subsidiaries. Participating employees have been contributing to this plan, managed by Ultraprev (Complementary Pension Association), since August 2001. Each participating employee chooses his/her basic contribution to the plan, up to a limit of 11% of employee’s reference salary, according to the rules of the plan. Each sponsoring company provides a matching contribution in an amount equivalent to each basic contribution.

Since 2003, Ultrapar has adopted a stock-based incentive plan pursuant to which certain executives have the voting and economic rights of shares held in treasury for a period of five to seven years from the initial grant of the rights. Following this period, Ultrapar transferred the full ownership to those executives subject to uninterrupted employment of the participant during the period. The number of shares and the executives eligible to this stock plan were determined by the Board of Directors, and there is no mandatory annual grant. The total number of shares to be used in the plan is subject to the number of shares in treasury and to the limit established in the plan. The fair value of the awards is determined on the grant date based on the market value of the shares on the B3 and the amounts are amortized between five to seven years from the grant date. As of December 31, 2022, the amount granted to the Company’s executives, including tax charges, totaled R$9.7 million. In 2022, an amortization in the amount of R$1.2 million was recognized as a general and administrative expense.

The stock plan approved in 2017 established the terms and general conditions for granting common shares issued by the Company held as treasury stock which might or might not involve awarding usufruct over any portion thereof for subsequent transfer of ownership for periods from three to six years to officers or employees of the Company or its subsidiaries. As a result, common shares representing up to 1% of the Company’s share capital may be delivered to the participants, which corresponds, at the date of approval of this Plan, to 11,128,102 common shares. This limit was modified to reflect the split of shares approved at the Annual and Extraordinary General Shareholders Meeting held on April 10, 2019 and implemented on April 24, 2019. As of December 31, 2022, the amount granted to the Company’s executives, including tax charges, totaled R$244.3 million. In 2022, an amortization in the amount of R$38.2 million was recognized as a general and administrative expense.

The chart below sets forth a historical summary of the vested and unvested shares granted to the members of our Board of Directors, Executive Officers, and members of our Fiscal Council as of December 31, 2022:

 

December 31, 2022


Body

Shares granted


Transferred Shares


Board of Directors

N/A


N/A


Executive Officers

3,559,886 (1)


412,535


Fiscal Council

N/A


N/A


(1) In addition to the number indicated in the above table shares granted, 260 thousand shares will be transferred to the Executive Officers as performance shares, the transfer being conditional on the achievement of economic and financial targets by the Company over the vesting period. The number of performance shares varies from 0% to 150%.

96

The new stock-based incentive plan approved by the shareholders at the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023 establishes the terms and general conditions for granting common shares issued by the Company held as treasury stock, which may or may not, involve awarding usufruct over any portion thereof for subsequent transfer of ownership to the Board of Directors, officers or employees of the Company or its subsidiaries. The total number of shares to be delivered to the participants shall be subject to the availability of such shares held in treasury and shall be limited to 5% of the capital stock on the date of the plan’s approval on April 19, 2023, which corresponds to 55,760,215 shares. Annually, 1% of the Company's capital stock may be granted. Also, for the members of the Board of Directors, 40% of the compensation of each member for the whole term of office is going to be granted in restricted stock, at the beginning of each term, with vesting at the end of the term of office and lockup period of 2 years after the transfer of the ownership of the shares.

C.       Board practices

The management is composed of the Board of Directors and our Executive Officers. As of December 31, 2022, our Board of Directors, consisted of ten members, all of them being non-executive members and six of whom were independent, according to the Brazilian Novo Mercado Listing Rules. One member of the Board was an executive officer until December 2012 and one member was an executive officer until December 2021. Three of the non-independent members are related, directly or indirectly, to Ultra S.A., namely, Pedro Wongtschowski, Alexandre Teixeira de Assumpção Saigh and Otávio Lopes Castello Branco Neto.

On September 22, 2021, we announced the succession plan of the leadership of our Board of Directors, developed under the leadership of the Chairman of the Board at that time, Pedro Wongtschowski, whose mandate ended on April 19, 2023. As part of such plan, Marcos Lutz left his position as a member of the Board of Directors and assumed the position of Chief Executive Officer of the Company effective as of January 2022, succeeding Frederico Curado, who assumed the position of Vice-Chairman of the Board of Directors, after Lucio de Castro Andrade Filho retired at the end of 2021. 

On April 19, 2023, the Annual and Extraordinary General Shareholders’ Meeting elected the Board of Directors for a two-year term. Our Board of Directors now consists of 9 members, being 7 independent members, one member related indirectly to Ultra S.A., and Mr. Marcos Lutz, who is a shareholder of Ultra S.A., and acts as Chief Executive Officer of the Company. The Board decided to elect Mr. Marcos Lutz to the position of Vice-Chairman of the Board of Directors and re-elect to the position of Chief Executive Officer of Ultrapar.

Our Board of Directors must meet every three months and extraordinarily whenever called by its chairman or by any two directors. During 2022, 9 Board meetings were held.

Each meeting of the Board of Directors requires the majority of the members to be present, including the Chairman or the Vice-Chairman, before the meeting may commence. The vote of the majority of the members present is required for the approval of a resolution by the Board of Directors. In case of a tie, the Chairman, or in the Chairman’s absence, the Vice-Chairman, will provide the casting vote. In case of urgency, the Chairman of our Board of Directors (or a third party that he/she may appoint) may call a special meeting of the Board of Directors with a shorter notice period than the usual; provided, however, that two-thirds of Board members are present in order to commence such special meeting. Among other responsibilities, the Board of Directors is responsible for (i) setting general guidelines, (ii) electing and removing executive officers, supervising their management and fixing their compensation, (iii) deliberating on the issuance of new shares, within the limits of our authorized capital, (iv) authorizing the distributions of dividends and interest on shareholders’ equity, (v) approving transactions with value exceeding 5% of our shareholders’ equity, (vi) approving our dissolution or merger and (vii) select and dismiss the independent auditors. Pursuant to the Brazilian law, the Board of Directors must be elected by the shareholders at the General Shareholders’ Meeting.

Members of the Board of Directors are elected for a period of two years and may be reelected.

Our Bylaws require that at least 1/3 or two, whichever is higher, of the members of our Board of Directors be independent directors, which exceeds the 20% required by the Novo Mercado listing rules. In addition, our Bylaws sets forth that the election of the members of the Board of Directors must be made through the nomination of a slate of candidates, unless cumulative voting is requested. Only the following slates of candidates will be eligible: (i) those nominated by the Board of Directors; or (ii) those nominated by any shareholder or group of shareholders. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

When electing members to the Board of Directors, shareholders will be entitled to request, as required by law and our Bylaws, the adoption of a cumulative voting process, provided that they do so within, at least, forty-eight hours in advance of the General Shareholders’ Meeting. The minimum percentage of capital necessary for requesting the cumulative voting process is 5% of the shares. In the event the election has been conducted by cumulative voting, the removal of any member of the Board of Directors by the shareholders’ meeting shall entail the removal of the other members, giving rise to a new election. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

97

Executive Officers

As of the date of this annual report, our Board of Executive Officers was comprised of 5 members, including our Chief Executive Officer.

Members of the Board of Executive Officers are elected for a two-year term and can be reelected. For the dates on which our executive officers began holding their respective position, see “Item 6.A. Directors, senior management and employees—Directors and senior management.”

Fiscal Council

Under the Brazilian Corporate Law, the Fiscal Council is a separate corporate body independent of the management and the independent auditors and it may operate on a permanent or non-permanent basis. According to the Brazilian Corporate Law, a Fiscal Council acting on a non-permanent basis is required to be formed when requested by 10% of voting shareholders in an Annual General Shareholders’ Meeting. However, pursuant to the CVM Resolution 70/22, in the case of Ultrapar, holders of 2% of the voting capital are entitled to request the installation of the Fiscal Council. The elected members of the Fiscal Council will remain in place only until the following Annual General Shareholders’ Meeting, in which they may be reelected by our shareholders. The Fiscal Council must meet at least four times per year. Since its establishment, in July 2005, our Fiscal Council has been meeting on a regular basis, and in 2022, it held 8 meetings.

Under the Brazilian Corporate Law, individuals who are members of our Board of Directors or our Board of Executive Officers or are employees or spouses or relatives of any member of our management are not eligible to serve on the Fiscal Council. To be eligible to serve on our Fiscal Council, a person must be a resident of Brazil and either hold a university degree or have been a Company officer or Fiscal Council member of another Brazilian company for at least three years prior to election to our Fiscal Council. Our Fiscal Council, when installed, shall have the duties and obligations provided by the Brazilian Corporate Law, which includes, among others, the examination of the statements of financial position and other financial statements periodically prepared by the Company, at least every three months, and the examination of the accounts and financial statements for the fiscal year and issue an opinion on them. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

As set forth in our Bylaws, our Fiscal Council operates on a non-permanent basis and, when installed by the general shareholders’ meeting, is composed of three effective members and an equal number of alternate members. As of December 31, 2022, our Fiscal Council was composed of Mr. Flavio Cesar Maia Luz, Mr. Geraldo Toffanello and Mr. Nilson Martiniano Moreira as effective members. These members served a term from April 2022 through April 2023.

At the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023, Flavio Cesar Maia Luz was reelected for another term, whereas Geraldo Toffanello and Nilson Martiniano Moreira were replaced by Élcio Arsenio Mattioli and Marcelo Gonçalves Farinha. At the same meeting, the shareholders approved the payment of a monthly compensation in the amount of R$20.0 thousand for each effective (non-alternate) member of the Fiscal Council, except for the Chairman of the Fiscal Council, whose compensation was set at R$30.0 thousand per month.

As of the date hereof, the composition of our Fiscal Council considering both effective and alternate members is as follows:

Name


First year of
appointment


Flavio Cesar Maia Luz             


2021


Márcio Augustus Ribeiro (alternate)             


2007


Élcio Arsenio Mattioli             


2023


Pedro Ozires Predeus (alternate)             


2005


Marcelo Gonçalves Farinha             


2023


Sandra Regina de Oliveira (alternate)             


2021


As of the date of this annual report, the position of Chairman of the Fiscal Councial had not yet been defined. Summarized below is the information regarding the business experience, areas of experience and principal outside business interests of the current effective members of our Fiscal Council.

98


Flavio Cesar Maia Luz. Mr. Luz was the Chairman of the Fiscal Council of Ultrapar from 2005 to 2019, resuming his position as Chairman of the Fiscal Council for the term of 2021 to 2022. Mr. Luz also served as Coordinator of our Audit and Risks Committee from 2019 to 2021. In addition, he is a member of the Board of Directors and Audit Committee Coordinator of Ser Educacional S.A. and Livetech Indústria e Comércio S.A. He is also a member of the Audit Committee of Omega Energia S.A. and CTC Centro de Tecnologia Canavieira and a member of the Advisory Board of Brasanitas Empresa Brasileira de Saneamento Ltda. Mr. Luz served as a member of the Board of Directors of Marcopolo S.A. from 2016 until 2018. Mr. Luz also served as member of the Fiscal Council of Itaúsa S.A., Duratex S.A. Linx S.A and CTEEP S.A. Mr. Luz received a degree in civil engineering from University of São Paulo and a post-graduate degree in business administration from the FGV. He also holds certificates of continuing education programs in finance, marketing strategy, negotiation and mergers & acquisitions, from the Harvard Business School, the Stanford University, the California University (Berkeley) and the Wharton Business School, respectively.

Élcio Arsenio Mattioli. Mr. Mattioli has been a member of the Fiscal Council since April 2023. He also is a member of the Fiscal Council of Ultraprev (Complementary Pension Association). Also, he served as Administration and Control Officer at Imifarma Produtos Farmacêuticos e Cosméticos S.A. from 2014 to 2022. Mr. Mattioli graduated in accounting sciences from College of Economics São Luiz and holds an MBA in business management from the FGV.

Marcelo Gonçalves Farinha. Mr. Farinha has been a member of the Fiscal Council since April 2023. Mr. Farinha also served as an alternate member of the Fiscal Council of HMOBI Participações S.A. from 2022 to 2023, as Commercial Director from 2020 to 2022, Chief Executive Officer from 2019 to 2020 and Managing, Financial, Risk and Control Director from 2017 to 2019 at Brasilcap Capitalização S.A. He graduated in civil engineering and holds a master’s degree in business economics from the Federal University of Uberlândia. He also holds an MBA in advanced finance from the University of São Paulo.

Committees of the Board of Directors

Audit and Risks Committee

Our Bylaws, as approved at the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023, establish the audit and risks committee as an ancillary body of the Board of Directors. Pursuant to SEC and NYSE requirements, the audit and risks committee shall be comprised of at least three members, all of them members of the Board of Directors and all of them being independent. As required by the applicable regulations of the CVM, at least one member shall have recognized experience in corporate accounting matters. As of the date of this annual report, the Audit and Risks Committee appointed Mr. José Mauricio Pereira Coelho to act as financial expert as that term is defined by the SEC in its final rules implementing Section 407 of the Sarbanes-Oxley Act of 2002. A single member of the audit and risks committee may concentrate the foregoing requirements. All members shall be elected by the Board of Directors for a term of office of two years, and the term shall coincide with the term of office of the Directors. The member of the Audit and Risks Committee who ceases to hold said position may only rejoin the Committee after at least three years have elapsed since the end of the term of office.

The audit and risks committee shall (a) recommend to the Board of Directors the retention and dismissal of independent audit services, as well as propose to the Board of Directors the nomination of the independent auditor and their replacement; (b) review the management report and the financial statements of the Company and of its controlled companies, and provide the recommendations it deems necessary to the Board of Directors; (c) review the quarterly financial information, interim statements, and financial statements prepared by the Company; (d) monitor the activities of the Company’s internal audit and internal controls departments, including follow-up and assessment of the effectiveness and sufficiency of the internal control structure and of the internal and independent audit processes of the Company and of its controlled companies, including in relation to the provisions set forth in the Sarbanes-Oxley Act, submitting the recommendations it deems necessary for the improvement of policies, practices and procedures; (e) evaluate and monitor the Company’s risk exposure per the Risk Management Policy, as well as provide its opinion on any review of the contents thereof, in addition to advising the Board of Directors in connection with the setting of acceptable risk levels; (f) review, monitor and recommend to management any corrections or improvements to be made to the Company’s corporate policies, including the Related Party Transaction Policy; (g) establish procedures for the acceptance and handling of information submitted by any party relating to alleged noncompliance with applicable legal and regulatory requirements applicable to the Company, in addition to internal regulations, policies and codes, including procedures for confidential or anonymous submission, safeguarding information secrecy; (h) interact with the other Company’s governing bodies in connection with the receipt and review of information on noncompliance with legal and regulatory requirements applicable to the Company, as well as with internal regulations, policies and codes; and (i) provide its opinion on the matters submitted to it by the Board of Directors, as well as on those matters it determines to be relevant. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

99

As of December 31, 2022, Ms. Ana Paula Vitali Janes Vescovi (who also acted as coordinator of the committee), Mr. Jorge Marques de Toledo Camargo and Mr. José Mauricio Pereira Coelho were members of the audit and risks committee appointed by our Board of Directors at its meeting held on April 14, 2021, for a two-year term, which term coincides with the term of office of the Directors.

As of the date of this annual report, the composition of the Audit and Risks Committee is as follows:

Name


First year of
appointment 


José Mauricio Pereira Coelho (coordinator and financial expert)


2019


Ana Paula Vitali Janes Vescovi


2019


Marcelo Faria de Lima


2023


Although our Bylaws only require a majority of independent directors, the totality of our audit and risks committee members meet the applicable independent membership requirements of the SEC and the NYSE.

For information regarding the business experience, areas of experience and principal outside business interests of the current members of our audit and risks committee, see “Item 6.A. Directors, senior management and employeesDirectors and senior management—Board of Directors.”

People Committee

Our Bylaws establish the people committee as an ancillary body of the Board of Directors. The people committee shall comprise mostly Directors, with at least two independent Directors, and its duties shall be as follows: (a) propose to the Board of Directors the compensation to be paid to the directors and executive officers and senior employees of the Company and its controlled companies, to the members of the committees and of other governing bodies assisting the Board of Directors, pursuant to the proposal received from the Chief Executive Officer, and periodically revise the parameters and guidelines and, as a result, the compensation policy and other benefits of the Company and its controlled companies; (b) propose to the Board of Directors, pursuant to the proposal received from the Chief Executive Officer, the overall compensation of the directors and executive officers of the Company, which shall be submitted to the shareholders’ meeting, and propose the individual compensation of the Board of Executive Officers; (c) ensure that the Company prepares itself adequately for the succession of its directors, executive officers and other key employees, particularly the Chief Executive Officer and the statutory executive officers; and (d) carry out diligence and supervise the steps taken to ensure that the Company adopts a model of competence and leadership, attraction, retention and motivation in line with its strategic plans. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

The people committee was installed by the Board of Directors at the meeting held on November 9, 2011. As of December 31, 2022, Mr. José Galló (who also acted as coordinator of the committee), Mr. Alexandre Teixeira de Assumpção Saigh and Mr. José Luiz Alquéres were members of the people committee as appointed by the Board of Directors at the meeting held on April 14, 2021 for a two-year term, that coincide with the term of office of the Directors. With the retirement of Mr. Lucio de Castro Andrade Filho, Mr. Frederico Pinheiro Fleury Curado was appointed to replace him at the committee as of January 3, 2022.

As of the date of this annual report, the composition of the People Committee is as follows:

Name


First year of
appointment 


Flávia Buarque de Almeida


2023


Francisco de Sá Neto


2023


Marcos Marinho Lutz


2023


Strategy Committee

Our Bylaws establish the strategy committee as an ancillary body of the Board of Directors. The strategy committee shall be responsible for advising the Board of Directors and its duties shall be as follows: (a) drafting and monitoring of the Company’s strategic plans and budgets; (b) to provide its opinion on, and monitor, the Company’s strategic partnerships and main investments, as provided in the Investment Policy; and (c) to provide its opinion on the capital allocation strategy and on the management of the Company’s portfolio, including mergers and acquisitions. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”


100

As of December 31, 2022, Mr. Pedro Wongtschowski (who also acted as coordinator of the committee), Ms. Flávia Buarque de Almeida, Mr. Jorge Marques de Toledo Camargo and Mr. Frederico Pinheiro Fleury Curado were members of the strategy committee appointed by the Board of Directors for a two-year term, that coincide with the term of office of the Directors. Mr. Wongtschowski, Ms. Almeida and Mr. Camargo were appointed by the Board of Directors at a meeting held on April 14, 2021, whereas Mr. Curado was appointed to replace Mr. Marcos Marinho Lutz (our current Chief Executive Officer), on February 23, 2022.

As of the date of this annual report, the composition of the Strategy Committee is as follows:

Name


First year of
appointment


Jorge Marques de Toledo Camargo (coordinator)


2021


Fabio Venturelli


2023


Peter Paul Lorenço Estermann


2023


Corporate governance

We are incorporated under the laws of Brazil, and we are subject to Brazilian laws related to corporate governance. Under the Brazilian Corporate Law, there are no legal requirements with respect to corporate governance regarding (i) meetings of non-management directors, (ii) the mandatory establishment and composition of certain board committees or (iii) the adoption and disclosure of corporate governance guidelines or codes of business conduct and ethics. As a non-U.S. issuer, we are exempt from adopting certain NYSE corporate governance requirements. However, we aim to ensure that best practices, recommendations, and standards of corporate governance are employed in our functioning and operations. As of December 31, 2022, we had adopted corporate governance practices, such as the requirement that at least 30% of the members of the Board of Directors be independent, the implementation of a code of ethics for Ultra S.A., Parth, senior officers and all employees, and the implementation of the strategy, people and audit and risks committees. It is worth noting that currently the Board of Directors is composed of 78% of independent members. According to our Bylaws, the Fiscal Council acts on a non-permanent basis and should be installed when requested by our shareholders as set forth in Brazilian Corporate Law.

In 2000, B3 introduced three special listing segments, known as Levels 1 and 2 of Differentiated Corporate Governance Practices and Novo Mercado, which seek to foster a secondary market for securities issued by Brazilian companies with securities listed on B3, by requiring such companies to follow good practices of corporate governance. The listing segments were designed for the trading of shares issued by companies voluntarily abiding by corporate governance practices and disclosure requirements in addition to those already imposed by the Brazilian Corporate Law. These rules generally increase shareholders’ rights and enhance the disclosure of information provided to shareholders.

In 2005, we entered into an agreement with B3 and have complied with the requirements to become a Level 1 Company, which is the entrance level of the Differentiated Corporate Governance Practices of B3.

In 2011, the Extraordinary General Shareholders’ Meeting and the Special Preferred Shareholders’ Meeting approved the conversion of each preferred share into one common voting share, the migration of Ultrapar to Novo Mercado segment, the highest level of governance of B3, and amendments to our Bylaws. See “Exhibit 2.3—Rules of the Novo Mercado.”

In 2017, new Listing Rules for the Novo Mercado were approved by the CVM and became effective as of January 2, 2018.

Some of the modifications of the Novo Mercado Listing Rules include the following requirements: (i) set up an audit committee (statutory or non-statutory); (ii) structure and disclose a process of assessment of the Board of Directors, its committees and the executive officers; (iii) establish and disclose a Code of Conduct, as well as a Compensation Policy, a Nomination Policy for the Board of Directors, its Committees and Executive Officer, a Risk Management Policy, a Related Party Transaction Policy and a Securities Trading Policy, all of them with minimum requirements.

Our policies and Bylaws are already adapted to the listing requirements of Novo Mercado. In addition, we have provisions that exceed such requirements. For example, according to the rules of Novo Mercado, the minimum percentage of independent members of the Board of Directors is set at 20%, while a minimum of 1/3 is required in our Bylaws. Our Bylaws also establish a mandatory tender offer for 100% of the Company’s shareholders in the event a shareholder, or a group of shareholders acting in concert, acquire or become holder of 20% of the Company’s shares, excluding treasury shares. Our Bylaws do not establish any limitation on voting rights, special treatment to current shareholders, public tender offers for a price above that of the acquisition price of shares or any other poison pill provisions, thus assuring the effectiveness of a majority shareholders’ approval on all matters to be deliberated. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

101

Termination agreements

Not applicable.

D.        Employees

As of December 31, 2022, we had 9,778 employees. The following table sets forth our number of employees per line of business at the dates indicated:

 

As of December 31,


 

Number of employees (1)



   2022


   2021


   2020


SSC and others 

691


564


399


Holding

133


130


126


Ultragaz

3,505


3,387


3,397


Ultracargo

830


870


926


Ipiranga

4,619


3,907


3,326


Ultrapar

9,778


8,858


8,174


(1) Excluding interns, apprentices, on leave and retirees.

Ultrapar’s employees are covered by collective agreements with the labor unions that represent different industry sectors: Ultragaz in the gas and oil products sectors; Ipiranga in the fuel distribution sector; Ultracargo in the storage sector; and Holding and abastece in the trade union of accounting service companies since January 2020. All agreements, signed between the companies and labor unions of each sector, addresses social, financial, labor union and labor relations issues.

In 2001, our Board of Directors approved the adoption of a defined contribution pension plan to be sponsored by Ultrapar and each of its subsidiaries. Participating employees have been contributing to this plan, managed by Ultraprev (Complementary Pension Association), since 2001. Under the terms of the plan, every year each participating employee chooses his/her basic contribution to the plan. Each sponsoring company provides a matching contribution in an amount equivalent to each basic contribution, up to a limit of 11% of the employee’s base salary, according to the rules of the plan. As participating employees retire, they may choose to receive either (i) a monthly sum ranging between 0.3% and 1.0% of their respective contribution (including accumulated funds) in Ultraprev or (ii) a fixed monthly amount which will exhaust their respective contribution (including accumulated funds) over a period of 5 to 35 years. The sponsoring company does not guarantee the amounts, or the duration of the benefits received by each employee that retires. The total number of participating employees as of December 31, 2022 was 5,830.

E.        Share ownership

In accordance with our Bylaws, our common shares are our sole class of capital stock authorized and outstanding. They entitle their holders to voting rights on any matter. See “Item 6.C. Directors, senior management and employees—Board practices—Corporate governance.”

On April 10, 2019, the Annual and Extraordinary General Shareholders’ Meeting approved a stock split of the shares issued by Ultrapar, so that each share was replaced by two shares of the same class and type, and Ultrapar’s capital stock became composed of 1,112,810,192 common shares. The stock split did not involve any change in the capital stock, therefore being no alteration in the financial amount and shareholder participation in the Company’s capital stock. The share split was implemented on April 24, 2019, which was also the date that the corresponding stock split of our american depositary shares was implemented.

Since February 2020, the Company’s Board of Directors confirmed the issuance of 2,394,099 common shares, within the authorized capital limit provided by the Article 6 of our Bylaws, due to the partial exercise of the rights conferred by the subscription warrants issued by the Company as a result of the merger of all Extrafarma shares into the Company as approved by the Extraordinary General Meeting held on January 31, 2014. For more information about these subscription warrants, see Note 24 to our Consolidated Financial Statements. As of the date of this annual report, our subscribed and paid-in capital stock consisted of 1,115,204,291 common shares, all of which have equal voting and equity rights.

102

The table below sets forth the number of our common shares beneficially owned, as of April 14, 2023, by each of our current directors and executive officers including through their participation in Ultra S.A.:

 

Total


 

Common shares


% 


Board of Directors

 


 


Jorge Marques de Toledo Camargo
0%
Marcos Marinho Lutz(2)(3) 16,538,919
1%

Ana Paula Vitali Janes Vescovi             


0%


Fabio Venturelli (1) 


0%


Flávia Buarque de Almeida             


0%


Francisco de Sá Neto (1)   

16,568


0%


José Mauricio Pereira Coelho             


0%


Marcelo Faria de Lima (1)


0%


Peter Paul Lorenço Estermann (1)


0%


Executive Officers

 


 


Rodrigo de Almeida Pizzinatto (3)

891,089


0%


Décio de Sampaio Amaral (3)

559,161


0%


Leonardo Remião Linden (3)

701,900


0%


Tabajara Bertelli Costa (3)  

953,332


0%


 

 


 


Board of Directors and Executive Officers             

19,660,969


2%


Total              

1,115,204,291


100%




(1) Members of the Board of Directors elected for their first term at the Annual and Extraordinary General Shareholders’ Meeting held in April 2023.
(2) Individual who beneficially own shares through his participation in the holding company Ultra S.A. See “Item 7.A. Major shareholders and related party transactions—Major shareholders. Also, includes the ownership of 49.9% of IgelPar. See “Item 4.A. Information on the Company—History and development of the Company—Corporate events.”
(3) Executives who were granted shares through the Deferred Stock Plan.

Since 2003, Ultrapar has adopted stock-based compensation plans to certain executives. For more information about these plans, see “Item 6.B. Directors, senior management and employees — Compensation” and Note 9.c to our Consolidated Financial Statements

F. Disclosure of a registrant’s action to recover erroneously awarded compensation

Not applicable.


103

ITEM 7.              MAJOR SHAREHOLDERS AND RELATED PARTY TRANSACTIONS

A.       Major shareholders

The table below shows the capital stock of Ultrapar as of April 14, 2023:

 

Total


 

Common shares 


%


Shareholders

 


 


Ultra S.A. Participações

279,593,690


25% 


Parth do Brasil Participações

85,667,912


8% 


Canada Pension Plan Investment Board. 

56,341,152


5%


BlackRock, Inc.

55,813,586


5%


Shares held in treasury

26,147,664


2%


Others

611,640,287


55%


Total

1,115,204,291


100%


On November 22, 2021, Ultrapar was notified by Canada Pension Plan Investment Board that it reached an aggregate ownership position of 5.03% of common shares issued by Ultrapar as of November 17, 2021, amounting to 56,084,095 shares. Canada Pension Plan Investment Board also informed that between the achievement of the relevant negotiation and the announcement date, it acquired another 257,057 shares, totaling 56,341,152 shares.

Ownership and capital structure of Ultra S.A. Participações and Parth do Brasil Participações

As of April 14, 2023, Ultra S.A. and Parth owned approximately 25% and 8%, respectively, of Ultrapar’s shares. As of April 14, 2023, the capital stock of Ultra S.A. and Parth were beneficially owned as follows:

Ultra S.A.


Total


 


Shares


%


Shareholders


 


 


Pátria Private Equity VI FIP Multiestratégia             


19,013,229


20%


Fabio Igel (1)   


17,635,594


19%


Ana Maria Levy Villela Igel             


11,820,856


12%


Christy Participações LTDA             


9,039,643


10%


Joyce Igel de Castro Andrade             


5,798,377


6%


Marcia Igel Joppert             


5,723,252


6%


Others             


21,437,467


23%


Subtotal             


90,468,418


95%



Directors and officers

Marcos Marinho Lutz (1)   


4,321,407


 5% 


Total directors and officers


4,321,407


5%


Total


94,789,825


100%



(1) Includes the ownership of 50.1% and 49.9% of IgelPar held by MrIgel and MrLutz, respectively. See “Item 4.A. Information on the Company—History and development of the Company—Corporate events.”


104


Parth


Total


 


Shares


% 


Shareholders


 


 


Jennings Luis Igel Hoffenberg        


61,788,141


36%


Pedro Igel de Barros Salles             


59,144,754


34%


Bettina Igel Hoffenberg             


   42,267,183


24%


Venus Quartz LLC             


9,595,506


6% 


Total Shareholders             


 172,795,584


100%


Shareholders’ Agreements

On May 2, 2018, Ultra S.A. and Parth executed a shareholders’ agreement to set forth a set of rules to govern the relationship between these two shareholders. This 2018 Shareholders’ Agreement replaced the Ultra S.A. shareholders’ agreement executed in 2014 and should be in force for a period of five years, automatically renewable for a further period of five years, except if a termination notice is sent by one party to the other up to 6 months before the end of its term.

The 2018 Shareholders Agreement’s main terms were substantially related to (i) how Ultra S.A., Parth and its shareholders should vote at Ultrapar’s Shareholders Meetings; (ii) procedures to exchange any party’s shares in Ultra S.A. or in Parth for shares of Ultrapar; and (iii) procedures applicable to the exercise of right of first refusal, preemptive rights and drag along rights. Additionally, any third party purchasing Ultra S.A.’s shares bound by the shareholders’ agreement must agree to be bound by the shareholders’ agreement.

In July 2019, Ultra S.A. informed the Company that its shareholders approved the disposal of all shares issued by Ultra S.A. held by Mr. Paulo Guilherme Aguiar Cunha and his family, which was concluded through certain transactions carried out in November 2019. As a result, Mr. Paulo Guilherme Aguiar Cunha and his family no longer hold any shares issued by Ultra S.A. and, therefore, are no longer parties to the Ultrapar’s 2018 Shareholders’ Agreement.

On August 18, 2020, Ultra S.A. and Parth entered into the 2020 Shareholders’ Agreement to include Pátria in its capacity as Ultra S.A.'s shareholder then holding a 20% stake in Ultra S.A.'s capital stock, as consenting intervening party, therefore bound by the provisions of the 2020 Shareholders' Agreement. The 2020 Shareholders’ Agreement replaced the 2018 Shareholders’ Agreement in its entirety, and the terms and conditions remain substantially the same of the latter. See “Exhibit 2.10 - Shareholders’ Agreement dated August 18, 2020.

On September 28, 2021, Ultra S.A. informed the Company that Mr. Marcos Marinho Lutz, our Chief Executive Officer, became a shareholder of Ultra S.A., holding 2.4% of its capital stock, and became a consenting intervening party of the 2020 Shareholders’ Agreement. A total of 34.7% of the Company’s capital stock is bound by the 2020 Shareholder’s Agreement as of April 14, 2023. See “Exhibit 2.10Shareholders’ Agreement dated August 18, 2020.”

B.       Related party transactions

As of December 31, 2022, Ultrapar is responsible for guarantees and securities provided to subsidiaries in the amount of R$9,371.3 million. This disclosure of related party transactions is provided for purposes of the rules governing Annual Reports on Form 20-F and is not meant to suggest that these matters would be considered related party transactions under IFRS.

The related parties’ transactions for financial statements purposes are transactions between the subsidiaries of the Ultrapar with joint-ventures and associates companies that are not eliminated in the consolidation of financial statements. The main related parties’ transactions are related to RPR and Chevron’s companies. See Note 9.a to our Consolidated Financial Statements for a detailed breakdown of related party transactions as of December 31, 2022.

C.     Interests of expert and counsel

Not applicable.


105

ITEM 8.              FINANCIAL INFORMATION
  1. Consolidated statements and other financial information

For our Consolidated Financial Statements and notes thereto see “Item 18. Financial statements.”

Dividends and distribution policy

Dividend policy

The bylaws of a Brazilian company may establish a minimum percentage of the profit that must be paid to shareholders as mandatory dividends. The amounts due as dividends may be paid as interest on net equity. As of December 31, 2022, our Bylaws provided for a mandatory dividend of at least 25% of the Company’s adjusted net profit, after the allocation of 5% of the net profit to the legal reserve.

The Brazilian Corporate Law defines the “net profit” as the results of the relevant fiscal year, reduced by accumulated losses of prior fiscal years, provisions for income tax and social contribution on the net profit for such fiscal year, and amounts allocated to employees’ and management’s participation on the results in such fiscal year.

Under the Brazilian Corporate Law, the net profit may be reduced or increased by the following:

  • Amounts allocated to the legal reserve;
  • Amounts allocated to the statutory reserve, if any;
  • Amounts allocated to the contingency reserve, if required;
  • Amounts allocated to the unrealized profit reserve;
  • Amounts allocated to the retained profit reserve;
  • Amounts allocated to the income tax exemption reserve;
  • Reversions of reserves registered in prior years, in accordance with Brazilian GAAP; and
  • Reversions of the amounts allocated to the unrealized profit reserve, when realized and not absorbed by losses.

Legal reserves. We are required to maintain a legal reserve to which we must allocate 5% of our net profit until the amount of our legal reserve equals 20% of paid-in capital. We are not required to make any allocations to the legal reserve for any fiscal year in which such reserve, when added to our capital reserves, exceeds 30% of our capital stock. Accumulated losses, if any, may be charged against the legal reserve. Other than that, the legal reserve can only be used to increase our capital.

Statutory reserves. Under the Brazilian Corporate Law, any corporation may create statutory reserves, in which case it shall be provided in its respective bylaws. In this case, the bylaws must also indicate the reserve purpose, allocation criteria and maximum amount of reserve. As provided in our Bylaws, we may allocate up to 75% of our adjusted net profit to an investment reserve, up to the limit of 100% of our capital stock.

Contingency reserves. Under the Brazilian Corporate Law, our shareholders may decide, upon a proposal of our Board of Directors, to allocate a discretionary amount of our net profit to a contingency reserve for estimated future losses, which are deemed probable. The distributable amount may be further increased by the reversal of such reserve in the fiscal year when the reasons that justified the creation of such reserve cease to exist or in which the anticipated loss occurs. Accordingly, there is no specific percentage of net profit allocable to this type of reserve.

Unrealized profits reserves. Under the Brazilian Corporate Law, when the mandatory dividend amount exceeds the realized net profits in a given fiscal year, our shareholders may elect, upon a proposal of our Board of Directors, to allocate some or all of the excess dividend amount to any unrealized profits reserve. The Brazilian Corporate Law defines “realized” net profits as the amount by which the company’s net profits exceed the sum of (i) its net positive results, if any, from the equity method of accounting for earnings and losses of the company’s subsidiaries and certain of its affiliates and (ii) the profits, gains or returns that will be received by the company after the end of the next fiscal year. The distributable amount is increased by the profits that were allocated to such reserve when they are realized.

106

Income tax exemption reserve. Under the Brazilian Corporate Law, the portion of the net profit derived from donations or governmental incentives directed to investments, can be excluded of the distributable amount.

Retained profits reserve. Under the Brazilian Corporate Law, our shareholders may decide to retain a discretionary amount of our net profits that is provided for in a budget approved in the Annual General Shareholders’ Meeting, upon the proposal of its Board of Directors, for the expansion of our installations and other investment projects. After the conclusion of the relevant investments, we may retain the reserve until the shareholders approve the transfer of the reserve, in full or in part, to its capital or to the accumulated profits reserve. In accordance with the Brazilian Corporate Law, if a project to which part of the reserve has been allocated has a term exceeding one year, the budget for such project must be approved by the General Shareholders’ Meeting each fiscal year through the conclusion of the project.

The Brazilian Corporate Law provides that all statutory allocations of net profit, including the unrealized profits reserve and the reserve for investment projects, are subject to approval by the shareholders voting at a General Shareholders’ Meeting and may be used for capital increases or for the payment of dividends in subsequent years. The legal reserve is also subject to approval by the general shareholders’ meeting and may be transferred to capital or used to absorb losses but is not available for the payment of dividends in subsequent years.

The balance for the profit reserve accounts, except for the contingency reserve and unrealized profits reserve, may not exceed the share capital. If this happens, our shareholders must determine whether the excess will be applied to pay in the subscribed and unpaid capital, to increase and pay in the subscribed stock capital or to distribute dividends.

The profits unallocated to the accounts mentioned above must be distributed as dividends.

A company is permitted to allocate to the unrealized profits reserves all income from equity gains in subsidiaries that are not distributed to the company in the form of cash dividends. When such gains are distributed to the company in the form of cash dividends, the company is required to reverse the reserve. See “Item 3.D. Key information—Risk factors—Risks relating to the shares and the american depositary shares.” In addition to the mandatory distribution, the Board of Directors may recommend to the shareholders the payment of interim distributions from other funds that are legally available for such purposes. Any payment of an interim dividend may be set off against the amount of the mandatory dividend distribution for that fiscal year.

As an alternative form of payment of dividends, Brazilian companies may distribute interest on capital, which payments may be treated by a company as a deductible expense for income and social contribution taxes purposes. Payments of interest on capital may be made at the discretion of our Board of Directors, subject to the approval of the holders of our common shares. Payments of interest attributed to shareholders’ equity, net of withholding tax, may be distributed as part of the minimum mandatory dividends, to the extent that it does not exceed the limits described below. This interest is calculated in accordance with the daily pro rata variation of the Brazilian government’s long-term interest rate (TJLP), as determined by the Central Bank from time to time, and cannot exceed the greater of:

  • 50% of net income (after the deduction of the social contribution on profits and before the provision for corporate income tax and the amounts attributable to shareholders as net interest on equity) related to the period in respect of which the payment is made; or
  • 50% of the sum of retained profits and profit reserves in the beginning of the period with respect to which the payment is made.

Under the Brazilian Corporate Law, a company may suspend the mandatory distribution either in the form of dividends or payments of interest on capital if the shareholders at the General Shareholders’ Meeting determine, based on the Board of Directors’ proposal, which is reviewed by the Fiscal Council when installed. The payment of the mandatory distribution for the preceding fiscal year would be inadvisable in light of the company’s financial condition. The management of the Company must report to the CVM such suspension within five days of the relevant General Shareholders’ Meeting. Under the Brazilian Corporate Law, mandatory distributions that are suspended and not offset against losses in future years must be paid as soon as the financial condition of the company permits.

We declare and pay dividends and/or interest on capital, pursuant to the Brazilian Corporate Law and our Bylaws. Our Board of Directors may approve the distribution of dividends and/or interest on capital, calculated based on our annual or semiannual financial statements or on financial statements relating to shorter periods. The amount of any distributions will depend on a series of factors, such as our financial condition, prospects, macroeconomic conditions, tariff adjustments, regulatory changes, growth strategies and other issues our Board of Directors and our shareholders may consider relevant.

107

The amount of retention of profits and investments reserve are free of distribution restrictions and totaled R$5.2 billion as of December 31, 2022.

On May 11, 2022, our Board of Directors approved the early payment of interest on equity in the amount of R$450.0 million, equivalent to approximately R$0.41 per common share, paid in August 2022. On February 15, 2023, our Board of Directors approved the distribution of dividends in the amount of R$109.5 million, payable from the net earnings account for the 2022 fiscal year, equivalent to R$0.10 per common share, paid in March 2023.

We usually pay dividends or interest on equity twice a year – interim dividends or interest on equity are paid after the reporting of the second quarter financial statements and the remaining is paid after the reporting of the annual financial statements.

The following table sets forth the dividends per share distributed by Ultrapar in the last three years.

Dividend history

Year ended December 31,


Common shares (1)


 


(in Reais per share)


(in US$ per share) (2)


2022 (dividends)             


0.10


0.02


2022 (interest on equity) (3)


0.41


0.08


2021             


0.37


0.07


2020             


0.44


0.08




(1) The number of shares used in the dividends per share calculation has not been retrospectively adjusted to reflect the issuance of 31,211, 21,472, 43,925 and 31,032 common shares that occurred in February 2023, August 2022, February 2022 and August 2021, respectively, as a result of the partial exercise of the subscription warrants issued to the former Extrafarma shareholders.
(2) The amounts in Reais have been converted into U.S. dollars using the exchange rates at each respective payment date.
(3) With income tax withholding at a rate of 15%, net interest will be R$0.35060 per share, except for corporate shareholders that are proven to be immune or exempt.

Payment of dividends. Within the four months following the end of each fiscal year, our shareholders are required to hold an Annual General Shareholders’ Meeting to decide, among other things, on the allocation of our net profits with respect to the fiscal year ended immediately prior to the shareholders’ meeting and the payment of an annual dividend. Additionally, interim dividends may be declared by our Board of Directors. Under the Brazilian Corporate Law, dividends are generally required to be paid within 60 days following the date the dividend was declared, unless a shareholders’ resolution sets forth another date of payment, which, in either case, must occur prior to the end of the fiscal year in which such dividend was declared. Pursuant to Brazilian Civil Law, dividends revert to us three years after the date when we begin to pay such declared dividends.

Shareholders who are not residents of Brazil must register with the Central Bank to have dividends, sales proceeds or other amounts with respect to their shares eligible to be remitted in foreign currency outside of Brazil. The shares underlying the ADSs will be held in Brazil by Itaú Unibanco (custody), as agent for the Depositary. For purposes of the registration requirement, the Depositary is deemed to be the stockholder of the shares underlying the ADSs. The Depositary will register such common shares with the Central Bank.

Payments of cash dividends and distributions, if any, will be made in Brazilian currency to the Custodian on behalf of the Depositary. The Custodian will then convert such proceeds into U.S. dollars and will cause such U.S. dollars to be delivered to the Depositary for the distribution to holders of ADSs. See “Description of american depositary receipts” in our Registration Statement filed on Form F-1, declared effective on April 12, 2005. In the event that the Custodian is unable to convert immediately the Brazilian currency received as dividends into U.S. dollars, the amount of U.S. dollars payable to holders of ADSs may be adversely affected by devaluations of the Brazilian currency that may occur before such dividends are converted and remitted. See “Item 3.D. Key information—Risk factors—Risks relating to Brazil.”

Dividends paid by a Brazilian Corporation, in cash or in kind, in respect of the shares paid to shareholders who are not Brazilian residents, including holders of ADSs, are not subject to withholding income tax in Brazil to the extent that such amounts are related to profits generated after January 1, 1996. Dividends paid from profits generated before January 1, 1996 may be subject to Brazilian withholding income tax at varying rates, according to the tax legislation applicable to each corresponding year.

Distributions of interest attributable to shareholders’ equity are currently subject to withholding tax at a rate of 15%, or 25% in the case of a shareholder domiciled in a “tax haven.” See “Item 10.E. Additional information—Taxation—Brazilian tax considerations.”

108

 Legal proceedings

Provisions for tax, civil and labor risks. The Company and its subsidiaries are parties to tax, civil, environmental, regulatory, and labor disputes at the administrative and judiciary levels. As of December 31, 2022, the amount of these provisions for tax, civil and labor risks was R$1,040.2 million (R$22.8 million for current provisions and R$1,017.3 million for non-current provisions). For more information about provisions for tax, civil and labor risks, see Note 23.a to our Consolidated Financial Statements.

Contingent liabilities. The Company and its subsidiaries are party to tax, civil, environmental, regulatory and labor claims whose likelihood of loss is assessed by the legal department of the Company and its subsidiaries as possible. Based on the opinion of its external legal advisors and based on these assessments, no provisions were made for these claims in the financial statements. As of December 31, 2022, the total amount involved in proceedings for which the risk of loss was classified as possible was R$3,601.9 million, of which R$2,656.5 million, R$690.1 million and R$255.3 million were respectively related to contingent liabilities from (i) tax matters and social security matters; (ii) civil, environmental and regulatory claims; and (iii) labor matters. For more information about provisions for contingent liabilities, see Note 23.b to our Consolidated Financial Statements.

Antitrust matters

Aquisition of NEOgás. The acquisition of 100% of NEOgás by Ultragaz was duly submitted to CADE on December 6, 2022. On December 23, 2022, the General Superintendence of CADE issued a decision approving the transaction without restrictions. On January 11, 2023, CADE issued a certificate ("certidão de trânsito em julgado”) formalizing the definitive approval of such decision. On February 1, 2023, the transaction was closed.

Consortium agreement with Supergasbrás. A consortium agreement between Ultragaz and Supergasbrás Energia Ltda.  was submitted to CADE’s approval on July 12, 2022. The agreement covers the sharing of LPG storages and filing plants on a country-wide level. On March 28, 2023, the General Superintendence of CADE issued a decision for the approval of the transaction without restrictions. On April 12, 2023, the General Superintendence of CADE’s decision was challenged, and as of the date of this annual report the case is under review by CADE’s Court.

Divestment of Oxiteno. The sale of 100% of Ultrapar’s interest in Oxiteno, amounting to 100% of Oxiteno’s share capital, to Indorama was duly submitted to CADE on November 11, 2021. On March 4, 2022, the General Superintendence of CADE issued a decision approving the transaction without restrictions. On March 24, 2022, CADE issued a certificate (“certidão de trânsito em julgado”) formalizing the definitive approval of such decision. On April 1, 2022, the transaction was closed.

Divestment of Extrafarma. The sale of 100% of Ipiranga’s interest in Extrafarma, amounting to 100% of Extrafarma’s share capital, to Pague Menos was duly submitted to CADE on September 16, 2021. On June 22, 2022, the General Superintendence of CADE issued a decision approving the transaction without restrictions. On July 7, 2022, CADE issued a certificate (“certidão de trânsito em julgado”) formalizing the approval of the transaction subject to the execution of a Merger Control Agreement (“Acordo de Controle de Concentrações”). The closing of the transaction occurred on August 1, 2022.

Acquisition of Opla. On April 19, 2023, Ultracargo signed an agreement for the acquisition of a 50% stake in Opla, held by Copersucar S.A. As of the date of this annual report, the transaction was subject to approval by the CADE.

B.    Significant changes

Except as disclosed elsewhere in this annual report, we have not experienced any significant changes since the date of our audited Consolidated Financial Statements included in this annual report.

ITEM 9.THE OFFER AND LISTING

A.Offer and listing details

Not applicable. The listing details regarding the company’s stock as required by Item 9.A.4 is set forth below in “—C. Markets.”

B.Plan of distribution

Not applicable.

C.Markets

Our shares are listed on the São Paulo Stock Exchange under the ticker symbol “UGPA3” and the ADSs are listed on NYSE under the symbol “UGP.”

D.Selling shareholders

Not applicable.

109

E. Dilution

Not applicable.

F. Expenses of the issue

Not applicable.

ITEM 10.ADDITIONAL INFORMATION

A.Share capita

Not applicable.

B.Memorandum and articles of association

We are registered with the commercial registry of the state of São Paulo under the registration number 35,300,109,724. Pursuant to chapter I, article 3 of our Bylaws, our main corporate purpose is the investment of our capital in commerce, industry, agriculture, and service provision, through the subscription or acquisition of shares or quotas of other companies.

General

Set forth below is a summary of selected significant provisions of our Bylaws and the Brazilian Corporate Law, the rules and regulations of the CVM and the Novo Mercado listing segment of B3 regarding certain corporate matters applicable to us. This description does not purport to be complete and is qualified by reference to our Bylaws, the Brazilian Corporate Law, the rules and regulations of the CVM and the rules of the Novo Mercado.

In connection with the conversion, at the Extraordinary Shareholders’ Meeting and the Special Preferred Shareholders’ meeting, both held on June 28, 2011, our shareholders approved (i) the conversion of all preferred shares into common shares at a ratio of one preferred share for one common share; (ii) changes to and consolidation of our Bylaws; (iii) the Company’s adherence to the rules of the Novo Mercado of the B3; and (iv) the confirmation that the new provisions related to the rights of all Company’s shareholders in the event of a sale of control of the Company, pursuant to its new Bylaws and the Novo Mercado regulations, are equivalent to the provisions of the Ultra S.A. shareholders’ agreement dated as of March 22, 2000. Such decisions became effective on the date the shares issued by the Company were admitted to trade at the Novo Mercado of the B3.

As a result of the Conversion, due to the new capital structure, other shareholders’ rights are currently not applicable, for instance, the right to separate elections for the Board of Directors and Fiscal Council. On the other hand, common shareholders are entitled to voting rights in any matter.

Since our shares are listed on the Novo Mercado, we are required to comply with heightened requirements for corporate governance. In addition, we are not permitted to issue preferred shares or any shares with restricted voting rights while listed on this segment pursuant to its rules. As of January 2, 2018, the new rules for Novo Mercado came into effect. Our Bylaws were amended on April 10, 2019 to reflect these rules and therefore as of the date of this annual report we are in full compliance with such rules.

Description of capital stock

On April 10, 2019, the Annual and Extraordinary General Shareholders’ Meeting approved a stock split of the shares issued by Ultrapar, so that each share would be represented by two shares of the same class and type. The stock split did not involve any change in the capital stock, therefore being no alteration in the financial amount and shareholder participation in the Company’s capital stock. The share split was implemented on April 24, 2019, which was also the date that the corresponding stock split of our american depositary shares was implemented.

As of December 31, 2022, our subscribed and paid-in capital stock consisted of 1,115,173,080 common shares, all of which have equal voting and equity rights, with no par value, of which 26,158,983 common shares were held in treasury.

On February 15, 2023, our Board of Directors confirmed the issuance of 31,211 common shares within the limits of the authorized capital stock pursuant to Article 6 of the Company’s Bylaws, due to the partial exercise of the subscription warrants issued by the Company as of the approval of the Extrafarma transaction. These common shares have the same rights assigned to the other shares previously issued by the Company.

110


As of the date of this annual report, the Company’s capital stock is represented by 1,115,204,291 common shares, all of them nominative and with no par value.

Subscription warrants

As a result of the Extrafarma transaction, the Company issued subscription warrants to the former Extrafarma shareholders which could potentially lead to the issuance of up to 6,411,244 shares, taking into account the stock split approved in April 2019 (3,205,622 shares prior to the April 2019 stock split). Since 2020, the subscription warrants have been partially exercised, with an issuance of 2,394,099 common shares, to former Extrafarma shareholders. As of the date of this annual report, the exercise of the remaining subscription warrants by the former Extrafarma shareholders could potentially lead to the issuance of up to 3,351,010 additional shares of Ultrapar. For more information about these subscription warrants, see Note 24 to our Consolidated Financial Statements.

Voting rights

Each common share entitles its holder to one vote at the matters of the Shareholders’ Meetings, in accordance with the Brazilian Corporate Law, our Bylaws and the Novo Mercado regulations. For more detailed information with respect to the voting rights of our common shares see our Form 8-A filed with the SEC on August 15, 2011 in the section “Description of Capital Stock—Shareholders’ Meetings” and “Exhibit 2.9 - Description of Securities Registered under Section 12 of the Exchange Act.”

Also, under the Brazilian Corporate Law, only shareholders registered as such in our corporate books may attend Shareholders’ Meetings. All common shares underlying the ADSs are registered in the name of the depositary bank. A holder of ADSs, accordingly, is not entitled to attend Shareholders’ Meetings. A holder of ADSs is entitled to instruct the depositary bank as to how to exercise the voting rights of its common shares underlying the ADSs in accordance with procedures provided for in the Deposit Agreement, but a holder of ADSs will not be able to vote directly at a Shareholders’ Meeting or appoint a proxy to do so. For more information, see “Item 3.D. Key information—Risk factors— Risks relating to the shares and the american depositary share.”

Deregistration as publicly-held company

We may only deregister as a publicly-held company if such deregistration is approved by a majority of the shareholders present at a Shareholders’ Meeting, which shall be conditioned to: (i) the launching of a public tender offer for the acquisition of all of our outstanding shares in accordance with the provisions of the Brazilian Corporate Law, the CVM rules and regulations, the Novo Mercado regulation and our Bylaws by us, our controlling shareholders or a group of controlling shareholders and (ii) the acceptance of at least two thirds of the shareholders representing the free float that show up at the tender offer auction (whether by selling their shares or expressly agreeing with the deregistration), in which case we would become a privately-held company. The price offered for such outstanding shares must at least correspond to the fair value of such shares as set forth in the respective appraisal report issued by a specialized institution with proven experience hired by the offeror for the purposes of the tender offer.

Shareholders holding at least 10% of the free float of our shares may require our management to call a special Shareholders’ Meeting to determine whether to perform another valuation using the same or a different valuation method. This request must be made within 15 days following the disclosure of the price to be paid for the shares in the public tender offer. If the new valuation price is equal to or lower than the original valuation price, the shareholders making such request as well as those who vote in its favor must reimburse the Company for any costs incurred in preparing the new appraisal report. If the new valuation price is higher than the original valuation price, the offeror shall then decide whether to proceed with the public tender offer observing the new price or withdraw the tender offer, in which case the Company will continue to be registered as a publicly-held company.

Withdrawal from the Novo Mercado

According to the new Novo Mercado Listing Rules – applicable as of January 2, 2018 – and to our Bylaws, the withdrawal from the Novo Mercado may be: (i) voluntary; or (ii) mandatory, as a result of the violation of any the rules of the Novo Mercado or the deregistration as publicly-held company.


The withdrawal, however, shall only occur after the launching of a public tender offer for the Company’s outstanding shares, which shall (i) follow, as applicable, the CVM regulation that rules that the mandatory tender offer for the deregistration as publicly-held company (including the abovementioned possibility to request a second valuation report); (ii) be launched at a fair price, as appointed in the appraisal report issued by a specialized institution with proven experience for the purposes of the tender offer; and (iii) be approved by at least 1/3 of the shareholders representing the free float that participate in the tender offer auction (whether by selling their shares or expressly agreeing with the withdrawal from the Novo Mercado).


The obligation to launch such public tender offer, however, may be waived by the majority of the shareholders representing the Company’s free float present at the Shareholders’ Meeting convened to resolve on that matter. Such Shareholders’ Meeting may be held on first call with the attendance of shareholders representing two thirds of the free float or, on second call, with the attendance of any number of shareholders representing the free float.


111

The withdrawal from the Novo Mercado does not necessarily result in our deregistration as a publicly-held company on the B3.

If the Company participates in a corporate reorganization involving the transfer of its shareholders’ base to a company that is not listed in the Novo Mercado, such resulting company or companies must apply for listing on Novo Mercado within one hundred and twenty days from the date of the General Shareholders’ Meeting that approved the reorganization, unless the majority of the shareholders representing the Company’s free float present at such Shareholders’ Meeting agrees with the non-listing of the resulting company.

Pursuant to the new rules of the Novo Mercado and to our Bylaws, the voluntary withdrawal shall be preceded by a public tender offer at fair market value. For the withdrawal to move forward, shareholders representing more than 1/3 of the outstanding shares must accept the tender offer or expressly agree to delist without selling the shares.

According to the rules of the Novo Mercado, in the event of a transfer of our shareholding control within 12 months following our delisting from the Novo Mercado, the selling controlling shareholder(s) and the acquirer must offer to acquire the remaining shares for the same price and terms offered to the selling controlling shareholders, duly updated, or pay the difference, if any, between the tender offer price accepted by the former shareholders, duly updated, and the price obtained by the controlling shareholder in selling its shares.

Sale of control

In the event of a direct or indirect sale of the Company’s shareholding control, through a single or series of transactions, the acquirer must conduct a public tender offer for all shares held by the remaining shareholders in order to ensure equal treatment of all shareholders (tag-along right). Such right has been provided to Ultrapar’s shareholders since March 22, 2000, in accordance with the terms of the Ultra S.A. shareholders’ agreement signed on the same date, which has since then been rescinded and replaced by our Bylaws. The tender offer is subject to applicable laws and regulations, our Bylaws and the rules of the Novo Mercado.

A public tender offer is also required when there is an assignment for consideration of share subscription rights or rights of other securities convertible into our shares, which results in the transfer of control of the Company. In such case, the acquiring shareholder must (i) complete a public tender offer for our remaining shares on the same terms and conditions offered to the selling shareholder and (ii) according to our Bylaws, reimburse the counterparties from whom it has acquired our shares on the stock exchange in the six-month period preceding the transaction which resulted in a change in control. The reimbursement amount corresponds to the positive difference between the price paid to the selling shareholder in the transaction that resulted in a change of control and the adjusted price paid in the transactions carried out on the B3 during this six-month period, as adjusted by the Selic rate up until the payment date.

The buyer of a controlling interest shall, after the financial settlement of the foregoing tender offer, take the appropriate actions to, over the course of the subsequent 18 months, restore the minimum percentage of outstanding shares as per the rules of the Novo Mercado.

Acquisition of a relevant interest

Any person, regardless of whether he/she is a shareholder, which, on his/her own account or acting jointly with another person, acquires our shares, through a single transaction or a series of successive transactions, representing 20% or more of our capital stock, is required to make a tender offer for the acquisition of the shares held by the remaining shareholders at a price equal to the highest value per share paid by him/her in the preceding six months, adjusted pursuant to the Selic rate. Such persons will not be required to carry out a public tender offer in the event they timely and cumulatively sell on a stock exchange the number of our shares that exceeds such thresholds, within 30 days from the date they provide notice to the Company of their intent to make such sales. In addition, the requirement to carry out a public tender offer will not apply in the event any shareholder or group of shareholders hold more than 50% of our capital stock at the time of acquisition of the relevant interest.

Public tender offers

A single public tender offer may be launched for more than one of the purposes provided for in our Bylaws, the Novo Mercado Listing rules, the Brazilian Corporate Law or in the regulations issued by the CVM, provided that the procedures used when conducting the unified public tender offer are compatible with all requirements of each individual public tender offer, the public tender offers do not suffer any damages and the authorization of the CVM is obtained, when required by the applicable law.

112


Shareholders’ Meeting

A General Shareholders’ Meeting must be convened and held in accordance with the requirements of the Brazilian Corporate Law. Shareholders’ meetings are called by the publication of a notice on at least three occasions in a widely circulating newspaper of the state of São Paulo, our principal place of business, and the newspaper’s website. As determined by the Brazilian Corporate Law, the first notice of a Shareholders’ Meeting shall be given at least 21 days prior to holding the meeting. However, the CVM rules require that companies whose shares are also represented by ADSs must convene a Shareholders’ Meeting no later than 30 days in advance. In addition to such newspaper publication, the CVM requires that all documents related to the agenda to be deliberated upon on the meeting are filed with the CVM and filed on the CVM website (www.cvm.gov.br), as well as being made available at the Company’s headquarters and on its website, and on the website of the B3.

Holders of shares voting at a General Shareholders’ Meeting have the exclusive power to: (i) amend our Bylaws; (ii) elect or dismiss members of the Board of Directors, at any time; (iii) install our Fiscal Council and elect its members; (iv) receive the yearly accounts by management and to accept or reject management’s financial statements, including the allocation of net profits and the Distributable Amount (as defined below) for payment of the mandatory distribution and allocation to the various reserve accounts; (v) authorize the issuance of debentures considering the terms of our Bylaws; (vi) suspend the rights of a shareholder in the event that such shareholder does not comply with obligations imposed by law or our Bylaws; (vii) accept or reject in-kind contributions offered by a shareholder in consideration for issuance of capital stock; (viii) pass resolutions to reorganize the legal form of merge, consolidate or split the company, to dissolve and liquidate the company, to elect and dismiss our liquidators and to examine their accounts; and (ix) authorize management to declare us insolvent and to file for judicial reorganization (a procedure involving protection from creditors available under the Brazilian law).

Except as otherwise provided by the Brazilian Corporate Law, a General Shareholders’ Meeting may be held if shareholders representing at least one-quarter of the voting capital are present. If no such quorum is present, a second notice must again be given eight days in advance, and a meeting may then be convened without any specific quorum requirement, subject to the minimum quorum and voting requirements for certain matters, as described below. A shareholder whose voting rights have been suspended for any reason may still attend the General Shareholders’ Meeting and take part in the discussion of matters submitted for consideration.

Except as otherwise provided by law, resolutions in a General Shareholders’ Meeting are passed by a simple majority vote, with abstentions not being taken into account. In general, each share has the right to one vote. Under the Brazilian Corporate Law and in accordance with our Bylaws, the approval of shareholders representing at least one-half of the issued and outstanding shares is required for the following types of action: (i) creating a new class of shares that has a priority, preference, right, condition or redemption or amortization superior to an existing class of shares, such as preferred shares (in which case we would be required to delist from the Novo Mercado segment in accordance with its rules); (ii) changing the mandatory distribution; (iii) changing the corporate purpose; (iv) entering into any merger, consolidation or reorganization of the Company; (v) dissolving or liquidating the Company, and (vi) participating in a group of companies defined under the Brazilian Corporate Law. In the case of (i), the vote of the holders of a majority of issued and outstanding shares of the affected class is also required.

General Shareholders’ Meetings are called and convened by the chairman of our Board of Directors and are presided over by the chairman of our Board of Directors, or a person designated by him. The chairman of the meeting shall select a secretary from among the meeting’s attendees. Shareholders’ Meetings also may be called by (i) any shareholder, if our Board of Directors fails to call a Shareholders’ Meeting within 60 days after the date on which it is so required; (ii) shareholders holding at least 5% of our shares if our Board of Directors fails to call a meeting within eight days after receipt of a justified request to call the meeting and by those shareholders indicating the proposed agenda; (iii) shareholders holding at least 5% of our shares if our Board of Directors fails to call a meeting within eight days after receipt of a request to call the meeting to form a Fiscal Council; and (iv) our Fiscal Council, if one exists, in the event that the Board of Directors fails to call an Annual General Shareholders’ Meeting within a month of the required date. The Fiscal Council may also call an Extraordinary General Shareholders’ Meeting in the specific context set forth in the Brazilian Corporate Law.

Location of our Shareholders’ Meeting

Our Shareholders’ Meetings usually take place at our headquarters in the city of São Paulo, located in the state of São Paulo. The Brazilian Corporate Law permits us to hold Shareholders’ Meetings elsewhere in the event of force majeure, provided that the meetings are held in the city of São Paulo and a notice of the meeting clearly indicates where the meeting is to occur.

Also, pursuant to the terms of the CVM Resolution 81/22, as amended, the Shareholders’ Meeting may occur through a digital platform. Accordingly, the shareholders shall attend the meeting through remote voting form and through digital platform, in person or by a duly appointed attorney-in-fact.

113

Notice of a Shareholders’ Meeting

According to the Brazilian Corporation Law, all call notices of General Meetings must be published at least three times in a newspaper widely circulated, which, in Ultrapar’s case, is the Valor Econômico and in the newspaper’s website. The call notice must include, in addition to the place, date and time, the agenda of the meeting and, in the case of a proposed amendment to the Ultrapar Bylaws, a description of the subject matter of the proposed amendment.

Conditions of admission to our Shareholders’ Meeting

Our Bylaws provide that, in order to attend a Shareholders’ Meeting, each shareholder must furnish a share statement issued by the bookkeeping or custodian institution that indicates the number of shares of record held. The Company shall determine the deadline for the shareholders to furnish the share statement on the notice of the Shareholders’ Meeting. Shareholders represented by proxy must send to the Company the respective power of attorney also prior to the meeting. The attorney-in-fact must have been appointed less than a year prior to the meeting, and the power of attorney must be granted to a shareholder, corporate officer, lawyer, or financial institution.

The shareholders which are investment funds must send the Company, within the same period mentioned in the paragraph above: (i) evidence of the capacity of fund manager conferred upon the individual or legal entity representing the shareholder at the Shareholders’ Meeting, or the proxy granting such powers; (ii) the corporate action of the manager, in case it is a legal entity, granting powers to the representative attending the Shareholders’ Meeting or to whom the power of attorney has been granted; and (iii) in the event the representative or attorney-in-fact is a legal entity, the same documents referred to in (ii) above, as related thereto.

We will verify in good faith the validity of the documents showing the capacity of a shareholder’s representative and will presume the truthfulness of the credible statements made by such representative. However, shareholders will be prohibited from participating in any meeting if such shareholders or their representatives fails to present the respective power of attorney or the custodian’s statement (if shares are held through a custodian institution).

In the event a shareholder participates in a meeting without proper representation as mentioned in the paragraph above, or in case such shareholder does not own the number of shares claimed to be owned by it, we will notify such shareholder about the issue and will disregard the votes cast by such shareholder at the meeting. In addition, regardless of whether we hold another Shareholders’ Meeting to vote on the same matters, such shareholders will be liable for any losses and damages arising from their acts.

Should a dispute arise with respect to exclusion from a meeting under such circumstance, the dispute will be submitted to arbitration as provided for in the Novo Mercado regulations and pursuant to our Bylaws.

C.Material contracts

2020 Shareholders’ Agreement

On August 18, 2020, Ultra S.A. and Parth entered into the 2020 Shareholders’ Agreement to include Pátria, in its capacity as Ultra S.A.'s shareholder then holding a 20% stake in Ultra S.A.'s capital stock, as consenting intervening party, therefore bound by the provisions of the 2020 Shareholders' Agreement. The 2020 Shareholders’ Agreement replaced the 2018 Shareholders’ Agreement in its entirety, and the terms and conditions remained substantially the same of the latter. On September 28, 2021, Ultra S.A. informed the Company that Mr. Marcos Marinho Lutz became a shareholder of Ultra S.A., holding 2.4% of its capital stock, and became a signatory of the 2020 Shareholders’ Agreement. A total of 34.7% of the Company’s capital stock is bound by the 2020 Shareholder’s Agreement as of April 14, 2023. See “Exhibit 2.10—Shareholders’ Agreement dated August 18, 2020.”

Extrafarma’s sale agreement

In May 2021, Ultrapar entered into a share purchase agreement for the sale of all shares of Extrafarma to Pague Menos and, in August 2022, the transaction was closed. The total sale price of R$700.0 million was adjusted by the variations in working capital and the net debt position of Extrafarma of R$37.7 million resulting in the total amount of R$737.7 million, which was settled on August 1, 2022. The payment of the two remaining installments of R$182.7 million each will be made in August 2023 and August 2024 by Pague Menos. The Company held 100% of Extrafarma participation, through its subsidiary Ipiranga.

114

Oxiteno’s sale agreement

In August 2021, we announced the signing of a share purchase agreement for the sale of all shares of Oxiteno to Indorama and, on April 1, 2022, the transaction was closed. The initial payment of US$1,150.0 million (equivalent to R$5,449.6 million), adjusted by the variations in working capital and net debt position of Oxiteno of US$176.4 million (equivalent to R$834,0 million), resulted in the total initial payment of US$1,326.4 million (equivalent to R$6,283.6 million), which was settled on April 1, 2022. The conversions between U.S. dollars and Brazilian Reais were based on the exchange rate of R$4.74 to US$1.00, the commercial selling rate for U.S. dollars as of the closing day of the transaction, as reported by the Central Bank.

The final payment of US$150.0 million (equivalent to R$783.0 million as of December 31, 2022) will be settled in April 2024. Oxiteno was a wholly-owned subsidiary of the Company.

D.Exchange controls

There are no restrictions on ownership of our common shares or ADS by individual or legal entities domiciled outside Brazil. However, the right to convert dividend payments, interest on shareholders’ equity payments, and proceeds from the sale of our shares into foreign currency and to remit such amounts abroad is subject to restrictions under foreign investment legislation, which generally require, among other things, that the relevant investment be registered with the Central Bank and the CVM.

Foreign investors may register their investment in our shares under the Resolution 278 of the Central Bank, dated as of December 31, 2022, as amended, or the Resolution 278, or under the Resolution 4,373 of the National Monetary Council, dated as of September 29, 2014. Registration under the Resolution 4,373 affords favorable tax treatment to foreign investors who are not residents in a “tax haven” jurisdiction (i.e. countries that do not impose income tax or where the maximum income tax rate is lower than 17%), as defined by the Brazilian tax laws.

Portfolio foreign investments are regulated by the Resolution 4,373 and the CVM Resolution 13/20 (as amended by the CVM Resolution 64/21). The Resolution 4,373 provides that foreign investors may invest in financial and capital markets in Brazil, including by means of the issuance of depositary receipts in foreign markets in respect of shares of Brazilian issuers, provided that certain requirements are fulfilled.

Under the Resolution 4,373, foreign investors may invest in the same instruments and operational modalities available to the investors residing or domiciled in Brazil. The definition of foreign investor includes individuals, legal entities, funds, and other collective investment entities, residing, domiciled, or headquartered abroad.

Pursuant to Annex I of the Resolution 4,373 and the CVM Resolution 13/20 (as amended by the CVM Resolution 64/21), among the requirements applicable, in order to invest in Brazil under the mentioned resolution, a foreign investor must:

  • Appoint at least one representative in Brazil, which must be a financial institution or other institution authorized to operate by the Central Bank of Brazil. The local representative appointed by the foreign investor shall be responsible for performing and updating the registration of the investments made by the foreign investor with the Central Bank of Brazil, as well as the registration of the foreign investor with the CVM;
  • Through its representative in Brazil, register itself as a foreign investor with the CVM;
  • Through its representative in Brazil, register its foreign investment with the Central Bank; and
  • Appoint an authorized custodian in Brazil for its investments, which must be a financial institution or entity duly authorized by the Central Bank or the CVM. Pursuant to article 2, §4º of the Annex I of the Resolution 4,373, individuals are not subject to this requirement.

Securities and other financial assets held by non-Brazilian investors pursuant to Annex I of the Resolution 4,373 must be registered or maintained in deposit accounts or under the custody of an entity duly authorized by the Central Bank or the CVM, as applicable, or be registered with clearing houses and other entities that provide services of registration, clearing and settlement duly licensed by the Brazilian Central Bank or the CVM, as applicable. In the case of Depositary Receipts (DRs), the record must be made by the Brazilian custodian entity on behalf of the foreign depositary institution.

Annex II of the Resolution 4,373 of the National Monetary Council provides for the issuance of depositary receipts in foreign markets in respect of shares of Brazilian issuers.

115

For purposes of the mandatory registration with the Central Bank of foreign investments in the Brazilian financial and capital markets, the Resolution 4,373 expressly provides that simultaneous foreign exchange transactions (i.e. without effective transfer of funds to or from abroad) shall be required in specific situations, including (i) conversion of credits held by foreign investors in Brazil into foreign investment in the financial and capital markets; (ii) transfer of investments made in depositary receipts to the modality of foreign direct investments (or investimento estrangeiro direto) under the Resolution 277 or investments in the Brazilian financial and capital markets under Annex I of the Resolution 4,373; and (iii) transfer of investments in the Brazilian financial and capital markets under Annex I of the Resolution 4,373 to the modality of foreign direct investments (or investimento estrangeiro direto) under the Resolution 277.

In addition, the Resolution 4,373 does not allow foreign investors to perform investments or sell the invested assets outside of organized markets, except as expressly authorized by the CVM through specific regulation or according to the exceptions provided in the CVM Resolution 13/20 (as amended by the CVM Resolution 64/21). Pursuant to the CVM Resolution 13/20 (as amended by the CVM Resolution 64/21), the exceptions for investments outside of organized markets include subscription, stock bonus, initial public offers and the exercise of put options for shareholders that remain following a tender offer, among others.

Foreign investors must be registered with the Brazilian Internal Revenue Service (“Receita Federal”) pursuant to the Nominative Instruction 2,119, dated as of December 6, 2022, as amended, and the Nominative Instruction 1,548, dated as of February 13, 2015, as amended. This registration process is undertaken by the investor’s legal representative in Brazil.

The right to convert dividend payments and proceeds from the sale of our shares into foreign currency and to remit such amounts outside Brazil is subject to restrictions under foreign investment legislation which generally requires, among other things, that the relevant investment be electronically registered with the Central Bank and the CVM.

We have obtained a certificate of registration in the name of The Bank of New York Mellon, the depositary, with respect to our ADS program. Pursuant to this certificate, the custodian and the depositary are able to convert dividends and other distributions with respect to the shares represented by ADSs into foreign currency and to remit the proceeds outside Brazil. In order for a holder of our ADSs to surrender its ADSs for the purpose of withdrawing the shares represented thereby, the investor is required to register as a Resolution 4,373 investor and meet the requirements mentioned above, as well as register its investment with the Central Bank. If the investor’s representatives fail to obtain or update the relevant certificates of registration, the investor may incur additional expenses or be subject to operational delays which could affect its ability to receive dividends or distributions relating to the shares or the return of its capital in a timely manner. An investor who surrenders its ADSs and withdraws the shares thereunder may be subject to less favorable Brazilian tax treatment on the gains from the disposition of the investment than a holder of ADSs.

E.Taxation

This description does not purport to be a comprehensive description of all of the tax considerations that may be relevant to any particular investor, including tax considerations that shall arise from rules of general application to all taxpayers or to certain classes of investors or that are generally assumed to be known by investors.

This summary is based upon tax laws of Brazil and the United States as of the date of this annual report, which are subject to change, possibly with retroactive effect, and to differing interpretations. Investors who hold our shares and ADSs should consult their own tax advisors as to the Brazilian, U.S. or other tax considerations relating to the ownership and disposition of shares or ADSs, including, in particular, the effect of any non-U.S., state or local tax laws.

The tax considerations described below do not take into account the effects of a possible future income tax treaty between Brazil and the United States. We cannot assure you as to whether or when an income tax treaty will enter into force or how it will affect U.S. holders of our shares or ADSs.

This summary does not address any tax issues that affect solely the Company, such as deductibility of expenses.

Brazilian tax considerations

General. The following discussion summarizes the main Brazilian tax considerations relating to the ownership and disposal of our shares or ADSs, as the case may be, by a holder that is not domiciled in Brazil for purposes of Brazilian taxation and, in the case of shares, has registered its investment in such securities with the Central Bank as a direct investment (in each case, a “non-Brazilian holder”). The following discussion does not address all of the Brazilian tax considerations applicable to any particular non-Brazilian holder. Therefore, each non-Brazilian holder should consult his or her own tax advisors concerning the Brazilian tax considerations relating to an investment in our shares or ADSs.

The Law No. 12,973/14 established new rules regarding the withholding tax exemption available on the payment of dividends and interest on capital. The legislation had no material impact, as foreseen by the tax consultants in the 20-F form in the previous year.

116

Taxation of dividends. Dividends paid by us, including stock dividends and other dividends paid in property, to the depositary in respect of the shares, or to a non-Brazilian holder in respect of shares, are currently exempted from withholding tax in Brazil to the extent that the dividends are paid out of profits as of January 1, 1996. Dividends relating to profits generated prior to January 1, 1996 may be subject to Brazilian withholding income tax at varying rates, depending on the year the profits were generated.

Interpretation of the discussion on the definition of “favorable tax jurisdiction.” On June 4, 2010, Brazilian tax authorities enacted the Normative Instruction 1,037 listing (i) the countries and jurisdictions considered as favorable tax jurisdiction or where local legislation does not allow access to information related to the shareholding composition of legal entities to their ownership or to the identity of the effective beneficiary of the income attributed to non-residents, or “tax haven” jurisdictions, and (ii) the privileged tax regimes, whose definition is provided by the Law No. 11,727/08. Although we believe that the best interpretation of the current tax legislation could lead to the conclusion that the above mentioned “privileged tax regime” concept should apply solely for purposes of Brazilian transfer pricing, thin capitalization and controlled foreign company rules, we cannot assure you whether subsequent legislation or interpretations by the Brazilian tax authorities regarding the definition of a “privileged tax regime” provided by the Law No. 11,727/08 will also apply to a non-Brazilian holder on payments potentially made by a Brazilian source.

Moreover, on November 28, 2014, due to the enactment of Ordinance No. 488, the definition of a favorable tax jurisdiction, for the purposes described above, was changed from jurisdictions where there is no income tax, or the income tax applicable rate is inferior to 20%, to jurisdictions where there is no income tax, or the income tax applicable rate is inferior to 17% (if the country is aligned with the international standards of fiscal transparency defined by Brazilian legislation).

We recommend prospective investors to consult their own tax advisors from time to time to verify any possible tax consequences arising of the Normative Ruling No. 1,037/10 and the Law No. 11,727/08. If the Brazilian tax authorities determine that the concept of “privileged tax regime” provided by the Law No. 11,727/08 will also apply to a non-Resident Holder on payments potentially made by a Brazilian source, the withholding income tax applicable to such payments could be assessed at a rate up to 25%.

Payments of interest on capital. The Law No. 9,249/95 permits Brazilian corporations to make distributions to shareholders of interest on capital, or interest attributed to shareholders’ equity.

These distributions may be paid in cash and such payments represent a deductible expense from the payer’s corporate income tax and social contribution on net profits tax basis. The deduction of such interest is limited to the daily pro rata variation of the Federal Government’s long-term interest rate, or TJLP, as determined by the Central Bank from time to time, and cannot exceed the greater of:

  • 50% of net income (determined after the social contribution on net profits and before the provision for corporate income tax, and the amounts attributable to shareholders as interest on net equity) related to the period in which the payment is made; or
  • 50% of the sum of accrued profits and profits reserves.

As a general rule, any payment of interest on capital to shareholders (including holders of ADSs in respect of shares) is subject to a withholding income tax at a rate of 15%, or 25% if the non-Brazilian holder is domiciled in a “tax haven” jurisdiction (“tax haven holder”). These payments may be included, net of withholding income taxes, as part of any mandatory dividend.

To the extent that payments of interest on capital are included as part of a mandatory dividend, we are required to distribute an additional amount to ensure that the net amount received by shareholders, after payment of the applicable withholding income tax, is at least equal to the mandatory dividend.

Distributions of interest on net equity to foreign holders may be converted into U.S. dollars and remitted outside Brazil, subject to applicable exchange controls, to the extent that the investment is registered with the Central Bank.

We cannot assure you if our Board of Directors will determine that future distributions should be made by means of dividends or interest on capital.

Taxation of gains. According to the Law No. 10,833/03 the gains recognized on a disposal of assets located in Brazil, such as our shares, by a non-Brazilian holder, are subject to withholding income tax in Brazil. This rule is applicable regardless of whether the disposal is conducted in Brazil or abroad and/or if the disposal is made to an individual or entity resident or domiciled in Brazil, or not.

117

As a general rule, capital gains realized as a result of a disposal transaction are the positive difference between the amount realized on the disposal of the shares and the respective acquisition cost.

Under the Brazilian law, however, income tax rules on such gains may vary depending on the domicile of the non-Brazilian holder, the type of registration of the investment by the non-Brazilian holder with the Brazilian Central Bank and how the disposition is carried out, as described below.

Capital gains realized by non-Brazilian holders on the disposal of shares sold on the Brazilian stock exchange (which includes the transactions carried out on the organized over-the-counter market):

  • Are subject to the withholding income tax at a 0% rate when realized by a non-Brazilian holder that (i) has registered its investment in Brazil before the Central Bank under the rules of the Resolution 4,373 issued by the Brazilian Monetary Counsel (“registered holder”) and (ii) is not resident or located in a country or location which is defined as a “favorable tax jurisdiction”, as described above; and
  • Are subject to income tax at a rate of 15% with respect to gains realized by (i) a non-Brazilian holder that is not a registered holder (including a non-Brazilian holder who qualifies under the Law No. 4,131/62) and is not resident or domiciled in a “favorable tax jurisdiction” and (ii) gains earned by tax haven holders that are registered holders. In this case, a withholding income tax of 0.005% shall be applicable and withheld by the intermediary institution (i.e., a broker), and can be later offset against any income tax due on the capital gain.

Any other gains realized on the disposal of shares that are sold on the Brazilian stock exchange or on the organized over-the-counter market:

  • Are subject to income tax at a rate of 15% when realized by any non-Brazilian holder that is not a tax haven holder, no matter if a registered holder or not; and
  • Are subject to income tax at a rate of 25% when realized by a tax haven holder, no matter if a registered holder or not.

In the cases above, if the gains are related to transactions conducted on the Brazilian non-organized over-the-counter market with intermediation, the withholding income tax of 0.005% shall also be applicable on the gross proceeds and can be offset against any income tax due on the capital gain.

Any exercise of preemptive rights relating to shares will not be subject to Brazilian income tax. Gains realized by a non-Brazilian holder on the disposal of preemptive rights will be subject to Brazilian income tax according to the same rules applicable to disposal of shares.

There can be no assurance that the current favorable tax treatment of registered holders will continue in the future.

Furthermore, according to the general rules set forth in the Law No. 13,259/16, any other gains on the disposal of shares (out of the Brazilian stock exchange and qualified under the Law No. 4,131/62) are subject to income tax at a progressive rate from 15% to 22.5%, or 25% if the resident is located in a “favorable tax jurisdiction” or tax haven.

Sale of ADS and shares by non-Brazilian holders to other non-residents in Brazil

Pursuant to Section 26 of the Law No. 10,833/03, the sale of property located in Brazil involving non-resident investors is subject to Brazilian income tax as of February 1, 2004. Our understanding is that ADSs do not qualify as property located in Brazil and, thus, should not be subject to the Brazilian withholding tax. We cannot assure you, however, that the Brazilian tax authorities or the Brazilian courts will agree with this interpretation. As a result, gains on a disposition of ADSs by a non-Brazilian holder to a non-resident, in the event that courts determine that ADSs would constitute assets located in Brazil, may be subject to income tax in Brazil according to the rules applicable to our common shares, as described above.

Insofar as the regulatory norm referred to in Section 26 is generic and since, at the present time, no definitive jurisprudence provided by Brazilian Superior Courts has been established with respect to this matter, we are unable to assure the final outcome of such discussion.

Gains on the exchange of ADS for shares

Although there is no clear regulatory guidance, the exchange of ADSs for shares should not be subject to Brazilian income tax. Non-Brazilian holders may exchange their ADSs for the underlying shares, sell the shares on a Brazilian stock exchange and remit abroad the proceeds of the sale within five business days from the date of exchange (in reliance on the depositary’s electronic registration). For further information, see “—Taxation of bonds and securities transactions (IOF/bonds).” Our understanding is that the exchange of ADSs for the underlying shares and sale of shares within the period mentioned above by a non-Brazilian holder that (i) is a registered holder and (ii) is not a tax haven holder, should not be subject to the withholding income tax.

118

Upon receipt of the underlying shares in exchange for ADSs, non-Brazilian holders may also elect to register with the Central Bank the U.S. dollar value of such shares as a foreign portfolio investment under the rules of the Brazilian Monetary Counsel, which will entitle them to the tax treatment referred above in connection with registered holders.

Alternatively, the non-Brazilian holder is also entitled to register with the Central Bank the U.S. dollar value of such shares as a foreign direct investment under the Law No. 4,131/62, in which case the respective sale would be subject to the tax treatment of non-Brazilian holders that are not registered holders.

Gains on the exchange of shares for ADS

The deposit of shares in exchange for the ADSs may be subject to Brazilian income tax on capital gains if the amount previously registered with the Central Bank as a foreign investment in shares (direct investment registered under Law No. 4,131/62) or, in the case of registered holders, the acquisition cost of the shares, as the case may be, is lower than:

  • The average price per share on the Brazilian stock exchange on which the greatest number of such shares were sold on the day of the deposit; or
  • If no shares were sold on that day, the average price on the Brazilian stock exchange on which the greatest number of shares were sold during the 15 preceding trading sessions.

The difference between the amount previously registered, or the acquisition cost, as the case may be, and the average price of the shares, calculated as set forth above, is considered a capital gain subject to income tax at a rate of 15%, or 25% for tax haven holders.

Taxation of foreign exchange transactions (IOF/exchange). IOF/exchange is imposed on the conversion of Reais into foreign currency and on the conversion of foreign currency into Reais. Currently, the applicable rate for most foreign currency exchange transactions is 0.38%, however, in the case of the settlement of foreign exchange transactions for the flow of capital into the country, made by foreign investors, for transactions in the financial and capital markets, the applicable rate is 0%. On March 15, 2022, the Brazilian Government issued the Decree 10,997/22, which establishes that IOF rate should be reduced to zero by 2029. The Brazilian Federal Government is permitted to increase the rate at any time, up to 25%. However, any increase in rates only applies to future transactions.

Taxation of bonds and securities transactions (IOF/bonds). The Law No. 8,894/94 created the IOF/bonds, which may be imposed on any transaction involving bonds and securities, even if the transaction includes Brazilian stock, futures or commodities exchange. The STF decided that the transfer of shares shall be taxed by IOF/bonds. The current rate of IOF/bonds with respect to transactions of shares is 0%. Regarding the ADSs, under the Decree No. 8,165/13 which amended the Decree No. 6,306/07, the IOF/bonds rate applicable to the transfer of shares listed on the Brazilian stock exchange, with the specific purpose of guaranteeing the issuance of depositary receipts in the foreign market, is currently 0%. The Brazilian government may increase the rate up to 1.5% per day during the terms of the securities, but only with respect to future transactions relating to shares or ADSs.

Other Brazilian taxes. Some Brazilian states impose gift and inheritance tax on gifts or bequests made by individuals or entities not domiciled or residing in Brazil to individuals or entities domiciled or residing within such states. There are no Brazilian stamp, issue, registration, or similar taxes or duties payable by holders of shares or ADSs.

U.S. federal income tax considerations

The following is a discussion of U.S. federal income tax considerations relating to the ownership and disposition of our shares or ADSs, but it does not purport to be a comprehensive description of all the tax considerations that may be relevant to U.S. holders of our shares or ADSs. The discussion applies only to a U.S. holder that holds our shares or ADSs as capital assets (generally, for investment purposes) for U.S. federal income tax purposes and does not address all the U.S. federal income tax considerations that may be relevant to a holder in light of its particular circumstances or to holders subject to special rules, such as dealers and traders in securities or currencies, financial institutions, insurance companies, tax-exempt entities, real estate investment trusts, regulated investment companies, persons that own, or have owned directly, indirectly or constructively, 10% or more of our shares (by vote or value) for U.S. federal income tax purposes, persons holding our shares or ADSs as part of a hedging transaction, wash sale, straddle, conversion transaction or other integrated transaction for U.S. federal income tax purposes, persons entering into a “constructive sale” with respect to our shares or ADSs for U.S. federal income tax purposes, persons that have a functional currency for U.S. federal income tax purposes other than the U.S. dollar, certain former citizens or long-term residents of the United States, persons who acquired our shares or ADSs pursuant to the exercise of any employee stock option or otherwise as compensation.

119

Moreover, this discussion does not address the U.S. federal estate and gift tax, Medicare contribution or alternative minimum tax considerations relating to the ownership or disposition of our shares or ADSs. U.S. holders should consult their tax advisors with respect to the U.S. federal, state, local and non-U.S. tax considerations relating to the ownership and disposition of our shares or ADSs.

This discussion is based on the Code, administrative pronouncements, judicial decisions, and final, temporary and proposed U.S. Treasury regulations, in each case as in effect and available on the date hereof. All of the foregoing is subject to change (possibly on a retroactive basis), or differing interpretations, which could affect the U.S. federal income tax considerations described herein. There can be no assurance that the IRS or a court will not take a contrary position with respect to any U.S. federal income tax considerations described below. In addition, this discussion assumes that each obligation provided for in or otherwise contemplated by the Deposit Agreement and any other related document will be performed in accordance with its terms.

For purposes of this discussion, a “U.S. holder” is a beneficial owner of our shares or ADSs that is for U.S. federal income tax purposes (i) a citizen or individual resident of the United States, (ii) a corporation, or other entity taxable as a corporation, created or organized under the laws of the United States or any political subdivision thereof, (iii) an estate the income of which is subject to U.S. federal income taxation regardless of its source, or (iv) a trust, (1) if such trust has validly elected to be treated as a U.S. person for U.S. federal income tax purposes, or (2) if a court within the United States is able to exercise primary supervision over its administration and one or more U.S. persons have the authority to control all of the substantial decisions of such trust.

If a partnership, or any other entity or arrangement treated as a partnership for U.S. federal tax income tax purposes, holds shares or ADSs, the U.S. federal income tax treatment of a partner in such partnership will generally depend on the status of the partner and on the activities of the partnership. Partnerships holding our shares or ADSs and partners in such partnerships should consult their tax advisors as to the particular U.S. federal income tax considerations of owning and disposing of our shares or ADSs.

Ownership of ADSs in general

In general, U.S. holders of ADSs will be treated for U.S. federal income tax purposes as owners of the shares underlying the ADSs. Accordingly, no gain or loss will be recognized if a U.S. holder exchanges ADSs for the underlying shares represented by those ADSs or exchanges the underlying shares represented by those ADSs for ADSs.

Taxation of distributions

Subject to the discussion below under “—Passive foreign investment company”, the gross amount of any distributions made to a U.S. holder on our shares or ADSs, before reduction for any Brazilian taxes, including withholding taxes attributable to interest on equity, will be includable as ordinary dividend income on the day on which the dividends are actually or constructively received by a U.S. holder to the extent paid out of our current or accumulated earnings and profits, as determined for U.S. federal income tax purposes. A distribution in excess of our current or accumulated earnings and profits will be treated as a non-taxable return of capital to the extent of the U.S. holder’s adjusted basis in our shares or ADSs and as a capital gain to the extent it exceeds the U.S. holder’s basis. We do not maintain calculations of our earnings and profits under U.S. federal income tax principles. Therefore, U.S. holders should expect that distributions by us will generally be treated as dividends to U.S. holders for U.S. federal income tax purposes.

A non-corporate U.S. holder will be subject to tax at the lower capital gain tax rate applicable to “qualified dividend income”, provided that certain conditions are satisfied, including that (1) our shares or ADSs, as applicable, are readily tradable on an established securities market in the United States, (2) we are neither a PFIC nor treated as such with respect to a U.S. holder (as discussed below) for the taxable year in which the dividend was paid and the preceding taxable year, and (3) certain holding period requirements are met. Although no assurance may be given, we believe that our ADSs are readily tradable on the NYSE, which is an established securities market in the United States. There can be no assurance, however, that our ADSs will be considered readily tradable on an established securities market in the United States in later years. Because we do not expect that our shares will be listed on an established securities market in the United States, we do not expect that dividends we pay on our shares will meet the conditions required for the reduced tax rate.

Dividends paid to U.S. holders in Reais will be includable in income in a U.S. dollar amount based on the exchange rate in effect on the date of actual or constructive receipt whether or not converted into U.S. dollars at that time. If dividends received in Reais are converted into U.S. dollars on the day they are actually or constructively received, the U.S. holder will generally not be required to recognize foreign currency gain or loss in respect of the dividend income. Assuming the payment is not converted at that time, the U.S. holder will have a tax basis in Reais equal to that U.S. dollar amount, which will be used to measure gain or loss from subsequent changes in exchange rates. Any gain or loss that a U.S. holder recognizes on a subsequent conversion of Reais into U.S. dollars (or other disposition) will generally be U.S. source ordinary income or loss for U.S. foreign tax credit purposes.

120

Dividends on our shares or ADSs received by a U.S. holder will generally be treated as foreign source income and will generally constitute passive category income for U.S. foreign tax credit purposes. Subject to certain conditions and limitations under U.S. federal income tax law concerning credits or deductions for non-U.S. taxes and certain exceptions for short-term and hedged positions, a Brazilian withholding tax imposed on dividends would be treated as a foreign income tax eligible for credit against a U.S. holder’s U.S. federal income tax liability (or at a U.S. holder’s election may be deducted in computing taxable income if the U.S. holder has elected to deduct all foreign income taxes for the taxable year). The rules with respect to foreign tax credits are complex and U.S. holders should consult their tax advisors regarding the availability of the foreign tax credit under their circumstances.

Taxation of sale, exchange or other disposition of shares or ADSs

Subject to the discussion below under “—Passive foreign investment company”, a U.S. holder will generally recognize gain or loss on the sale, exchange or other disposition of a share or ADS in an amount equal to the difference between the amount realized (including the gross amount of the proceeds before the reduction of any Brazilian tax) on such sale, exchange or other disposition and the U.S. holder’s adjusted tax basis in such share or ADS. Subject to the discussion below under “—Passive foreign investment company”, gain or loss on the sale, exchange or other disposition of a share or ADS will be capital gain or loss and will be long-term capital gain or loss if the U.S. holder held such share or ADS for more than one year. Gain or loss recognized by a U.S. holder will generally be treated as U.S. source gain or loss for U.S. foreign tax credit purposes, as the case may be. An individual U.S. holder may be entitled to preferential rates of taxation for net long-term capital gains; however, the deductibility of capital losses is subject to limitations under the Code.

A U.S. holder’s initial tax basis of our shares or ADSs will be the U.S. dollar value of the purchase price determined on the date of purchase. If our shares or ADSs are treated as traded on an “established securities market,” a cash basis U.S. holder (or, if it elects, an accrual basis U.S. holder) will determine the U.S. dollar value of the cost of such shares or ADSs by translating the amount paid at the spot rate of exchange on the settlement date of the purchase. The conversion of U.S. dollars to Reais and the immediate use of that currency to purchase shares or ADSs will generally not result in taxable gain or loss for a U.S. holder.

A U.S. holder that receives Reais upon a sale, exchange or other disposition of our shares or ADSs will realize an amount equal to the U.S. dollar value of the Reais on the date of sale, exchange, or other disposition. If our shares or ADSs are treated as traded on an “established securities market,” a cash basis U.S. holder (or, if it elects, an accrual basis U.S. holder) will determine the U.S. dollar value of the amount realized by translating the amount received at the spot rate of exchange on the settlement date of the sale, exchange or other disposition. A U.S. holder will have a tax basis in the Reais received equal to that U.S. dollar amount. Any gain or loss realized by a U.S. holder on a subsequent conversion of Reais into U.S. dollars (or other disposition) will generally be U.S. source ordinary income or loss for U.S. foreign tax credit purposes.

If any gain from the sale, exchange or other disposition of our shares or ADSs is subject to Brazilian tax, U.S. holders may not be able to credit such taxes against their U.S. federal income tax liability under the U.S. foreign tax credit limitations of the Code since such gain will generally be U.S. source income, unless such tax can be credited (subject to applicable limitations) against tax due on other income treated as derived from foreign sources. Alternatively, the U.S. holder may take a deduction for the Brazilian income tax if such holder does not take a credit for any foreign income tax during the taxable year. The rules with respect to foreign tax credits are complex and U.S. holders should consult their tax advisors regarding the availability of the foreign tax credit under their particular circumstances.

Passive foreign investment company

In general, certain adverse consequences could apply to a U.S. holder if we are treated as a PFIC for any taxable year during which the U.S. holder holds our shares or ADSs. A non-U.S. corporation will be classified as a PFIC for U.S. federal income tax purposes in any taxable year in which, after applying certain look-through rules, either (i) at least 75% of its gross income consists of “passive income”, such as dividends, interest, rents, royalties and certain gains, including certain gains from commodities transactions, other than those that meet the Commodity Exception, or (ii) at least 50% of the average quarterly value of its gross assets is attributable to assets that produce or are held for the production of passive income.

We must make a separate determination each year as to whether we are a PFIC. Based on a review of our gross income and assets, the manner in which we currently operate our business, the current market price of our shares, and the current interpretation of the PFIC rules, including the Commodity Exception, we believe that we were not a PFIC for U.S. federal income tax purposes for the 2019 taxable year. However, the determination as to whether we are a PFIC for any taxable year is based on the application of complex U.S. federal income tax rules, which are subject to differing interpretations, depends upon the composition of a company’s income and assets and the market value of its assets from time to time, and is not made until after the end of a taxable year. Consequently, there can be no assurance that we will not be considered a PFIC for the current taxable year or any subsequent taxable year.

121

If we are a PFIC for any taxable year during which a U.S. holder holds our shares or ADSs, a U.S. holder of our shares or ADSs may be subject to imputed interest charges and other generally adverse tax consequences with respect to any gain from the sale, exchange or other taxable disposition of, and certain “excess distributions” with respect to, our shares or ADSs. Distributions received in a taxable year that are greater than 125% of the average annual distributions received during the shorter of (i) the three preceding taxable years or (ii) a U.S. holder’s holding period for the shares or ADSs will be treated as “excess distributions.” Under these special tax rules: (A) any excess distributions or gain will be allocated ratably to each day in the U.S. holder’s holding period for the shares or ADSs, (B) the amount allocated to the taxable year of disposition, and any taxable year prior to the first taxable year in which we are a PFIC, will be treated as ordinary income, and (C) the amount allocated to each other taxable years that we were a PFIC will be subject to tax at the highest tax rate applicable to ordinary income in effect for such taxpayer for each such earlier taxable year and the interest charge generally applicable to underpayments of tax will be imposed on the resulting tax attributable to each such year.

If we are a PFIC for any taxable year during which a U.S. holder holds our shares or ADSs and any of our non-U.S. subsidiaries is also a PFIC, such U.S. holder would be treated as owning a proportionate amount (by value) of the shares of the lower-tier PFIC and would be subject to the rules described above on certain distributions by such lower-tier PFIC and a disposition of shares of such lower-tier PFIC even though such U.S. holder would generally not receive the proceeds of those distributions or dispositions. U.S. holders should consult their tax advisors regarding the application of the PFIC rules to any of our subsidiaries.

If a company that is a PFIC provides certain information to U.S. holders, a U.S. holder can then avoid certain adverse tax consequences described above by making a “qualified electing fund” election to be taxed currently on its proportionate share of the PFIC’s ordinary income and net capital gains. However, a qualified electing fund election will not be available to U.S. holders because we do not intend to provide the necessary information to allow U.S. holders to make such an election for any tax year in which we are a PFIC.

Alternatively, a U.S. holder of “marketable stock” in a PFIC may make a mark-to-market election with respect to such stock. Marketable stock is stock that is traded in other than de minimis quantities on at least 15 days during each calendar quarter (“regularly traded”) on a qualified exchange (such as the NYSE) or other market as defined in applicable U.S. Treasury regulations. We believe that our shares and ADSs qualify as being regularly traded on a qualified exchange, but no assurances may be given in this regard. If a U.S. holder makes this election, such holder will generally (i) include as income for each taxable year the excess, if any, of the fair market value of our shares or ADSs held at the end of the taxable year over the adjusted tax basis of such shares or ADSs and (ii) deduct as a loss the excess, if any, of the adjusted tax basis of our shares or ADSs over the fair market value of such shares or ADSs held at the end of the taxable year, but only to the extent of the amount previously included in income as a result of the mark-to-market election. The U.S. holder’s adjusted tax basis in our shares or ADSs would be adjusted to reflect any income or loss resulting from the mark-to-market election. If a U.S. holder makes a mark-to-market election in respect of a corporation classified as a PFIC and such corporation ceases to be classified as a PFIC, such holder will not be required to take into account the gain or loss described above during any period that such corporation is not classified as a PFIC.

Because a mark-to-market election cannot be made for any lower-tier PFICs that we may own, a U.S. holder may continue to be subject to the PFIC rules with respect to such holder’s indirect interest in any investments held by us that are treated as an equity interest in a PFIC for U.S. federal income tax purposes.

U.S. holders should consult their tax advisors regarding the tax consequences that would arise if we were treated as a PFIC for U.S. federal income tax purposes, including the possibility of making a mark-to-market election.

Foreign tax credit for Brazilian taxes

Any Brazilian IOF/exchange tax imposed on a purchase of our shares or ADSs or IOF/bonds tax imposed on a transaction (as discussed above under “Brazilian tax considerations”) will not be treated as a creditable foreign tax for U.S. federal income tax purposes. U.S. holders should consult their tax advisors regarding the tax consequences of these Brazilian taxes.

Certain reporting requirements

Certain U.S. holders are required to report to the IRS information relating to an interest in our shares or ADSs, subject to exceptions (including an exception for shares or ADSs held in accounts maintained by certain financial institutions), by attaching a complete IRS Form 8938, Statement of Specified Foreign Financial Assets, with their tax return for each year in which they held an interest in our shares or ADSs. If a U.S. holder holds our shares or ADSs in any year in which we are treated as a PFIC with respect to such U.S. holder, the U.S. holder will be required to file IRS Form 8621. U.S. holders should consult their tax advisors regarding the application of the U.S. information reporting rules to their particular circumstances.

122

THE PRECEDING DISCUSSION OF U.S. FEDERAL INCOME TAX CONSIDERATIONS IS INTENDED FOR GENERAL INFORMATION ONLY AND DOES NOT CONSTITUTE TAX ADVICE. U.S. HOLDERS SHOULD CONSULT THEIR TAX ADVISORS AS TO THE U.S. FEDERAL, STATE, LOCAL AND NON-U.S. TAX CONSEQUENCES TO THEM OF AN INVESTMENT IN OUR SHARES OR ADSs.

F.Dividends and paying agents

Not applicable.

G.Statement by experts

Not applicable.

H.Documents on display

Statements contained in this annual report as to the contents of any contract or other document referred to are not necessarily complete, and each of these statements is qualified in all respects by reference to the full text of such contract or other document filed as an exhibit hereto. A copy of the complete annual report including the exhibits and schedules filed herewith is available on the website maintained by the SEC that contains information filed electronically with the SEC, which can be accessed over the internet at http://www.sec.gov.

We are subject to the information and periodic reporting requirements of the Securities Exchange Act of 1934 as amended, and, in accordance therewith, file periodic reports and other information with the SEC. However, as a foreign private issuer, we are exempt from the rules under the Exchange Act relating to the furnishing and content of proxy statements and relating to short-swing profits reporting and liability.

We furnish to The Bank of New York Mellon, as depositary, copies of all reports we are required to file with the SEC under the Exchange Act, including our annual reports in English, containing a brief description of our operations and our audited annual Consolidated Financial Statements which are prepared in accordance with IFRS. In addition, we are required under the Deposit Agreement to furnish the depositary with copies of English translations to the extent required under the rules of the SEC of all notices of meetings of holders of common shares and other reports and communications that are generally made available to holders of common shares. Under certain circumstances, the depositary will arrange for the mailing, at our expense, of these notices, other reports and communications to all ADS holders.

We also file financial statements and other periodic reports with the CVM located at Sete de Setembro Street, 111, Rio de Janeiro, Brazil, 20050-901. In addition, the CVM maintains a website that contains information filed electronically with them, which can be accessed over the internet at http://www.gov.br/cvm/pt-br.

You may obtain additional information about us on our website at http://ri.ultra.com.br/. The information contained therein is not necessarily part of this annual report.

I.Subsidiary information

Not applicable.

J.Annual report to security holders

Not applicable.

ITEM 11. QUANTITATIVE AND QUALITATIVE DISCLOSURES ABOUT MARKET RISK

You should read this discussion along with Note 31 to our Consolidated Financial Statements.

The main risks to which the Company and its subsidiaries are exposed reflect strategic/operational and economic/financial aspects. Strategic/operational risks (including, but not limited to, demand behavior, competition, technological innovation, and material changes in the industry structure) are addressed by Ultrapar’s management model. Economic/financial risks primarily reflect default of customers, behavior of macroeconomic variables, such as exchange and interest rates, as well as the characteristics of the financial instruments used by the Company, its subsidiaries and their counterparties. These risks are managed through control policies, specific strategies, and establishment of limits.

123

The Company has a policy for the management of resources, financial instruments, and risks approved by its Board of Directors (“Policy”). In accordance with the Policy, the main objectives of financial management are to preserve the value and liquidity of financial assets and ensure financial resources for the development of the businesses, including expansions. The main financial risks considered in the Policy are market risks (currencies, interest rates and commodities), liquidity risks and credit risks.

The governance of the management of financial risks follows the segregation of duties below:

  • The execution of the Policy has done by corporate financial board, through its treasury department, with the assistance of the controllership, accounting, legal and tax departments;
  • The monitoring of compliance of the Policy and possible issues is the responsibility of the Financial Risks Committee, (“Committee”), which is composed of the CFO, the Treasury and Controllership Director and at least two other directors designated by the CFO, who meet quarterly. The monthly monitoring of this policy standards is the responsibility of the CFO; and
  • The approval of the Policy and the periodic assessment of the Company’s exposure to financial risks are subject to the approval of the Board of Directors of Ultrapar.

The Audit and Risks Committee advises the Board of Directors in the assessment of controls, management and exposure of financial risks and revision of the Policy. The Risks, Integrity and Audit Department monitors the standards compliance of the Policy and reports to the Audit and Risks Committee the risks exposure and compliance or noncompliance with the Policy.

Currency risk

The transactions of Ultrapar, through its subsidiaries, are located in Brazil and, therefore, the reference currency for risk management is the Brazilian Real (Ultrapar’s functional currency). Currency risk management is guided by neutrality of currency exposures and considers risks of Ultrapar and its subsidiaries and its exposure to changes in exchange rates. The Company considers as its main currency exposures the assets and liabilities in foreign currency.

The Company and its subsidiaries use exchange rate hedging instruments (especially between the Real and the U.S. dollar) available in the financial market to protect their assets, liabilities, receipts and disbursements in foreign currency and net investments in foreign operations. Hedge is used in order to reduce the effects of changes in exchange rates on the Company’s income and cash flows in Reais within the exposure limits under its Policy. Such foreign exchange hedging instruments have amounts, periods, and rates substantially equivalent to those of assets, liabilities, receipts and disbursements in foreign currency to which they are related. Assets and liabilities in foreign currencies are stated below, translated into Reais as of December 31, 2022, 2021 and 2020.

124

Assets and liabilities in foreign currency

In millions of Reais



2022

2021

2020

Assets in foreign currency










Cash, cash equivalents and financial investments in foreign currency (except hedging instruments)


311.0



122.2



1,413.3


Foreign trade receivables, net of allowance for expected credit losses


6.1



1.3



307.8


Other receivables


727.1



-

-


Other assets of foreign subsidiaries


280.7



186.5



1,767.6


Asset exposure in subsidiaries held for sales


-



3,839.2



-




1,324.9



4,149.3



3,488.7


Liabilities in foreign currency










Financing in foreign currency gross of transaction costs and discount


(5,312.1

)

(8,860.8

)

(9,246.7

)

Payables arising from imports


(1,940.0

)

(649.1

)

(633.0

)

Liability exposure in subsidiaries held for sales


-



(884.4

)

-




(7,153.1

)

(10,394.3

)

(9,879.7

)

Foreign currency hedging instruments


5,274.3



2,933.6



4,837.6


Foreign currency hedging instruments from subsidiaries held for sales


-



1,786.5



-


Net asset (liability) position – Total


(553.8

)

(1,525.0

)

(1,553.4

)

Net asset (liability) position – Income statement effect


(553.8

)

(498.6

)

186.3


Net asset (liability) position – Shareholders’ equity effect in subsidiaries held for sale


-



(1,026.4

)

(1,739.7

)










125

Sensitivity analysis of assets and liabilities in foreign currency

For the base scenario, future market curves as of December 31, 2022, were applied on the Company’s net position exposed to the currency risk, simulating the effects of appreciation and devaluation of the Real in the income statement.

The table below shows the effect of exchange rate changes, based on the total liability position of R$553.8 million in foreign currency.





Base



In millions of Reais



Risk



Scenario



Income statement effect


Real devaluation


(26.6

)


Net effect


(26.6

)

Income statement effect


Real appreciation


26.6




Net effect


26.6


Interest rate risk

Ultrapar adopts policies for borrowing and investing financial resources and for capital cost minimization. The financial investments of Ultrapar are primarily held in transactions linked to the DI. Our borrowings primarily relate to financings from debentures, Banco do Brasil, and borrowings in foreign currency.

Ultrapar seeks to maintain most of its financial assets and liabilities at floating rates.

The table below provides information as of December 31, 2022 about our consolidated debt in foreign currency and in Reais that are subject to variable and fixed rates of interest. The table summarizes information on instruments and transactions that are sensitive to foreign currency exchange rates and interest rates:



Principal by year of maturity(1)

Debt

Weighted average interest rate

Fair value

Book value


2023
2024
2025
2026
2027
2028 and thereafter
(in millions of Reais)








U.S. dollar borrowings 5.0% 5,133.3
5,135.6
686.8
(5.2 )
499.6
2,268.7
-
1,685.7
Borrowings indexed to the IPCA IPCA + 5.0% 3,493.6
3,493.6
30.4
723.7
283.0
(9.3 )
-
2,465.9
Borrowings indexed to the DI 103.2% of the DI 2,373.8
2,460.7
2,460.7
-
-
-
-
-
R$ borrowings 6.5% 81.5
81.5
0.5
89.9
(8.8 )
-
-
-
Euro borrowings 2.9% 54.5
54.5
54.5
-
-
-
-
-
Subtotal 11,136.9
11,226.0
3,232.9
808.4
773.7
2,259.5
-
4,151.6
Unrealized losses on swaps transactions 524.3
524.3
127.8
9.5
9.2
9.2
-
368.6
Total 11,661.2
11,750.4
3,360.7
817.9
783.0
2,268.6
-
4,520.2


(1) Figures include interest accrued through December 31, 2022.

For more information about our interest rate risk, see Note 31.c to our Consolidated Financial Statements.

Credit risk

The financial instruments that would expose the Company and its subsidiaries to credit risks of the counterparty are basically represented by cash and cash equivalents, financial investments, hedging instruments and trade receivables. See Notes 5, 6 and 31.d to our Consolidated Financial Statements.

126


Customer credit risk. The credit policy establishes the analysis of the profile of each new customer, individually, regarding their financial condition. The review carried out by the subsidiaries of the Company includes the evaluation of external ratings, when available, financial statements, credit bureau information, industry information and, when necessary, bank references. Credit limits are established for each customer and reviewed periodically, in a shorter period the greater the risk, depending on the approval of the responsible area in cases of sales that exceed these limits.

In monitoring credit risk, customers are grouped according to their credit characteristics and depending on the business the grouping takes into account, for example, whether they are natural or legal clients, whether they are wholesalers, resellers or final customers, considering also the geographic area.

The expected credit losses are calculated by the expected loss approach based on the probability of default rates. Loss rates are calculated on the basis of the average probability of a receivable amount to advance through successive stages of default until full write-off. The probability of default calculation takes into account a credit risk score for each exposure, based on data considered to be capable of foreseeing the risk of loss (external classifications, audited financial statements, cash flow projections, customer information available in the press, for example), with addition of the credit assessment based on experience.

Such credit risks are managed by each business unit through specific criteria for acceptance of customers and their credit rating and are additionally mitigated by the diversification of sales. The subsidiaries of the Company request from customers secured by trade receivables and other receivables in certain circumstances, but such security arrangements are not taken account of when calculating the risk of loss. As of December 31, 2022, the loss allowance for expected credit losses on their trade receivables recorded for Ipiranga, Ultragaz and Ultracargo were R$373.5 million, R$120.1 million and R$2.5 million, respectively. In addition, as of December 31, 2022, no single customer or group accounts for more than 10% of total revenue. For further information, see Notes 6.a, 6.b and 31.d.3 to our Consolidated Financial Statements.

Credit risk of financial institutions. Such risk results from the inability of financial institutions to comply with their financial obligations to the Company and its subsidiaries due to insolvency. Ultrapar regularly conduct a credit analysis of the institutions with which they hold cash and cash equivalents, financial investments, and hedging instruments through various methodologies that assess liquidity, solvency, leverage, portfolio quality, etc. Cash and cash equivalents, financial investments, and hedging instruments are held only with institutions with a solid credit history, chosen for safety and soundness. The volume of cash and cash equivalents, financial investments, and hedging instruments are subject to maximum limits by each institution and, therefore, require diversification of counterparties.

Government credit risk. The Company’s Policy allows investments in government securities from countries classified as investment grade AAA or Aaa by specialized credit rating agencies (S&P, Moody’s and Fitch) and in Brazilian government bonds. The volume of such financial investments is subject to maximum limits by each country and, therefore, requires diversification of counterparties.

The credit risk of financial institution and government related to cash, cash equivalents and financial investments is summarized below:


Fair value (in millions of Reais)



Counterparty credit rating

2022



2021



2020


AAA

5,721.0



3,606.0



8,190.4


AA

809.6



740.9



317.9


A

3.5



116.6



163.8


Others

50.9



-



-


Total

6,585.0



4,463.5



8,672.2


Commodity price risk

The Company and its subsidiaries are exposed to commodity price risk, resulting from the fluctuation of diesel and gasoline prices, among others. These products are traded on the stock exchange and are subjected to the impacts of macroeconomic and geopolitical factors outside the control of the Company and its subsidiaries.

To mitigate the risk of the fluctuation of diesel and gasoline prices, the Company and its subsidiaries permanently monitor the market, seeking protection against price movements through hedge transactions for imports, using contracts of derivative for heating oil (diesel) and RBOB (gasoline) traded on the stock exchange.

127

The table below shows the positions of derivative financial instruments to hedge commodity price risk as of December 31, 2022 and 2021:

Derivative

Contract


Notional (m3)


Notional
(US$ million)


Fair value



Sensitivity analysis
(∆ 10%)



Position

Commodity

Maturity


2022

2021


2022

2021

2022



2021

2022



2021














R$ million



R$ million



R$ million



R$ million


Term

Sold

Heating Oil

Jul-23


158,828


167,255


150.5


103.1


(52.2

)

2.3



(124.3

)

(55.1

)

Term

Sold

RBOB

Jan-23


52,466


29,413


31.4


17.1


(15.5

)

(1.0

)

(33.4

)

(10.6

)














(67.7

)

1.3



(157.7

)

(65.7

)

Liquidity risk

The Company’s main sources of liquidity derive from (i) cash, cash equivalents and financial investments, (ii) cash generated from operations and (iii) financing. The Company believes that these sources are sufficient to satisfy its current funding requirements, which include, but are not limited to, working capital, capital expenditures, amortization of debt and payment of dividends.

The Company periodically examines opportunities for acquisitions and investments. The Company considers different types of investments, either directly, through joint-ventures, or through associated companies, and finance such investments using cash generated from operations, debt financing, through capital increases or through a combination of these methods.

The Company believes it has sufficient working capital to satisfy its current needs. The consolidated debt due over the next twelve months totals R$3,744.3 million, including estimated interests on loans. As of December 31, 2022, the Company had R$6,142.1 million in cash, cash equivalents and short-term financial investments (for quantitative information, see Notes 5 and 17.a to our Consolidated Financial Statements).

For a summary of the Company financial liabilities and leases payable as of December 31, 2022, see Note 31.e to our Consolidated Financial Statements.

Capital management

The Company manages its capital structure based on indicators and benchmarks to ensure the continuity of its business while maximizing returns to shareholders by optimizing its debt and capital structure.

The Company’s capital structure is composed of Net Debt (representing the sum of Gross Debt and leases payable minus cash, cash equivalents, financial investments and derivative financial instruments) and equity. The Company can change its capital structure depending on the economic and financial conditions, in order to optimize its financial leverage and capital management. The Company seeks to improve its return on invested capital by implementing efficient working capital management and a selective investment program.

Annually, the Company and its subsidiaries revise their capital structure, evaluating the cost of capital and the risks associated with each class of capital and through the leverage ratio analysis, which is determined as the ratio between Net Debt and equity. For a reconciliation of Net Debt, see “Item 4.B. Information on the Company—Business overview—Key financial information.”

The leverage ratio at the end of the year is the following:




As of December 31,




2022


2021

In millions of Reais (except when indicated)






Net Debt (A)



6,689.2


13,262.5

Equity (B)



12,175.0


10,469.2

Leverage ratio (A/B)



54.9%


126.7%

128

Selection and use of financial instruments

In selecting financial investments and hedging instruments, an analysis is conducted to estimate rates of return, risks involved, liquidity, calculation methodology for the carrying value and fair value, and a review is conducted of any documentation applicable to the financial instruments. The financial instruments used to manage the financial resources of the Company are intended to preserve value and liquidity.

The Policy contemplates the use of derivative financial instruments only to cover identified risks and in amounts consistent with the risk (limited to 100% of the identified risk). The risks identified in the Policy are described in the above sections and are subject to risk management. In accordance with the Policy, the Company and its subsidiaries can use forward contracts, swaps, options, and futures contracts to manage identified risks. Leveraged derivative instruments are not permitted. Because the use of derivative financial instruments is limited to the coverage of identified risks, the Company and its subsidiaries uses the term “hedging instruments” to refer to derivative financial instruments.

The table below summarizes the position of hedging instruments entered by the Company:

a) Designated as hedge accounting

2022















Product


Hedged object


Contracted rates


Maturity


Notional amount (million)


Fair value
(R$ million)



Gains (losses)





Assets

Liabilities






Assets



Liabilities



Results

Foreign exchange swap


Financing


USD + 4.95%

106.7% DI


Sep/25


US$221.3


106.5



(9.2

)

(121.3

)

Foreign exchange swap


Financing


US$ + LIBOR-3M + 1.14%

105.0% DI


Jun/22


-


-



-



(21.6

)

Foreign exchange swap


Financing


EUR + 3.42%

111.6% DI


Mar/23


EUR9.7


2.0



-



2.6

Interest rate swap


Financing


IPCA + 5.03%

102.9% DI


Jun/32


R$3,226.1


173.7



(59.8

)

(143.8

)

Term


Financing


6.47%

99.9% DI


Nov/24


R$90.0


-



(9.5

)

(5.1

)

NDF


Firm commitments


R$

Heating Oil/ RBOB


Jul/23


US$181.9


2.9



(70.6

)

(945.0

)

NDF


Firm commitments


R$

US$


Jan/23


US$127.2


4.7



(3.1

)

53.8










Total


289.9



(152.2

)

(1.180.3

)


2021


















Product


Hedged


Rates agreement


Maturity


Notional amount (million)


Fair value
(R$ million)


Gains (losses)





Assets

Liabilities






Assets



Liabilities


Results

Foreign exchange swap


Financing


USD + 4.65%

104.9% DI


Sep/23


US$125.0


212.5



-


11.7

Foreign exchange swap


Financing


US$ + LIBOR-3M + 1.14%

105.0% DI


Jun/22


US$50.0


109.3



-


10.8

Interest rate swap


Financing


IPCA + 4.59%

102.0% DI


Sep/28


R$2,226.1


201.6



(35.2

)
(17.9 )

Interest rate swap


Financing


6.47%

99.9% DI


Nov/24


R$90.0


-



(9.0

)
(10.1 )

Term


Firm commitments


R$

Heating Oil/ RBOB


Jan/22


US$120.3


3.1



(1.8

)
(130.8 )

NDF


Firm commitments


R$

US$


Jan/22


US$68.4


7.0



(1.3

)
0.8










Total


533.6



(47.4

)
(135.5 )

129

b) Not designated as hedge accounting

2022











Product


Hedged


Rates agreement


Maturity


Notional amount (million)


Fair value
(R$ million)



Gains (losses)






Assets

Liabilities






Assets



Liabilities



Results


Foreign exchange swap


Debt


USD + 0.00%

53.0% DI


Jun/29


US$375,000


230.1



(9.2

)

(85.5

)

NDF


Firm commitments


USD

BRL


Jul/23


US$1,116,702


36.5



(54.1

)

(440.4

)

Interest rate swap


Debt


USD + 5.25%

DI - 1.36%


Jun/29


US$300,000


-



(308.8

)

(266.4

)










Total


266.6



(372.1

)

(792.3

)

2021



















Product


Hedged


Rates agreement


Maturity


Notional amount


Fair value
(R$ million)



Gains (losses)






Assets

Liabilities






Assets



Liabilities



Results


Foreign exchange swap


Debt


2.67%

100.0% DI


May/21


-


-



-



0.0


NDF


Firm commitments


USD

BRL


Jun/22


US$625,762


26.5



(23.1

)

54.7


Interest rate swap


Debt


USD + 5.25%

DI – 1.36%


Jun/29


US$300,000


-



(126.8

)

(109.1

)










Total


26.5



(149.8

)

(54.3

)

All transactions mentioned above were properly registered with the over-the-counter segment of B3.

Hedging instruments existing in 2022 are described below, according to their category, risk, and hedging strategy:

a – Hedging against foreign exchange exposure of liabilities in foreign currency. The purpose of these contracts is (i) to offset the effect of the change in exchange rates of debts or firm commitments in U.S. dollars by converting them into debts or firm commitments in Reais linked to DI, (ii) change a financial investment linked to the DI and (iii) change a financial investment linked to the DI and given as a guarantee to a loan in the U.S. dollar into a financial investment linked to the U.S. dollar. The tables below present our position in this category of swaps as of December 31, 2022:


Maturity
Fixed interest
2023
2024 and thereafter
Notional amount (in millions of U.S. dollars)
125.0
471.3

Notional amount (in millions of Reais(1)


652.2

2,459.3


Average receiving rate

US$ + 4.65%

US$ + 1.09%


Average payment rate

104.9% of the DI

51.9% of the DI




(1) Notional amount converted according to the commercial selling rate reported by the Central Bank (PTAX) as of December 31, 2022.


Fixed interest – Coupon only
2023
2024 and thereafter

Notional amount (in millions of U.S. dollars)


-


300.0

Notional amount (in millions of Reais(1)


-


1,565.3

Average receiving rate


-


US$ + 5.25%

Average payment rate


-


DI – 1.36%



(1) Notional amount converted according to the commercial selling rate reported by the Central Bank (PTAX) as of December 31, 2022.


130


Fixed interest – EUR
2023
2024 and thereafter
Notional amount (in millions of EUR)
9.7
-
Notional amount (in millions of Reais(1)
54.1
-
Average receiving rate
US$ + 3.42%
-
Average payment rate
111.6% of the DI
-

b – Hedging against fixed interest rate in Reais. The purpose of this contract is to change fixed interest rate of debentures issued in Reais to floating interest. The table below presents our position in this category of swaps as of December 31, 2022.

IPCA
Maturity 2024 and thereafter
Notional amount (in millions of U.S. dollars)
618.3
Notional amount (in millions of Reais(1)
3,226.1
Average receiving rate
5.03% p.a. + IPCA
Average payment rate
102.9% of the DI


(1) Notional amount converted according to the commercial selling rate reported by the Central Bank (PTAX) as of December 31, 2022.

Fixed interest
2024 and thereafter
Notional amount (in millions of U.S. dollars)
17.2
Notional amount (in millions of Reais(1)
90.0
Average receiving rate
6.47%
Average payment rate
99.9% of the DI


(1) Notional amount converted according to the commercial selling rate reported by the Central Bank (PTAX) as of December 31,2022.

c – Hedging against commodities exposure of operations. The purpose of these contracts results from the possibility of price oscillation regarding products marketed specially diesel (heating oil) and gasoline (RBOB). These price fluctuations may cause substantial alterations in the sales revenues and costs. The table below presents our position in this category of NDF’s as of December 31, 2022:

Term
Maturity 2023
Notional amount of NDF´s (in millions of U.S. dollars)
181.8
Notional amount of NDF´s (in millions of Reais(1)
949.0
Position
Sold
Contract
Heating oil / RBOB


(1) Notional amount converted according to the commercial selling rate reported by the Central Bank (PTAX) as of December 31, 2022.
131

Hedge accounting

The Company uses derivative and non-derivative financial instruments for hedging purposes and test, throughout the duration of the hedge, their effectiveness, as well as the changes in their fair value.

The Company and its subsidiaries will not discontinue hedge accounting if the retrospective assessment of hedge effectiveness is not within the range of 80%-125% and the hedge relationship is subject to interest rate benchmark reforms. For hedge relationships that are not subject to interest rate benchmark reforms, the Company discontinues the hedge accounting if the retrospective effectiveness is not within the range of 80%-125%.

For more information about our fair value hedge, cash flow hedge or net investment hedge, see Note 31.h to our Consolidated Financial Statements.

ITEM 12. DESCRIPTION OF SECURITIES OTHER THAN EQUITY SECURITIES
  1. Debt securities

Not applicable.

B. Warrants and rights

Not applicable.

C. Other securities

Not applicable.

D. American depositary shares

In the United States, our common shares are traded in the form of ADSs. Each of our ADSs represents one common share of Ultrapar, issued by The Bank of New York Mellon, as depositary, pursuant to a deposit agreement, dated September 16, 1999, as amended and restated on August 23, 2005, on August 22, 2011, and on March 2, 2018. The depositary’s principal executive office is located at 240 Greenwich Street, New York, New York 10286.

Fees and expenses

The following table summarizes the fees and expenses payable by holders of ADSs:

Persons depositing or withdrawing shares must pay:



For


$5.00 (or less) per 100 ADSs (or portion of 100 ADSs)


(i) Issuance of ADSs, including issuances resulting from a distribution of shares or rights or other property (ii) Cancellation of ADSs for the purpose of withdrawal, including if the Deposit Agreement terminates

$0.05 (or less) per ADSs (or portion thereof)


Any cash distribution

A fee equivalent to the fee that would be payable if securities distributed to you had been shares and the shares had been deposited for issuance of ADSs


Distribution of securities to holders of deposited securities which are distributed by the depositary to ADS holders

$0.05 (or less) per ADS (or portion thereof) per annum


Depositary services

Registration or transfer fees


Transfer and registration of shares on our share register to or from the name of the depositary or its agent when you deposit or withdraw shares

Expenses of the depositary


(i) Cable (including SWIFT) and facsimile transmissions (when expressly provided in the deposit agreement) (ii) Converting foreign currency to U.S. dollars

Taxes and other governmental charges the depositary or the custodian have to pay on any ADS or share underlying an ADS, for example, stock transfer taxes, stamp duty or withholding taxes


As necessary

Any charges incurred by the depositary or its agents for servicing the deposited securities


As necessary

132

Payment of taxes

The depositary may deduct the amount of any taxes owed from any payments to investors who hold ADSs. It may also sell deposited securities, by public or private sale, to pay any taxes owed. Investors who hold ADSs will remain liable if the proceeds of the sale are not sufficient to pay the taxes. If the depositary sells deposited securities, it will, if appropriate, reduce the number of ADSs to reflect the sale and pay to investors who hold ADSs any proceeds, or send to investors who hold ADSs any property, remaining after it has paid the taxes.

Reimbursement of fees

The Bank of New York Mellon, as depositary, has agreed to reimburse us for expenses we incur that are related to establishment and maintenance expenses of the ADS facility, including, but not limited to, investor relations expenses. The depositary has also agreed to pay its standard out-of-pocket maintenance expenses for providing services to registered DR holders, which consist of the expenses of postage and envelopes for mailing annual and interim financial reports, printing and distributing dividend checks, U.S. IRS tax reporting, mailing required tax forms, stationery, postage, facsimile, and telephone.

Reimbursement of fees incurred in 2022

From January 1, 2022 to December 31, 2022, Ultrapar received from the depositary US$577.6 thousand, related to continuing maintenance expenses of the ADS facility, including but not limited to, investor relations expenses.

PART II
ITEM 13. DEFAULTS, DIVIDEND ARREARAGES AND DELINQUENCIES

None.

ITEM 14. MATERIAL MODIFICATIONS TO THE RIGHTS OF SECURITY HOLDERS AND USE OF PROCEEDS

As approved by the Annual and Extraordinary General Shareholders’ Meeting held on April 13, 2022, the mandatory dividend to be paid to the shareholders was reduced to 25% of the adjusted net profit. This reduction aims to adjust our Bylaws to article 202, paragraph 2, of the Law No. 6,404/76, allowing a better cash allocation. The Company may, at its own discretion, pay more dividends to its shareholders.

ITEM 15. CONTROLS AND PROCEDURES

(a)Disclosure controls and procedures

Under our management’s supervision and with their participation, including our Chief Executive Officer and Chief Financial and Investor Relations Officer, we performed an evaluation of our disclosure controls and procedures, as defined in Rules 13a-15(e) and 15d-15(e) under the Exchange Act, as of December 31, 2022. The Company’s disclosure controls and procedures are designed to provide reasonable assurance that information required to be disclosed in the reports that the Company files or submits under the Exchange Act is (a) recorded, processed, summarized and reported within the time periods specified in the SEC’s rules and forms and (b) accumulated and communicated to our management, including the Chief Executive Officer and the Chief Financial and Investor Relations Officer, to allow timely decisions regarding required disclosure. Based on this evaluation, our Chief Executive Officer and Chief Financial and Investor Relations Officer concluded that, as of December 31, 2022, our disclosure controls and procedures were not effective due to a deficiency in the process of reassessing and reviewing accounting practices adopted when implementing complex transactions, as described below.

(b)Management’s annual report on internal control over financial reporting

Our management is responsible for establishing and maintaining adequate internal control over financial reporting, as defined in Rules 13a-15(f) and 15d-15(f) under the Exchange Act. The Company’s internal control over financial reporting is a process designed by, or under the supervision of, our Chief Executive Officer and Chief Financial and Investor Relations Officer, and effected by our Board of Directors, management, and other personnel, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles. The Company’s internal control over financial reporting includes those policies and procedures that (1) pertain to the maintenance of records that, in reasonable detail, accurately and fairly reflect the transactions and dispositions of the assets of the Company; (2) provide reasonable assurance that transactions are recorded as necessary to permit preparation of financial statements in accordance with generally accepted accounting principles, and that receipts and expenditures of the Company are being made only in accordance with authorizations of management and directors of the Company; and (3) provide reasonable assurance regarding prevention or timely detection of unauthorized acquisition, use, or disposition of the Company’s assets that could have a material effect on the financial statements.

133

Because of inherent limitations of internal controls over financial reporting, including the possibility of improper management override of controls, material misstatements due to error or fraud may not be prevented or detected on a timely basis. Therefore, even those systems of internal control over financial reporting determined to be effective can provide only reasonable assurance with respect to financial statement preparation and presentation.

In this context, our management, under oversight of our Board of Directors, has assessed the effectiveness of the Company’s internal control over financial reporting as of December 31, 2022, based on the criteria established in the Internal Control – Integrated Framework (2013) issued by the Committee of Sponsoring Organizations of the Treadway Commission (“COSO”).

Based on such assessment and criteria, our management has identified a control deficiency that represents a material weakness in our internal control over financial reporting as of December 31, 2022. A material weakness is a deficiency, or a combination of deficiencies, in internal control over financial reporting, such that there is a reasonable possibility that a material misstatement of annual or interim financial statements will not be prevented or detected on a timely basis.

The material weakness in our internal control over financial reporting as of December 31, 2022, identified by our management, is the inadequate design and implementation of effective management review controls for the accounting and presentation of complex transactions related to: (i) financial liabilities of customers and (ii) interest earned on escrow deposits.

The control deficiency described above resulted in errors related to the accounting for customer financial liaibilities and interest on escrow deposits, which were corrected prior to the issuance of the 2022 annual consolidated financial statements. Because this control deficiency creates a reasonable possibility that a material misstatement to the consolidated financial statements would not be prevented or detected on a timely basis, we concluded that it represents a material weakness in the Company’s internal control over financial reporting and that our internal control over financial reporting was not effective as of December 31, 2022.

(c)     Report of the independent registered public accounting firm on internal control over financial reporting  

The Company’s independent registered public accounting firm, Deloitte Touche Tohmatsu Auditores Independentes Ltda., audited our internal control over financial reporting as of December 31, 2022, included in this Form 20-F, and their report, included herein, expressed an adverse opinion on the effectiveness of the Company’s internal control over financial reporting as of December 31, 2022.

The report of the independent registered public accounting firm appears on page F-5 of this annual report on Form 20-F.

134


(d)     Changes in internal control over financial reporting


Remediation of the material weaknesses identified as of December 31, 2021

Described below are the changes in internal controls over financial reporting that were made during 2022 in order to remediate the previously reported material weaknesses.

In response to the material weaknesses we had identified as of December 31, 2021, as disclosed in our annual report on Form 20-F for that year, during 2022, our management implemented plans to remediate the combination of deficiencies comprising such material weaknesses.

The remediation plan that our management implemented during the year ended December 31, 2022 included:

(a)   For the ineffective design of management review controls over the calculation of the income tax provision: (i) implementation of monthly reviews of the effective tax rate for each business units, monthly reviews of the accounting reconciliations for the registered income tax amounts, monthly reviews of all the rule tax system configurations modified before the income tax calculations, and monthly reviews of all the manual inputs in the tax systems; (ii) implementation of new segregation of duties in the tax systems; and (iii) redesign of existing controls, such as monthly review and approval of the income tax calculations and provisions for each of the Company’s business units, to ensure that management analysis is performed at the appropriate level of details.

(b)  For the ineffectiveness of controls over the completeness and accuracy of information used to support the existence of inventories held at third-party facilities: (i) formal training program to those who act as control owners at the business units in order to emphasize the importance of internal controls over financial reporting processes, and to explain the need for verification tests over the quality of information used to support the functioning of internal controls and appropriate documentation of such tests; (ii) redesign of existing controls, such as monthly reviews of the accounting reconciliations based on third-party confirmations of inventory amounts held by them; and (iii) correction of third-party information on our systems with accurate amounts for each location.

As of December 31, 2022, management completed the implementation of such remediation activities, and the implemented changes in our internal controls were tested by our management as part of its assessment of our internal control over financial reporting. Accordingly, management believes that the successful completion of these activities has remediated the material weaknesses identified in respect of the year ended December 31, 2021.

Remediation plan for the material weakness identified as of December 31, 2022

Described below are the planned changes in internal controls over financial reporting that we intend to implement in order to remediate the material weakness identified as of December 31, 2022.

Our management is actively engaged in the planning for, and implementation of, the remediation efforts to address the material weakness described on item b) above, which was initiated in 2022 and is expected to to be completed by the next annual assessment of the Company’s internal control over financial reporting. These efforts include restructuring the Company's controllership department, including:

·       Implementation of management review controls for the accounting and presentation of new complex and unusual transactions, in special related to financial liability of customer and escrow deposits.

·       Enhancement of the Company’s internal controls to identify, account for and formalize significant unusual transactions that involve the application of complex accounting.

135

ITEM 16. [RESERVED]
ITEM 16A. AUDIT COMMITTEE FINANCIAL EXPERT

As of the date of this annual report, the Audit and Risks Committee appointed Mr. José Mauricio Pereira Coelho to act as financial expert as that term defined by the SEC in its final rules implementing Section 407 of the Sarbanes-Oxley Act of 2002. For a discussion of the role of our statutory Audit and Risks Committee, see “Item 6.C. Directors, senior management and employees—Board practices—Committees of the Board of Directors—Audit and Risks Committee.”

ITEM 16B. CODE OF ETHICS

In 2004, we established a Code of Ethics which covered (i) the Board of Directors; (ii) the whole Executive Board (including the Chief Executive Officer and the Chief Financial and Investor Relations Officer); (iii) the Fiscal Council of Ultrapar; (iv) the Board of Directors and Executive Board of its subsidiaries; and (v) remaining bodies with technical or advisory functions that are directly subordinated to the Board of Directors, to the Executive Board or to the Fiscal Council of Ultrapar. Our Code of Ethics was amended on June 17, 2009 to (i) improve certain existing items of the code by including examples of acceptable or unacceptable behavior and clarifying the language to avoid misunderstanding of such items and (ii) improve access to the channel for reporting non-compliance with the code. On July 31, 2013, we amended our Code of Ethics in order to increase the number of permanent members of the Conduct Committee from three to four members. On September 17, 2014 the Code of Ethics was fully revised. On December 13, 2017, our Board of Directors approved a new Code of Ethics, which came into effect on March 1, 2018. The Code of Ethics was fully revised on December 8, 2021 and came into effect on March 17, 2022. On March 29, 2023 the Code of Ethics was revised to include the principles and values of the Company with immediate effects. For the complete amended Code of Ethics please see our 6-K filed with the SEC on March 29, 2023. The objective of this code is (i) to reduce the subjectivity of personal interpretations of ethical principles; (ii) to be a formal and institutional benchmark for the professional conduct of the employees, including the ethical handling of actual or apparent conflicts of interests, becoming a standard for the internal and external relationship of Ultrapar with its stakeholders, namely: shareholders, clients, employees, partners, suppliers, service providers, labor unions, competitors, society, government and the communities in which it operates; and (iii) to ensure that the daily concerns with efficiency, competitiveness and profitability do not override ethical behavior.

Also, in 2014, we approved the Corporate Policy on Anti-Corruption and the Relationship with the Public and Private Sector, applicable to shareholders, employees of the Company, third parties and business partners when representing or acting on behalf of the Company. On December 13, 2017, our Board of Directors approved a new Corporate Policy on Anti-Corruption and the Relationship with the Public and Private Sector, which came into effect on March 1, 2018. On December 8, 2021, our Board of Directors approved a fully revised corporate policy on anti-corruption and relationship with public officials, which came into effect on March 17, 2022. This policy consolidates the guidelines for corruption prevention to be adopted in the relationship with public officers to protect the integrity and transparency of our businesses. For our complete revised Corporate Policy on Anti-Corruption and the Relationship with the Public and Private Sector, please see our 6-K filed with the SEC on March 21, 2022.

On September 21, 2016, our Board of Directors approved the Corporate Competition Policy applicable to employees of the Company, third parties and business partners. This policy establishes guidelines for preventing and combating violations of competition law and ensuring compliance with all competition laws, to be adopted by Ultrapar and its subsidiaries, as well as in corporate transactions in which they are involved. In October 2018, our Board of Directors approved a new Corporate Competition Policy.

Also in 2016, the Company approved the Conflict of Interests Policy applicable to employees of the Company, third parties and business partners when representing or acting on behalf of the Company. This policy provides for standard behaviors and professional conduct of the employees, including the ethical handling of actual or apparent conflicts of interests. The Policy was revised in 2021, now called the “Conflict of Interest and Related Party Transactions Corporate Policy.” You can obtain a copy of our Code of Ethics and of all mentioned policies above, free of charge, at our Investor Relations (www.ri.ultra.com.br), on “Governance” section, subsection “Bylaws, Codes and Policies.”

ITEM 16C. PRINCIPAL ACCOUNTANT FEES AND SERVICES

The relationship with our independent registered public accounting firm in respect to the contracting of services unrelated to the external audit is based on principles that preserve the independence of the independent registered public accounting firm. Our Board of Directors approves our Consolidated Financial Statements, the performance by our independent registered public accounting firm of audit and permissible non-audit services, and associated fees, supported by our Audit and Risks Committee. See “Item 6. Directors, senior management and employees—Board practices—Committees of the Board of Directors—Audit and Risks Committee” for more information about the responsibilities of the Audit and Risks Committee.

Our Consolidated Financial Statements for the year ended December 31, 2022 were audited by the independent registered public accounting firm Deloitte Touche Tohmatsu Auditores Independentes Ltda.

Our Consolidated Financial Statements for the year ended December 31, 2021 were audited by the independent registered public accounting firm KPMG Auditores Independentes Ltda.

The following table describes the total amount billed to us by Deloitte Touche Tohmatsu Auditores Independentes Ltda. and KPMG Auditores Independentes Ltda. for the services performed in 2022 and 2021, respectively:

136


2022

2021
(in thousands of Reais)
Audit fees 6,031.5

8,212.8
Audit related fees 348.1 

551.0
Tax fees 119.2

-
All other fees -

-
Total consolidated fees 6,498.7 

8,763.8

“Audit fees” are the aggregate fees billed by our independent registered public accounting firm for the audit of our Consolidated Financial Statements, reviews of interim financial information and attestation services that are provided in connection with statutory and regulatory filings or engagements.

“Audit related fees” are fees related to procedures in connection with the offering process of securities and assurance services related to the Integrated Report.


"Tax fees" are fees related to tax compliance services over ECF ("Escrituração Contábil Fiscal" - Tax Return for companies in Brazil). 


Pre-approval policies and procedures

In order to adapt to the new rules for the Novo Mercado segment, the Annual and Extraordinary General Shareholders’ Meeting held on April 10, 2019 decided that our Audit and Risks Committee must function on a permanent basis to advise the Board of Directors. This committee is responsible for recommending to the Board of Directors the retention and dismissal of independent audit services, as well as proposing to the Board of Directors the nomination of the independent auditor and their replacement and to define the pre-approval policy for hiring services that may be provided by the independent auditor.

ITEM 16D. EXEMPTIONS FROM THE LISTING STANDARDS FOR AUDIT COMMITTEES

None.

ITEM 16E. PURCHASES OF EQUITY SECURITIES BY THE ISSUER AND AFFILIATED PURCHASERS

We did not purchase any shares issued by the Company in 2022.

ITEM 16F. CHANGE IN REGISTRANT’S CERTIFYING ACCOUNTANT

Not applicable.

ITEM 16G. CORPORATE GOVERNANCE

Under the rules of the NYSE, foreign private issuers are subject to a more limited set of corporate governance requirements than are U.S. domestic issuers. As a foreign private issuer, we must comply with four principal NYSE corporate governance rules: (i) we must satisfy the requirements of Exchange Act Rule 10A–3 relating to audit committees; (ii) our Chief Executive Officer must promptly notify the NYSE after any executive officer becomes aware of any material non-compliance with the applicable NYSE rules; (iii) we must provide the NYSE with annual and interim written affirmations; and (iv) we must provide a brief description of any significant differences between our corporate governance practices and those followed by U.S. companies under NYSE listing standards.

The significant differences between our corporate governance practices and the NYSE corporate governance standards are as follows:

Independence of Directors

NYSE rules require that a majority of the Board of Directors must consist of independent directors as defined under NYSE rules. Under the Brazilian Corporate Law, we are not required to have a majority of independent directors.

The Brazilian Corporate Law requires that our directors be elected by our shareholders at a General Shareholders’ Meeting. According to the rules of Novo Mercado, 20% or at least two of the members of our Board of Directors, whichever is greater, must be independent. As of the date of this annual report, our Board of Directors had 7 members that meet the independence requirements pursuant to the rules of Novo Mercado. Furthermore, according to our Bylaws, at least 1/3 or two, whichever is higher, members of our Board of Directors must be independent.

137


The rules for the Novo Mercado segment, in force as of January 2, 2018, require the companies to assure the independence of the members of the Board of Directors, based on their relationship with the Company, its direct or indirect controlling shareholder (if applicable), its directors and its executive officers; and subsidiaries, affiliates and joint-ventures. According to these requirements a board member will not be considered independent if he/she (i) is the direct or indirect controlling shareholder of the Company; (ii) has his/her voting rights at the board meetings bound to a shareholders’ agreement regarding matters related to the Company; (iii) is a spouse, partner or direct or collateral first/second-degree relative of the controlling shareholder or of any executive officer of the Company or the controlling shareholder; (iv) was an employee or executive officer of the Company or its controlling shareholder in the past three years.

Furthermore, the rules of the Novo Mercado establish that when deciding whether Board members are independent, some situations must be analyzed in order to verify whether they entail loss of independence due to the characteristics, magnitude and extent of the relationship, as follows: (i) “are they a first/second-degree relative of the controlling shareholder or of any executive officer of the company or the controlling shareholder?”; (ii) “have they been an employee or executive officer the company’s subsidiaries, affiliates or joint-ventures in the past three years?”; (iii) “do they have a business relationship with the company, its controlling shareholder, or a subsidiary, affiliate or joint-venture?”; (iv) “do they hold a position in a firm or entity that has a business relationship with the company or with its controlling shareholder, whereby they have decision-making power regarding the activities of the firm or entity?”; (v) “do they receive any compensation from the company, its controlling shareholder, or a subsidiary, affiliate or joint-venture other than the compensation relating to their position as a member of the board of directors or committees of the company, its controlling shareholder, or its subsidiaries, affiliates and joint-ventures, excluding income from shares in the company and benefits from supplementary pension plans?”

Once such requirements are met, the General Shareholders’ Meeting shall then be entitled to decide whether a person nominated as member of the Board of Directors is independent and may base its decision (i) on a declaration submitted to the Board of Directors in which the nominee attests and justify his/her compliance with the independence requirements or (ii) on the opinion of the Board of Directors expressed in management’s proposal to the General Shareholders’ Meeting that elects directors and officers regarding the candidate’s compliance or non-compliance with the independence criteria.

At the Annual and Extraordinary General Shareholders’ Meeting held on April 14, 2021, our Bylaws were amended to reflect the new independence requirements, and the election of the Board of Directors deliberated upon such General Shareholders’ Meeting contemplated said requirements and procedures.

As of the date of this annual report, our Board of Directors consists of nine members, eight of them being non-executive members and seven of whom were independent, according to the Brazilian Novo Mercado Listing Rules. One of the non-independent board members is the Chief Executive Officer of Ultrapar, as of the date of this annual report. The other non-independent board member is related, directly or indirectly, to Ultra S.A. See “Item 6.C. Directors, senior management and employees—Board practices” and “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

On September 22, 2021, we announced the succession plan of the leadership of our Board of Directors, developed under the leadership of the Chairman of the Board at that time, Pedro Wongtschowski, whose mandate ended in April 2023. As part of such plan, as of January 2022, Marcos Lutz assumed the position of Chief Executive Officer of the Company, succeeding Frederico Curado, who assumed the position of Vice-Chairman of the Board of Directors, after Lucio de Castro Andrade Filho retired at the end of 2021. On April 13, 2022, the Annual and Extraordinary General Shareholders’ Meeting elected Frederico Curado to act as board member with term of office until the mandate term of the Board of Directors elected in 2021 is completed.

As of December 31, 2022, no member of the Board had any material relationship with the Company, either directly or as a partner or officer of an organization that has relationship with Ultrapar, except for their interest as shareholders of Ultrapar or Ultra S.A. Participações, when applicable, as mentioned above. The Brazilian Corporate Law, the Novo Mercado Listing rules and the CVM establish rules relating to the qualification of the members of our Board of Directors and our executive officers, including their compensation, duties, and responsibilities. We believe these rules provide adequate assurances that our directors are independent according to the independence tests established by the NYSE.

Executive sessions

NYSE rules require that the non-management directors must meet at regularly scheduled executive sessions without management present. As of December 31, 2022, such provision was not applicable to Ultrapar given that none of our directors were an executive officer of the Company. On April 19, 2023, Marcos Marinho Lutz, Ultrapar’s Chief Executive Officer, was elected as the Vice-Chairman of the Board of Directors for a two-year term. Thus, the Company shall have executive sessions without management present.

138

Committees

NYSE rules require that U.S. domestic listed companies have a nominating/corporate governance committee and a compensation committee composed entirely of independent directors and governed by a written charter addressing the committee’s purpose and responsibilities. Under the Brazilian Corporate Law, we are not required to have a nominating committee, a corporate governance committee or a compensation committee. Notwithstanding, our Bylaws provides for a People Committee, a Strategy Committee, and an Audit and Risks Committee as ancillary bodies of the Board of Directors. See “Item 6.C. Directors, senior management and employees—Board practices” and “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

The members of our committees shall be elected by the Board of Directors for a term of office of two years, coincident with the term of office of the directors. They may be reappointed for successive terms, except for the members of the Audit and Risks Committee, who will exercise their positions for a maximum of 10 years. For more information, see “Item 6.C. Directors, senior management and employees—Board practices—Committees of the Board of Directors—People Committee” and “—Strategy Committee.”

Audit and Risks Committee

U.S. domestic listed companies must have an audit committee with all independent directors who are financially literate and who satisfy the independence requirements of Rule 10A–3 of the Securities Exchange Act of 1934 (the “Exchange Act”), with a written charter addressing the committee’s purpose and responsibilities.

Our Bylaws establish our Audit and Risks Committee as an ancillary body of the Board of Directors, which shall be composed of at least three members, all of them members of the Board of Directors and at least one member with recognized experience in corporate accounting matters, as provided in the applicable regulations of the CVM. Although our Bylaws only require a majority of independent directors, all members of our Audit and Risks Committee meet the applicable independent membership requirements of the SEC and the NYSE. All members shall be elected by the Board of Directors for a term of office of 2 years, and the term shall coincide with the term of office of the Directors, with reelection being permitted for 5 terms. A single member of the Audit and Risks Committee may concentrate the two above mentioned requirements.

The Audit and Risks Committee shall (a) recommend to the Board of Directors the retention and dismissal of independent audit services, as well as propose to the Board of Directors the nomination of the independent auditor and their replacement; (b) review the management report and the financial statements of the Company and of its controlled companies, and provide the recommendations it deems necessary to the Board of Directors; (c) review the quarterly financial information and the periodic financial statements prepared by the Company; (d) monitor the activities of the Company’s internal audit and internal controls departments, including follow-up and assessment of the effectiveness and sufficiency of the internal control structure and of the internal and independent audit processes of the Company and of its controlled companies, including in relation to the provisions set forth in the Sarbanes-Oxley Act, submitting the recommendations it deems necessary for the improvement of policies, practices and procedures; (e) evaluate and monitor the Company’s risk exposure per the Corporate Risk Management Policy, as well as provide its opinion on any review of the contents thereof, in addition to advising the Board of Directors in connection with the setting of acceptable risk levels; (f) review, monitor and recommend to management any corrections or improvements to be made to the Company’s corporate policies, including the Corporate Policy on Conflict of Interest and Related Party Transactions; (g) establish procedures for the acceptance and handling of information submitted by any party relating to alleged noncompliance with applicable legal and regulatory requirements applicable to the Company, in addition to internal regulations, policies and codes, including procedures for confidential or anonymous submission, safeguarding information secrecy; (h) interact with the other Company’s governing bodies in connection with the receipt and review of information on noncompliance with legal and regulatory requirements applicable to the Company, as well as with internal regulations; and (i) provide its opinion on the matters submitted to it by the Board of Directors, as well as on those matters it determines to be relevant. For more information, see “Item 6.C. Directors, senior management and employees—Board practices—Committees of the Board of Directors—Audit and Risks Committee.”

Fiscal Council

Under the Brazilian Corporate Law, the Fiscal Council is a separate corporate body independent of management and independent auditors and it may operate on a permanent or non-permanent basis. According to the Brazilian Corporate Law, a Fiscal Council acting on a non-permanent basis is required to be formed when requested by 10% of voting shareholders in an Annual General Shareholders’ Meeting. However, pursuant to the CVM Resolution 70/22, in the case of Ultrapar, holders of 2% of the voting capital are entitled to request the installation of the Fiscal Council. The elected members of the Fiscal Council will remain in place only until the following Annual General Shareholders’ Meeting, in which they may be reelected by our shareholders. The Fiscal Council must meet at least four times per year. Since its establishment, in July 2005, our Fiscal Council has been meeting on a regular basis, and in 2022, they held eight meetings.

139

Additionally, individuals who are members of our Board of Directors or our Board of Executive Officers or are employees or spouses or relatives of any member of our management are not eligible to serve on the Fiscal Council. To be eligible to serve on our Fiscal Council, a person must be a resident of Brazil and either hold a university degree or have been a Company officer or Fiscal Council member of another Brazilian company for at least three years prior to election to our Fiscal Council. A Fiscal Council, when installed, shall have the duties and obligations provided by the Brazilian Corporate Law, which includes, among others, the examination of the statements of financial position of the Company and other financial statements prepared by a company, at least every three months, and the examination of the company’s accounts and financial statements for the fiscal year and give an opinion on them.

Our Fiscal Council is composed of three effective members and an equal number of alternate members and operates on a non-permanent basis when installed by the General Shareholders’ Meeting. As of the date hereof, we have a Fiscal Council installed, which is composed of the following members: Flavio Cesar Maia Luz, Élcio Arsenio Mattioli and Marcelo Gonçalves Farinha. The current members were elected at the Annual and Extraordinary Shareholders’ Meeting held on April 19, 2023. For more information, see “Item 6. Directors, senior management and employees—Board practices—Fiscal Council” and “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

Shareholder approval of equity compensation plans

NYSE rules require that equity compensation plans for U.S. domestic listed companies be subject to shareholder approval, with limited exceptions. In November 2003, our shareholders approved the Deferred Stock Plan. In accordance with the Deferred Stock Plan, the Board of Directors determines the eligible participants and the number of shares to which each participant shall have rights. See “Item 6.B. Directors, senior management and employees—Compensation.” At the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2017, our shareholders approved a stock-based incentive plan for our employees and executives. At the Annual and Extraordinary General Shareholders’ Meeting held on April 19, 2023, our shareholders approved a new stock-based incentive plan for our employees, executives and directors and amended the prior stock-based incentive plan.

Corporate governance guidelines

NYSE rules require that U.S. domestic listed companies adopt and disclose corporate governance guidelines. We have adopted corporate governance guidelines set out by our Board of Directors or required by the Brazilian Corporate Law, the CVM and B3 and which we believe are consistent with best practices, such as the 100% tag along rights to all shareholders, the establishment and disclosure of the Code of Ethics, and the adoption of the Material Notice Disclosure Policy and Securities Trading Policy, which deals with the public disclosure of all relevant information and the trading of shares issued by Ultrapar as per the CVM Resolution 44/21, and the adoption of Corporate Policy on Anti-Corruption and the Relationship with the Public and Private Sector.

Since June 28, 2011, we have been listed on the Novo Mercado segment of B3, the highest governance level. According to the rules of Novo Mercado, 20% or at least two members of our Board of Directors, whichever is greater, must be independent while a minimum of 1/3 or two is required in our Bylaws.

Our Bylaws also (i) establish a mandatory tender offer for 100% of the Company’s shareholders in the event a shareholder, or a group of shareholders acting in concert, acquire or become holder of 20% of the Company’s shares, excluding treasury shares, and (ii) determines that we adopt a Strategy, an Audit and Risks and a People Committee, as ancillary bodies of the Board of Directors. Our Bylaws do not establish any limitation on voting rights, special treatment to current shareholders, public tender offers for a price above that of the acquisition price of shares or any other poison pill provisions, thus assuring the effectiveness of a majority shareholders’ approval on all matters to be deliberated. See “Exhibit 1.1—Bylaws of Ultrapar, dated as of April 19, 2023.”

In addition, as mentioned above, in September 2017, new rules for Novo Mercado were approved by the CVM. Some of the modifications of the Novo Mercado Rules include the following requirements: (i) set up an audit committee (statutory or non-statutory); (ii) structure and disclose a process of assessment of the Board of Directors, its committees and executive officers; (iii) establish and disclose a Code of Conduct (or Code of Ethics), as well as a Compensation Policy, a Nomination Policy for the Board of Directors, its Committees and Executive Officers, a Risk Management Policy, a Related Party Transaction Policy and Securities Trading Policy, all of them with minimum requirements. Our Bylaws were amended to reflect, among others, such requirements and we are in full compliance with such rules.

Code of business conduct and ethics

NYSE rules require that U.S. domestic listed companies adopt and disclose a code of business conduct and ethics for directors, officers, and employees. Despite the fact that the adoption and disclosure of a formal code is not required under the Brazilian Corporate Law, in 2004, we established our Code of Ethics, which was amended on September 17, 2014, on December 17, 2017, on December 8, 2021 and on March 29, 2023. For the complete amended Code of Ethics please see our Form 6-K filed with the SEC on March 29, 2023. The main objectives of this code are (i) to reduce the subjectivity of personal interpretations of ethical principles; and (ii) to be a formal and institutional benchmark for the professional conduct of our employees, including the ethical handling of actual or apparent conflicts of interests, becoming a standard for the internal and external relationship of the Company with its stakeholders. See “Item 16.B. — Code of Ethics.”

140

ITEM 16H.              MINE SAFETY DISCLOSURE

Not applicable.

ITEM 16I.              DISCLOSURE REGARDING FOREIGN JURISDICTION THAT PREVENT INSPECTIONS

Not applicable.

ITEM 16J.              INSIDER TRADING POLICIES

Not applicable.

PART III
ITEM 17.              FINANCIAL STATEMENTS

We have responded to Item 18 in lieu of responding to this Item.

ITEM 18.              FINANCIAL STATEMENTS

We file the following Consolidated Financial Statements together with the reports of independent registered public accountants’ firms, as part of this annual report:  

​​



Report of Deloitte Touche Tohmatsu Auditores Independentes Ltda. (PCAOB ID n. 1045) F-3
Report of KPMG Auditores Independentes Ltda. (PCAOB ID n.1124) F-11
Consolidated statements of financial position as of December 31, 2022 and 2021 F-12
Consolidated statements of profit or loss for the years ended December 31, 2022, 2021 and 2020 F-14
Consolidated statements of comprehensive income for the years ended December 31, 2022, 2021 and 2020 F-15
Consolidated statements of changes in equity for the years ended December 31, 2022, 2021 and 2020 F-16
Consolidated statements of cash flows—Indirect method for the years ended December 31, 2022, 2021 and 2020 F-19
Notes to the consolidated financial statements F-21


141


ITEM 19.              EXHIBITS

We are filing the following documents as part of this Annual Report Form 20-F:   

 

 

1.1

Bylaws of Ultrapar, dated as of April 19, 2023 (incorporated by reference to Form 6-K furnished by Ultrapar Participações S.A. filed on April 19, 2023).

2.1

Ipiranga Group Shareholders’ Agreement entered into by and among Ultrapar, Petrobras and Braskem, dated April 18, 2007 — English Translation (incorporated by reference to Exhibit 2.7 to Form 20-F of Ultrapar Participações S.A. filed on June 7, 2007).

2.2

RPR Shareholders Agreement entered into by and among Ultrapar, Petrobras and Braskem, dated April 18, 2007 — English Translation (incorporated by reference to Exhibit 2.8 to Form 20-F of Ultrapar Participações S.A. filed on June 7, 2007).

2.3

Rules of the Novo Mercado—English translation (incorporated by reference to Exhibit 2.9 to Form 20-F of Ultrapar Participações S.A. filed on April 6, 2018).

2.4

Shareholders’ Agreement dated May 2, 2018 (incorporated by reference to the report on Form 6-K of Ultrapar Participações S.A. filed on May 2, 2018).

2.5

Ultrapar Participações S.A. 6th Public Offering Indenture of Simple, Non-Convertible into Shares, Single-Series, Unsecured Debentures, for Public Distribution with Restricted Placement Efforts between Ultrapar Participações S.A. and Pentágono S.A. DTVM, dated February 22, 2018 (incorporated by reference to Form 6-K of Ultrapar Participações S.A. filed on February 22, 2018).

2.6

Indenture, dated as of October 6, 2016 among Ultrapar International S.A., as Issuer, Ultrapar Participações S.A. and Ipiranga Produtos de Petróleo, as guarantors, The Bank of New York Mellon, as Trustee, Transfer Agent and Registrar, The Bank of New York Mellon, as Principal Paying Agent and The Bank of New York Mellon (Luxembourg) S.A., as Luxembourg Paying Agent and Luxembourg Transfer Agent (incorporated by reference to Exhibit 2.9 to Form 20-F of Ultrapar Participações S.A. filed on April 23, 2019).

2.7

Indenture, dated as of June 6, 2019 among Ultrapar International S.A., as Issuer, Ultrapar Participações S.A. and Ipiranga Produtos de Petróleo, as guarantors, The Bank of New York Mellon, as Trustee, Transfer Agent and Registrar, The Bank of New York Mellon, as Principal Paying Agent and The Bank of New York Mellon (Luxembourg) S.A., as Luxembourg Paying Agent and Luxembourg Transfer Agent (incorporated by reference to Exhibit 2.10 to Form 20-F of Ultrapar Participações S.A. filed on May 4, 2020).

2.8

Amended and Restated Deposit Agreement dated as of March 2, 2018, among Ultrapar Participações S.A., the Bank of New York Mellon as Depositary, and all Owners and Beneficial Owners from time to time of american depositary shares issued thereunder (incorporated by reference to Exhibit 1 to Form F-6/A of Ultrapar Participações S.A. filed on February 23, 2018).

2.9

Description of Securities Registered under Section 12 of the Exchange Act.

2.10

Shareholders’ Agreement dated August 18, 2020 (incorporated by reference to the report on Form 6-K furnished by Ultrapar Participações S.A. filed on August 24, 2020).

2.11

First Supplemental Indenture, dated as of July 20, 2020, among Ultrapar International S.A., as Issuer, Ultrapar Participações S.A. and Ipiranga Produtos de Petróleo, as guarantors, The Bank of New York Mellon, as Trustee, Transfer Agent and Registrar, The Bank of New York Mellon, as Principal Paying Agent and The Bank of New York Mellon (Luxembourg) S.A., as Luxembourg Paying Agent and Luxembourg Transfer Agent (incorporated by reference to Exhibit 2.14 to Form 20-F of Ultrapar Participações S.A. filed on April 29, 2021).

4.1

English language summary of the Share Purchase Agreement entered into by and between Ipiranga Produtos de Petróleo S.A. and EmpreendimentosPague Menos S.A., and, as consenting intervening parties, Imifarma Produtos Farmacêuticos e Cosméticos S.A. and Ultrapar Participações S.A., dated May 18, 2021 (incorporated by reference to Exhibit 4.8 to Form 20-F of Ultrapar Participações S.A. filed on May 10, 2022).

4.2

Share Purchase Agreement entered into by and between Ultrapar Participações S.A., Tereftálicos Indústria e Participações Ltda. and Indorama Ventures Spain Sociedad Limitada, and, as consenting interveners, Oxiteno S.A. – Indústria e Comércio, Oxiteno USA, LLC, Oxiteno Mexico S.A., de C.V. and Oxiteno Uruguay S.A., and, as consenting interveners and guarantors, Indorama Ventures Public Company Limited and Indorama Ventures Polímeros S.A., dated August 15, 2021 (incorporated by reference to Exhibit 4.9 to Form 20-F of Ultrapar Participações S.A. filed on May 10, 2022).

8.1

List of subsidiaries of Ultrapar (incorporated by reference to Note 1 to our Consolidated Financial Statements included in this annual report).

11.1

Code of Ethics, amended on March 29, 2023 (incorporated by reference to the report on Form 6-K furnished by Ultrapar Participações S.A. filed on March 30, 2023).

12.1

Certification of Chief Executive Officer pursuant to Section302 of the Sarbanes-Oxley Act of 2002.

 
142


12.2

Certification of Chief Financial and Investor Relations Officer pursuant to Section302 of the Sarbanes-Oxley Act of 2002.

13

Certification of Chief Executive Officer and Chief Financial and Investor Relations Officer pursuant to 18 U.S.C. Section1350, as adopted pursuant to Section906 of the Sarbanes-Oxley Act of 2002.

101.INS

Inline XBRL Instance Document

101.SCH

Inline XBRL Taxonomy Extension Schema

101.CAL

Inline XBRL Taxonomy Extension Schema Calculation Linkbase

101.DEF

Inline XBRL Taxonomy Extension Schema Definition Linkbase

101.LAB

Inline XBRL Taxonomy Extension Label Linkbase Document

101.PRE

Inline XBRL Taxonomy Extension Presentation Linkbase Document

There are certain promissory notes and other instruments and agreements with respect to long-term debt of our Company omitted from the exhibits filed with or incorporated by reference into this annual report, none of which authorizes securities in a total amount that exceeds 10% of the total assets of our Company. See “Item 5.B. Operating and financial review and prospect—Liquidity and capital resources—Consolidated debt.” We hereby agree to furnish to the SEC copies of any such omitted promissory notes or other instruments or agreements as the Commission requests.


143


SIGNATURES

Pursuant to the requirements of Section 12 of the Securities Exchange Act of 1934, the registrant certifies that it meets all requirements for filing on Form 20-F and has duly caused this annual report to be signed on its behalf by the undersigned, thereunto duly authorized.

 

 

 

 

 

 

 

ULTRAPAR PARTICIPAÇÕES S.A.

 

 

 

 

 

 

By:

/S/ MARCOS MARINHO LUTZ

 

 

Name:

Marcos Marinho Lutz

 

 

Title:

Chief Executive Officer


 

 

 

 

 

 

 

 

Date: April 25, 2023

 

By:

/S/ RODRIGO DE ALMEIDA PIZZINATTO

 

 

Name:

Rodrigo de Almeida Pizzinatto

 

 

Title:

Chief Financial and Investor Relations Officer

 

144


.

Graphics


F-1


Ultrapar Participações S.A. and Subsidiaries 

​​


Page Number

Consolidated statement of financial position F-12
Consolidated statement of income F-14
Consolidated statements of comprehensive income F-15
Consolidated statements of changes in equity F-16
Consolidated statement of cash flows – indirect method F-19
1 Operations F-21
2 Basis of preparation and presentation of the consolidated financial statements and significant accounting policies F-25
3. New accounting policies and changes in accounting policies F-38
4. Discontinued operations F-41
5 Cash and cash equivalents, financial investments and derivative financial instruments F-48
6 Trade receivables, reseller financing and other receivables F-50
7 Inventories F-54
8 Recoverable taxes F-56
9 Related parties F-59
10 Income and social contribution taxes F-65
11 Prepaid expenses F-69
12 Contractual assets with customers - exclusivity rights F-70
13 Investments in joint controlled entities and associates F-71
14 Right-of-use assets and leases payable F-77
15 Property, plant, and equipment F-82
16 Intangible assets F-88
17  Loans, financing, debentures and derivative financial instruments F-93
18 Trade payables F-101
19 Salaries and related charges F-101
20 Taxes payable F-102
21 Employee benefits and private pension plan  F-102
22 Provision for asset retirement obligation F-106
23 Provisions and contingent liabilities F-106
24 Subscription warrants – indemnification F-109
25 Equity F-110
26 Costs and expenses by nature F-114
27 Gain (loss) on disposal of property, plant and equipment and intangible assets F-115
28 Financial result, net F-115
29 Earnings per share F-116
30 Segment information F-117
31 Risks and financial instruments F-122
32 Commitments F-139
33 Business combinations F-140
34 Events after the reporting period F-142

 

F-2
















Ultrapar Participações S.A.

Report of Independent Registered Public
Accounting Firm on Consolidated Financial
Statements for the Year Ended
December 31, 2022

 

 

 

 

 

 

 

Deloitte Touche Tohmatsu Auditores Independentes Ltda.

 

F-3


REPORT OF INDEPENDENT REGISTERED PUBLIC
ACCOUNTING FIRM ON CONSOLIDATED FINANCIAL STATEMENTS


To the Shareholders and the Board of Directors of

Ultrapar Participações S.A.

Opinion on the Financial Statements

We have audited the accompanying consolidated statement of financial position of Ultrapar Participações S.A. and subsidiaries (the “Company”) as of December 31, 2022, the related consolidated statements of income, comprehensive income, changes in equity, and cash flows, for the year ended December 31, 2022, and the related notes (collectively referred to as the “financial statements”). In our opinion, the financial statements present fairly, in all material respects, the financial position of the Company as of December 31, 2022, and the results of its operations and its cash flows for the year ended December 31, 2022, in conformity with International Financial Reporting Standards (“IFRS”) as issued by the International Accounting Standards Board (“IASB”).  

We have also audited, in accordance with the standards of the Public Company Accounting Oversight Board (United States) (PCAOB), the Company’s internal control over financial reporting as of December 31, 2022, based on criteria established in Internal Control - Integrated Framework (2013) issued by the Committee of Sponsoring Organizations of the Treadway Commission and our report dated April 25, 2023, expressed an adverse opinion on the Company’s internal control over financial reporting because of a material weakness. 

Basis for Opinion

These financial statements are the responsibility of the Company’s management. Our responsibility is to express an opinion on the Company’s financial statements based on our audit. We are a public accounting firm registered with the PCAOB and are required to be independent with respect to the Company in accordance with the U.S. federal securities laws and the applicable rules and regulations of the Securities and Exchange Commission and the PCAOB.

We conducted our audits in accordance with the standards of the PCAOB. Those standards require that we plan and perform the audit to obtain reasonable assurance about whether the financial statements are free of material misstatement, whether due to error or fraud. Our audits included performing procedures to assess the risks of material misstatement of the financial statements, whether due to error or fraud, and performing procedures that respond to those risks. Such procedures included examining, on a test basis, evidence regarding the amounts and disclosures in the financial statements. Our audits also included evaluating the accounting principles used and significant estimates made by management, as well as evaluating the overall presentation of the financial statements. We believe that our audits provide a reasonable basis for our opinion.

F-4


Critical Audit Matters

The critical audit matters communicated below are matters arising from the current-period audit of the financial statements that were communicated or required to be communicated to the audit committee and that: (1) relate to accounts or disclosures that are material to the financial statements, and (2) involved our especially challenging, subjective, or complex judgments. The communication of critical audit matters does not alter in any way our opinion on the financial statements, taken as a whole, and we are not, by communicating the critical audit matters below, providing separate opinions on the critical audit matters or on the accounts or disclosures to which they relate.

Sales of Oxiteno and Extrafarma - Refer to Notes 1.b.2 (Closing of Oxiteno S.A. Sale Agreement), 1.b.3 (Closing of Extrafarma Sale Agreement) and 4 (Discontinued Operations) to the Financial Statements

Critical Audit Matter Description

The Company entered into agreements for the sale of its equity interests in subsidiaries Oxiteno S.A. ‐ Indústria e Comércio (“Oxiteno”) and Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”). As of December 31, 2021, the Company classified the related assets and liabilities of Oxiteno and Extrafarma as “Held for sale” and the related results of operations and cash flows as “Discontinued operations”. In 2022, the Company completed the sale of Oxiteno and Extrafarma upon fulfilling certain precedent conditions, which generated a gain of R$58,403 thousand and a loss of R$19,973 thousand on the sale of Oxiteno and Extrafarma, respectively, after the effect of income and social contribution taxes, as stated in note 4. For the year ended December 31, 2022, net income from discontinued operations amounted to R$301,858 thousand, including the gain and loss from the sales of these investments. The Company accounted for the sales of investments in accordance with international standard IFRS 5 ‐ Noncurrent Assets Held for Sale and Discontinued Operations, which requires the presentation of the assets and liabilities as “Assets held‐for‐sale” and “Liabilities directly associated with assets held‐for‐sale” in the statement of financial position and the income (loss) of the companies sold up to the sale date, as well as the gain (loss) from the sale of the investments, as “Discontinued operations” in the statement of income.

The sales of Oxiteno and Extrafarma involved future installments receivable, classified in noncurrent assets, for which the need for present value adjustments was assessed. The sales agreements provided for indemnities to be paid by the Company for losses that occurred prior to the closing dates. The sale of Oxiteno also resulted in reclassifications of effects that had been recorded in “Accumulated other comprehensive income” and “Cumulative translation adjustments” to “Net income from discontinued operations”, among other impacts that affected net income for the year. The sales of these investments were considered significant unusual transactions, which involved complexity and a high degree of judgment by the Company’s Management related to the accounting treatment, recognition, presentation, and disclosures related to the transactions.

We identified the sales of Oxiteno and Extrafarma as a critical audit matter, due to the significance of the amounts involved, and the high degree of complexity and judgment exercised by Management in applying IFRS 5, which included calculating gains or losses on the sales of investments, including the assessment of the tax impacts, and in identifying the profit or loss from discontinued operations. Auditing this matter requires a high degree of judgment and effort, including the involvement of our tax specialists.

F-5


How the Critical Audit Matter Was Addressed in the Audit

Our audit procedures related to the sales of Oxiteno and Extrafarma included the following, among others:

  • We tested the design, implementation, and operating effectiveness of internal controls over, including those related to the identification and evaluation of the accounting treatment for significant unusual transactions, as well as the controls over the computation of the gain or loss on sale.
  • We assessed the nature and economic substance of the transaction, including:

     Analyzing the agreements executed between the parties and approvals by the regulator.

     Reading the minutes of the Board of Directors’ meetings that approved the sales of the investments.

  • We assessed and challenged the judgments and criteria used by Management in applying IFRS 5 and in determining and measuring the profit or loss from discontinued operations, including by reading and analyzing the technical accounting memorandum prepared by Management.
  • We tested the gain or loss on the sale of the investments, including:

     Testing the valuation of cash and non-cash consideration.

     Testing the completeness and accuracy of the carrying value of the net assets included in the sale transactions, including the effects of cumulative translation adjustments included in comprehensive income.

     Tracing the indemnities to third parties’ confirmation.

  • With the assistance of our tax specialists, we evaluated the tax impacts derived from the transactions, including testing the allocation of the income tax expense between continuing and discontinued operations.
  • We assessed the accuracy and completeness of disclosures related to the transactions and discontinued operations.

Tax Credits (PIS and COFINS) Arising from Supplementary Law 192 - Refer to Note 8.a.2 (Recoverable Taxes) to the Financial Statements

Critical Audit Matter Description

The Company recorded PIS and COFINS credits of R$971,373 thousand for the year ended December 31, 2022, derived from Supplementary Law 192. These tax credits may be utilized for offset against other federal taxes or may be refunded by the Federal Revenue Service through requests if they are filed within the applicable regulatory period.

The recognition and measurement of PIS and COFINS credits require a high degree of judgment by Management, given the complexity underlying the interpretations of the applicable tax laws, as well as the uncertainties involving the expected realization of amounts and considerable efforts made by Management in preparing the calculations used to measure and to recognize those tax credits.

Such matter was considered a critical audit matter due to the significance of the amounts involved, the complexity and high degree of judgment involved in assessing and challenging Management’s assumptions and judgments regarding the recognition of tax credits and their expected realization, which includes the need to involve our tax specialists.

F-6


How the Critical Audit Matter Was Addressed in the Audit

Our audit procedures related to the tax credits arising from Supplementary Law 192 included the following, among others:

  • We tested the design, implementation, and operating effectiveness of internal controls over:

     Management’s assessment of the accounting basis for the tax credits recognition.

     The measurement of the tax credits.

     The method, assumptions and data used in the projections to support the realization of the tax credits.

  • We tested the supporting documentation for the recognition of tax credits.
  • With the assistance of our tax specialists:

     We assessed the competency, skills, and objectivity of the Company’s external legal counsel.

     We assessed the nature of tax credits and analyzed the applicable tax laws.

     We inquired and challenged Company’s Management and external legal counsel, and assessed the legal opinions issued by the external legal counsel and the assumptions adopted by Management.

  • With the assistance of our specialists in technical and professional accounting standards, we analyzed the technical tax and accounting memo prepared by Management and the accounting policy applied to the transaction.
  • We tested the realization of the tax credits, including:

     Inquiring and challenging the executives from the businesses, treasury and controllership areas about the historical performance and the assumptions used to develop the projections.

     Inspecting approvals of the strategic plan and projections by the Board of Directors.

     Assessing and challenging the methods, assumptions and data used to develop the projections.

     Performing a retrospective analysis, including the evaluation of the history of tax offsets and refunds, and assessing any contradictory and corroborative evidence. 

  • We assessed the accuracy and completeness of disclosures related to PIS and COFINS credits arising from Supplementary Law 192.


/s/ DELOITTE TOUCHE TOHMATSU

Auditores Independentes Ltda.


São Paulo, Brazil


April 25, 2023


We have served as the Company’s auditor since 2022.


F-7

 












Ultrapar Participações S.A.

Report of Independent Registered Public

Accounting Firm on Internal Control over

Financial Reporting as of December 31, 2022

 

 

 

 

 

 

 

 

Deloitte Touche Tohmatsu Auditores Independentes Ltda.

 

F-8


REPORT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM


To the Shareholders and the Board of Directors of

Ultrapar Participações S.A.

Opinion on Internal Control over Financial Reporting

We have audited the internal control over financial reporting of Ultrapar Participações S.A. and subsidiaries (the “Company”) as of December 31, 2022, based on criteria established in Internal Control - Integrated Framework (2013) issued by the Committee of Sponsoring Organizations of the Treadway Commission (COSO). In our opinion, because of the effect of the material weakness identified below on the achievement of the objectives of the control criteria, the Company has not maintained effective internal control over financial reporting as of December 31, 2022, based on criteria established in Internal Control - Integrated Framework (2013) issued by COSO.

We have also audited, in accordance with the standards of the Public Company Accounting Oversight Board (United States) (PCAOB), the consolidated financial statements as of and for the year ended December 31, 2022, of the Company and our report dated April 25, 2023, expressed an unqualified opinion on those financial statements.

Basis for Opinion

The Company’s Management is responsible for maintaining effective internal control over financial reporting and for its assessment of the effectiveness of internal control over financial reporting, included in the accompanying management’s annual report on internal control over financial reporting. Our responsibility is to express an opinion on the Company’s internal control over financial reporting based on our audit. We are a public accounting firm registered with the PCAOB and are required to be independent with respect to the Company in accordance with the U.S. federal securities laws and the applicable rules and regulations of the Securities and Exchange Commission and the PCAOB.

We conducted our audit in accordance with the standards of the PCAOB. Those standards require that we plan and perform the audit to obtain reasonable assurance about whether effective internal control over financial reporting was maintained in all material respects. Our audit included obtaining an understanding of internal control over financial reporting, assessing the risk that a material weakness exists, testing and evaluating the design and operating effectiveness of internal control based on the assessed risk, and performing such other procedures as we considered necessary in the circumstances. We believe that our audit provides a reasonable basis for our opinion.

F-9


Definition and Limitations of Internal Control over Financial Reporting

A company’s internal control over financial reporting is a process designed to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles. A company’s internal control over financial reporting includes those policies and procedures that: (1) pertain to the maintenance of records that, in reasonable detail, accurately and fairly reflect the transactions and dispositions of the assets of the company; (2) provide reasonable assurance that transactions are recorded as necessary to permit preparation of financial statements in accordance with generally accepted accounting principles, and that receipts and expenditures of the company are being made only in accordance with authorizations of management and directors of the company; and (3) provide reasonable assurance regarding prevention or timely detection of unauthorized acquisition, use, or disposition of the company’s assets that could have a material effect on the financial statements.

Because of its inherent limitations, internal control over financial reporting may not prevent or detect misstatements. Also, projections of any evaluation of effectiveness to future periods are subject to the risk that controls may become inadequate because of changes in conditions, or that the degree of compliance with the policies or procedures may deteriorate.

Material Weakness

A material weakness is a deficiency, or a combination of deficiencies, in internal control over financial reporting, such that there is a reasonable possibility that a material misstatement of the company’s annual or interim financial statements will not be prevented or detected on a timely basis. The following material weakness has been identified and included in management’s assessment: the Company did not design and implement effective management review controls for the accounting and presentation of complex transactions related to: (i) financial liabilities of customers, and (ii) interest earned on escrow deposits. This material weakness was considered in determining the nature, timing, and extent of audit tests applied in our audit of the consolidated financial statements as of and for the year ended December 31, 2022, of the Company, and this report does not affect our report on such financial statements.


/s/ DELOITTE TOUCHE TOHMATSU

Auditores Independentes Ltda.


São Paulo, Brazil


April 25, 2023


F-10

 

Report of Independent Registered Public Accounting Firm

To the Shareholders and Board of Directors
Ultrapar Participações S.A:

Opinion on the Consolidated Financial Statements

We have audited the accompanying consolidated statement of financial positionof Ultrapar Participações S.A. and subsidiaries (the Company) as of December 31, 2021, the related consolidated statements of income, comprehensive income, changes in equity, and cash flows for each of the years in the two‑year period ended December 31, 2021, and the related notes (collectively, the consolidated financial statements). In our opinion, the consolidated financial statements present fairly, in all material respects, the financial position of the Company as of December 31, 2021, and the results of its operations and its cash flows for each of the years in the two‑year period ended December 31, 2021, in conformity with International Financial Reporting Standards (IFRS) as issued by the International Accounting Standards Board (IASB).

Basis for Opinion

These consolidated financial statements are the responsibility of the Company’s management. Our responsibility is to express an opinion on these consolidated financial statements based on our audits. We are a public accounting firm registered with the Public Company Accounting Oversight Board (United States) (PCAOB) and are required to be independent with respect to the Company in accordance with the U.S. federal securities laws and the applicable rules and regulations of the Securities and Exchange Commission and the PCAOB.

We conducted our audits in accordance with the standards of the PCAOB. Those standards require that we plan and perform the audit to obtain reasonable assurance about whether the consolidated financial statements are free of material misstatement, whether due to error or fraud. Our audits included performing procedures to assess the risks of material misstatement of the consolidated financial statements, whether due to error or fraud, and performing procedures that respond to those risks. Such procedures included examining, on a test basis, evidence regarding the amounts and disclosures in the consolidated financial statements. Our audits also included evaluating the accounting principles used and significant estimates made by management, as well as evaluating the overall presentation of the consolidated financial statements. We believe that our audits provides a reasonable basis for our opinion.

 

KPMG Auditores Independentes Ltda.

 

We served as the Company’s auditor from 2017 to 2021.

São Paulo, SP, Brazil
May 10, 2022


F-11


Ultrapar Participações S.A. and Subsidiaries

 

Consolidated statement of financial position

As of December 31, 2022 and 2021

(In thousands of Brazilian Reais)

 

 

Note

12/31/2022

 


12/31/2021


Current assets

 

 

 


 


Cash and cash equivalents

5.a

5,621,769

 


2,280,074


Financial investments and derivative financial instruments

5.b

520,352

 


1,804,122


Trade receivables

6.a

4,149,111

 


3,375,246


Reseller financing

6.b

559,825

 


582,562


Trade receivables - sale of subsidiaries

6.c

184,754

 


-


Inventories

7

4,906,083

 


3,918,772


Recoverable taxes

8.a

1,610,312

 


1,061,227


Recoverable income and social contribution taxes

8.b

96,134

 


291,833


Dividends receivable

 

4,296

 


147


Other receivables

 

174,153

 


56,205


Prepaid expenses

11

123,699

 


98,024


Contractual assets with customers - exclusivity rights

12

614,112

 


555,052


Assets held for sale

4

 


11,000,917


Total current assets

 

18,564,600

 


25,024,181


Non-current assets

 

 

 


 


Financial investments and derivative financial instruments

5.b

442,841

 


379,277


Trade receivables

6.a

61,463

 


63,749


Reseller financing

6.b

501,522

 


415,472


Trade receivables - sale of subsidiaries

6.c

911,811

 


-


Related parties

9.a

 


490


Deferred income and social contribution taxes

10.a

898,235

 


571,755


Recoverable taxes

8.a

2,172,959

 


1,046,798


Recoverable income and social contribution taxes

8.b

403,383

 


155,358


Escrow deposits

23.a

946,383

 


871,261


Indemnification asset - business combination

23.c

126,558

 


120,991


Other receivables

 

61,433

 


29,748


Prepaid expenses

11

74,813

 


71,368


Contractual assets with customers - exclusivity rights

12

1,591,479

 


1,524,174


Investments in joint ventures and associates

13

111,384

 


78,593


Right-of-use assets

14

1,791,377

 


1,651,295


Property, plant and equipment

15

5,862,413

 


5,534,591


Intangible assets

16

1,918,349

 


1,471,256


Total non-current assets

 

17,876,403

 


13,986,176


Total assets

 

36,441,003

 


39,010,357


 

The accompanying notes are an integral part of the consolidated financial statements.


F-12


Ultrapar Participações S.A. and Subsidiaries

 

Consolidated statement of financial position

As at December 31, 2022 and 2021

(In thousands of Brazilian Reais)

 


Note

12/31/2022

 


12/31/2021


Current liabilities

 

 

 


 

Loans, financing and derivative financial instruments

17

869,067

 


618,327

Debentures

17

2,491,610

 


2,247,724

Trade payables

18.a

4,710,952

 


3,670,895

Trade payables - reverse factoring

18.b

2,666,894

 


2,119,059

Salaries and related charges

19

460,906

 


330,103

Taxes payable

20

192,430

 


229,176

Dividends payable

25

48,525

 


202,860

Income and social contribution taxes payable

 

315,053

 


196,348

Post-employment benefits

21.b

21,809

 


21,082

Provision for asset retirement obligation

22

5,063

 


4,632

Provision for tax, civil and labor risks

23.a

22,837

 


119,942

Leases payable

14

225,034

 


188,832

Financial liabilities of customers

 

154,405

 


 

Other payables

 

581,667

 


149,829

Liabilities directly associated with assets held for sale

4

 


2,541,421

Total current liabilities

 

12,766,252

 


12,640,230

Non-current liabilities

 

 

 


 

Loans, financing and derivative financial instruments

17

4,845,393

 


8,672,547

Debentures

17

3,544,291

 


4,839,045

Related parties

9.a

3,492

 


3,534

Deferred income and social contribution taxes

10.a

299

 


282

Post-employment benefits

21.b

193,747

 


194,637

Provision for asset retirement obligation

22

46,695

 


52,079

Provision for tax, civil and labor risks

23.a; 23.c

1,017,335

 


812,243

Leases payable

14

1,298,735

 


1,159,479

Financial liabilities of customers

 

296,181

 


 

Subscription warrants - indemnification

24

42,776

 


51,296

Provision for unsecured liabilities of joint ventures and associates

13

157

 


-

Other payables

 

210,682

 


115,745

Total non-current liabilities

 

11,499,783

 


15,900,887

Equity

 

 

 


 

Share capital

25.a

5,171,752

 


5,171,752

Equity instrument granted

25.b

43,987

 


34,043

Capital reserve

25.h

599,461

 


596,481

Treasury shares

25.c

(479,674

)

(488,425

)

Revaluation reserve of subsidiaries

25.d

3,975

 


4,154

Profit reserves 

25.e

6,111,136

 


4,866,409

Accumulated other comprehensive income

25.f

179,974

 


(422,138

)

Cumulative translation adjustments

25.f

-

 


304,645

Additional dividends to the minimum mandatory dividends

 

78,130

 


-

Equity attributable to:

 

 

 


 

  Shareholders of the Company

 

11,708,741

 


10,066,921

  Non-controlling interests in subsidiaries

 

466,227

 


402,319

Total equity

 

12,174,968

 


10,469,240

   Total liabilities and equity

 

36,441,003

 


39,010,357

 

The accompanying notes are an integral part of the consolidated financial statements.

F-13


Ultrapar Participações S.A. and Subsidiaries


Consolidated statement of income

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais, except earnings per share)


 

Note

 

2022


 

2021


 

2020


Continuing operations

 

 

 


 

 


 

 


Net revenue from sales and services

  

 

143,634,708


 

109,732,842


 

74,058,056


Cost of products and services sold

26

 

(136,276,257

)

 

(104,827,966

)

 

(70,056,447

)

Gross profit

 

 

7,358,451


 

4,904,876


 

4,001,609


Operating income (expenses)

 

 

 


 

 


 

 


Selling and marketing

26

 

(2,141,985

)

 

(1,931,666

)

 

(1,611,152

)

General and administrative

26

 

(1,534,481

)

 

(1,466,551

)

 

(993,986

)

Gain on disposal of property, plant and equipment and intangible assets

27

 

169,289


 

184,189


 

85,455


Other operating income (expenses), net

26

 

(514,522

)

 

96,166


 

64,034


Operating income before financial result and share of profit (loss) of joint ventures and associates

 

 

3,336,752


 

1,787,014


 

1,545,960


Share of profit (loss) of joint ventures and associates

13

 

12,181


 

(17,634

)

 

(44,031

)

Income before financial result and income and social contribution taxes

 

 

3,348,933


 

1,769,380


 

1,501,929


Finance income

28

 

706,689


 

460,154


 

357,666


Finance expenses

28

 

(2,175,897

)

 

(1,222,886

)

 

(908,014

)

    Financial result, net

28

 

(1,469,208

)

 

(762,732

)

 

(550,348

)

Income before income and social contribution taxes

 

 

1,879,725


 

1,006,648


 

951,581


Income and social contribution taxes

 

 

 


 

 


 

 


Current

10.b; 10.c

 

(637,973

)

 

(430,280

)

 

(538,761

)

Deferred

10.b

 

296,459


 

242,246


 

234,244


 

 

 

(341,514

)

 

(188,034

)

 

(304,517

)

Net income from continuing operations

 

 

1,538,211


 

818,614


 

647,064


Discontinued operations

4

 

301,858


 

65,264


 

280,633


Net income for the year

 

 

1,840,069


 

883,878


 

927,697


Net Income attributable to:

 

 

 


 

 


 

 


  Shareholders of  Ultrapar

 

 

1,800,839


 

850,463


 

893,383


  Non-controlling interests in subsidiaries

 

 

39,230


 

33,415


 

34,314


Earnings per share from continuing operations (based on the weighted average number of shares outstanding) – R$

 

 

 


 

 


 

 


Basic

29

 

1.3727


 

0.7200


 

0.5625


Diluted

29

 

1.3643


 

0.7158


 

0.5592


Earnings per share from discontinued operations (based on the weighted average number of shares outstanding) – R$

 

 

 


 

 


 

 


Basic

29

 

0.2764


 

0.0598


 

0.2576


Diluted

29

 

0.2747


 

0.0595


 

0.2561


Total earnings per share (based on weighted average number of shares outstanding) – R$

 

 

 


 

 


 

 


Basic

29

 

1.6491


 

0.7799


 

0.8201


Diluted

29

 

1.6391


 

0.7753


 

0.8152


 

The accompanying notes are an integral part of the consolidated financial statements.


Ultrapar Participações S.A. and Subsidiaries


Consolidated statements of comprehensive income

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais)

 

 

Note

2022


 

2021


 

2020


Net income for the year

 

1,840,069


 

883,878


 

927,697


Items that will be subsequently reclassified to profit or loss:

 

 


 

 


 

 


Fair value adjustments of financial instruments of subsidiaries and joint ventures, net of taxes

 

602,480


 

7,274


 

(313,081

)

Translation adjustments and hedge of net investments in foreign operations, net of taxes

 

(304,645

)

 

73,049


 

129,169


Items that will not be subsequently reclassified to profit or loss:

 

 


 

 


 

 


Actuarial gains/(losses) of post-employment benefits, net of income and social contribution taxes

25.f.1

(165

)

 

46,610


 

(16,887

)

Total comprehensive income for the year

 

2,137,739


 

1,010,811


 

726,898


    Total comprehensive income for the year attributable to shareholders of Ultrapar

 

2,098,306


 

966,364


 

703,879


    Total comprehensive income for the year attributable to non-controlling interest in subsidiaries

 

39,433


 

44,447


 

23,019


 

The accompanying notes are an integral part of the consolidated financial statements.



Ultrapar Participações S.A. and Subsidiaries


Consolidated statements of changes in equity

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais, except dividends per share)


 

 

 


 

 


 

 


 

 


 

 


 

Profit reserves


 

 


 

 


 

 


 

 


 

Equity attributable to:


 

 


 

Note

Share capital


 

Equity instrument granted


 

Capital reserve


 

Treasury shares


 

Revaluation reserve of subsidiaries


 

Legal reserve


 

Investments statutory reserve


 

Accumulated other comprehensive income


 

Cumulative translation adjustments (i)


 

Retained earnings


 

Additional dividends to the minimum mandatory dividends


 

Shareholders of the Company


 

Non-controlling interests in subsidiaries (ii)


 

Consolidated equity


Balance as of December 31, 2021

 

5,171,752


 

34,043


 

596,481


 

(488,425

)

 

4,154


 

792,533


 

4,073,876


 

(422,138

)

 

304,645


 


 


 

10,066,921


 

402,319


 

10,469,240


Net income for the year

 


 


 


 


 


 


 


 


 


 

1,800,839


 


 

1,800,839


 

39,230


 

1,840,069


Other comprehensive income

 


 


 


 


 


 


 


 

602,112


 

(304,645)


 


 


 

297,467


 

203


 

297,670


Total comprehensive income for the year

13


 


 


 


 


 


 


 

602,112


 

(304,645)


 

1,800,839


 


 

2,098,306


 

39,433


 

2,137,739


Issuance of shares related to the subscription warrants – indemnification

 


 


 

941


 


 


 


 


 


 


 


 


 

941


 


 

941


Equity instrument granted

9.c; 25.b


 

9,944


 

2,039


 

8,751


 


 


 


 


 


 


 


 

20,734


 


 

20,734


Realization of revaluation reserve of subsidiaries

 


 


 


 


 

(179

)

 


 


 


 


 

179


 


 


 


 


Dividends prescribed

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

2,948


 

-


 

2,948


 

-


 

2,948


Shareholder transaction – changes of investments

 


 


 


 


 


 

 


 

(6)


 


 


 

286


 


 

280


 

(6,847

)

 

(6,567

)

Changes in ownership interests in subsidiaries

 


 


 


 


 


 


 


 

-


 


 

-


 


 

985


 

(2,423

)

 

(2,423

)

Capital increase attributable to non-controlling interests

 


 


 


 


 


 


 


 


 


 


 


 


 

35,182


 

35,182


Allocation of net income

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


Legal reserve

25.g

-


 

-


 

-


 

-


 

-


 

90,042


 

-


 

-


 

-


 

(90,042

)

 

-


 

-


 

-


 

-


Investments statutory reserve

25.g

-


 

-


 

-


 

-


 

-


 

-


 

1,154,691


 

-


 

-


 

(1,154,691

)

 

-


 

-


 

-


 

-


Additional minimum mandatory dividend (R$ 0.03 per share)

25.g

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(35,385

)

 

-


 

(31,385

)

 

-


 

(31,385

)

Additional dividends to the minimum mandatory dividends (R$ 0.07 per share)

25.g

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(78,130

)

 

78,130


 

-


 

-


 

-


Interest on capital (R$ 0.41 per share)

25.g


 


 


 


 


 


 


 


 


 

(450,004

)

 


 

(450,004)


 


 

(450,004

)

Dividends attributable to non-controlling interests

 


 


 


 


 


 


 


 


 


 


 


 


 

(1,437

)

 

(1,437

)

Balance as of December 31, 2022

 

5,171,752


 

43,987


 

599,461


 

(479,674

)

 

3,975


 

822,575


 

5,228,561


 

179,974


 


 

-


 


 

11,708,741


 

466,227


 

12,174,968





 


F-16


Ultrapar Participações S.A. and Subsidiaries

Consolidated statements of changes in equity

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais, except dividends per share)


 

 

 


 

 


 

 


 

 


 

 


 

Profit reserves


 

 


 

 


 

 


 

 


 

Equity attributable to:


 

 


 

Note

Share capital


 

Equity instrument granted


 

Capital reserve


 

Treasury shares


 

Revaluation reserve of subsidiaries


 

Legal reserve


 

Investments statutory reserve


 

Accumulated other comprehensive income


 

Cumulative translation adjustments


 

Retained earnings


 

Additional dividends to the minimum mandatory dividends


 

Shareholders of the Company


 

Non-controlling interests in subsidiaries (ii)


 

Consolidated equity


Balance as of December 31, 2020 

 

5,171,752


 

22,404


 

594,049


 

(489,068

)

 

4,337


 

750,010


 

3,658,265


 

(464,990

)

 

231,596


 


 

55,391


 

9,533,746


 

376,519


 

9,910,265


Net income for the year

 


 


 


 


 


 


 


 


 


 

850,463


 


 

850,463


 

33,415


 

883,878


Other comprehensive income

 


 


 


 


 


 


 


 

42,852


 

73,049


 


 


 

115,901


 

11,032


 

126,933


Total comprehensive income for the year

 


 


 


 


 


 


 


 

42,852


 

73,049


 

850,463


 


 

966,364


 

44,447


 

1,010,811


Issuance of shares related to the subscription warrants – indemnification

 


 


 

1,819


 


 


 


 


 


 


 


 


 

1,819


 


 

1,819


Equity instrument granted

9.c; 25.b


 

11,639


 

613


 

643


 


 


 


 


 


 


 


 

12,895


 


 

12,895


Realization of revaluation reserve of subsidiaries

 


 


 


 


 

(183

)

 


 


 


 


 

183


 


 


 


 


Dividends prescribed

 


 


 


 


 


 


 


 


 


 

10,487


 


 

10,487


 

1,329


 

11,816


Gains arising from payments of fixed dividends to preferred shares of subsidiaries

 


 


 


 


 


 


 


 


 


 

971


 


 

971


 

(971

)

 


Shareholder transaction – changes of investments

 


 


 


 


 


 


 

11,641


 


 


 

(11,641

)

 


 


 


 


Dividends attributable to non-controlling interests

 


 


 


 


 


 


 


 


 


 


 


 


 

(19,005

)

 

(19,005

)

Approval of additional dividends by the Ordinary General Meeting

 


 


 


 


 


 


 


 


 


 


 

(55,391

)

 

(55,391

)

 


 

(55,391

)

Legal reserve

25.g


 


 


 


 


 

42,523


 


 


 


 

(42,523

)

 


 


 


 


Investments statutory reserve

25.g


 


 


 


 


 


 

403,970


 


 


 

(403,970

)

 


 


 


 


Proposed dividends (R$ 0.17 per share)

25.g


 


 


 


 


 


 


 


 


 

(185,896

)

 


 

(185,896

)

 


 

(185,896

)

Interim dividends (R$ 0.20 per share)

25.g


 


 


 


 


 


 


 


 


 

(218,074

)

 


 

(218,074

)

 


 

(218,074

)

Balance as of December 31, 2021

 

5,171,752


 

34,043


 

596,481


 

(488,425

)

 

4,154


 

792,533


 

4,073,876


 

(422,138

)

 

304,645


 

-

 

-

 

10,066,921


 

402,319


 

10,469,240



(i)                      Cumulative translation adjustment from discontinued operation. The accumulated effects were reclassified to income as a result of the sale of Oxiteno (see note 4.b).

(ii)                     Are substantially represented by non-controlling shareholders of Iconic.

 

The accompanying notes are an integral part of the consolidated financial statements.

 

F-17


 Ultrapar Participações S.A. and Subsidiaries

Consolidated statements of changes in equity

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais, except dividends per share) 


 

 

 


 

 


 

 


 

 


 

 


 

Profit reserve


 

 


 

 


 

 


 

 


 

Equity attributable to:


 

 


 

Note

Share capital


 

Equity instrument granted


 

Capital reserve


 

Treasury shares


 

Revaluation reserve on subsidiaries


 

Legal reserve


 

Investments statutory reserve


 

Accumulated other comprehensive income


 

Cumulative translation adjustments


 

Retained earnings


 

Additional dividends to the minimum mandatory dividends


 

Shareholders of the Company

 


Non-controlling interests in subsidiaries


 

Consolidated equity


Balance as of December 31, 2019 

 

5,171,752


 

11,970


 

542,400


 

(485,383

)

 

4,522


 

705,341


 

3,290,073


 

(146,317

)

 

102,427


 

-


 

261,470


 

9,458,255

 


376,920


 

9,835,175


Net income for the year

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

893,383


 

-


 

893,383

 


34,314


 

927,697


Other comprehensive income

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(318,673

)

 

129,169


 

-


 

-


 

(189,504


(11,295

)

 

(200,799

)

Total comprehensive income for the year

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(318,673

)

 

129,169


 

893,383


 

-


 

703,879

 


23,019


 

726,898


Issuance of shares related to the subscription warrants - indemnification - Extrafarma acquisition

 

-


 

-


 

54,763


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

54,763

 


-


 

54,763


Stock plan

9.c

-


 

-


 

(3,114

)

 

(3,685

)

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(6,799

)

-


 

(6,799

)

Equity instrument granted

25.b

-


 

10,434


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

10,434

 


-


 

10,434


Income and social contribution taxes on realization of revaluation reserve of subsidiaries

25.d

-


 

-


 

-


 

-


 

(185

)

 

-


 

-


 

-


 

-


 

185


 

-


 

-

 


-


 

-


Transfer to statutory reserve

 

-


 

-


 

-


 

-


 

-


 

-


 

(774

)

 

-


 

-


 

774


 

-


 

-

 


-


 

-


Shareholder transaction – changes of investments

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

42


 

-


 

42

 


(42

)

 

-


Dividends attributable to non-controlling interests

 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(1,001)

 


(23,378

)

 

(24,379

)

Approval of additional dividends by the Shareholders’ Meeting

25.g

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(261,470)


 

(261,470)

 


-


 

(261,470

)

Allocation of net income:

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 


 

 

 


 


 

 


Legal reserve

25.e; 25.g 

-


 

-


 

-


 

-


 

-


 

44,669


 

-


 

-


 

-


 

(44,669

)

 

-


 

-

 


-


 

-


Investments statutory reserve

25.e; 25.g

-


 

-


 

-


 

-


 

-


 

-


 

368,966


 

-


 

-


 

(368,966

)

 

-


 

-

 


-


 

-


Proposed dividends (R$ 0.44 per share)

25.g

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

-


 

(479,748

)

 

55,391


 

(424,357

)

-


 

(424,357

)

Balance as of December 31, 2020

 

5,171,752


 

22,404


 

594,049


 

(489,068

)

 

4,337


 

750,010


 

3,658,265


 

(464,990

)

 

231,596


 

-


 

55,391


 

9,533,746

 


376,519


 

9,910,265


 

The accompanying notes are an integral part of the consolidated financial statements.

 

F-18


Ultrapar Participações S.A. and Subsidiaries


Consolidated statement of cash flows indirect method

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais)

 

 

Note

2022


 

2021


 

2020


Cash flows from operating activities from continuing operations

 

 


 

 


 

 


Profit from continuing operations

 

1,538,211


 

818,614


 

647,064


Adjustments to reconcile net income to cash provided by operating activities from continuing operations

 

 


 

 


 

 


Share of profit (loss) of joint ventures and associates

13

(12,181

)

 

17,634


 

44,031


Amortization of contractual assets with customers – exclusivity rights

12

504,907


 

282,521


 

289,436


Amortization of right-of-use assets

14

288,419


 

260,716


 

242,670


Depreciation and amortization

15

732,241


 

653,118


 

595,531


PIS and COFINS credits on depreciation

16

6,663


 

7,081


 

6,062


Interest and foreign exchange rate variations

 

1,625,987


 

1,133,882


 

533,926


Deferred income and social contribution taxes

10.b

(296,459

)

 

(242,246

)

 

(234,244

)

Currents income and social contribution taxes

10.b

637,973


 

430,280


 

538,761


Loss on disposal of property, plant and equipment and intangible assets or assets write-off and other assets

 

(322,190

)

 

(184,189

)

 

(85,455

)

Reversal (loss) allowance for expected credit losses

 

(49,989

)

 

(3,123

)

 

15,281


Provision for losses with inventories

 

26,356


 

(826

)

 

1,338


Provision for post-employment benefits

 

1,939


 

(2,393

)

 

(15,867

)

Equity instrument granted

 

9,944


 

9,364


 

8,793


Provision for decarbonization – CBIO

26

638,542


 

161,281


 

124,287


Provision for tax, civil and labor risks

 

61,039


 

93,328


 

21,582


Other provisions and adjustments

 

5,448


 

2,332


 

(1,912

)

 

 

5,396,850


 

3,437,374


 

2,731,284


(Increase) decrease in assets

 

 


 

 


 

 


Trade receivables and reseller financing

6

(779,239

)

 

(956,779

)

 

408,949


Inventories

7

(1,004,819

)

 

(1,626,670

)

 

108,136


Recoverable taxes

8

(2,056,104

)

 

(826,133

)

 

(783,210

)

Dividends received from joint ventures

 

146


 

1,005


 

4,836


Other assets

 

(224,379

)

 

(19,392

)

 

(136,972

)

Increase (decrease) in liabilities

 

 


 

 


 

 


Trade payables and trade payables – reverse factoring

18

1,557,837


 

2,425,821


 

798,180


Salaries and related charges

19

130,586


 

63,066


 

15,644


Taxes payable

20

(9,442

)

 

11,733


 

22,925


Other liabilities

 

677,016


 

(55,099

)

 

(51,329

)

Acquisition of CBIO

16

(635,130

)

 

(176,837

)

 

(125,345

)

Payments of contractual assets with customers – exclusivity rights

12

(710,908

)

 

(420,261

)

 

(356,045

)

Payments of contingencies

 

(84,939

)

 

(24,351

)

 

(39,256

)

Income and social contribution taxes paid

 

(283,331

)

 

(230,036

)

 

(333,784

)

Net cash provided by operating activities from continuing operations

 

1,974,144


 

1,603,441


 

2,264,013


Net cash provided by operating activities from discontinued operations

 

30,550


 

982,519


 

874,106


Net cash provided by operating activities

 

2,004,694


 

2,585,960


 

3,138,119



The accompanying notes are an integral part of the consolidated financial statements.


F-19


Ultrapar Participações S.A. and Subsidiaries


Consolidated Statements of cash flows - indirect method

For the years ended December 31, 2022, 2021 and 2020

(In thousands of Brazilian Reais)


 

 

2022


 

2021


 

2020


Cash flows from investing activities

 

 


 

 


 



Financial investments, net of redemptions

5.b

1,567,962


 

1,863,053


 

(869,748

)

Acquisition of property, plant and equipment

15

(929,236

)

 

(1,028,419

)

 

(750,618

)

Acquisition of intangible assets

16

(277,600

)

 

(237,488

)

 

(154,534

)

Receipt of intercompany loan owed by Oxiteno S.A. to Ultrapar International

1.b.2

3,980,699


 

-


 

-


Cash provided by disposal of investments and property, plant and equipment

 

2,839,676


 

322,494


 

154,725


Capital increase in joint ventures

 

(28,000

)

 

(25,700

)

 

(28,840

)

Net cash consumed by subsidiaries acquisition

 

(5,985

)

 

-


 

-


Transactions with discontinued operations

 

987,895


 

-


 

-


Capital decrease in associates and redemption of shares

13

-


 

1,500


 

-


Initial direct costs of right-of-use assets

 

(12,120

)

 

(14,905

)

 

-


Receipt from related parties

9.a


 

2,334


 

-


Net cash provided (consumed) by investing activities from continuing operations

 

8,123,291


 

882,869


 

(1,649,015

)

Net cash consumed by investing activities from discontinued operations

 

(220,190

)

 

(158,733

)

 

(487,390

)

Net cash provided (consumed) by investing activities

 

7,903,101


 

724,136


 

(2,136,405

)

Cash flows from financing activities

 

 


 

 


 

 


Loans and debentures

 

 


 

 


 

 


Proceeds

17

1,519,580


 

1,383,611


 

3,387,161


Repayments

17

(5,848,611

)

 

(2,426,222

)

 

(1,815,130

)

Interest and derivatives paid

17

(1,398,229

)

 

(733,791

)

 

(701,458

)

Payments of lease

 

 


 

 


 

 


Principal

14

(351,011

)

 

(304,975

)

 

(250,202

)

Interest paid

14

(6,868

)

 

(15,267

)

 

(5,705

)

Dividends paid

 

(638,280

)

 

(705,753

)

 

(284,767

)

Proceeds of financial liabilities of customers

 

162,895


 

-


 

-


Payments of financial liabilities of customers

 

(173,948

)

 

-


 

-


Capital increase made by non-controlling interests and redemption of shares

 

21,682


 

-


 

-


Payment to related parties

 

(18,926

)

 

(177

)

 

(2,548

)

Net cash provided (consumed) by financing activities from continuing operations

 

(6,731,716

)

 

(2,802,574

)

 

327,351


Net cash consumed by financing activities from discontinued operations

 

(179,025

)

 

(552,967

)

 

(919,684

)

Net cash consumed by financing activities

 

(6,910,741

)

 

(3,355,541

)

 

(592,333

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations

 

(24,024

)

 

(4,547

)

 

21,912


Effect of exchange rate changes on cash and cash equivalents in foreign currency - discontinued operations

 

(19,316

)

 

56,553


 

114,822


Increase in cash and cash equivalents - continuing operations

 

3,341,695


 

6,561


 

546,115


Decrease in cash and cash equivalents - discontinued operations

 

(387,981

)

 

-


 

-


Cash and cash equivalents at the beginning of the year - continuing operations

5.a

2,280,074


 

2,661,494


 

2,115,379


Cash and cash equivalents at the beginning of the year - discontinued operations

 

387,981


 

-


 

-


Cash and cash equivalents at the end of the year - continuing operations

 

5,621,769


 

2,280,074


 

2,661,494


Cash and cash equivalents at the end of the year - discontinued operations

5.a


 

387,981


 

-


Non-cash transactions:

 

 


 

 


 

 


Contingent consideration – subsidiaries purchase

 

89,640


 

-


 

-


Addition on right-of-use assets and leases payable

 

482,439


 

227,977


 

420,070


Movement without cash effect of escrow deposits and provision for tax, civil and labor risks

 

41,888


 

-


 

-


Addition on contractual assets with customers – exclusivity rights

 

63,061


 

269,725


 

193,040


Capital increase performed by non-controlling interests

 

13,519


 

-


 

-


Reversal fund - private pension

 

3,107


 

2,656


 

33,843


Issuance of shares related to the subscription warrants - indemnification - Extrafarma acquisition

 

942


 

1,819


 

54,763


 

The accompanying notes are an integral part of the consolidated financial statements.


F-20


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

1 Operations

 

Ultrapar Participações S.A. (“Ultrapar” or “Company”) is a publicly-traded company headquartered at the Brigadeiro Luís Antônio Avenue, 1343 in the city of São Paulo – SP, Brazil, listed on B3 S.A. Brasil, Bolsa, Balcão (“B3”), in the Novo Mercado listing segment under the ticker “UGPA3” and on the New York Stock Exchange (“NYSE”) in the form of level III American Depositary Receipts (“ADRs”) under the ticker “UGP”.

 

The Company engages in the investment of its own capital in services, commercial and industrial activities, through the subscription or acquisition of shares of other companies. Through its subsidiaries, it operates on liquefied petroleum gas – LPG distribution (“Ultragaz”), fuel distribution and related businesses (“Ipiranga” or “IPP”) and storage services for liquid bulk (“Ultracargo”). The information on segments is disclosed in Note 30.

 

These financial statements were authorized for issuance by the Management on April 25, 2023.

 

a. Principles of consolidation and interest in subsidiaries

 

a.1 Principles of consolidation

 

In the preparation of the consolidated financial statements the investments of one company in another, balances of asset and liability accounts, revenues transactions, costs and expenses were eliminated, as well as the effects of transactions conducted between the companies. Non-controlling interests in subsidiaries are presented within consolidated equity and net income.

 

Consolidation of a subsidiary begins when the Company obtains direct or indirect control over an entity and ceases when the company loses control. Income and expenses of a subsidiary acquired are included in the consolidated statements of income and of comprehensive income from the date the Company gains the control. Income and expenses of a subsidiary, in which the Company loses control, are included in the consolidated statements of income and of comprehensive income until the date the Company loses control.

 

When necessary, adjustments are made to the financial statements of subsidiaries to bring their accounting policies into line with the Company’s accounting policies.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


a.2. Interest in subsidiaries

 

The consolidated financial statements include the following direct and indirect subsidiaries:

 

 

 

 

% interest in the share capital


 

 

 

12/31/2022

12/31/2021


12/31/2020


 

 

 

Control  

Control


Control


 

Location

Segment

Direct

 

Indirect

 

Direct

 

Indirect


Direct


Indirect


Ipiranga Produtos de Petróleo S.A.

Brazil

Ipiranga

100

 

-

 

100

 

-


100


-


am/pm Comestíveis Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Icorban - Correspondente Bancário Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Trading Limited

British Virgin Islands

Ipiranga

-

 

100

 

-

 

100


-


100


Tropical Transportes Ipiranga Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Imobiliária Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Logística Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Oil Trading Importadora e Exportadora Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Iconic Lubrificantes S.A.

Brazil

Ipiranga

-

 

56

 

-

 

56


-


56


Integra Frotas Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Imaven Imóveis Ltda.

Brazil

Others

-

 

100

 

-

 

100


-


100


Imifarma Produtos Farmacêuticos e Cosméticos S.A.(3)

Brazil

Extrafarma

-

 

-

 

-

 

100


-


100


Ultragaz Participações Ltda (8)

Brazil

Ultragaz

100

 

-

 

-

 

-


-


-


Ultragaz Energia Ltda (10)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


-


   Stella GD Intermediação de Geração Distribuída de Energia Ltda.(9)

Brazil

Ultragaz

-

 

100

 

-

 

-


-


-


        Companhia Ultragaz S.A. (8)

Brazil

Ultragaz

-

 

99

 

-

 

99


-


99


   Nova Paraná Distribuidora de Gás Ltda. (1)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   Utingás Armazenadora S.A

Brazil

Ultragaz

-

 

57

 

-

 

57


-


57


   Bahiana Distribuidora de Gás Ltda. (7)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   LPG International Inc. (7)

Cayman Islands

Ultragaz

-

 

100

 

-

 

100


-


100


UVC Investimentos Ltda

Brazil

Others

100

 

-

 

-

 

99


-


99


Centro de Conveniências Millennium Ltda. and subsidiaries

Brazil

Others

100

 

-

 

100

 

-


100


-


Oxiteno S.A. Indústria e Comércio (4)

Brazil

Oxiteno

-

 

-

 

100

 

-


100


-


Oxiteno Argentina Sociedad de Responsabilidad Ltda.

Argentina

Oxiteno

-

 

-

 

-

 

100


-


100


Oleoquímica Indústria e Comércio de Produtos Químicos Ltda.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Uruguay S.A.

Uruguay

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno México S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Corporativos S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Industriales S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno USA LLC

United States

Oxiteno

-

 

-

 

-

 

100


-


100


Global Petroleum Products Trading Corp. (5)

British Virgin Islands

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Europe SPRL

Belgium

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Colombia S.A.S.

Colombia

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Shanghai LTD.

China

Oxiteno

-

 

-

 

-

 

100


-


100


Empresa Carioca de Produtos Químicos S.A.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Ultracargo - Operações Logísticas e Participações Ltda.

Brazil

Ultracargo

100

 

-

 

100

 

-


100


-


Ultracargo Logística S.A. (2)

Brazil

Ultracargo

-

 

99

 

-

 

99


-


99


TEAS – Terminal Exportador de Álcool de Santos Ltda.

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultracargo Vila do Conde Logística Portuária S.A. (6)

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultrapar International S.A.

Luxembourg

Others

100

 

-

 

100

 

-


100


-


SERMA - Ass. dos usuários equip. proc. de dados

Brazil

Others

-

 

100

 

-

 

100


-


100


UVC - Fundo de investimento em participações multiestratégia investimento no exterior

Brazil

Others

100

 

-

 

100

 

-


100


-


Eaí Clube Automobilista S.A.

Brazil

Others

100

 

-

 

100

 

-


100


-



The percentages in the table above are rounded.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


(1) Non-operating company in closing phase.
(2) In April 2021, the name of subsidiary Terminal Químico de Aratu S.A - Tequimar was changed to Ultracargo Logística S.A. (“Ultracargo Logística”).
(3) On May 18, 2021, the Company announced the signing of an agreement for the sale of all shares of Extrafarma to Pague Menos. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”, being the transaction closed on August 1, 2022 after the fulfillment of  all conditions precedent. For further details, see note 4.c.1.
(4) On August 16, 2021, the Company announced the signing of an agreement for the sale of its interest in Oxiteno S.A. to Indorama. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”. On April 1, 2022, the transaction was consummated.
(5) On January 27, 2022, the subsidiary Global Petroleum Products Trading Corp (“GPPT”) was dissolved.
(6) On April 29, 2022, the name of subsidiary Tequimar Vila do Conde Logística Portuária S.A was changed to Ultracargo Vila do Conde Logística Portuária S.A.
(7) On July 1, 2022, the indirect subsidiaries Bahiana Distribuidora de Gás Ltda. (“Bahiana”) and LPG International Inc. (“LPG”) became controlled by Ultragaz.
(8) On August 1, 2022, the subsidiary Companhia Ultragaz S.A. (“Ultragaz”) became directly controlled by Ultrapar. In November 2022, Ultragaz became an investee of Ultragaz Participações Ltda.
(9) On September 12, 2022, the Company through its subsidiary Ultragaz Energia Ltda., signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The closing of the acquisition ocurred on October 1, 2022 (see note 33.a).
(10) On November 18, 2022, the name of subsidiary Ultragaz Comercial Ltda. was changed to Ultragaz Energia Ltda.

 

b.      Main events that occurred in the year


b.1 Clarifications on the impacts of the military conflicts between Russia and Ukraine

 

On February, 2022 a full-scale military invasion of Ukraine by Russian troops began. Since then, global markets have experienced volatility and disruption following the escalation of geopolitical tensions and the onset of military conflict between these countries. While the duration and the impact of the ongoing military conflict is highly unpredictable, the conflict in Ukraine has and may lead to market disruptions and significant volatility in commodity prices, including crude oil, which may affect the prices of petroleum-based fuel and the demand in the markets in which we operate. Furthermore, the governments of the United States and other countries have imposed economic sanctions on Russia, including politicians and corporate and banking entities. These sanctions, or even the threat of further sanctions, may lead Russia to take countermeasures or retaliatory actions, which may lead to further disruptions in the market and an increase in crude oil prices and its derivatives globally, which may negatively impact our business and operations.

 

In addition, any new global financial crisis could have a negative impact on our borrowing cost and on our ability to obtain future borrowings. Disruptions in the financial markets could also lead to a reduction in available commercial credit due to liquidity concerns of the counterparties. If we experience a decrease in demand for our products or an increase in the default rate on our receivables, or if we are unable to obtain borrowings, our business, financial condition and results of operations could be adversely affected.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b.2 Conclusion (“closing”) of Oxiteno S.A. sale agreement

 

On August 16, 2021, the Company signed the agreement for the sale of all shares of Oxiteno S.A. – Indústria e Comércio (“Oxiteno S.A.”) to Indorama Ventures PLC (“Indorama”). On March 7, 2022, the Administrative Council for Economic Defense (CADE) approved the transaction without restrictions. On April 1, 2022, all conditions precedent were met and the transaction was completed. The initial payment of US$ 1,150 million (equivalent to R$ 5,448 million) (1), adjusted for variations in working capital and net debt position of US$ 176 million (equivalent to R$ 834 million)(1), resulted in a total initial payment of US$ 1,326 (equivalent to R$ 6,282 million)(1), made on April 1, 2022. The final payment of US$ 150 million will be made in April 2024. The Company held a 100% interest in Oxiteno S.A. For further information see note 4.b.

 

(1) Amount converted into reais at the exchange rate on the closing date of the transaction (US$ 1.00 to R$ 4.7372).

 

b.3 Conclusion (“closing”) of Extrafarma sale agreement

 

On May 18, 2021 the Company signed the agreement for the sale of all shares of Extrafarma held by subsidiary IPP to Empreendimentos Pague Menos S.A. (“Pague Menos”). On June 22, 2022, CADE approved the transaction, through the execution of a Merger Control Agreement (“Acordo em Controle de Concentrações - ACC”), providing for the divestment of 8 Extrafarma stores, which did not result in change in the enterprise value. On August 1, 2022, the transaction was closed, after the fulfillment of all precedent conditions. The amount of R$ 700 million was adjusted by the variations in working capital and net debt position of R$ 37.7 million resulting in the total amount of R$ 737.7 million. This amount is still subject to final working capital and net debt adjustments. Of the first installment of R$ 372.3 million, R$ 365.4 million was paid by Pague Menos on August 1, 2022 and R$ 6.9 million was paid in cash by shareholders who exercised their preemptive rights. The payment of the two remaining installments of R$ 182.7 million each will be made in August 2023 and August 2024 by Pague Menos, corrected by DI + 0,5% p.a. The Company held a 100% interest in Extrafarma, through subsidiary Ipiranga. For further information see note 4.a. 

 

b.4. Signing of an agreement for the acquisition of Stella by Ultragaz

 

On September 12, 2022, Ultrapar signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”), which was closed on October 1, 2022. The acquisition value is a minimum amount of R$ 63 million, with an initial payment of R$ 7.6 million. The remaining acquisition amount proportional to the share held by the sellers will be settled in 2027, and is mainly subject to the acquired company’s performance conditions. For further information, see note 34.

 

F-24


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

The consolidated financial statements (“financial statements”) have been prepared in accordance with the International Financial Reporting Standards “IFRS” issued by the International Accounting Standards Board (“IASB”).

 

The presentation currency of the Company’s financial statements is the Brazilian Real, which is the Company’s functional currency, unless otherwise stated.

 

The preparation of the financial statements requires management to make judgments, use estimates and adopt assumptions in the application of accounting policies that affect the presented amounts of income, expenses, assets and liabilities, including contingent liabilities. The uncertainty related to these judgments, assumptions and estimates could lead to results that require a significant adjustment to the carrying amount of certain assets and liabilities in future years.

 

Certain comparative amounts in the consolidated statement of financial position, the consolidated statements of income, comprehensive income, changes in equity, and cash flows and in the related notes have been aggregated and re-presented to conform with current year presentation.


The financial statements have been prepared on a historical cost basis, except for the following material items recognized in the statements of financial position:


(i) derivative and non-derivative financial instruments measured at fair value;
(ii) share-based payments and employee benefits measured at fair value;
(iii) deemed cost of property, plant and equipment.


The Company and its subsidiaries applied the accounting policies described below in a consistent manner for all years presented in these financial statements.


a. Revenue recognition


Revenues from sales and services rendered under contracts with customers are recognized on the accrual basis when, or as, performance obligations are satisfied by transferring the control of a promised good or service to a customer in such a way that the customer obtains substantially all rewards generated, according to incoterms of each transaction, and when it is highly probable that the Company and its subsidiaries will receive the consideration in exchange for the transferred goods or services.

 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The Company and its subsidiaries recognize revenue under the 5-step model, in accordance with IFRS 15: (1) identification of contracts with customers, (2) identification of the performance obligations, (3) determination of the transaction price, (4) allocation of the transaction price to performance obligations under the contracts and (5) revenue recognition when (or as) the performance obligation is satisfied and the control of the goods or assets is transferred to the customer.

 

Revenue is measured and stated at the fair value of the consideration to which the Company and its subsidiaries expect to be entitled to, less returns, discounts, rebates, sales taxes, amortization of assets from contracts with customers, and other deductions, if applicable. The Company’s subsidiaries do not have obligations for return or refund in their contracts with customers and do not have significant financing component that directly impacts the determination of the expected consideration.

 

At Ipiranga, the revenue from sales of fuels and lubricants is recognized when the products are delivered to gas stations and to large consumers. Deferred revenue from loyalty program is recognized in the statement of income when the points are redeemed, on which occasion the costs incurred are also recognized in profit or loss, or when points expire. Amortization of contractual assets with customers for the exclusive rights in Ipiranga’s reseller service stations and the bonuses paid in performance obligation sales are recognized in the statement of income as a deduction of the revenue from sale according to the conditions established in the agreements which is reviewed as per the changes occurred in the agreements (see Notes 2.f and 12). At Ultragaz, revenue from sales of LPG is recognized when the products are delivered to customers at home, to independent dealers and to industrial and commercial customers. At Ultracargo, the revenue from storage services provided is recognized as services rendered or according with contractual terms. The breakdowns of revenues from sales and services are shown in Notes 26 and 31.

 

b. Cash and cash equivalents

 

Includes cash, bank deposits, and short-term up to 90 days of maturity, highly liquid investments that are readily convertible into a known amount of cash and are subject to an insignificant risk of change in value. Cash equivalents are held for the purpose of meeting short-term cash commitments rather than for investment or other purposes. For an investment to qualify as a cash equivalent it must be readily convertible to a known amount of cash and be subject to an insignificant risk of changes in value. Therefore, an investment normally qualifies as a cash equivalent only when it has a short maturity of, say, three months or less from the date of acquisition. For further information on cash and cash equivalents of the Company and its subsidiaries, see Note 5.a.

 


Ultrapar Participações S.A. and Subsidiaries


Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c. Financial assets

 

The Company and its subsidiaries evaluated the classification and measurement of financial assets based on its business model of financial assets as follows:

 

Amortized cost: financial assets held in order to collect contractual cash flows, solely principal and interest. The interest earned and the foreign currency exchange variation are recognized in profit or loss and balances are stated at amortized cost using the effective interest rate method. The financial investments in Bank Certificates of Deposit (“CDB”) and repurchase agreements are classified substantially as measured at amortized cost.

Measured at fair value through other comprehensive income: financial assets that are acquired or originated for the purpose of collecting contractual cash flows or selling financial assets. The balances are stated at fair value, and the interest earned and the foreign currency exchange variation are recognized in profit or loss. Differences between fair value and initial amount of financial investments plus the interest earned and the exchange variation are recognized in equity in the “Valuation adjustments”, net of income taxes. Accumulated gains and losses recognized in equity are reclassified to profit or loss at the time of their settlement.

Measured at fair value through profit or loss: financial assets that were not classified as amortized cost or as measured at fair value through other comprehensive income. The balances are stated at fair value and both the interest earned and the exchange variations and changes in fair value are recognized in the statement of income. Investment funds and derivatives are classified as measured at fair value through profit or loss.

 

The Company and its subsidiaries use financial instruments for hedging purposes, applying the concepts described below:


Hedge accounting – fair value hedge: financial instruments used to hedge exposure to changes in the fair value of an item, attributable to a particular risk, which can affect the entity’s statement of income. In the initial designation of the fair value hedge, the relationship between the hedging instrument and the hedged item is documented, including the objectives of risk management, the strategy in conducting the transaction, and the methods to be used to evaluate its effectiveness. Once the fair value hedge has been qualified as effective, the hedged item is also measured at fair value. Gains and losses from hedge instruments and hedged items are recognized in the statement of income. The hedge accounting must be discontinued when the hedge becomes ineffective.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

Hedge accounting – cash flow hedge: financial instruments used to hedge the exposure to variability in cash flows that is attributable to a risk associated with an asset or liability or highly probable transaction or firm commitment that may affect the statement of income. The portion of the gain or loss on the hedging instrument that is determined to be effective relating to the effects of exchange rate effect, is recognized directly in equity in accumulated other comprehensive income as “Valuation adjustments” , net of income taxes, while the ineffective portion is recognized in the statement of income. Gains or losses on the hedging instrument relating to the effective portion of this hedge that had been recognized directly in accumulated other comprehensive income shall is recognized in profit or loss in the period in which the hedged item is recognized in profit or loss or as initial cost of non-financial assets, in the same line item of the statement that the hedged item is recognized. The hedge accounting shall be discontinued when (i) the hedging relationship is canceled; (ii) the hedging instrument expires; and (iii) the hedging instrument no longer qualifies for hedge accounting. When hedge accounting is discontinued, gains and losses recognized in equity in other comprehensive income are reclassified to the statement of income in the period which the hedged item is recognized in profit or loss. If the transaction hedged is canceled or is not expected to occur, the cumulative gains and losses in equity in other comprehensive income shall be recognized immediately in profit or loss.

Hedge accounting – hedge of net investments in foreign operations: financial instruments used to hedge exposure on net investments in foreign subsidiaries due to the fact that the local functional currency is different from the functional currency of the Company. The portion of the gain or loss on the hedging instrument that is determined to be effective, referring to the exchange rate effect, is recognized directly in equity in “Cumulative translation adjustments”, net of income taxes, while the ineffective portion and the operating costs are recognized in the statement of income. The gain or loss on the hedging instrument that has been recognized directly in accumulated other comprehensive income shall be recognized in the statement of income when the disposal of the foreign subsidiary occurs.


For further information on financial instruments, see Note 31.

 

d. Trade receivables and reseller financing

 

Trade receivables are recognized at the amount invoiced to the counterparty that the Company subsidiaries are entitled (see Notes 6.a and 32.d.3). The loss allowance for expected credit losses consider the expected losses for the next 12 months taking into account the deterioration or improvement of the customers’ credit quality, considering the customers’ characteristics in each business segment. The amount of the expected credit losses is deemed by Management to be sufficient to cover any loss on realization of trade receivables.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Reseller financing is provided at subsidized rate for renovation and upgrading of service stations, purchase of products and development of the automotive fuels and lubricants distribution market (see Notes 6.b and 32.d.3). The terms of reseller financing range between 12 and 60 months, with an average term of 40 months. The maximum subsidized rates are 1% per month. These financing are remeasured at a market rate for working capital loans and the remeasurement adjustment between the market rate and the subsidized rate is recognized as a reduction to the reseller’s revenue at the beginning of the contract. Throughout the contract, the interest appropriated by the market rate is recognized in the financial result.

 

e. Inventories

 

Inventories are stated at the lower of acquisition cost or net realizable value (see Note 7). The cost value of inventory is measured using the weighted average cost and includes the costs of acquisition and processing directly and indirectly related to the units produced based on the normal capacity of production. Estimates of net realizable value are based on the average selling prices at the end of the reporting period, net of applicable direct selling expenses. Subsequent events related to the fluctuation of prices and costs are also considered in  these estimates, if relevant. If net realizable values are below inventory costs, a provision corresponding to this difference is recognized. Provisions are also made for obsolescence of products, materials, or supplies that (i) do not meet its subsidiaries’ specifications, (ii) have exceeded their expiration date, or (iii) are considered slow-moving inventory. This classification is made by management with the support of its industrial and operations teams.

 

f. Contractual assets with customers - exclusive rights

 

Exclusive rights disbursements as provided in Ipiranga’s agreements with reseller service stations and major consumers are recognized as contractual assets when paid and amortized according to the conditions established in the agreements (see Note 12).

 

g. Assets and liabilities held for sale and discontinued operations

 

Non-current assets and related liabilities are classified as held for sale if it is highly probable that their book value will be recovered, primarily, through a sale transaction rather than continued use. The classification criteria are met only when the sale is highly probable, the asset or group of assets is held for immediate sale in its current condition and the sale is expected to occur within 12 months after classification as held for sale.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


A line of business or subsidiary is classified as discontinued operation when the sale of a component of the company that represents an important separate line of business occurs or when the operation meets the criteria to be classified as held for sale, if such criteria is met before. The results and cash flows of discountinued operations are presented separately based on the classification of the respective assets and liabilities as held for sale.

 

Assets and liabilities held for sale and discontinued operations are measured at the lower of the book value and fair value, net of selling expenses, and presented separately in the statement of financial position.

 

h. Investments

 

Investments in associates and joint ventures are accounted for under the equity method of accounting in the financial statements (see Note 13). An associate is an investment in which an investor has significant influence, that is, has the power to participate in the financial and operating decisions of the investee but does not exercise control. A joint venture is an investment in which the shareholders have the right to net assets on behalf of a joint control. Joint control is the agreement which establishes that decisions about the relevant activities of the investee require the consent from the parties that share control.

 

Other investments are stated at acquisition cost less provision for losses, unless the loss is considered temporary.

 

i. Right-of-use assets and leases payable

 

The Company and its subsidiaries recognized in the statement of financial position right-of-use assets and the respective lease liabilities initially measured at the present value of future lease payments, discounted by the incremental loan rate of the Company, considering the related contract costs (see Note 14). The amortization expenses of right-of-use assets is recognized in the statement of income over the lease contract term. When the right-of-use asset is used in the construction of the property, plant, and equipment (“PP&E”), its amortization is capitalized until the asset under construction is completed. The liability is increased for interest and decreased by lease payments made. The interest is recognized in the statement of income using the effective interest rate method. The remeasurement of assets and liabilities based on the contractual index is recognized in the statement of financial position, not having an effect in the statement of income. In case of cancellation of the contract, the assets and respective liabilities are written off to the statement of income, considering, if it is the case, any penalties provided in contractual clauses. The Company and its subsidiaries have no intention in purchasing the underlying asset. The Company and its subsidiaries periodically review the existence of an indication that the right-of-use assets may be impaired (see Note 2.u).

 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Right-of-use assets include amounts related to area port leases grants (see Note 32.b).

 

The Company and its subsidiaries apply the recognition exemptions to short-term leases of 12 months or less and lease contracts of low value assets, which do not have purchase option at the end of the contract. In these cases, the recognition of the lease expense in the statement of income is on a straight-line basis.


j. Property, plant and equipment

 

PP&E is recognized at acquisition or construction cost, including capitalization of right-of-use assets amortization and financial charges incurred on PP&E under construction, as well as qualifying maintenance costs resulting from scheduled plant outages and estimated costs to remove, to decommission, or to restore assets (see Notes 2.o and 22), less accumulated depreciation and, when applicable, less provision for impairment (see Note 15).

 

Depreciation is calculated using the straight-line method, over the periods mentioned in Note 15, taking into account the estimated useful lives of the assets, which are reviewed annually.

 

Leasehold improvements are depreciated over the shorter of the lease contract term and useful life of the property.

 

k. Intangible assets

 

Intangible assets include assets acquired by the Company and its subsidiaries from third parties, and are recognized according to the criteria below:

 

Goodwill is shown as intangible assets corresponding to the positive difference between the amount paid or payable to the seller and the fair value of the identifiable assets and liabilities assumed of the acquired entity. Goodwill is tested for impairment annually, or more frequently when there is indication that the goodwill might be impaired. Goodwill is allocated to the business segments, which represent the lowest level that goodwill is monitored for impairment testing purposes (see Note 16.a).

Other intangible assets acquired from third parties, such as software, technology, and commercial property rights, are measured at the total acquisition cost and amortized using the straight-line method, over the periods mentioned in Note 16, taking into account their useful lives, which are reviewed annually.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

The decarbonization credits (“CBIOS”) acquired are recorded at historical cost in intangible assets, being retired according decree in the year to fulfill the individual target set by the National Agency of Petroleum, Natural Gas and Biofuels (“ANP”) and are not amortized. These assets are used to settle the annual decarbonization obligation adopted by Brazilian National Biofuels Policy (“RenovaBio”), implemented by Law No. 13,576/2017, with additional regulations established by Decree No. 9,888/2019 and Ordinance No. 419 of November 20, 2019 issued by the Brazilian Ministry of Mines and Energy. On July 22, 2022, the Decree No. 11,141/2022 was published, which establish on an exceptional basis, the retirement deadline of decarbonization credits until September 2023, to comprove the goal of 2022.

 

The Company and its subsidiaries have not recognized intangible assets that were generated internally. The Company and its subsidiaries have goodwill and brands acquired in business combinations, which are evaluated as intangible assets with indefinite useful life (see Note 16.a.).

 

l. Other assets

 

Other assets are stated at the lower of cost and realizable value, including, if applicable, interest earned, monetary changes and changes in exchange rates incurred, less the provisions for losses and, if applicable, adjusted to present value.

 

m. Financial liabilities

 

The financial liabilities include trade payables, trade payables – reverse factoring other payables, financing, loans, debentures, leases payable and derivative financial instruments used as hedging instruments. Financial liabilities are classified as “financial liabilities at fair value through profit or loss” or “financial liabilities at amortized cost”. The financial liabilities at fair value through profit or loss refer to derivative financial instruments and financial liabilities designated as hedged items in a fair value hedge relationship upon initial recognition (see Note 2.c – Fair Value Hedge). The financial liabilities at amortized cost are stated at the initial transaction amount plus accrued interest and net of amortization and transaction costs. Interest expense is recognized in the consolidated statement of income using the effective interest rate method.

 

Transaction costs incurred and directly attributable to the activities necessary for contracting loans or for issuing bonds, as well as premiums and discounts upon issuance of debentures and other debt, are allocated to the instrument and amortized in the statement of income taking into account its term, using the effective interest rate method (see Note 17.b).

 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


n. Income and social contribution taxes on income

 

Current and deferred income tax (“IRPJ”) and social contribution on net income tax (“CSLL”) are calculated based on their current rates. For the calculation of current IRPJ, the value of tax incentives is also considered. At the end of the fiscal year the portion of the profit corresponding to these investment grants is allocated to the constitution of a tax incentive reserve in subsidiaries’ equity and is excluded from the dividend calculation base and subsequently capitalized. Taxes are recognized based on the rates of IRPJ and CSLL provided for by the laws enacted on the last day of the financial statements. The current rates in Brazil are 25% for IRPJ and 9% for CSLL.


A provision is recognised for those matters for which the tax determination is uncertain but it is considered probable that there will be a future outflow of funds to a tax authority. The provisions are measured at the best estimate of the amount expected to become payable. The assessment is based on the judgement of tax professionals within the Company supported by previous experience in respect of such activities and in certain cases based on specialist independent tax advice.

 

Deferred tax is the tax expected to be payable or recoverable on differences between the carrying amounts of assets and liabilities in the financial statements and the corresponding tax bases used in the computation of taxable profit. Deferred tax liabilities are generally recognised for all taxable temporary differences and deferred tax assets are recognised to the extent that it is probable that taxable profits will be available against which deductible temporary differences can be utilised. Such assets and liabilities are not recognised if the temporary difference arises from the initial recognition (other than in a business combination) of other assets and liabilities in a transaction that affects neither the taxable profit nor the accounting profit. In addition, a deferred tax liability is not recognised if the temporary difference arises from the initial recognition of goodwill. The carrying amount of deferred tax assets is reviewed at each reporting date and reduced to the extent that it is no longer probable that sufficient taxable profits will be available to allow all or part of the asset to be recovered


For purposes of disclosure deferred tax assets were offset against the deferred tax liabitilies, in the same taxable entity and the same tax authority.


Current and deferred tax are recognised in profit or loss, except when they relate to items that are recognised in other comprehensive income or directly in equity, in which case the current and deferred tax are also recognised in other comprehensive income or directly in equity, respectively. Where current tax or deferred tax arises from the initial accounting for a business combination, the tax effect is included in the accounting for the business combination

 

For further information about recognition and realization of IRPJ and CSLL see Note 10.

 

o. Provision for asset retirement obligation - fuel tanks

 

The subsidiary Ipiranga has the legal obligation to remove the underground fuel tanks located at Ipiranga-branded service stations after a certain period. The estimated cost of the obligation to remove these fuel tanks is recognized as a liability when the tanks are installed. The estimated cost is recognized in PP&E and depreciated over the respective useful lives of the asset. The amounts recognized as a liability accrue inflation effect using the Amplified Consumer Price Index (“IPCA”) until the tank is removed (see Note 22). The estimated removal cost is reviewed and updated annually or when there is significant change in its amount and change in the estimated costs are recognized in the statement of income when they become known.

 

p. Provision for tax, civil, labor risks, contingent liabilities and contingent assets

 

A provision for tax, civil and labor risks is recognized, when there is a present obligation and it is probable that the Company will be required to settle that obligation and a reliable estimate can be made of the amount of the obligation.

 

The amount recognised as a provision is the best estimate of the consideration required to settle the present obligation at the reporting date, taking into account the risks and uncertainties surrounding the obligation. The estimate is determined by Management, supoorted by the assessment of internal and external legal counsel, and the amounts are recognized based on the evaluation of the outcomes of the legal proceedings (see Note 23).

 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

When the risk of a loss is classified as possible, a provision is not recogniezed, but disclosed in the notes to the financial statements.

 

An entity shall not recognize a contingent asset. Contingent assets usually arise from unplanned or other unexpected events that give rise to the possibility of an inflow of economic benefits to the entity. Contingent assets are not recognized in financial statements since this may result in the recognition of income that may never be realized. However, when the realization of income is virtually certain, then the related asset is not a contingent asset and its recognition is appropriate. A contingent asset is disclosed where an inflow of economic benefits is probable.

 

q. Post-employment benefits

 

Post-employment benefits granted and to be granted to employees, retirees, and pensioners are based on an actuarial calculation prepared by an independent actuary and reviewed by management, using the projected unit credit method (see Note 21.b). The actuarial gains and losses are recognized in equity in “Accumulated other comprehensive income”, net of income taxes.


r. Other liabilities

 

Other liabilities are stated at known or measurable amounts and changes in exchange rates incurred. When applicable, other liabilities are recognized at present value, based on interest rates that reflect the term, currency, and risk of each transaction.

 

s. Foreign currency transactions

 

Foreign currency transactions carried out by the Company and its subsidiaries are remeasured into their functional currency at the exchange rate prevailing at the date of each transaction. Outstanding monetary assets and liabilities of the Company and its subsidiaries are translated using the exchange rate at the date of the financial statements. The effect of the difference between those exchange rates is recognized in financial results until the conclusion of each transaction.

 

t. Basis for translation of financial statements of foreign subsidiaries

 

t.1 Subsidiaries with administrative authority

 

Assets and liabilities of the foreign subsidiaries denominated in currencies other than Brazilian Real which have administrative authority are translated using the exchange rate at the date of the financial statements. Revenues and expenses are translated using the average exchange rate of each year and equity is translated at the historical exchange rate of each transaction affecting equity. Gains and losses resulting from changes in these foreign investments are directly recognized on equity in other comprehensive income amount on the account “cumulative translation adjustments” and will be recognized in profit or loss if and when these investments are disposed of. On December 31, 2022 the Company does not have foreign subsidiaries with administrative authority. On December 31, 2021 the gains with exchange rate totaled R$ 304,645 related to the subsidiary Oxiteno, which in April 1, 2022 was saled to Indorama (see note 1.b.2 for more information). 

 

t.2 Subsidiaries without administrative authority

 

The Company has foreign subsidiaries without administrative authority. Assets and liabilities of the other foreign subsidiaries, which do not have administrative authority, are considered an extension of the activities of their parent company and are translated using the exchange rate at the date of the financial statements. Gains and losses resulting from changes in these foreign investments are directly recognized as financial result.

 

u. Critical accounting judgements and key sources of estimation uncertainty

 

The preparation of the financial statements requires the use of estimates, assumptions, and judgments for the accounting and disclosure of certain assets, liabilities, and profit or loss. Therefore, the Company and subsidiaries’ management use the best information available at the date of preparation of the financial statements, as well as the experience of past and current events, also considering assumptions regarding future events. The estimates and assumptions are reviewed periodically.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


u.1 Critical judgements in applying the Group’s accounting policies

 

The following are the critical judgements, apart from those involving estimations (which are presented separately below), that Management has made in the process of applying the Group’s accounting policies and that have the most significant effect on the amounts recognised in financial statements the determination of control in subsidiaries (Notes 2.h, 2.v., 4 and 13), the determination of joint control in joint ventures (Notes 2.h and 13), the determination of significant influence in associates (Notes 2.h and 13.c) and determination of assets and liabilities held for sale and discontinued operations (Note 4), designation of financial instruments for hedge accounting (Note 2.c), recognition of tax credits (Note 2.z), and accounting for business combinations, including the identification of intangibles, allocation of the purchase price and accounting of contingent consideration (Note 2.w).

 

u.2 Key sources of estimation uncertainty

The key assumptions concerning the future, and other key sources of estimation uncertainty at the reporting period that may have a significant risk of causing a material adjustment to the carrying amounts of assets and liabilities within the next financial year, are discussed below.

 

The estimates of realization of deferred taxes assets (Notes 2.n and 10.a), realization amount of tax recoverable (Note 8), impairment assessment of non-currrent assets, including goodwill (Notes 2.k, 2.w and 16.a), provisions for tax, civil, and labor risks (Notes 2.p and 23), and definition of fair value of assets acquiried, liabilites assumed and contingent consideration for the business combinations (Notes 2.w and 34).   The actual result of the transactions and information may differ from their estimates.

 

v. Impairment of assets

 

The Company and its subsidiaries review in every reporting period the existence of any indication that an asset may be impaired. To intangible assets with indefinite useful life the review is done annually or more frequently when there is indication that such assets might be impaired. If there is an indication of impairment, the Company and its subsidiaries estimate the recoverable amount of the asset. Assets that cannot be evaluated individually are grouped in the smallest group of assets that generate cash inflow from continuous use and that are largely independent of cash flows of other assets (cash generating units, “CGU”). The recoverable amount of assets or CGUs corresponds to the greater of their fair value net of applicable direct selling expenses and their value in use.

 

The fair value less costs to sell is determined by the price that would be received to sell an asset in an orderly transaction between market participants at the measurement date, net of costs of removing the asset, and direct incremental costs to bring an asset into condition for its sale, legal costs, and taxes.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


To assess the value in use, the projections of future cash flows, trends, and outlooks, as well as the effects of obsolescence, demand, competition, and other economic factors were considered. Such cash flows are discounted to their present values using the discount rate before tax that reflects market conditions for the period of impairment testing and the specific risks of the asset or CGU being evaluated. In cases where the expected discounted future cash flows are less than their carrying amount, an impairment loss is recognized for the amount by which the carrying amount exceeds the fair value of these assets. Losses for impairment of assets are recognized in profit or loss. In case goodwill has been allocated to a CGU, the recognized losses are first allocated to reduce the corresponding goodwill. If the goodwill is not enough to absorb such losses, the surplus is allocated to the assets on a pro-rata basis. An impairment of goodwill cannot be reversed. For other assets, impairment losses are reversed only to the extent that the asset's carrying amount does not exceed the carrying amount that would have been determined, net of depreciation or amortization, if the impairment had not been recognized.

 

As of December 31, 2022, the Company and its subsidiaries did not record any losses with  impairment of assets. As of December 31, 2022, the recognized impairment amount was R$ 427,529 and deferred income and social contribution taxes effects amounted to R$ 145,360, resulting in a net loss of R$ 282,169. On August 31, 2022, the Company, through its subsidiary Ipiranga, sold its subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”) and wrote off the provision for impairment of assets allocated to subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”). See Note 4.a.

 

w. Business combinations

 

A business combination is accounted for applying the acquisition method. The cost of the acquisition is measured based on the consideration transferred and to be transferred, measured at fair value at the acquisition date. In a business combination, the assets acquired and liabilities assumed are measured in order to classify and allocate them according to the contractual terms, economic circumstances and relevant conditions on the acquisition date. The non-controlling interest in the acquired company is measured based on its interest in net assets identified in the acquired company. Goodwill is measured as the excess of the consideration transferred and to be transferred over the fair value of net assets acquired (identifiable assets and liabilities assumed, net). After the initial recognition, goodwill is measured at cost less any accumulated impairment losses. For impairment testing purposes, goodwill is allocated to the Company’s operating segments. When the cost of the acquisition is lower than the fair value of net assets acquired, a gain is recognized directly in the statement of income. Costs related to the acquisitions are recorded in the statement of income when incurred. For further details, see note 33.

 

Business combination between entities under common control

 

Business combinations between entities under common control have not been addressed under IFRS and how they should be disclosed remains unclear. IFRS 3 is the standard applicable to business combinations, but its scope explicitly excludes business combinations between entities under common control.

 

Predecessor basis of accounting

 

In accordance with IAS 8, Management has adopted the predecessor basis of accounting, which is consistent with United States Generally Accepted Accounting Principles (“USGAAP”) and United Kingdom Generally Accepted Accounting Principles (“UKGAAP”), to record the carrying amount of the asset received, as recorded by the parent company.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Under the predecessor basis of accounting, when accounting for a transfer of assets between entities under common control, the entity that receives the net assets or the equity interests (the acquirer) shall initially record the assets and liabilities transferred at their parent book value as at the transfer date. If the book value of the assets and liabilities transferred by the parent is different from the historical cost recorded by the controlling entity of the entities under common control (the ultimate parent), the financial statements of the acquirer shall reflect the assets and liabilities transferred at the same cost of the ultimate parent, as a counter-entry to shareholders' equity against the carrying value adjustments. 

 

x. Statements of cash flows

 

The Company and its subsidiaries present the interest paid on loans, financing, debentures, and leases payable in financing activities and present financial investments, net of redemptions in the investing activities and received dividends in the operating activities.

 

y. Financial liabilities of customers

 

Refers to contract obligations of payments in installments of exclusivity rights with customers of subsidiary Ipiranga, where there was the anticipation of these receivables by customers with certain financial institutions. Ipiranga as guarantor of the operation, assumes the payment of installments falling due with the financial institution in exchange for the right of exclusivity with the customers (see Note 12).


Considering that the average term of maturity of these obligations is 50 monthly installments and the amounts do not bear interest, the Company recorded an adjustment to present value ("APV"), with contrast registered at the rubric “Contractual assets with customers – exclusivity rights”. The APV reversion will occur over the contractual term with impact in financial result with an approximate average rate of 13.7% p.a..


z. Recognition of tax credits

 

The accounting policy applied by the Company considers relevant estimates and judgments for the tax credits recognition and for estimating its recovery. The tax credits are recorded only when management has elements that guarantee (i) that the credit is a legal right; (ii) the amount could be estimated with sufficient reliability to enable it to be compensated or refunded; and (iii) the amounts is recoverable through either offsetting with other tax credits or a tax refund. In cases where the recovery of the asset is not probable, or the amount cannot be reliably measured, the amounts are not recognized, or a provision is recorded.  

 

F-37



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


3. New accounting policies and changes in accounting policies

 

These financial statements were prepared using information from Ultrapar and its subsidiaries on the same date, as well as consistent accounting policies and practices.

 

The accounting policies have been consistently applied to all consolidated companies and are consistent with those used in the parent. The Company evaluated and, when necessary, applied for the first time the following standards and interpretations issued by the International Accounting Standards Board (IASB) and, on the date the financial statements were authorized for issue, did not identify any significant impacts thereof on the disclosure or reported amounts.

 

  1. New accounting policies and changes in accounting policies adopted

 

The new standards and interpretations issued, up to the issuance of the Company's individual and consolidated financial statements, are described below.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


a.1 Accounting policies adopted


The following new standards, amendments to standards and interpretations of IFRS issued by the IASB and effective on January 1, 2022 had no significant impact on the financial statements for the year ended December 31, 2022:

 

IFRS 3 Business Combinations – Reference to the Conceptual Framework - The amendments update the reference to the conceptual framework of the old version with the most recent one. They also include in IFRS 3 a requirement that, for obligations within the scope of IAS 37, the buyer adopts the standard to determine whether at the acquisition date a present obligation exists as a result of past events.  For a levy within the scope of IFRIC 21 - Levies, the buyer adopts the standard to determine whether the obligating event that gave rise to a liability to pay a levy occurred until the acquisition date.

IAS 16 Property, Plant and Equipment - Proceeds before Intended Use - The amendments prohibit deducting from the cost of an item of property, plant and equipment any proceeds from selling items produced before that asset is available for use, i.e. proceeds while bringing the asset to the location and condition necessary for it to be capable of operating in the manner intended by management. Consequently, an entity recognizes such costs in profit or loss.

IAS 37 Provisions, Contingent Assets and Liabilities - Onerous Contracts – The amendments specify that the cost to fulfill a contract comprises incremental costs incurred to fulfill such contract (e.g. employees or materials) and the allocation of other costs directly related to the fulfillment of a contract (e.g. allocation of depreciation expenses for an item of property, plant and equipment used to fulfill a contract). 

 

Annual Improvements to IFRSs 2018-2020 Cycle - amendments included in the annual improvement cycle that covers the following standards:


IFRS 9 – Financial Instruments: The amendment clarifies that in applying the '10 per cent' test to assess whether to derecognize a financial liability, an entity includes only fees paid or received between the entity (the borrower) and the lender, including fees paid or received by either the entity or the lender on the other’s behalf.

IFRS 16 – Leases (effective period not applicable): The amendment removes the illustration of the reimbursement of leasehold improvements. As the amendment to IFRS 16 is only an illustrative example, no effective date is defined.

IFRS 1 - First-time Adoption of International Financial Reporting Standards: The amendment provides additional relief to a subsidiary which becomes a first-time adopter later than its parent in respect of accounting for cumulative translation differences.

IAS 41 - Biological Assets and Agricultural Produce: The amendment excluded the IAS 41 requirement for entities to exclude any cash flows for taxation in measuring the fair value of biological assets.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


a.2 Accounting policies not adopted

 

The following new standards, amendments to standards and interpretations to IFRSs issued by the IASB were not adopted because they were not yet effective in the year ended December 31, 2022. The Company and its subsidiaries plan to adopt these new standards, amendments and interpretations, if applicable, when they become effective, and they do not expect to have significant impact on their future individual and consolidated financial statements. 

 

IFRS 10 and IAS 28 – Sale or Contribution of Assets between an Investor and its Associate or Joint Venture – The amendments address specifically the accounting treatment for gains and losses resulting from loss of control over a subsidiary that does not constitute a business in a transaction with an associate or joint venture, accounted for using the equity method of accounting.

IFRS 17 - Insurance Contracts - Establishes the principles for the recognition, measurement, presentation and disclosure of insurance contracts and supersedes IFRS 4 Insurance Contracts.

IAS 1 – Classification of Liabilities as Current or Non-current - The amendments clarify the meaning of a right to postpone the settlement of a liability; establish that the right to postpone should exist at the reporting date; specify that such classification is not affected by the expectation on whether an entity will exercise its right to postpone the settlement of the liability, and, also, that only if an embedded derivative into a convertible liability is an equity instrument, the terms of a liability would not affect their classification.

IAS 1 and practical expedient 2 of IFRS – Disclosure of Accounting Policies – The amendments replace the term "significant accounting policies" with "significant accounting policy information". Guides and examples are provided to help entities to apply the materiality judgment for the disclosure of accounting policies.

IAS 8 – Definition of Accounting Estimates - The amendments help entities distinguish changes in accounting estimates from changes in accounting policies and correction of errors. According to the new definition, accounting estimates are “monetary amounts in the financial statements that are subject to measurement uncertainty”.

IAS 12 – Deferred Tax related to Assets and Liabilities arising from a Single Transaction – The amendments introduce another exception to the initial recognition exemption, and are not applicable to exemption for transactions that result from equal temporary taxable and deductible differences. An entity shall recognize the corresponding deferred tax asset and liability in accordance with the recoverability criteria and the application of the amendments to transactions occurred in or after the beginning of the earliest comparative reporting period. Examples include the following: right-of-use assets and lease liabilities; and decommissioning, remediation and similar liabilities, and the corresponding amounts recognized as part of the cost of the related asset.


F-40


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

The divestments of Oxiteno and Extrafarma are aligned with Ultrapar's portfolio review. With a more complementary and synergistic businesses, Ultrapar concludes the rationalization phase of its portfolio and will now concentrate on developing investment opportunities in the verticals of energy and infrastructure, with increasing focus on energy transition, leveraged by its portfolio and expertise. In this context, the Company announced the contracts signing described below and, classified these transactions as discontinued operations.

 

a. Sale of shares of Extrafarma

 

On August 1, 2022, the transaction was closed, including the fulfillment of all precedent conditions. For further information, see Note 1.b.3.

 

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Extrafarma’s purchase and sale agreement

700,000


Cash/ Net debt on December 31, 2020

(99,897

)

Operation sale price

600,103


Estimated working capital and net debt adjustments

121,522


Cost of investment

(1,115,102

)

Reversal of impairment (*)

427,529


Provision for indemnities

(9,995

)

Transaction costs

(13,282

)

Gain on disposal of investments before the effect of cessation of depreciation

10,775


    Cessation of depreciation

(27,084

)

Loss on disposal of investments after the effect of depreciation

(16,309

)

    Current income and social contribution taxes

138,298


    Deferred income and social contribution taxes

(141,962

)

Loss on disposal of investments, net

(19,973

)

 

(*) For more information, see Note 2.v



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Sale of shares of Oxiteno S.A.

 

On August 16, 2021, the Company announced the signing of an agreement for the sale of all shares of Oxiteno S.A. to Indorama. On April 1, 2022, the Company announced the conclusion of the transaction after approval by CADE without restrictions. For further information, see Note 1.b.2.

 

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Oxiteno’s purchase and sale agreement

6,994,191


Working capital and net debt adjustments

(13,146

)

Proceeds from settlement of intercompany loan held by Oxiteno

(3,980,702

)

Adjustment to present value on transaction closing date referring to deferred installment

(81,397

)

Revenue from the sale of investments, net of adjustment to present value

2,918,946 


    Cost of write-off of investment

(2,118,949

)

Cumulative translation adjustments, net of cash flow hedging losses, reclassified to the statement of income

(277,045

)

    Transaction costs

(77,843

)

    Provision for indemnities

(136,103

)

Gain on disposal of investments before the effect of cessation of depreciation

309,006


    Cessation of depreciation

(51,372

)

Gain on disposal of investments after the effect of depreciation

257,634


    Current income and social contribution taxes

(245,478

)

    Deferred income and social contribution taxes

46,247


Gain on disposal of investments, net

58,403


 

For further information, see Note 1.b.2.


c. Disclosure of the impacts of IFRS 5 - discontinued operations


The tables of discontinued operation are detailed below and include the profit or loss incurred throughout 2022 and 2021, when applicable. Eliminations refer to intercompany transactions, substantially represented by purchase and sale transactions, effects on the profit or loss of foreign debts contemplating hedging instruments, among others.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c.1 The results and cash flows from discontinued operations for the year  ended December 31, 2022 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations (*)


 

Ultrapar


 

12/31/2022


Net revenue from sales and services

 

2,039,287


 

1,235,487


 

(7,241

)

 

-


 

3,267,533


Cost of products and services sold

 

(1,580,000

)

 

(912,310

)

 

7,241


 

-


 

(2,485,069

)

Gross profit

 

459,287


 

323,177


 

-


 

-


 

782,464


Selling, marketing and administrative

 

(201,365

)

 

(438,601

)

 

-


 

-


 

(639,966

)

Other operating income (expenses), net

 

10,736


 

(5,951

)

 

-


 

241,325


 

246,110


Operating income (loss)

 

268,658


 

(121,375

)

 

-


 

241,325


 

388,608


Share of profit (loss) of subsidiaries, joint ventures and associates

 

(231

)

 

-


 

-


 

-


 

(231

)

Income (loss) before financial result and income and social contribution taxes

 

268,427


 

(121,375

)

 

-


 

241,325


 

388,377


Financial result, net

 

23,153


 

(25,059

)

 

54,431


 

-


 

52,525


Income (loss) before income and social contribution taxes

 

291,580


 

(146,434

)

 

54,431


 

241,325


 

440,902


Income and social contribution taxes

 

(16,924

)

 

20,826


 

(18,507

)

 

(202,895

)

 

(217,500

)

Net effect of cessation of depreciation (i)

 

51,372


 

27,084


 

-


 

-


 

78,456


Net income (loss) for the year

 

326,028


 

(98,524

)

 

35,924


 

38,430


 

301,858


 

(*) Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.


(i) As of January 1, 2022, the depreciation and amortization of assets classified as held for sale ceased, in compliance with item 25 of IFRS 5.

 

The impact of the proceeds from the sale of Oxiteno in the total amount of R$ 6.2 billion was considered in the statement of cash flows as a continuing operations, comprising the sale of the investment of approximately R$2.3 billion and the receipt of the intercompany loan owed by Oxiteno S.A. to Ultrapar International in the approximate amount of R$3.9 billion.

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

12/31/2022


Net cash (used in) provided by operating activities

(81,558

)

 

(68,370

)

 

180,478


 

30,550


Net cash (used in) provided by investing activities

1,011,736


 

(25,323

)

 

(1,206,603

)

 

(220,190

)

Net cash (used in) provided by financing activities

(1,245,754

)

 

40,585


 

1,026,144


 

(179,025

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

(19,316

)

 

-


 

-

 

(19,316

)

Increase (decrease) in cash and cash equivalents

(334,892

)

 

(53,108

)

 

19


 

(387,981

)



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c.1.1 In the Parent, the proceeds from the sale of Oxiteno and the share of profit (loss) of investees Oxiteno and Extrafarma, net of transactions with related parties, had an impact of R$ 301,858, classified as income from discontinued operations in the consolidated financial statements.

 

c.2 The main classes of assets and liabilities classified as held for sale on December 31, 2021 are shown below:

 

Assets

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current assets

 


 

 


 

 


 

 


Cash and cash equivalents

334,882


 

53,099


 


 

387,981


Financial investments and derivative financial instruments

1,346,552


 


 


 

1,346,552


Trade receivables

993,960


 

35,743


 


 

1,029,703


Inventories

1,671,662


 

578,206


 


 

2,249,868


Recoverable taxes

634,718


 

62,053


 


 

696,771


Other assets

51,829


 

26,145


 

(5,035

)

 

72,939


Total current assets

5,033,603


 

755,246


 

(5,035

)

 

5,783,814


Non-current assets

 


 

 


 

 


 

 


Financial investments and derivative financial instruments

492,430


 


 


 

492,430


Related parties


 

1,674


 

(1,674

)

 


Deferred income and social contribution taxes

541,756


 

200,194


 


 

741,950


Recoverable taxes

393,723


 

17,938


 


 

411,661


Other assets

10,538


 

4,136


 


 

14,674


 

1,438,447


 

223,942


 

(1,674

)

 

1,660,715


Investments

36,207


 

5,000


 

(22,047

)

 

19,160


Right-of-use assets

31,871


 

318,183


 


 

350,054


Property, plant and equipment

2,787,241


 

154,663


 


 

2,941,904


Intangible assets

160,141


 

85,129


 


 

245,270


Total non-current assets

4,453,907


 

786,917


 

(23,721

)

 

5,217,103


Total assets held for sale

9,487,510


 

1,542,163


 

(28,756

)

 

11,000,917




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Liabilities

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

302,154


 


 

(62,841

)

 

239,313


Trade payables

493,800


 

225,487


 

(1,949

)

 

717,338


Trade payables - reverse factoring

725,246


 

-


 

-


 

725,246


Salaries and related charges

176,941


 

45,843


 

-


 

222,784


Taxes payable

53,988


 

15,696


 

-


 

69,684


Income and social contribution taxes payable

12,415


 


 


 

12,415


Post-employment benefits

3,311


 

-


 

-


 

3,311


Provision for tax, civil and labor risks

2,946


 

520


 

-


 

3,466


Leases payable

11,702


 

64,312


 

-


 

76,014


Other liabilities

68,721


 

13,249


 

(13,264

)

 

68,706


Total current liabilities

1,851,224


 

365,107


 

(78,054

)

 

2,138,277


Non-current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

5,728,028


 


 

(5,725,594

)

 

2,434


Related parties

2,875


 


 

(2,875

)

 


Deferred income and social contribution taxes

12,964


 


 


 

12,964


Post-employment benefits

6,806


 

287


 

-


 

7,093


Provision for tax, civil and labor risks

33,149


 

2,370


 

-


 

35,519


Leases payable

22,786


 

314,915


 

-


 

337,701


Other liabilities

5,341


 

2,092


 

-


 

7,433


Total non-current liabilities

5,811,949


 

319,664


 

(5,728,469

)

 

403,144


Total equity

1,824,337


 

857,392


 

(2,681,729

)

 

-


Total liabilities held for sale and equity

9,487,510


 

1,542,163


 

(8,488,252

)

 

2,541,421


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c.2.1 The results and cash flows from discontinued operations for the year ended  December 31, 2021 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Net revenue from sales and services

 

7,102,771


 

1,986,932


 

(23,908

)

 

9,065,795


Cost of products and services sold

 

(5,540,773

)

 

(1,384,316

)

 

23,908


 

(6,901,181

)

Gross profit

 

1,561,998


 

602,616


 


 

2,164,614


Operating income (expenses)

 

 


 

 


 

 


 

 


Selling, marketing and administrative

 

(978,221

)

 

(685,794

)

 


 

(1,664,015

)

Impairment

 


 

(427,529

)

 


 

(427,529

)

Other operating income (expenses), net

 

26,924


 

(1,109

)

 


 

25,815


Operating income (loss)

 

610,701


 

(511,816

)

 


 

98,885


Share of profit (loss) of subsidiaries, joint ventures and associates

 

48


 


 

-


 

48


Income (loss) before financial result and income and social contribution taxes

 

610,749


 

(511,816

)

 

-


 

98,933


Financial result, net

 

(431,441

)

 

(45,265

)

 

329,736


 

(146,970

)

Income (loss) before income and social contribution taxes

 

179,308


 

(557,081

)

 

329,736


 

(48,037

)

Income and social contribution taxes

 

69,995


 

155,416


 

(112,110

)

 

113,301


Net income (loss) for the year

 

249,303


 

(401,665

)

 

217,626


 

65,264


Depreciation and amortization for the year (i)

 

308,564


 

154,850


 

-


 

463,414


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

(i) Balances included for a complete breakdown of segment information.

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net cash provided by (used in) operating activities

1,016,580


 

(33,273

)

 

(788

)

 

982,519


Net cash used in investing activities

(122,363

)

 

(35,072

)

 

(1,298

)

 

(158,733

)

Net cash (used in) provided by financing activities

(1,054,930

)

 

35,286


 

466,677


 

(552,967

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

56,553


 


 


 

56,553


(Decrease) increase in cash and cash equivalents

(104,160

)

 

(33,059

)

 

464,591


 

327,372


 

c.2.2 In the Parent, the share of profit (loss) of investees Oxiteno and Extrafarma, net of transactions with related parties, were re-presented as discontinued operations in the total amount of R$ 65,264 in the statement of income for 2021, as per Notes 4.c.2.1 and 13.

 

c.3 The results and cash flows from discontinued operations for the year ended December 31, 2020 are shown below:



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

 

Discontinued operations


 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net revenue from sales and services

 

5,210,704


 

1,988,411


 

(16,069

)

 

7,183,046


Cost of products and services sold

 

(4,188,711

)

 

(1,399,125

)

 

16,069


 

(5,571,767

)

Gross profit

 

1,021,993


 

589,286


 


 

1,611,279


Operating income (expenses)  

 

 


 

 


 

 


 

 


Selling marketing and administrative

 

(831,056

)

 

(662,182

)

 

-


 

(1,493,238

)

Other operating income, net

 

153,457


 

(5,403

)

 

-


 

148,054


Operating income (loss) before finance income (expenses) and share of profit (loss) of subsidiaries, joint ventures and associates

 

344,394


 

(78,299

)

 


 

266,095


Share of profit (loss) of subsidiaries, joint ventures and associates

 

414


 


 

-


 

414


Operating income (loss) before finance income (expenses) and income and social contribution taxes

 

344,808


 

(78,299

)

 

-


 

266,509


Financial result, net

 

1,482


 

(38,938

)

 

318,430


 

280,974


Profit (loss) before income and social contribution taxes

 

346,290


 

(117,237

)

 

318,430


 

547,483


Income and social contribution taxes

 

(118,132

)

 

(40,453

)

 

(108,265

)

 

(266,850

)

Net income from continuing operations

 

-


 

-


 

-


 

-


Net income from discontinued operations

 

-


 

-


 

-


 

280,633


Profit (loss) for the year

 

228,158


 

(157,690)


 

210,165


 

280,633


Depreciation and amortization for the year (i)

 

275,063


 

153,899


 

-


 

428,962


 

(i) Balances included for complete breakdown of segment information.

 

 

 

Discontinued operations

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


 

 

 


 

 


 

 


 

(B)


Net cash provided by (used in) operating activities

 

765,090


 

111,396


 

(2,380

)

 

874,106


Net cash used in investing activities

 

(159,349

)

 

(6,484

)

 

(321,557

)

 

(487,390

)

Net cash (used in) provided by financing activities

 

(1,236,490

)

 

11,272


 

305,534


 

(919,684

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

 

114,822


 


 


 

114,822


Increase (decrease) in cash and cash equivalents

 

(515,927

)

 

116,184


 

(18,403

)

 

(418,146

)

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


5 Cash and cash equivalents, financial investments and derivative financial instruments

 

Cash equivalents and financial investments, excluding cash and bank deposits, are substantially represented by investments: (i) in Brazil, in certificates of deposit of financial institutions linked to interest rate of the DI, in repurchase agreement, financial bills, and in short-term investment funds, whose portfolio is comprised of Brazilian Federal Government bonds and certificates of deposit of financial institutions; (ii) outside Brazil, in certificates of deposit of financial institutions and in short-term investment funds, whose portfolio is comprised of Federal Government bonds; and (iii) in currency and interest rate hedging instruments.

 

The financial assets were classified based on business model of financial assets of the Company and its subsidiaries and are disclosed in Note 31.i.

 

The breakdown of cash and cash equivalents and financial investments is as follows:

 

a.              Cash and cash equivalents

 

Cash and cash equivalents of the Company and its subsidiaries are presented as follows:

 

 

12/31/2022


 

12/31/2021


Cash and bank deposits

 


 

 


In local currency

105,986


 

317,907


In foreign currency

5,811


 

16,640


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities

5,204,766


 

1,943,164


In foreign currency

 


 

 


Fixed-income securities

305,206


 

2,363


Total cash and cash equivalents

5,621,769


 

2,280,074


 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Financial investments and derivative financial instruments
 

The financial investments that are not classified as cash and cash equivalents are presented as follows: 

 

 

12/31/2022


 

12/31/2021


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities and funds

406,683


 

1,607,608


In foreign currency

 


 

 


Fixed-income securities and funds

-


 

103,239


Derivative financial instruments (a)

556,510


 

472,552


Total financial investments and derivative financial instruments

963,193


 

2,183,399


Current

520,352


 

1,804,122


Non-current

442,841


 

379,277


 

(a)  Accumulated gains, net of income tax (see Note 31.i).


F-49

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

a. Trade receivables

 

The breakdown of trade receivables is as follows:

 

 

12/31/2022


 

12/31/2021


Domestic customers

4,527,167


 

3,805,756


Domestic customers - related parties (see note 9.a.2)

64


 

57


Foreign customers

3,401


 

3,137


Foreign customers - related parties (see note 9.a.2)

2,695


 

4,400


 

4,533,327


 

3,813,350


(-) Loss allowance for expected credit losses

(322,753

)

 

(374,355

)

Total

4,210,574


 

3,438,995


Current

4,149,111


 

3,375,246


Non-current

61,463


 

63,749





Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The breakdown of trade receivables, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

4,533,327



3,930,178



20,873



18,741



21,482



46,586



495,467


12/31/2021

3,813,350



3,131,528



90,024



33,255



24,804



23,903



509,836


 

The breakdown of the allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

322,753



21,425



1,747



1,384



4,913



15,222



278,062


12/31/2021

374,355



21,962



1,595



3,049



2,761



14,926



330,062

 

Movements in the allowance for expected credit losses are as follows:

 

Balance as of December 31, 2019

404,886


Additions

194,220


Reversals

(203,994

)

Write-offs

(13,016

)

Balance as of December 31, 2020

382,096


Additions

177,872


Reversals

(150,160

)

Write-offs

(18,646

)

Reclassification to assets held for sale

(16,807

)

Balance as of December 31, 2021

374,355


Additions

143,828


Reversals

(130,385

)

Write-offs

(65,045

)

Balance as of December 31, 2022

322,753



For further information on the allowance for expected credit losses, see Note 31.d.3.


b. Reseller financing

 

The breakdown of reseller financing is comprised as follows:

 

 

12/31/2022


 

12/31/2021


Reseller financing – Ipiranga

1,234,634


 

1,183,312


(-) Allowance for expected credit losses

(173,287

)

 

(185,278

)

 

1,061,347


 

998,034


Current

559,825


 

582,562


Non-current

501,522


 

415,472




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The breakdown of reseller financing, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

1,234,634



826,210



8,944



3,892



11,040



11,943



372,605


12/31/2021

1,183,312



770,008



19,260



24,290



14,373



26,685



328,696



The breakdown of the loss allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

173,287



1,327



483



1,132



3,704



4,937



161,704


12/31/2021

185,278



1,514



6,410



8,697



6,255



9,892



152,510



Movements in the allowance for expected credit losses are as follows:


Balance as of December 31, 2019

156,006


Additions

74,745


Reversals

(29,791

)

Write-offs

(3,949

)

Balance as of December 31, 2020

197,011


Additions

65,536


Reversals

(68,982

)

Write-offs

(8,287

)

Balance as of December 31, 2021

185,278


Additions

45,987


Reversals

(52,695

)

Write-offs

(5,283

)

Balance as of December 31, 2022

173,287



For further information on the allowance for expected credit losses, see Note 31.d.3.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c. Trade receivables - sale of subsidiaries

 

The breakdown of other receivables is comprised as follows: 

 

 

12/31/2022


Sale of subsidiary Oxiteno:

 


Receivables from sale of investments (i)

782,655


(-) Adjustment to present value - sale of investments (ii)

(55,598

)

Sale of subsidiary Extrafarma:

 


Receivables from sale of investments (iii)

369,508


 

1,096,565


Current

184,754


Non-current

911,811


 

(i) Refers to the final installment of the sale of Oxiteno, in amount of USD 150 million, due in 2024. In May 2022, the Company made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Oxiteno to Ultrapar International.

 

(ii) The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.1741%. The amount as of December 31 includes present value realization and exchange variation of the transaction closing date until December 31, 2022.

 

(iii) Refer to the sale of Extrafarma, which will be paid in two installments of R$ 184,754, maturing in August 2023 and August 2024, monetarily adjusted by the DI rate + 0.5% p.a. In December 2022, the subsidiary IPP made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Extrafarma to the Company.


F-53

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


7 Inventories

 

The breakdown of inventories, net of provision for losses, is shown below:

 

 

12/31/2022


 

12/31/2021


Fuels, lubricants and greases

3,782,522


 

3,038,061


Raw materials

380,993


 

293,242


Liquified petroleum gas (LPG)

143,516


 

146,070


Consumable materials and other items for resale

125,239


 

115,275


Purchase for future delivery (1)

453,817


 

301,992


Properties for resale

19,996


 

24,132


 

4,906,083


 

3,918,772



 (1) Refers substantially to ethanol, biodiesel and advances for fuel acquisition



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

Movements in the provision for losses are as follows:

 

Balance as of December 31, 2019

40,724


Additions to net realizable value adjustment

2,245


Reversals of obsolescence and other losses

(1,976

)

Balance as of December 31, 2020

40,993


Addition to provision for adjustment to realizable value

5,974


Reversal of provision for obsolescence and other losses

(5,184

)

Reclassification to assets held for sale

(28,705

)

Balance as of December 31, 2021

13,078


Provision for obsolescence and other losses

10,028


Reversal of provision for adjustment to realizable value

(1,180

)

Balance as of December 31, 2022

21,926




F-55

  

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

a. Recoverable taxes

 

Recoverable taxes are substantially represented by credits of Tax on Goods and Services (“ICMS”, the Brazilian VAT), Contribution for Social Security Financing (“COFINS”) and Social Integration Program (“PIS”).

 

 

12/31/2022


 

12/31/2021


ICMS – State VAT (a.1)

1,312,990


 

893,206


PIS and COFINS – Federal VAT (a.2)

2,410,736


 

1,177,513


Valued-added tax of foreign subsidiaries

-


 

179


Others

59,545


 

37,127


Total

3,783,271


 

2,108,025


Current

1,610,312


 

1,061,227


Non-current

2,172,959


 

1,046,798



a.1 The recoverable ICMS net of provision for losses is substantially related to the following subsidiaries and operations:

 

The subsidiaries IPP, Bahiana Distribuidora de Gás Ltda. (“Bahiana”), Cia. Ultragaz, AMPM, Tropical and Iconic Lubrificantes S.A. (“Iconic”) have credits in the amount of R$ 1,312,990 (R$ 893,206 as of December 31, 2021) recognized, mainly of the following nature: a) transactions of inputs and outputs of products subject to taxation of the own ICMS; b) interstate outflows of oil-related products, whose ICMS was prepaid by the supplier (Petróleo Brasileiro S.A. (“Petrobras”), in the case of the subsidiaries IPP, Bahiana and Cia. Ultragaz; and c) credits for refunds of the ICMS-ST (tax substitution) overpaid when the estimated calculation base is used higher than that of the actual operation performed by the subsidiary IPP.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The amounts of recoverable ICMS are realized by the operation subjected to taxes itself, being a revolving credit, which means that the credits are monthly offset against the tax payable on sales and new credits are generated by the acquisition of inputs, as well as by the State's refund on tax substitution operations. Management estimates the realization of the credits classified in non-current assets within a term of up to 5 years.


The estimated recovery of ICMS credits is stated as follows:


Up to 1 year
568,748
From 1 to 2 years
278,500
From 2 to 3 years
197,252
From 3 to 5 years
268,490
Total recoverable ICMS, net of provision
1,312,990


The provision for ICMS losses, in the amount of R$ 59,868 (R$ 48,502 as of December 31, 2021), relates to tax credit of the subsidiaries whose amounts are not included within the term determined internal policies of provisioning.

 

a.2 The recoverable PIS and COFINS are substantially related to:

 

ICMS in the PIS and COFINS calculation basis - The balance of PIS and COFINS includes credits recorded under Laws 10,637/02 and 10,833/03, as well as amounts arising from a favorable decision regarding the exclusion of ICMS from the PIS and COFINS calculation basis. For further details, see note 26.


Supplementary Law 192 – On March 11, 2022, Supplementary Law 192/22 (“LC 192/22”) was published to reduce the tax burden of the fuel supply chain. Art. 9 of said law established  the reduction of the PIS and Cofins tax rates levied on diesel, biodiesel and LPG to zero through December 31, 2022, ensuring at the same time the maintenance of credits taken across the whole supply chain.

On May 18, 2022, Provisional Act 1,118/22 amended Supplementary Law 192/22 to eliminate the right to take PIS and Cofins credits on purchases of diesel, LPG and biodiesel by end consumers. With the enactment of said Provisional Act, on June 2, 2022, was filed a Direct Unconstitutionality Action 7181  to challenge the provision in MP 1118/22.  On June 21, 2022 the Federal Supreme Court unanimously ratified the decision that considered MP 1118/22 unconstitutional due to violation of the 90-day principle. 



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Due to such court injunction and the non-conversion of Provisional Act 1,118/22 into law, the provisions in LC 192/22, which assured to all legal entities that are part of the fuel supply chain, including the Company’s subsidiaries, the maintenance of PIS and COFINS credits in connection with those transactions in the period from March 11, 2022  (LC 192/22 publication date) to August 15, 2022 (90 day after the publication of the provisional act that restricted the right to take credits on taxpayers), which, as decided by STF, must be the MP 1118/22 effective date, remained in force.


Accordingly the Company, advised by intern and external legal experts, by means of its subsidiaries Ipiranga and Ultragaz, recognized PIS and Cofins credits in the amount of R$ 971,373, based on Management´s projections and estimates of the realization of such credits. The Management estimates the realization of these credits within up to 5 years.

 

b. Recoverable income and social contribution taxes

 

Relates to IRPJ and CSLL to be recovered by the Company and its subsidiaries, arising from the tax advances of previous years, as well as referring to lawsuits on the non-levy of IRPJ and CSLL on the monetary variation (SELIC) in the repetition of undue payments, The Management estimating the realization of these credits within up to 5 years.

 

 

12/31/2022


 

12/31/2021


IRPJ and CSLL

499,517


 

447,191


Current

96,134


 

291,833


Non-current

403,383


 

155,358



F-58


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated



a. Related parties

 

Balances and transactions between the Company and its subsidiaries have been eliminated in consolidation and are not disclosed in this note. The balances and transactions between the Company and its subsidiaries with other related parties are highlighted below:


 

12/31/2022


 

Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

26,062


 

-


 

336,781


União Vopak Armazéns Gerais Ltda.

-



-


 

61


 

-


 

784


 

-


Latitude Logística Portuária S.A.

-



-


 

3


 

346


 

-


 

-


Nordeste Logistica I S.A.

-



-


 

-


 

22


 

-


 

-


Nordeste Logistica III S.A.

-



-


 

-


 

17


 

-


 

-


Chevron (Thailand) Limited (2)

-



-


 

-


 

113


 

-


 

832


Chevron Latin America Marketing LLC (2)

-



-


 

34


 

-


 

-


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

403


 

-


 

930


 

-


Chevron Marine Products (2)

-



-


 

1,950


 

-


 

14,068


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,912


 

-


 

162,006


Chevron Products Company (2)

-



-


 

-


 

178,846


 

-


 

699,154


Chevron Belgium NV (2)

-



-


 

-


 

326


 

-


 

13,053


Chevron Petroleum CO Colombia (2)

-



-


 

220


 

-


 

220


 

-


Chevron Lubricants Lanka PLC (2)

-



-


 

88


 

-


 

88


 

-


Others (1)

-



617


 

-


 

-


 

-


 

-


Total

-



3,492


 

2,759


 

259,644


 

16,090


 

1,211,826


 

(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

12/31/2021


 

12/31/2021


 

 Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

90,761


 

-


 

619,785


União Vopak Armazéns Gerais Ltda.

-



-


 

57


 

-


 

1,402


 

-


Chevron (Thailand) Limited (2)

-



-


 

204


 

-


 

675


 

1,072


Chevron Lubricants Lanka PLC (2)

-



-


 

-


 

-


 

164


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

319


 

-


 

786


 

-


Chevron Marine Products (2)

-



-


 

3,663


 

-


 

24,583


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,378


 

78


 

150,878


Chevron Products Company (2)

-



-


 

-


 

158,557


 

-


 

789,452


Chevron Belgium NV (2)

-



-


 

-


 

821


 

-


 

7,520


Chevron Petroleum CO Colombia (2)

-



-


 

214


 

-


 

392


 

-


Others (1)

490



659


 

-


 

-


 

-


 

-


Total

490



3,534


 

4,457


 

303,517


 

28,080


 

1,568,707



(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.

 

 

Trading transactions


 

Sales and services


 

Purchases


 

Expenses


Oxicap Indústria de Gases Ltda.

471


 

19,077


 

-


Refinaria de Petróleo Riograndense S.A.

-


 

314,587


 

-


ConectCar Soluções de Mobilidade Eletrônica S.A.

3,062


 

154


 

-


LA’7 Participações e Empreend. Imob. Ltda. (a)

-


 

-


 

1,613


Chevron (Thailand) Limited

-


 

759


 

-


Chevron Oronite Brasil LTDA.

-


 

108,198


 

-


Chevron Products Company

-


 

247,578


 

-


Chevron Belgium NV

-


 

6,707


 

-


Total as of December 31, 2020

3,533


 

697,060


 

1,613



(a) Refers to rental contracts of 15 drugstores owned by LA’7 as of December 31, 2020, a company of the former shareholders of Extrafarma that are current shareholders of Ultrapar.


Purchase and sale transactions relate substantially to the purchase of raw materials, feedstock, transportation, and storage services based on prices and terms negotiated between the parties, with customers and suppliers with comparable operational performance. In the opinion of the Company’s and its subsidiaries’ Management, transactions with related parties are not subject to settlement risk, therefore, no provision for expected losses on accounts receivable or guarantees are recorded. Guarantees provided by the Company in loans of subsidiaries and associates are mentioned in Note 17




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Key executives

 

The Company’s compensation strategy for Management’s key executives combines short and long-term elements, following the principles of alignment of interests and of maintaining a competitive compensation, and is aimed at retaining key officers and remunerating them adequately according to their attributed responsibilities and the value created to the Company and its shareholders.

 

Short-term compensation is comprised of: (a) fixed monthly compensation paid with the objective of rewarding the executive’s experience, responsibility, and his/her position’s complexity, and includes salary and benefits such as medical coverage, check-up, life insurance, and others; (b) variable compensation paid annually with the objective of aligning the executive’s and the Company’s objectives, which is linked to: (i) the business performance measured through its economic value creation and (ii) the fulfillment of individual annual goals that are based on the strategic plan and are focused on expansion and operational excellence projects, people development and market positioning, among others. For further details about post-employment benefits see Note 21.b.


The expenses for compensation of its key executives (Company’s directors and executive officers) are shown below:

 

 

2022



2021



2020


Short-term compensation

62,285



47,003



47,936


Stock compensation

18,424



15,778



4,786


Post-employment benefits

4,035



2,737



2,866


Termination benefits

-



5,637



-


Total

84,744



71,155



55,588



c. Deferred stock plan

 

Since 2003 Ultrapar has adopted a stock plan in which the executive has the benefit from shares held in treasury until the transfer of the full ownership of the shares to those eligible members of management after five to seven years from the initial grant of the rights subject to uninterrupted employment of the participant during the period. The volume of shares and the executives eligible are determined by the Board of Board of Directors, and there is no mandatory annual grant. The total number of shares to be used in the plan is subject to the number of shares in treasury. Ultrapar’s Board of Directors members are not eligible to participate in the stock plan. The fair value of the grants was determined on the grant date based on the market value of the shares on B3, the Brazilian Securities, Commodities and Futures Exchange and the amounts are amortized between five to seven years from the grant date.

 

The table below summarizes shares granted to the management of the Company and its subsidiaries:

 

Grant date

Number of shares granted



Vesting period



Market price of shares on the grant date (in R$ per share)



Total grant costs, including taxes


 

Accumulated recognized grant costs


 

Accumulated unrecognized grant costs


March 4, 2016

66,664



2023



32.72



9,732


 

(9,644

)

 

88


Balance as of December 31, 2022

66,664



 



 



9,732


 

(9,644

)

 

88


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

For the year ended December 31, 2022, the amortization of R$ 1,204 (reversal of R$ 1,902 – continuing operation and R$ 1,325 – discontinued operation for the year ended December 31, 2021 and reversal of R$ 64 – continuing operation and R$ 2,296 – discontinued operation for year ended December 31, 2020) was recognized as general and administrative expense.

 

The table below summarizes the changes in the number of shares granted:

 

Balance as of December 31, 2019
1,224,524
Cancellation of granted shares due to termination of executive employment
(200,000 )
Shares vested and transferred
(322,264 )

Balance as of December 31, 2020

 

702,260


Shares transferred to executives

 

(448,930

)

Reclassification to assets held for sale

 

(119,998

)

Balance as of December 31, 2021

 

133,332


Shares transferred to executives

 

(66,668

)

Balance as of December 31, 2022

 

66,664



In addition, on April 19, 2017, the Ordinary and Extraordinary General Shareholders’ Meeting (“OEGM”) approved a new incentive plan based on shares (“Plan”), which establishes the general terms and conditions for the granting of common shares issued by the Company and held in treasury, that may or may not involve the granting of usufruct of part of these shares for later transfer of the ownership of the shares, in periods of three to six years, to directors or employees of the Company or its subsidiaries. 


As a result of the Plan, common shares representing at most 1% of the Company's share capital may be delivered to the participants, which corresponds, at the date of approval of this Plan, to 11,128,102 common shares.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

The table below summarizes the restricted and performance stock programs:


Program

Grant date

Number of shares granted (Quantity)



Vesting period



Market price of shares on the grant date (in R$ per share)



Total exercisable grant costs, including taxes (in R$ thousands)


 

Accumulated recognized exercisable grant costs (in R$ thousands)


 

Accumulated unrecognized exercisable grant costs


Restricted

April 4, 2018

6,658



2023



34.35



427


 

(406

)

 

21


Restricted

September 19, 2018

80,000



2024



19.58



2,675


 

(1,895

)

 

780


Restricted

September 24, 2018

80,000



2024



18.40



2,528


 

(1,791

)

 

737


Restricted

April 3, 2019

74,916



2023 and 2024



23.25



3,264


 

(2,758

)

 

506


Performance (ii)

April 3, 2019

37,458



2024



23.25



1,619


 

(1,214

)

 

405


Restricted

September 2, 2019

320,000



2025



16.42



9,013


 

(5,007

)

 

4,006


Restricted

April 1, 2020

182,853



2023 to 2025



12.53



4,267


 

(3,064

)

 

1,203


Performance (ii)

April 1, 2020

276,580



2023 to 2025



12.53



6,440


 

(4,854

)

 

1,586


Restricted

September 16, 2020

300,000



2026



23.03



11,793


 

(4,586

)

 

7,207


Restricted

April 7, 2021

425,422



2024



21.00



16,705


 

(9,744

)

 

6,961


Performance (ii)

April 7, 2021

454,520



2024



21.00



17,824


 

(10,864

)

 

6,960


Restricted

September 22, 2021

1,000,000



2027



14.17



24,363


 

(5,543

)

 

18,820


Restricted

April 6, 2022

777,065



2025



14.16



20,573


 

(5,143

)

 

15,430


Performance (ii)

April 6, 2022

779,232



2025



14.16



20,631


 

(5,201

)

 

15,430


Restricted

September 21, 2022

2,640,000



2032



12.98



64,048


 

(2,135

)

 

61,913


Restricted

December 7, 2022

1,500,000



2032



13.47



38,125


 

(318

)

 

37,807


 

8,934,704



 



 



244,295


 

(64,523

)

 

179,772


 

For the year ended December 31, 2022, a general and administrative expense in the amount of R$ 38,204 was recognized in relation to the Plan (R$ 24,067 for the year ended December 31, 2021 and R$ 10,440 for the year ended December 31, 2020).



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Balance as of December 31, 2019
1,738,660
Shares granted on April 1, 2020
877,788
Shares granted on September 16, 2020
700,000
Cancellation of granted shares due to termination of executive employment
(353,294 )
Cancellation of performance shares
(52,992 )

Balance as of December 31, 2020

 

2,910,162


Shares granted on April 7, 2021

 

1,386,504


Shares granted on September 22, 2021

 

1,000,000


Performance shares (i)

 

(133,326

)

Cancellation of granted shares due to termination of executive employment

 

(133,186

)

Reclassification to assets held for sale

 

(614,860

)

Balance as of December 31, 2021

 

4,415,294


Shares granted during the year

 

5,702,027


Cancellation of granted shares due to termination of executive employment

 

(934,310

)

Shares transferred (vesting)

 

(484,651

)

Reclassification from assets held for sale

 

236,344


Balance as of December 31, 2022

 

8,934,704


 

(i) Refers to the reversal of the provision constituted in view of the significant probability that performance indicators will not be achieved.

(ii) The performance targets are established by grant in accordance with individual and collective business goals. 


F-64


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

a. Deferred income (IRPJ) and social contribution taxes (CSLL)

 

The Company and its subsidiaries recognize deferred tax assets and liabilities, which are not subject to the statute of limitations, mainly resulting from provision for differences between cash and accrual basis, tax loss carryforwards, negative tax bases and provisions for tax, civil, and labor risks. Deferred tax assets are sustained by the continued profitability of their operations. Deferred IRPJ and CSLL are recognized under the following main categories:


 

12/31/2022


 

12/31/2021


Assets - deferred income and social contribution taxes on:

 


 

 


Provision for losses with assets

47,436


 

57,924


Provision for tax, civil and labor risks

225,585


 

188,236


Provision for post-employment benefits

74,644


 

73,335


Provision for differences between cash and accrual basis (i)

63,330


 

24,754


Goodwill

3,561


 

4,825


Business combination – tax basis vs. accounting basis of goodwill

17,575


 

18,699


Provision for asset retirement obligation

15,737


 

16,991


Provision for suppliers

132,657


 

39,364


Provision for profit sharing and bonus

69,588


 

44,876


Leases payable

60,484


 

41,463


Change in fair value of subscription warrants

9,224


 

10,957


Provision for deferred revenue

8,121


 

15,643


Other temporary differences 

43,715


 

2,769


Tax losses and negative basis for social contribution carryforwards (10.d)

283,238


 

148,345


Total

1,054,895


 

688,181


Offset liability balance

(156,660

)

 

(116,426

)

Net balances of deferred tax assets

898,235


 

571,755


Liabilities - deferred income and social contribution taxes on:

 


 

 


Revaluation of property, plant and equipment

387


 

408


Leases payable

171


 

138


Provision for differences between cash and accrual basis (i)

9,389


 

19,664


Goodwill

27,691


 

28,676


Business combination - fair value of assets

61,521


 

66,079


Other temporary differences

57,800


 

1,743


Total

156,959


 

116,708


Offset asset balance

(156,660

)

 

(116,426

)

Net balance of deferred tax liabilities

299


 

282


 

(i) Refers, mainly, to the income tax on the exchange variation of the hedge derivative instruments.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Changes in the net balance of deferred IRPJ and CSLL are as follows:

 

Balance as of December 31, 2019

646,163


Deferred IRPJ and CSLL recognized in income for the year

234,244


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

(146,305

)

Deferred IRPJ and CSLL recognized in other comprehensive income

210,034


Others

17,843


Balance as of December 31, 2020

961,979


Deferred IRPJ and CSLL recognized in income for the year

242,246


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

110,821


Deferred IRPJ and CSLL recognized in other comprehensive income

(11,366

)

Reclassification to assets held for sale

(728,986

)

Others

(3,221

)

Balance as of December 31, 2021

571,473


Deferred IRPJ and CSLL recognized in income for the year

296,459


Deferred IRPJ and CSLL recognized in income for the year from discontinued operation

31,138


Deferred IRPJ and CSLL recognized in other comprehensive income

(1,134

)

Balance as of December 31, 2022

897,936



In order to evaluate the realization of deferred tax assets, the taxable profit projections from business plans of each segment of the Company which indicates trends and perspectives, demand effects, competition and other economic factors, and that represent the management’s best estimate about the economic conditions existing during the period of realization of the deferred tax asset were taken into account.

 

The main key assumptions used to calculate the realization of deferred tax assets are: growth in Gross Domestic Product (“GDP”), exchange rate, basic interest rate (SELIC) and DI, inflation rate, commodity price index, among others. The consolidated balance of the Company of R$ 1,054,895 were supported by the technical study on taxable profit projections for the realization of deferred tax assets.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Reconciliation of income and social contribution taxes in the statement of income

 

IRPJ and CSLL are reconciled to the statutory tax rates as follows:

 

 

2022


 

2021


 

2020


Income before taxes

1,879,725


 

1,006,648


 

951,581


Statutory tax rates - %

34


 

34


 

34


Income and social contribution taxes at the statutory tax rates

(639,107

)

 

(342,260

)

 

(323,538

)









Adjustment to the statutory income and social contribution taxes:

 


 

 


 

 


Nondeductible expenses (i)

(11,006

)

 

(45,569

)

 

(33,420

)

Nontaxable revenues (ii)

23,149


 

138,631


 

2,757


Adjustment to estimated income (iii)

10,136


 

3,901


 

8,850


Unrecorded deferred income and social contribution tax carryforwards (iv)

(4,602

)

 

(5,285

)

 

(3,166

)

Share of profit (loss) of subsidiaries, joint ventures and associates

4,142


 

(5,995

)

 

(14,972

)

Interest on capital

153,004


 

-


 

-


Other adjustments

29,326


 

21,414


 

12,911


Income and social contribution taxes before tax incentives

(434,958

)

 

(235,163

)

 

(350,578

)

Tax incentives – SUDENE (10.c)

93,444


 

47,129


 

46,061


Income and social contribution taxes in the statement of income

(341,514

)

 

(188,034

)

 

(304,517

)

Current 

(637,973

)

 

(430,280

)

 

(538,761

)

Deferred

296,459


 

242,246


 

234,244


Effective IRPJ and CSLL rates - %

18,2


 

18.7


 

32.0



(i) Consist of certain expenses that cannot be deducted for tax purposes under applicable tax legislation, such as expenses with fines, donations, gifts, losses of assets, negative results of foreign subsidiaries and certain provisions.
(ii) Consist of certain gains and income that are not taxable under applicable tax legislation, such as the reimbursement of taxes and the reversal of certain provisions, as well as recovery of tax credits and amounts related to non-taxation of the income and social contribution taxes on the monetary adjustment (SELIC) in the repetition of undue tax lawsuits.
(iii) Brazilian tax law allows for an alternative method of taxation for companies that generated gross revenues of up to R$ 78 million in their previous fiscal year. Certain subsidiaries of the Company adopted this alternative form of taxation, whereby income and social contribution losses are calculated on a basis equal to 32% of the operating revenues, as opposed to being calculated based on the effective taxable income of these subsidiaries. The adjustment to estimated income represents the difference between the taxation under this alternative method and the income and social contribution taxes that would have been paid based on the effective statutory rate applied to the taxable income of these subsidiaries.
(iv) See Note 10.d.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c. Tax incentives – SUDENE

 

The following subsidiaries have the benefit of income tax reduction for belonging to the sectors of the economy considered priority for the subsidized areas, under the terms of the development program of the region operated by the Superintendence for the Development of the Northeast (“SUDENE”), in compliance with the current law:

 

Subsidiary

Units



Incentive - %



Expiration


Bahiana Distribuidora de Gás Ltda.

Mataripe base



75



2024


 

Caucaia base



75



2025


 

Juazeiro base



75



2026


 

Aracaju base



75



2027


 

Suape base



75



2027


Ultracargo Logística S.A.

Aratu Terminal(1)



75



2022


 

Suape Terminal



75



2030


 

Itaqui Terminal



75



2030


 

(1)     In December 2022, an application for renewal of Aratu Terminal concession term for an additional 10 years was filed with SUDENE.


d. Tax losses and negative basis for social contribution carryforwards

 

As of December 31, 2022, the Company and certain subsidiaries had tax loss carryforwards related to income tax (IRPJ) and social contribution, whose annual compensations are limited to 30% of taxable income in a given tax year, which do not expire.

 

The balances comprising deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:

 

 

12/31/2022


 

12/31/2021


Oil Trading

93,627


 

53,839


Ultrapar (i)

65,505


 

43,441


Abastece aí

66,347


 

41,065


Ipiranga

28,894


 

-


Ultracargo Vila do Conde

22,313


 

9,861


Others

6,552


 

139


 

283,238


 

148,345


 

(i) Include the amount of R$ 33,663 of deferred taxes recognized on the tax loss of subsidiary Ultrapar International as of December 31, 2022 (R$ 8,510 as of December 31, 2021).


The balances which are not constituted of deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:


 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated 

 

 

12/31/2022


 

12/31/2021


Integra Frotas

12,394


 

11,769


Millennium

6,154


 

3,174


Others

997


 

-


 

19,545


 

14,943



e. Non-levy of IRPJ/CSLL on the update by Selic of tax undue payments received from the Federal Government

 

The Company and its subsidiaries have lawsuits claiming the non-levy of IRPJ and CSLL on monetary variation (SELIC) on tax credits. On September 27, 2021, the Federal Supreme Court judged that the levy of IRPJ and CSLL on amounts related to monetary variation (SELIC) received by taxpayers in the repetition of undue tax payments is unconstitutional. The balance of such credits as of December 31, 2022 amounts to R$ 128,420 (R$ 106,667 as of December 31, 2021).

 

11 Prepaid expenses


 

12/31/2022


 

12/31/2021


Rents 

26,888


 

54,327


Advertising and publicity

49,426


 

28,410


Insurance premiums

48,584


 

26,917


Software maintenance

26,114


 

19,863


Employee benefits

6,923


 

8,362


IPVA and IPTU

1,195


 

1,553


Contribution - private pension fund (see Note 21.a)

18,204


 

19,831


Other prepaid expenses

21,178


 

10,129


 

198,512


 

169,392


Current

123,699


 

98,024


Non-current

74,813


 

71,368


 

F-69


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


12 Contractual assets with customers - exclusivity rights

 

Refers to exclusivity rights reimbursements of Ipiranga’s agreements with reseller service stations and major customers that are recognized at the time of their occurrence and recognized as reductions of the revenue from sales and services in the statement of income according to the conditions established in the agreement, being reviewed as changes occurs under the terms of the agreements. The contract amortization occurs in accordance with the contractual terms of costumer performance. 

 

Changes are shown below:

 

Balance as of December 31, 2019

1,465,989


Additions

549,085


Amortization

(289,436

)

Transfer

(19,307

)

Balance as of December 31, 2020

1,706,331


Additions

689,986


Amortization

(282,521

)

Transfers

(34,570

)

Balance as of December 31, 2021

2,079,226


Additions

637,502


Amortization

(504,907

)

Transfers

(6,230

)

Balance as of December 31, 2022

2,205,591


Current

614,112


Non-current

1,591,479



F-70


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

13 Investments in joint controlled entities and associates

 

The table below presents the positions of equity and income (loss) for the year:

 

 

Equity



Net income (loss) for the year



Interest in share capital - %


 

Investment

 


Share of profit (loss) of joint ventures and associates


 

 

12/31/2022



12/31/2021

 


12/31/2022



12/31/2021



12/31/2020


Joint ventures

 



 



 


 

 



 

 


 



 



 


União Vopak – Armazéns Gerais Ltda (1)

8,912



(7,760

)

50


 

4,456



8,336

 


(3,880

)

602



392


Refinaria de Petróleo Riograndense S.A. (2)

75,840



78,614



33


 

25,186



4,548

 


26,110



823



(21,788

)

ConectCar Soluções de Mobilidade Eletrônica S.A. (3)






 



 




(18,081

)

(21,638

)

Latitude Logística Portuária S.A (4)

15,276



(1,716

)

50


 

7,638



9,978

 


(2,339

)

593



-


Navegantes Logística Portuária S.A (4)

69,749



(19,768

)

33


 

23,250



22,289

 


(11,040

)

(3,032

)

(1,594

)

Nordeste Logística I S.A. (4)

19,021



9,098



33


 

6,340



2,416

 


2,591



1,592



(1,409

)

Nordeste Logística II S.A. (4)

58,246



(3,631

)

33


 

19,415



13,256

 


(2,007

)

(819

)

(401

)

Nordeste Logística III S.A (4)

51,113



799



33


 

17,038



10,566

 


(30

)

255



626


Química da Bahia Indústria e Comércio S.A. (i)

7,040



(15

)

50


 

3,520



3,528

 


(8

)



-


Associates

 



 



 


 

 



 

 


 



 



 


Transportadora Sulbrasileira de Gás S.A. (5)

15,593



10,733



25


 

3,898



3,204

 


2,771



552



1,846


Metalúrgica Plus S.A. (6)

(471

)

(314

)

33


 

(157

)

(53

)

(105

)

(100

)

(91

)

Plenogás Distribuidora de Gás S.A. (6)

1,844



353



33


 

615



497

 


118



(4

)

38


Other investments






 

28



28

 




(14

)

(12

)

Total investments

 



 



 


 

111,384



78,593

 


12,181



(17,634

)

(44,031

)

Total provision for equity deficit

 



 



 


 

(157

)

 


 



 



 


Total

 



 



 


 

111,227



78,593

 


 



 



 


 

The percentages in the table above are rounded.


(i) The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


(1) The subsidiary Ultracargo Logística holds an interest in União Vopak – Armazéns Gerais Ltda. (“União Vopak”), which is primarily engaged in liquid bulk storage at the port of Paranaguá.
(2) The Company holds an interest in Refinaria de Petróleo Riograndense S.A. (“RPR”), which is primarily engaged in oil refining.
(3) The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
(4) The subsidiary IPP participates in the port concession BEL02A at the port of Miramar, in Belém (PA), through Latitude Logística Portuária S.A. (“Latitude”); for the port of Vitória (ES), it participates through Navegantes Logística Portuária S.A. (“Navegantes”); in Cabedelo (PB), it holds an interest in Nordeste Logística I S.A. ("Nordeste Logística I"), Nordeste Logística II S.A. ("Nordeste Logística II”) and Nordeste Logística III S.A. (“Nordeste Logística III”).
(5) The subsidiary IPP holds an interest in Transportadora Sulbrasileira de Gás S.A. (“TSB”), which is primarily engaged in natural gas transportation services.
(6) The subsidiary Cia. Ultragaz holds an interest in Metalúrgica Plus S.A. (“Metalplus”), which is primarily engaged in the manufacture and trading of LPG containers and has interest in Plenogás Distribuidora de Gás S.A. (“Plenogás”), which is primarily engaged in the marketing of LPG containers. Currently, the associates have their operational activities suspended.


The table below presents the full amounts of statements of financial position and statements of income of joint ventures:


 

12/31/2022


 

União Vopak

 


RPR

 


Química da Bahia

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

3,164

 


615,563

 


382

 


9,526

 


4,358

 


20,604

 


38,951

 


25,598


Non-current assets

7,454

 


156,788

 


9,767

 


67,774

 


179,377

 


23,146

 


40,806

 


49,800


Current liabilities

1,378

 


432,502

 


-

 


13,112

 


40,675

 


6,183

 


10,915

 


7,871


Non-current liabilities

328

 


263,999

 


3,109

 


48,912

 


73,311

 


18,546

 


10,596

 


16,414


Equity

8,912

 


75,850

 


7,040

 


15,276

 


69,749

 


19,021

 


58,246

 


51,113


Net revenue

3,408

 


3,215,987

 


-

 


12,722

 


-

 


20,631

 


3,205

 


12,799


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(13,412

)

(3,085,140

)

(15

)

(9,864

)

(11,360

)

(7,901

)

(7,367

)

(10,720

)

Finance income (costs), income and social contribution taxes

2,244

 


(52,248

)

-

 


(4,574

)

(8,408

)

(3,632

)

531

 


(1,280

)

Net income (loss) for the year

(7,760

)

78,599

 


(15

)

(1,716

)

(19,768

)

9,098

 


(3,631

)

799


Number of shares or units held

29,995

 


5,078,888

 


1,493,122

 


9,384,693

 


37,998,195

 


984,587

 


22,393,571

 


16,977,737


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

12/31/2021


 

União Vopak

 


RPR

 


ConectCar (i)

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

10,068

 


273,029

 


171,894

 


18,798

 


5,393

 


52,022

 


36,958

 


17,458


Non-current assets

9,696

 


179,652

 


177,217

 


50,215

 


167,170

 


18,346

 


17,279

 


49,439


Current liabilities

2,824

 


354,001

 


174,030

 


9,151

 


256

 


46,615

 


1,418

 


13,960


Non-current liabilities

268

 


84,980

 


18,883

 


39,906

 


105,440

 


16,504

 


13,052

 


21,239


Equity

16,672

 


13,700

 


156,198

 


19,956

 


66,867

 


7,249

 


39,767

 


31,698


Net revenue

17,660

 


2,092,786

 


60,436

 


5,895

 


-

 


11,625

 


2,016

 


7,561


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(16,144

)

(2,105,544

)

(97,095

)

(2,591

)

(1,579

)

(3,260

)

(3,980

)

(5,030

)

Finance income (costs), income and social contribution taxes

(312

)

15,235

 


497

 


(2,118

)

(7,517

)

(3,589

)

(494

)

(1,765

)

Net income (loss) for the year

1,204

 


2,477

 


(36,162

)

1,186

 


(9,096

)

4,776

 


(2,458

)

766


Number of shares or units held

29,995

 


5,078,888

 


263,768,000

 


4,383,881

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33



The percentages in the table above are rounded. 


(i)  The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.

 

 

12/31/2020


 

União Vopak

 


RPR

 


ConectCar

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Net revenue from sales and services

15,666

 


1,455,668

 


91,096

 


-

 


-

 


-

 


-


Costs, operating expenses and income

(14,408

)

(1,531,652

)

(134,961

)

(3,480

)

(4,225

)

(1,203

)

1,878


Net finance income and income and social contribution taxes

(474

)

10,361

 


589

 


(1,301

)

-

 


-

 


-


Net income (loss)

784

 


(65,623

)

(43,276

)

(4,781

)

(4,226

)

(1,203

)

1,878


Number of shares or units held

29,995

 


5,078,888

 


248,768,000

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


% of capital held

50

 


33

 


50

 


33

 


33

 


33

 


33



The percentages in the table above are rounded.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The table below presents the statements of financial position and statements of income of associates:

 

 

12/31/2022


 

Transportadora Sulbrasileira de Gás S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

8,598

 


6

 


617


Non-current assets

10,420

 


-

 


1,949


Current liabilities

2,824

 


29

 


167


Non-current liabilities

601

 


448

 


555


Equity

15,593

 


(471

)

1,844


Net revenue

18,250

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(7,593

)

(245

)

356


Finance income (costs) and income tax

76

 


(69

)

(3

)

Net income (loss) for the year

10,733

 


(314

)

353


Number of shares or units held

20,124,996

 


3,000

 


1,384,308


Interest in share capital - %

25

 


33

 


33


 

 

12/31/2021


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

7,685

 


90,156

 


14

 


47

 


568


Non-current assets

11,611

 


70,496

 


10,151

 


126

 


1,804


Current liabilities

5,875

 


44,408

 


-

 


28

 


158


Non-current liabilities

601

 


7,562

 


3,109

 


303

 


724


Equity

12,820

 


108,682

 


7,056

 


(158)

 


1,490


Net revenue

15,126

 


69,611

 


-

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(12,691

)

(68,390

)

(28

)

(239

)

18


Finance income (costs) and income tax

(226

)

(904

)

-

 


(61

)

(31

)

Net income (loss) for the year

2,209

 


317

 


(28

)

(300

)

(13

)

Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


Interest in share capital - %

25

 


15

 


50

 


33

 


33


 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

12/31/2020


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Net revenue from sales and services

14,295

 


58,677

 


-

 


-

 


-


Costs, operating expenses and income

(6,475

)

(54,163

)

(24

)

(212

)

396


Net finance income and income and social contribution taxes

(437

)

(1,770

)

-

 


(60

)

(39

)

Net income (loss)

7,383

 


2,744

 


(24

)

(272

)

357


Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


% of capital held

25

 


15

 


50

 


33

 


33

 

Balances and changes in investments in joint ventures and associates are as follows:

 

 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593


Share of profit (loss) of joint ventures and associates

 

9,397

 


2,784

 


12,181


Dividends

 

(4,298

)

(2,076

)

(6,374

)

Valuation adjustments

 

267

 


 


267


Actuarial loss ofpost-employment benefits of subsidiaries, net of income and social contribution taxes

 

(1,440

)

 


(1,440

)

Capital increase in cash

 

28,000

 


 


28,000


Shareholder transactions - changes of interest

 

3,528

 


(3,528

)


Balance as of December 31, 2022 (i)

 

106,843

 


4,384

 


111,227


 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated 


 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2020 (i)

 

137,004

 


25,616

 


162,620


Share of profit (loss) of joint ventures and associates from continuing operations

 

(18,068

)

434

 


(17,634

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

 


48

 


48


Dividends

 

 


(998

)

(998

)

Valuation adjustments

 

99

 


 


99


Actuarial gain of post-employment benefits of subsidiaries, net of income and social contribution taxes 

 

5,723

 


 


5,723


Capital increase in cash

 

30,697

 


 


30,697


Capital decrease

 

(5,001

)

(1,500

)

(6,501

)

Shareholder transactions - changes of interest

 

(966

)

 


(966

)

Write-off of investment

 

(78,099

)

 


(78,099

)

Reclassification to assets held for sale

 

 


(16,396)

 


(16,396

)

Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593



 

 

Joint ventures


 

Associates


 

Total


Balance as of December 31, 2019 (i)

 

153,076


 

25,778


 

178,854


Share of profit (loss) of joint ventures and associates from continuing operations

 

(45,812

)

 

1,781


 

(44,031

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

-


 

414


 

414


Dividends

 

-


 

(2,357

)

 

(2,357

)

Capital increase

 

29,203


 

-


 

29,203


Capital decrease (ii)

 

(363

)

 

-


 

(363

)

Other reserves

 

1,065


 

-


 

1,065


Proposed dividends

 

(165

)

 

-


 

(165

)

Balance as of December 31, 2020 (i)

 

137,004


 

25,616


 

162,620


 

(i) Investments in subsidiaries, joint ventures and associates net of provision for negative equity.

(ii) Refers to reimbursement of expenses that preceded the port area auctions and that were apportioned among the other members of the consortium.


F-76


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

The Company and certain subsidiaries have real estate leases, substantially related to: (i) Ipiranga: fuel stations and distribution bases; (ii) Ultragaz: points of sale and bottling bases; (iii) Ultracargo: port areas and (iv) Company: offices. The Company and certain subsidiaries also have lease agreements relating to vehicles, equipment and others.

 

a. Right-of-use assets

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Amortization

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

10

1,793,473

 


366,805

 


(140,380)

 


-

 


-

 


2,019,898


Port areas

29

299,630

 


11,868

 


(324

)

-

 


-

 


311,174


Vehicles

4

146,173

 


115,666

 


(75,384

)

-

 


-

 


186,455


Equipment

5

16,740

 


9,958

 


(353

)

-

 


-

 


26,345


Others

20

27,846

 


 -

 


-

 


-

 


-

 


27,846


 

 

2,283,862

 


504,297

 


(216,441

)

-

 


-

 


2,571,718


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(489,470

)

-

 


79,003

 


(5,311

)

(218,910

)

(634,688

)

Port areas

 

(23,526

)

-

 


-

 


-

 


(13,247

)

(36,773

)

Vehicles

 

(98,867

)

-

 


66,554

 


-

 


(51,589

)

(83,902

)

Equipment

 

(1,834

)

-

 


399

 


-

 


(1,415

)

(2,850

)

Others

 

(18,870

)

-

 


-

 


-

 


(3,258

)

(22,128

)

 

 

(632,567

)

-

 


145,956

 


(5,311

)

(288,419

)

(780,341

)

Net amount

 

1,651,295

 


504,297

 


(70,485

)

(5,311

)

(288,419

)

1,791,377


 

(i) Refers to R$ 5,311 transferred to property, plant and equipment.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Exchange rate variation

 


Amortization

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

10

2,254,432

 


257,787

 


(150,718

)

-

 


1,295

 


-

 


(569,323

)

1,793,473


Port areas

20

268,534

 


31,096(*)

 


-

 


-

 


-

 


-

 


-

 


299,630


Vehicles

4

139,843

 


26,589

 


(9,315

)

-

 


103

 


-

 


(11,047

)

146,173


Equipment

6

44,936

 


19,887

 


(6,171

)

-

 


1,920

 


-

 


(43,832

)

16,740


Others

20

27,846

 


-

 


-

 


-

 


-

 


-

 


-

 


27,846


 

 

2,735,591

 


335,359

 


(166,204

)

-

 


3,318

 


-

 


(624,202

)

2,283,862


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(481,975

)

-

 


76,954

 


-

 


(530

)

(283,882

)

199,963

 


(489,470

)

Port areas

 

(3,962

)

-

 


-

 


(11,935

)

-

 


(7,629

)

-

 


(23,526

)

Vehicles

 

(63,091

)

-

 


7,032

 


-

 


(54

)

(48,146

)

5,392

 


(98,867

)

Equipment

 

(19,619

)

-

 


6,483

 


-

 


(897

)

(17,637

)

29,836

 


(1,834

)

Others

 

(16,658

)

-

 


-

 


-

 


-

 


(2,212

)

-

 


(18,870

)

 

 

(585,305

)

-

 


90,469

 


(11,935

)

(1,481

)

(359,506

)

235,191

 


(632,567

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


 

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


Net amount

 

2,150,286

 


296,402

 


(75,735

)

(11,935

)

1,837

 


(359,506

)

(350,054

)

1,651,295


 

(i) Refers to the amortization of right-of-use assets in the subsidiary Tequimar Vila do Conde Logística Portuária S.A. (“Tequimar Vila do Conde”), which is being capitalized as Construction in progress, starting its operation in December 2021.

(ii) For further details, see Note 4.c.2

(*) Includes balances of R$ 14,905 referring to initial direct costs of right-of-use assets.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated



Weighted average useful life (years)

Balance on 12/31/2019


Additions and remeasurement


Write-offs


Effect of foreign currency exchange rate variation


Amortization


Balance on 12/31/2020


Cost:







Real estate 

10

2,068,254


259,244


-78,529


5,463


-


2,254,432


Port area

20

68,007


200,527




-


268,534


Vehicles

4

91,868


55,616


-7,893


252


-


139,843


Equipment

6

31,822


7,833


-572


5,853


-


44,936


Others

20

27,846





-


27,846


2,287,797


523,22


-86,994


11,568


-


2,735,591


Accumulated amortization:







Real estate

-256,43


-


46,282


-697


-271,13


-481,975


Port area


-




-3,962


-3,962


Vehicles

-27,492


-


5,509


232


-41,34


-63,091


Equipment

-7,6


-


572


-1,996


-10,595


-19,619


Others

-15,363


-




-1,295


-16,658


-306,885


-


52,363


-2,461


-328,322


-585,305


Net amount

1,980,912


523,22


-34,631


9,107


-328,322


2,150,286


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Leases payable

 

The changes in leases payable are shown below:

 

Balance as of December 31, 2019

1,588,673


Interest accrued

144,655


Payments

(360,787

)

Additions and remeasurement

484,121


Write-offs

(35,381

)

Effect of foreign currency exchange rate variation

12,007


Balance as of December 31, 2020

1,833,288


Interest accrued

147,494


Payments (i)

(440,574

)

Additions and remeasurement

288,711


Write-offs

(83,157

)

Efffect of foreign currency exchange rate variation

16,264


Reclassification to liabilities held for sale (ii)

(413,715

)

Balance as of December 31, 2021

1,348,311


Interest accrued

128,069


Payments

(357,879

)

Additions and remeasurement

482,439


Write-offs

(77,171

)

Balance as of December 31, 2022

1,523,769


Current

225,034


Non-current

1,298,735


 

(i) Includes the amount of R$ 29,237 paid by subsidiary Tequimar Vila do Conde related to port concession grants.

(ii) For further details, see Note 4.c.2

 

The future disbursements (installments) not discounted to present value are presented below:

 

 

12/31/2022

 

Up to 1 year

343,792

 

1 to 2 years

319,284

 

2 to 3 years

277,318

 

3 to 4 years

201,227

 

4 to 5 years

173,229

 

More than 5 years

1,089,255

 

Total

2,404,105

 


The contracts related to the leases payable are substantially indexed by the IGP-M (General Market Price Index is a measure of Brazilian inflation, calculated by the Getúlio Vargas Foundation).



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

b.1. Discount rates

 

The weighted nominal average discount rates for the lease contracts of the Company are: 

 

Contracts by maturity date and discount rate


Maturity date of the contracts

Discount rate (% p.a.)


From 1 to 5 years

8.00%


From 6 to 10 years

8.34%


From 11 to 15 years

9.50%


More than 15 years

9.75%


 

c. Lease contracts of low-value assets

 

Subsidiaries Cia. Ultragaz, Bahiana, IPP and Serma have operating lease contracts considered as being of low value, short term and variable payments for the use of IT equipment, vehicles and real estates. The future disbursements (payments), assumed as a result of these contracts amount approximately to: 

 

 

Up to 1 year



Between 1 and 5 years



More than 5 years



Total


12/31/2022

2,458



5,689



-



8,147


12/31/2021

124



994



-



1,118



The amount of leases considered as of low value, short term and variable payments, recognized as an expense for the year ended December 31, 2022 was R$ 18,466 (R$ 13,524 for the year ended December 31, 2021 and R$ 13,965 for the year ended December 31, 2020).


F-81

Ultrapar Participações S.A. and Subsidiaries


Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


15 Property, plant, and equipment

 

Balance and changes in property, plant and equipment are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Acquisition of subsidiaries

 


Balance as of 12/31/2022

 

Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

610,294

 


-

 


-

 


23,539

 


(14,717

)

-

 


619,116

 

Buildings

32

1,486,721

 


20,020

 


-

 


73,744

 


(47,979

)

-

 


1,532,506

 

Leasehold improvements

13

1,056,179

 


40,685

 


-

 


82,317

 


(9,855

)

-

 


1,169,326

 

Machinery and equipment

12

3,024,577

 


99,477

 


-

 


70,150

 


(7,518

)

73

 


3,186,759

 

Automotive fuel/lubricant distribution equipment and facilities

13

3,245,586

 


96,208

 


-

 


12,680

 


(141,351

)

-

 


3,213,123

 

LPG tanks and bottles

9

840,931

 


94,356

 


-

 


-

 


(15,000

)

-

 


920,287

 

Vehicles

9

288,239

 


33,452

 


-

 


8,050

 


(4,647

)

-

 


325,094

 

Furniture and fixtures

9

168,092

 


34,905

 


-

 


5,140

 


(6,531

)

102

 


201,708

 

IT equipment

5

330,375

 


24,069

 


-

 


2,053

 


(53,863

)

389

 


303,023

 

Construction in progress

 

452,248

 


482,043

 


-

 


(239,082

)

(483

)

-

 


694,726

 

Advances to suppliers

 

14,281

 


35,887

 


-

 


(32,029

)

-

 


-

 


18,139

 

Imports in progress

 

181

 


902

 


-

 


(181

)

-

 


-

 


902

 

 

 

11,517,704

 


962,004

 


-

 


6,381

 


(301,944

)

564

 


12,184,709

 



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

 

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Business acquisition

 


Balance as of 12/31/2022

 

Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Buildings

 

(585,846

)

-

 


(42,195

)

-

 


36,229

 


-

 


(591,812

)

Leasehold improvements

 

(573,553

)

-

 


(58,172

)

606

 


12,863

 


-

 


(618,256

)

Machinery and equipment

 

(1,758,401

)

-

 


(175,567

)

-

 


7,024

 


(10

)

(1,926,954

)

Automotive fuel/lubricant distribution equipment and facilities

 

(2,050,533

)

-

 


(175,899

)

(3

)

112,778

 


-

 


(2,113,657

)

LPG tanks and bottles

 

(498,310

)

-

 


(69,860

)

-

 


10,910

 


-

 


(557,260

)

Vehicles

 

(133,149

)

-

 


(23,713

)

-

 


2,685

 


-

 


(154,177

)

Furniture and fixtures

 

(112,288

)

-

 


(11,496

)

(603

)

5,953

 


(4

)

(118,438

)

IT equipment

 

(269,534

)

-

 


(23,933

)

-

 


53,526

 


(37

)

(239,978

)

 

 

(5,981,614

)

-

 


(580,835

)

-

 


241,968

 


(51

)

(6,320,532

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(18

)

(12

)

-

 


-

 


-

 


-

 


(30

)

Machinery and equipment

 

(1,289

)

(27

)

-

 


-

 


(250

)

-

 


(1,566

)

Automotive fuel/lubricant distribution equipment and facilities

 

(46

)

-

 


-

 


-

 


24

 


-

 


(22

)

 

 

(1,499

)

(39

)

-

 


-

 


(226

)

-

 


(1,764

)

Net amount

 

5,534,591

 


961,965

 


(580,835

)

6,381

 


(60,202

)

513

 


5,862,413

 

 

(i) Refers to R$ 271,292 transferred from Works in progress, Advances to Suppliers and Imports in progress to the other classes of property, plant and equipment, R$ 5,311 transferred from right-of-use assets and R$ 1,070 transferred from intangible assets.

 

Construction in progress relates substantially to expansions, renovations, constructions and upgrade of terminals, service stations and distribution bases.

 

Advances to suppliers are related, basically, to manufacturing of assets for expansion of terminals and bases and acquisition of real estate.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

687,108

 


2,424

 


-

 


-

 


(17,503

)

3,416

 


(65,151

)

610,294


Buildings

33

2,154,710

 


47,920

 


-

 


119,748

 


(34,925

)

26,997

 


(827,729

)

1,486,721


Leasehold improvements

10

1,222,822

 


21,944

 


-

 


136,206

 


(31,587

)

30

 


(293,236

)

1,056,179


Machinery and equipment

12

6,498,362

 


161,071

 


-

 


558,197

 


(13,811

)

93,412

 


(4,272,654

)

3,024,577


Automotive fuel/lubricant distribution equipment and facilities

13

3,169,320

 


88,112

 


-

 


33,794

 


(45,640

)

-

 


-

 


3,245,586


LPG tanks and bottles

9

776,479

 


91,842

 


-

 


1,567

 


(28,957

)

-

 


-

 


840,931


Vehicles

8

310,836

 


19,054

 


-

 


11,634

 


(25,949

)

82

 


(27,418

)

288,239


Furniture and fixtures

8

316,712

 


33,644

 


-

 


2,277

 


(14,614

)

1,296

 


(171,223

)

168,092


IT equipment

5

444,844

 


28,350

 


-

 


901

 


(11,998

)

705

 


(132,427

)

330,375


Construction in progress (ii)

 

580,695

 


797,674

 


-

 


(829,245

)

(301

)

3,290

 


(99,865

)

452,248


Advances to suppliers

 

34,642

 


21,985

 


-

 


(18,894

)

-

 


-

 


(23,452

)

14,281


Imports in progress

 

866

 


4,312

 


-

 


(4,631

)

-

 


38

 


(404

)

181


 

 

16,197,396

 


1,318,332

 


-

 


11,554

 


(225,285

)

129,266

 


(5,913,559

)

11,517,704


 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

 

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(851,397

)

-

 


(68,388

)

(94

)

23,031

 


(6,872

)

317,874

 


(585,846

)

Leasehold improvements

 

(689,161

)

-

 


(81,976

)

81

 


27,519

 


(37

)

170,021

 


(573,553

)

Machinery and equipment

 

(3,598,304

)

-

 


(356,637

)

-

 


11,717

 


(21,651

)

2,206,474

 


(1,758,401

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,906,953

)

-

 


(178,110

)

(311

)

34,841

 


-

 


-

 


(2,050,533

)

LPG tanks and bottles

 

(454,651

)

-

 


(62,558

)

-

 


18,899

 


-

 


-

 


(498,310

)

Vehicles

 

(143,854

)

-

 


(22,927

)

195

 


15,480

 


(20

)

17,977

 


(133,149

)

Furniture and fixtures

 

(191,713

)

-

 


(23,594

)

24

 


14,443

 


(817

)

89,369

 


(112,288

)

IT equipment

 

(352,256

)

-

 


(35,614

)

317

 


11,489

 


(435

)

106,965

 


(269,534

)

 

 

(8,188,289

)

-

 


(829,804

)

212

 


157,419

 


(29,832

)

2,908,680

 


(5,981,614

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(61

)

(43,666

)

-

 


-

 


-

 


(3

)

43,712

 


(18

)

Machinery and equipment

 

(2,857

)

(839

)

-

 


-

 


6

 


(45

)

2,446

 


(1,289

)

Automotive fuel/lubricant distribution equipment and facilities

 

(73

)

-

 


-

 


-

 


27

 


-

 


-

 


(46

)

Vehicles

 

-

 


(160

)

-

 


-

 


-

 


-

 


160

 


-


Furniture and fixtures

 

-

 


(14,887

)

-

 


-

 


-

 


-

 


14,887

 


-


IT equipment

 

-

 


(1,660

)

-

 


-

 


-

 


-

 


1,660

 


-


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


110

 


-


 

 

(3,247

)

(61,212

)

-

 


-

 


33

 


(48

)

62,975

 


(1,499

)

 

 

8,005,860

 


1,257,120

 


(829,804

)

11,766

 


(67,833

)

99,386

 


(2,941,904

)

5,534,591


 (i) Refers to R$ 169 transferred to intangible assets.

(ii) Includes R$ 11,935 transferred from right-of-use assets.

(iii) For further information, see Note 4.c

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i) 

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

667,865

 


21,300

 


-

 


2,113

 


(14,427

)

10,257

 


687,108


Buildings

32

1,925,946

 


25,572

 


-

 


148,527

 


(27,210

)

81,875

 


2,154,710


Leasehold improvements

9

1,121,528

 


28,374

 


-

 


89,559

 


(16,954

)

315

 


1,222,822


Machinery and equipment

13

5,707,721

 


144,089

 


-

 


378,883

 


(5,554

)

273,223

 


6,498,362


Automotive fuel/lubricant distribution equipment and facilities

13

2,991,472

 


90,279

 


-

 


133,963

 


(46,394

)

-

 


3,169,320


LPG tanks and bottles

10

755,460

 


65,230

 


-

 


289

 


(44,500

)

-

 


776,479


Vehicles

8

320,161

 


22,495

 


-

 


8,363

 


(40,517

)

334

 


310,836


Furniture and utensils

9

295,604

 


13,985

 


-

 


6,775

 


(3,694

)

4,042

 


316,712


Construction in progress

 

827,086

 


506,367

 


-

 


(765,785

)

(1,167

)

14,194

 


580,695


Advances to suppliers

 

12,544

 


28,339

 


-

 


(6,185

)

(56

)

-

 


34,642


Imports in progress

 

250

 


1,437

 


-

 


(822

)

-

 


1

 


866


IT equipment

5

412,809

 


32,134

 


-

 


539

 


(2,827

)

2,189

 


444,844


 

 

15,038,446

 


979,601

 


-

 


(3,781

)

(203,300

)

386,430

 


16,197,396




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated.


 

 

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(793,835

)

-

 


(65,318

)

2,376

 


20,021

 


(14,641

)

(851,397

)

Leasehold improvements

 

(614,379

)

-

 


(80,995

)

49

 


6,252

 


(88

)

(689,161

)

Machinery and equipment

 

(3,231,627

)

-

 


(317,694

)

59

 


4,091

 


(53,133

)

(3,598,304

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,766,878

)

-

 


(176,404

)

(6

)

36,335

 


-

 


(1,906,953

)

LPG tanks and bottles

 

(425,554

)

-

 


(56,267

)

(30

)

27,200

 


-

 


(454,651

)

Vehicles

 

(139,045

)

-

 


(24,585

)

48

 


19,997

 


(269

)

(143,854

)

Furniture and utensils

 

(171,475

)

-

 


(21,060

)

7

 


2,988

 


(2,173

)

(191,713

)

IT equipment

 

(318,063

)

-

 


(35,080

)

122

 


2,676

 


(1,911

)

(352,256

)

 

 

(7,460,856

)

-

 


(777,403

)

2,625

 


119,560

 


(72,215

)

(8,188,289

)

Provision for losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


(110

)

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(1,599

)

910

 


-

 


-

 


639

 


(11

)

(61

)

Machinery and equipment 

 

(2,875

)

-

 


-

 


-

 


156

 


(138

)

(2,857

)

Automotive fuel/lubricant distribution equipment and facilities

 

(98

)

-

 


-

 


-

 


25

 


-

 


(73

)

 

 

(4,828

)

910

 


-

 


-

 


820

 


(149

)

(3,247

)

Net amount

 

7,572,762

 


980,511

 


(777,403

)

(1,156

)

(82,920

)

314,066

 


8,005,860



(i) Refers to amounts transferred between items and to intangible assets.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

Balance and changes in intangible assets are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

818,096

 


99,679

 


-

 


-

 


-

 


-

 


917,775


Software (b)

5

1,146,980

 


277,600

 


-

 


173

 


(125,665

)

-

 


1,299,088


Distribution rights

12

114,593

 


-

 


-

 


-

 


-

 


-

 


114,593


Brands (c)

 

69,198

 


-

 


-

 


-

 


-

 


(3,551

)

65,647


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

421

 


999

 


-

 


(1,243

)

-

 


-

 


177


Decarbonization credits (CBIO) (e)

 

-

 


635,130

 


-

 


-

 


(402,825

)

-

 


232,305


 

 

2,264,080

 


1,013,408

 


-

 


(1,070

)

(528,490

)

(3,551

)

2,744,377


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(679,402

)

-

 


(154,122

)

-

 


124,865

 


-

 


(708,659

)

Distribution rights

 

(101,027

)

-

 


(1,010

)

-

 


-

 


-

 


(102,037

)

Trademark rights

 

(11,993

)

-

 


(2,937

)

-

 


-

 


-

 


(14,930

)

Others

 

(402

)

-

 


-

 


-

 


-

 


-

 


(402

)

 

 

(792,824

)

-

 


(158,069

)

-

 


124,865

 


-

 


(826,028

)

 

 

-

 


-

 


-

 


-

 


-

 


-

 


-


Net amount

 

1,471,256

 


1,013,408

 


(158,069

)

(1,070

)

(403,625

)

(3,551

)

1,918,349


 (i) Refers to R$ 1,070 transferred to property, plant and equipment.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


(706,992

)

818,096


Software (b)

4

1,395,046

 


284,311

 


-

 


372

 


(19,826)

 


1,808

 


(514,731

)

1,146,980


Technology

 

32,617

 


-

 


-

 


-

 


-

 


-

 


(32,617

)

-


Distribution rights

12

133,599

 


-

 


-

 


-

 


-

 


-

 


(19,006

)

114,593


Brands (c)

 

136,962

 


-

 


-

 


-

 


-

 


4,759

 


(72,523

)

69,198


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

50,698

 


1,678

 


-

 


-

 


-

 


(76

)

(51,879

)

421


Decarbonization credits (e)

 

-

 


176,837

 


-

 


-

 


(176,837

)

-

 


-

 


-


 

 

3,388,802

 


462,826

 


-

 


372

 


(196,663

)

6,491

 


(1,397,748

)

2,264,080


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(825,024

)

-

 


(206,025

)

(203

)

19,329

 


(1,566

)

334,087

 


(679,402

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


32,616

 


-


Distribution rights

 

(113,326

)

-

 


(3,093

)

-

 


-

 


-

 


15,392

 


(101,027

)

Trademark rights

 

(9,056

)

-

 


(2,937

)

-

 


-

 


-

 


-

 


(11,993

)

Others

 

(32,845

)

-

 


(167

)

-

 


-

 


(2

)

32,612

 


(402

)

 

 

(1,012,867

)

-

 


(212,222

)

(203

)

19,329

 


(1,568

)

414,707

 


(792,824

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

(68,273

)

-

 


-

 


-

 


-

 


661,553

 


-


Distribution rights

 

                -

 


(76,218

)

-

 


-

 


-

 


-

 


76,218

 


-


 

 

(593,280

)

(144,491

)

-

 


-

 


-

 


-

 


737,771

 


-


Net amount

 

1,782,655

 


318,335

 


(212,222

)

169

 


(177,334

)

4,923

 


(245,270

)

1,471,256


 (i) Refers to amounts transferred from property, plant and equipment.

(ii) For further information, see Note 4.c.2


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Amortization

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


1,525,088


Software (b)

4

1,210,529

 


184,027

 


-

 


993

 


(6,633

)

6,130

 


1,395,046


Technology (c)

 

32,617

 


-

 


-

 


-

 


-

 


-

 


32,617


Commercial property rights

 

7,934

 


-

 


-

 


-

 


(7,934

)

-

 


-


Distribution rights

10

133,599

 


-

 


-

 


-

 


-

 


-

 


133,599


Brands (d)

 

122,504

 


-

 


-

 


-

 


-

 


14,458

 


136,962


Trademark rights (d)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (e)

10

44,900

 


1,040

 


-

 


-

 


-

 


4,758

 


50,698


Decarbonization credits (f)

 

-

 


125,345

 


-

 


(1,058

)

(124,287

)

-

 


-


 

 

3,191,963

 


310,412

 


-

 


(65

)

(138,854

)

25,346

 


3,388,802


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(648,861

)

-

 


(175,144

)

-

 


3,375

 


(4,394

)

(825,024

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


(32,616

)

Commercial property rights

 

(6,384

)

-

 


(85

)

-

 


6,469

 


-

 


-


Distribution rights

 

(108,932

)

-

 


(4,394

)

-

 


-

 


-

 


(113,326

)

Trademark rights

 

(6,119

)

-

 


(2,937

)

-

 


-

 


-

 


(9,056

)

Others

 

(32,713

)

-

 


(121

)

-

 


-

 


(11

)

(32,845

)

 

 

(835,625

)

-

 


(182,681

)

-

 


9,844

 


(4,405

)

(1,012,867

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

-

 


-

 


-

 


-

 


-

 


(593,280

)

Commercial property rights

 

(465

)

-

 


-

 


-

 


465

 


-

 


-


 

 

(593,745

)

-

 


-

 


-

 


465

 


-

 


(593,280

)

Net amount

 

1,762,593

 


310,412

 


(182,681

)

(65

)

(128,545

)

20,941

 


1,782,655



(i) Refers to amounts transferred to property, plant and equipment and prepaid expenses.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

a. Goodwill

 

The remaining net balance of goodwill on the following acquisitions are assessed for impairment annually or more frequently when there is indication that the goodwill might be impaired:

 

 

Segment

12/31/2022

 


12/31/2021


Goodwill on the acquisition of:

 

 

 


 


Extrafarma

Extrafarma

-

 


661,553


Extrafarma – impairment (i)

Extrafarma

-

 


(661,553

)

Extrafarma – net

Extrafarma

-

 


-


Ipiranga (ii)

Ipiranga

276,724

 


276,724


União Terminais

Ultracargo

211,089

 


211,089


Texaco

Ipiranga

177,759

 


177,759


Iconic (CBLSA)

Ipiranga

69,807

 


69,807


Temmar

Ultracargo

43,781

 


43,781


DNP

Ipiranga

24,736

 


24,736


Repsol

Ultragaz

13,403

 


13,403


Stella (iii)

Ultragaz

99,679

 


-


TEAS

Ultracargo

797

 


797


 

 

917,775

 


818,096


 

(i) For further information, see Note 4.a

(ii) Including R$ 246,163 presented as goodwill at the Parent.

(iii) For further information, see Note 33.a.

 

At December 31, 2022, the Company assessedthe balances of goodwill shown in the table above for impairment. The determination of value in use involves assumptions, judgments, and estimates of cash flows, such as growth rates of revenues, costs and expenses, estimates of investments and working capital, and discount rates. The assumptions about growth projections of future cash flows are based on the Company’s business plan of its operating segments, as well as comparable market data, and represent management’s best estimate of the economic conditions that will exist over the economic life of the various CGUs to which goodwill is related. The main key assumptions used by the Company to calculate the value in use are described below:

 

Period of evaluation: the evaluation of the value in use is calculated for a period of five years, after which the Company calculates the perpetuity, considering the possibility of carrying the business on indefinitely.

 

Discount rate and actual growth rate: the discount and real growth rates used to extrapolate the projections at December 31, 2022 ranged from 10.1% to 11.1% and -0.5% to 0.5% p.a., respectively, depending on of the CGU analyzed. 

 

Revenue from sales and services, costs and expenses, and gross margin: considers the budget prepared for 2022 and the long-term strategic plan prepared by management and approved by the Board of Directors.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Software

 

Includes user licenses and costs for the implementation of the various systems used by the Company and its subsidiaries: integrated management and control, financial management, foreign trade, industrial automation, operational and storage management, accounting information, and other systems. Also include expenses related to software in progress in the amount of R$ 18,673 in 2022 (R$ 27,672 in 2021 and R$ 13,684 in 2020).

 

c. Brands and trademarks rights

 

Brands are represented by the acquisition cost of the ‘am/pm’ brand in Brazil, acquired in the business combination, and Chevron and Texaco trademark rights.

 

d. Other intangibles

 

Refers mainly to the loyalty program “Clube Extrafarma” reclassified to assets of subsidiaries held for sale. For further details, see Note 4.c.2.

 

e. Decarbonization credits

 

Represent the CBIOS acquired and recorded at acquisition cost. The amount in the “write-offs” column refers to CBIOS retired in the year, which cannot be the object of future negotiation.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

a. Composition

 

 

12/31/2022


 

12/31/2021


 

Index/Currency

Weighted average financial charges 2022

Maturity

Foreign currency:

 


 

 


 

 

 

 

Notes in the foreign market (d)

3,973,816


 

7,821,441


 

US$

5.3%

2026 and 2029

Foreign loan (e)

1,161,798


 

735,438


 

US$

4.2%

2023 and 2025

Foreign loan (e)

-


 

275,936


 

US$ + LIBOR (1)

-

 

Foreign loan (e)

54,542


 

-


 

EU$

2.9%

2023

Total in foreign currency

5,190,156


 

8,832,815


 

 

 

 

 

 


 

 


 

 

 

 

Brazilian Reais:

 


 

 


 

 

 

 

Debentures – CRA (g)

660,485


 

2,063,788


 

DI

97.5%

2023

Debentures - 6th issuance (g)

1,800,213


 

1,764,199


 

DI

105.3%

2023

Debentures – CRA (g)

3,011,462


 

1,940,237


 

IPCA

5.1%

2024 and 2032

Debentures – Ipiranga (g)

-


 

771,538


 

DI

 

 

Debentures - Ultracargo Logística and Tequimar Vila do Conde (g)

482,185


 

466,061


 

IPCA

4.1%

2028

Banco do Brasil floating rate (f)

-


 

204,813


 

DI

 

 

Debentures – Ultracargo Logística (g)

81,548


 

80,946


 

R$

6.5%

2024

Bank Credit Bill

-


 

51,179


 

DI

 

 

Financial institutions

-


 

4,564


 

R$

 

 

FINEP

-


 

326


 

TJLP (2)

 

 

Total in Brazilian Reais

6,035,893


 

7,347,651


 

 

 

 

Total in foreign currency and Brazilian Reais

11,226,049


 

16,180,466


 

 

 

 

Currency and interest rate hedging instruments (*)

524,312


 

197,177


 

 

 

 

Total

11,750,361


 

16,377,643


 

 

 

 

Current

3,360,677


 

2,866,051


 

 

 

 

Non-current

8,389,684


 

13,511,592


 

 

 

 

 

(*) Accumulated losses (see Note 31.i).

 

1) LIBOR = London Interbank Offered Rate.
2) TJLP (Long-term Interest Rate) = set by the National Monetary Council, TJLP is the basic financing cost of Banco Nacional de Desenvolvimento Econômico e Social (“BNDES”), the Brazilian Development Bank. On December 31, 2022, TLP was fixed at 7.20% p.a.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The changes in loans, financing, debentures and derivative financial instruments are shown below:

 

Balance as of December 31, 2019

14,392,722


New loans and debentures with cash effect

3,591,624


Interest accrued

757,161


Principal payment

(2,795,002

)

Interest payment

(740,853

)

Monetary and exchange rate variation

2,048,688


Change in fair value

34,702


Hedge result

87,174


Balance as of December 31, 2020

17,376,216


New loans and debentures with cash effect

1,462,220


Interest accrued

801,102


Principal payment

(2,922,214

)

Interest payment

(749,043

)

Monetary and exchange rate variation

800,749


Change in fair value

(229,657

)

Hedge result

80,018


Reclassification to liabilities held for sale (i)

(241,748

)

Balance as of December 31, 2021

16,377,643


New loans and debentures with cash effect

1,519,580


Interest accrued

945,023


Principal payment

(5,848,611

)

Interest payment

(914,979

)

Monetary and exchange rate variation

(587,064

)

Change in fair value

(68,366

)

Hedge result

327,135


Balance as of December 31, 2022

11,750,361



(i) For further details, see Note 4.c.1.

 

The long-term debt had the following principal maturity schedule:

 

 

12/31/2022


 

12/31/2021


From 1 to 2 years

817,898


 

3,092,734


From 2 to 3 years

782,965


 

774,904


From 3 to 4 years

2,268,647


 

270,401


From 4 to 5 years

-


 

3,056,499


More than 5 years

4,520,174


 

6,317,054


 

8,389,684


 

13,511,592



The transaction costs and issuance premiums associated with debt issuance were added to their financial liabilities.

 

The Company’s Management entered into hedging instruments against foreign exchange and interest rate variations for a portion of its debt obligations (see Note 31.h).

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Transaction costs


Transaction costs incurred in issuing debt were deducted from the value of the related contracted financing and are recognized as an expense according to the effective interest rate method as follows:

 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2021


 

Incurred costs


 

Payments


 

Balance as of 12/31/2022


Debentures

0.2


 

54,490


 

30,420


 

(16,742

)

 

68,168


Notes in the foreign market

0.1


 

28,018


 

-


 

(15,613

)

 

12,405


Banco do Brasil

0.1


 

76


 

-


 

(76

)

 

-


Total

 


 

82,584


 

30,420


 

(32,431

)

 

80,573


 

 

Effective rate of transaction costs

(% p.a.)


 

Balance as of 12/31/2020


 

Incurred costs


 

Payments


 

Reclassification to liabilities held for sale (i)


 

Balance as of 12/31/2021


Debentures

0.2


 

28,348


 

40,953


 

(14,811

)

 

-


 

54,490


Notes in the foreign market

0.1


 

37,112


 

-


 

(4,890

)

 

(4,204

)

 

28,018


Promissory notes


 

1,318


 

-


 

(1,318

)

 

-


 

-


Banco do Brasil

0.1


 

332


 

-


 

(256

)

 

-


 

76


Total

 


 

67,110


 

40,953


 

(21,275

)

 

(4,204

)

 

82,584


 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2019


 

Incurred cost


 

Amortization


 

Balance as of 12/31/2020


Debentures

0.2


 

41,406


 

-


 

(13,058

)

 

28,348


Notes in the foreign market

0.1


 

28,114


 

13,263


 

(4,265

)

 

37,112


Notes

0.5


 

-


 

6,802


 

(5,484

)

 

1,318


Banco do Brasil

0.1


 

770


 

-


 

(438

)

 

332


Foreign loans

 


 

94


 

-


 

(94

)

 

-


Others

 


 

1,382


 

-


 

(1,382

)

 

-


Total

 


 

71,766


 

20,065


 

(24,721

)

 

67,110

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The amount to be appropriated to profit or loss in the future is as follows:

 

 

Up to 1 year


 

1 to 2 years


 

2 to 3 years


 

3 to 4 years


 

4 to 5 years


 

More than 5 years


 

Total


Debentures

14,511


 

10,363


 

9,450


 

9,272


 

9,309


 

15,263


 

68,168


Notes in the foreign market

2,289


 

2,298


 

2,294


 

2,087


 

1,412


 

2,025


 

12,405


Total

16,800


 

12,661


 

11,744


 

11,359


 

10,721


 

17,288


 

80,573



c. Guarantees

 

The financing does not have collateral as of December 31, 2022 and December 31, 2021 and has guarantees and promissory notes in the amount of R$ 9,371,295 as of December 31, 2022 (R$ 14,151,506 as of December 31, 2021).

 

The Company and its subsidiaries offer collateral in the form of letters of guarantee for commercial and legal proceedings in the amount of R$ 115,451 as of December 31, 2022 (R$ 118,231 as of December 31, 2021).


The subsidiary IPP issued collateral to financial institutions in connection with the amounts payable by some of its customers to such institutions as follows:

 

 

IPP


 

12/31/2022

 


12/31/2021


Maximum amount of future payments related to such collateral:

550,908

 


690,347


Maturity up to

51 months

 


49 months


Fair value of collateral

9,914

 


9,923



If the subsidiary IPP is required to make any payment under these collateral arrangements, this subsidiary may recover the amount paid directly from its customers through commercial collection. Until December 31, 2022, the subsidiary IPP did not have losses in connection with these collateral arrangements. The fair value of collateral is recognized in current liabilities as “Other payables”, which is recognized in the statement of income as customers settle their obligations with the financial institutions.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


d. Notes in the foreign market

 

On April 7, 2022, the subsidiary Ultrapar International commenced cash tender offers to repurchase notes in the international market (“Repurchase Offers”) of up to US$ 550,003,000.00 (“Initial Aggregate Repurchase Amount”), involving (i) up to the totality of the 5.250% Senior Notes due in 2026 (“Notes 2026”); and (ii) up to the repurchase limit of Notes 2029 of the 5.250% Senior Notes due in 2029 (“Notes 2029”), both issued by Ultrapar International S.A. (“Ultrapar International”) and outstanding in the international market. The Repurchase Offers together were limited to the Initial Repurchase Value Added, and Ultrapar International had the option to increase the Initial Repurchase Value Added to up to US$ 600,000,000.00 in aggregate principal amount, as described in the Repurchase Offer documents.

 

On April 14, 2022, the subsidiary Ultrapar International repurchased US$ 114,129 thousand (equivalent to R$ 595,490 as of December 31, 2022) of notes in the foreign market maturing in October 2026. On April 18, 2022, the subsidiary Ultrapar International repurchased US$ 200 thousand (equivalent to R$ 1,043 as of December 31, 2022) of notes in the foreign market maturing in October 2026.

 

On April 27, 2022, the subsidiary Ultrapar International repurchased US$ 485,667 thousand (equivalent to R$ 2,534,064 as of December 31, 2022) of notes in the foreign market maturing in June 2029.

 

As a result of the issuance of the notes in the foreign market, the Company and its subsidiaries are required to perform certain obligations, including:

  • Restriction on sale of all or substantially all assets of the Company and subsidiaries Ultrapar International and IPP;
  • Restriction of encumbrances on assets exceeding US$ 150,000 thousand (equivalent to R$ 782,655 as of December 31, 2022) or 15% of the amount of the consolidated tangible assets.

The Company and its subsidiaries are in compliance with the commitments required by this debt. The restrictions imposed on the Company and its subsidiaries are customary in transactions of this nature and have not limited their ability to conduct their business to date.


e. Foreign loans

 

The subsidiary IPP has foreign loans in the amount of US$ 125,000 thousands (equivalent to R$ 652,213 as of December 31, 2022). IPP also contracted hedging instruments with floating interest rate in U.S. dollar and exchange rate variation, changing the foreign loans charges, on average, to 104.9% of DI.

 

On September 30, 2022 the subsidiary Iconic Lubrificantes S.A.  raised financing 4131 in the amount of EU$ 9,708 thousands (equivalent to R$ 54,072 as of December 31, 2022), with financial charges of 2.907% and due date on March 29, 2023. The subsidiary Iconic Lubrificantes S.A. contracted instruments to hedge against the interest rate in Euro and currency risk, changing financial charges to 111.6% of DI.

 

On December 19, 2022 the subsidiary Companhia Ultragaz S.A. raised financing 4131 in the amount of U$ 96,339 thousands (equivalent to R$ 502,669 as of December 31, 2022), with financial charges of 4.539% and due date on September 19, 2025. The subsidiary Companhia Ultragaz S.A. contracted instruments to hedge against the interest rate in Dólarand currency risk, changing financial charges to 108.5% of DI.

 

IPP designated these hedging instruments as a fair value hedge (see Note 31.h.1). Therefore, loans and hedging instruments are both measured at fair value from inception, with changes in fair value recognized in profit or loss. The foreign loans are secured by the Company.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The foreign loans have the maturity distributed as follows:

 

Maturity

EU$ (thousands)


 

USD (thousands)


 

R$


 

Cost in % of DI


Charges(1) 

84


 

1,326


 

7,386


 

-


Mar/2023

9,709


 

-


 

54,072


 

111.6%


Sept/2023

-


 

60,000


 

313,062


 

105.0%


Sept/2023

-


 

65,000


 

339,151


 

104.8%


Sept/2025

-


 

96,339


 

502,669


 

108.5%


Total / average cost

9,793


 

222,665


 

1,216,340


 

106.7%


 (1) Includes interest, transaction costs and mark to market.

 

f. Banco do Brasil

 

The subsidiary IPP has floating interest rate loans with Banco do Brasil intended for marketing, processing, or manufacturing of agricultural products (ethanol) with maturity in May 2022. The loans were settled on the maturity date.


g. Debentures

 

g.1 In March 2021, the subsidiary Tequimar Vila do Conde made its first issuance of debentures, in one single series of 360,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.04%

Payment of interest:

Semiannually

Reprice:

Not applicable



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Tequimar Vila do Conde contracted hedging instruments against interest rate variations, changing the fixed rate financial charges of the debentures to 111.4% of the DI. Tequimar Vila do Conde designated these hedging instruments as fair value hedges therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.2 In March 2021, the subsidiary Ultracargo Logística made its second issuance of debentures, in one single series of 100,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.37%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

Ultracargo Logística contracted hedging instruments against interest rate variations, changing the debentures fixed rate for 111.4% of the DI. Ultracargo Logística designated these hedging instruments as fair value hedges; therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.3 In September 2021, the subsidiary IPP made its tenth issuance of debentures in the total amount of R$ 960,000, in one single series of 960,000 simple debentures, nonconvertible into shares, nominative, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of CRA. The financial settlement occurred on September 16, 2021. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount

960,000

Unit face value:

R$ 1,000.00

Final maturity:

September 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.8287%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

IPP contracted hedging instruments subjected to IPCA variation, changing the financial debenture charges linked to IPCA to 102.75% of DI. IPP designated these hedging instruments as fair value hedges. Therefore, debentures and hedging instruments are both measured at fair value from inception, with changes in fair value recognized through profit or loss.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


g.4 In June 2022, the subsidiary IPP carried out its tenth issuance of debentures in the total amount of R$ 1,000,000, in one single series of 1,000,000 simple debentures, nonconvertible into shares, registered, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of Agribusiness Receivables Certificates (CRA). The financial settlement occurred on June 27, 2022. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount:

1,000,000

Unit face value:

R$ 1,000.00

Final maturity:

June 11, 2032

Payment of the face value:

Annual from the 8th year

Interest:

IPCA + 6.0053%

Payment of interest:

Semiannually

Reprice:

Not applicable


IPP contracted hedging instruments subjected to IPCA variation, changing the debentures charges linked to IPCA to 104.8% of DI. IPP designated these hedging instruments as fair value hedges; therefore, debentures and hedging instruments are both measured at fair value from inception, with changes in fair value recognized through profit or loss. 

 

The debentures have maturity dates distributed as shown below (includes accrued interest through December 31, 2022):
 

Maturity

 

12/31/2022


Charges(1) 

 

(77,949

)

Mar/2023

 

1,725,000


Dec/2023

 

660,000


Apr/2024

 

469,937


Oct/2024

 

282,790


Nov/2024

 

90,000


Dec/2025

 

303,845


Mar/2028

 

526,365


Sept/2028

 

1,052,762


Jun/2030

 

334,381


Jun/2031

 

334,381


Jun/2032

 

334,381


Total

 

6,035,893


 (1) Includes interest, transaction cost and mark to market.


F-100


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

18 Trade payables

 

a. Trade payables

 

 

12/31/2022


 

12/31/2021


Domestic suppliers

2,777,021


 

3,010,912


Foreign suppliers

1,674,287


 

445,805


Trade payables - related parties (see Note 9.a.2)

259,644


 

214,178


 

4,710,952


 

3,670,895


 

Some Company’s subsidiaries acquire oil-based fuels and LPG from Petrobras and its subsidiaries. These suppliers control almost all the markets for these products in Brazil.

 

b. Trade payables - reverse factoring 

 

 

12/31/2022


 

12/31/2021


Domestic suppliers - reverse factoring

2,429,497


 

1,948,033


Trade payables - reverse factoring - related parties (see Note 9.a.2)

-


 

89,339


Foreign suppliers - reverse factoring

237,397


 

81,687


 

2,666,894


 

2,119,059


 

Some subsidiaries of the Company entered into agreements with financial institutions. These agreements consist in the anticipation of the receipt of trade payables by the supplier, in which the financial institutions prepay a certain amount from the supplier and receives, on the maturity date originally celebrated between company and supplier, the amount payable by the subsidiaries of the Company without incidence of interest. The decision to join this type of transaction is solely and exclusively of the supplier. The agreement does not substantially change the main characteristics of the commercial conditions previously established between the subsidiaries of the Company and the suppliers. The transactions are presented in operating activities in the statement of cash flows.

 

19 Salaries and related charges


 

12/31/2022


 

12/31/2021

 

Provisions on salaries 

181,755


 

136,938

 

Profit sharing, bonus and premium

205,273


 

132,390

 

Social charges

70,785


 

52,739

 

Others

3,093


 

8,036

 

 

460,906


 

330,103

 


F-101


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated 

 

20 Taxes payable


 

12/31/2022


 

12/31/2021


ICMS (State VAT)

131,587


 

146,598


IPI (Federal VAT)

4,553


 

4,163


PIS and COFINS (State VAT)

14,470


 

13,667


ISS (Municipal VAT)

23,610


 

45,533


Others

18,210


 

19,215


 

192,430


 

229,176


 

21 Employee benefits and private pension plan 

 

a. ULTRAPREV - Associação de Previdência Complementar

 

In February 2001, the Company’s Board of Directors approved the adoption of a defined contribution pension plan to be sponsored by the Company and its subsidiaries. Participating employees have been contributing to this plan, managed by Ultraprev - Associação de Previdência Complementar (“Ultraprev”), since August 2001. Each participating employee chooses his or her basic contribution to the plan, up to a limit of 11% of the employee’s reference salary, according to the rules of the plan. Each sponsoring company provides a matching contribution in an amount equivalent to each basic contribution. As participating employees retire, they may choose to receive either (i) a monthly sum ranging between 0.3% and 1.0% of their respective accumulated fund in Ultraprev or (ii) a fixed monthly amount, which will exhaust their respective accumulated fund over a period of 5 to 35 years. The Company and its subsidiaries do not take responsibility for guaranteeing amounts or the duration of the benefits received by the retired employee. 

 

The balance of R$ 18,204 (R$ 19,831 as of December 31, 2021) regarding the reversal fund will be used to deduct normal sponsor contributions in a period of up to 89 months depending on the sponsor. The number of months is estimated according to the current amount being deducted from the contributions of the sponsor with the highest balance.

 

In 2022, the subsidiaries contributed with R$ 16,368 to Ultraprev (R$ 16,120 in 2021 and R$ 17,186 in 2020).

 

The total number of participating employees as of December 31, 2022 was 4,097 active participants and 286 retired participants (4,381 active participants and 387 retired participants as of December 31, 2021). In addition, Ultraprev had 23 former employees receiving benefits under the rules of a previous plan whose reserves are fully constituted.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Post-employment benefits

 

The subsidiaries recognized a provision for post-employment benefits mainly related to seniority bonus, payment of Government Severance Indemnity Fund (“FGTS”), and health, dental care, and life insurance plan for eligible retirees.

 

The amounts related to such benefits are based on a valuation conducted by an independent actuary and reviewed by Management as of December 31, 2022.

 

 

12/31/2022


 

12/31/2021


Health and dental care plan (1)

164,428


 

159,867


Indemnification of FGTS

36,357


 

38,617


Seniority bonus

2,156


 

5,570


Life insurance (1)

12,615


 

11,665


Total

215,556


 

215,719


Current

21,809


 

21,082


Non-current

193,747


 

194,637


 

(1)     Applicable  to IPP, Tropical and Iconic.

 

Changes in the present value of the post-employment benefit obligation occurred as follows:



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

12/31/2022


 

12/31/2021


Opening balance

215,719


 

284,724


Expense for the year of continuing operations

20,944


 

15,585


Expense (revenue) for the year of discontinued operations

494


 

2,951


Actuarial (gains) losses from changes in actuarial assumptions

(2,589

)

 

(58,954

)

Benefits paid directly by the Company and its subsidiaries

(19,012

)

 

(18,400

)

Exchange rates from post-employment benefits of foreign subsidiaries

-


 

217


Reclassification to liabilities held for sale (i)

-


 

(10,404

)

Closing balance

215,556


 

215,719



The total expense for each year is presented below:

 

 

2022


 

2021


 

2020


Health and dental care plan

14,660


 

15,265


 

11,127


Indemnification of FGTS

4,766


 

4,409


 

6,199


Seniority bonus

563


 

(4,886

)

 

(6,821

)

Life insurance

955


 

797


 

1,117


Total

20,944


 

15,585


 

11,622



The main actuarial assumptions used are:

 

Economic factors

12/31/2022


 

12/31/2021


 

% p.a.


 

% p.a.


Discount rate for the actuarial obligation at present value

9.97


 

8.93


Average projected salary growth rate

6.98


 

7.07


Inflation rate (long term)

3.50


 

3.25


Growth rate of medical services

7.64


 

7.38



Demographic factors

 

Mortality Table for the life insurance benefit - CSO-80

Mortality Table for other benefits – AT 2000 Basic decreased by 10%

Disability Mortality Table - RRB 1983 and RRB-1944

Disability Table – Weak light



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Sensitivity analysis

 

The significant actuarial assumptions to determine the provision for post-employment benefits are: discount rate, salary growth and medical costs increases. The following sensitivity analyses as of December 31, 2022, as shown below, were determined based on possible changes of assumptions occurring at the reporting date of the financial statements, keeping all other assumptions constant.


Assumption


Change in assumptions


Decrease in liability

 

Change in assumptions


Increase in liability


Discount rate


increase by 1.0 p.p.


19,688

 

decrease by 1.0 p.p.


24,252


Wage growth rate


decrease by 1.0 p.p.


266

 

increase by 1.0 p.p.


477


Medical services growth rate


decrease by 1.0 p.p.


17,824

 

increase by 1.0 p.p.


21,847


 

The sensitivity analyses presented may not represent the real change in the post-employment benefit obligation, since it is unlikely that changes occur in just one assumption alone, considering that some of these assumptions may be correlated.

 

Inherent risks related to post-employment benefits

 

Discount rate risk: a long-term interest rate is used to calculate the present value of post-employment liabilities. A reduction in this interest rate will increase the corresponding liability.

 

Wage growth risk: the present value of the liability is calculated using as reference the wages  of the plan participants, projected with the average nominal wage growth rate. An increase in the real wages of plan participants will increase the corresponding liability.

 

Medical costs growth risk: the present value of the liability is calculated using as a reference the medical cost by age based on actual healthcare expenses, projected based on the growth rate of medical services costs. An increase in the real medical costs will increase the corresponding liability.


F-105

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

22 Provision for asset retirement obligation

 

This provision corresponds to the legal obligation to remove the subsidiary IPP’s underground fuel tanks located at Ipiranga-branded service stations after a certain period of use.


Changes in the provision for asset retirement obligation are as follows:

 

Balance as of December 31, 2019

51,242


Additions (new tanks)

163


Expenditure with tanks removed

(4,306

)

Accretion expense

6,336


Balance as of December 31, 2020

53,435


Additions (new tanks)

451


Expenditure with tanks removed

(2,773

)

Accretion expense

5,598


Balance as of December 31, 2021

56,711


Additions (new tanks)

158


Expenditure with tanks removed

(9,528

)

Accretion expense

4,417


Balance as of December 31, 2022

51,758


Current

5,063


Non-current

46,695

  

23 Provisions and contingent liabilities

 

a. Provisions for tax, civil and labor risks

 

The Company and its subsidiaries are parties to tax, civil, environmental, regulatory, and labor disputes at the administrative and judiciary levels.

 

The table below shows the breakdown of provisions by nature and its movement:

 

Provisions

Balance as of 12/31/2021


 

Additions


 

Reversals


 

Payments


 

Interest


 

Balance as of 12/31/2022


IRPJ and CSLL (a.1)

552,172


 

7,154


 

(36,683

)

 

-


 

36,574


 

559,217


Tax

84,155


 

35,238


 

(14,907

)

 

(38,097

)

 

2,045


 

68,434


Civil, environmental and regulatory claims (a.2)

108,761


 

18,326


 

(9,980

)

 

(23,700

)

 

9


 

93,416


Labor litigation (a.3)

95,460


 

22,663


 

(22,387

)

 

(23,142

)

 

578


 

73,172


Provision for indemnities (a.4)

-


 

150,820


 

-


 

-


 

-


 

150,820


Others

91,637


 

4,812


 

(3,850

)

 

-


 

2,514


 

95,113


Total

932,185


 

239,013


 

(87,807

)

 

(84,939

)

 

41,720


 

1,040,172


Current

119,942


 

 


 

 


 

 


 

 


 

22,837


Non-current

812,243


 

 


 

 


 

 


 

 


 

1,017,335



F-106


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

    

Balances of escrow deposits are as follows:

 

 

12/31/2022


 

12/31/2021


Tax

790,979


 

731,326


Labor

42,624


 

48,147


Civil and others

112,780


 

91,788


 

946,383


 

871,261



a.1 Provision for tax matters

 

On October 7, 2005, the subsidiaries Cia. Ultragaz and Bahiana filed for and obtained a preliminary injunction to recognize and offset PIS and COFINS credits on LPG purchases, against other taxes levied by the RFB, notably IRPJ and CSLL. The decision was confirmed by a trial court on May 16, 2008. Under the preliminary injunction, the subsidiaries made escrow deposits for these debits, which amounted to R$ 569,415 as of December 31, 2022 (R$ 534,830 as of December 31, 2021). On July 18, 2014, a second instance unfavorable decision was published, and the subsidiaries suspended the escrow deposits, and started to pay income taxes from that date. To revert the court decision, the subsidiaries presented a writ of prevention, which was dismissed on December 30, 2014 and the subsidiaries appealed this decision on February 3, 2015. Appeals were also presented to the respective higher courts - Superior Court of Justice (“STJ”) and Federal Supreme Court (“STF”) whose final trial are pending. At the STJ, the issue was subject to the system of Repetitive Appeals (Repetitive Issue No. 1093) and is awaiting judgment by the Superior Court.

 

a.2 Provisions for civil, environmental and regulatory risks

 

The Company and its subsidiaries maintain provisions for lawsuits and administrative proceedings, mainly derived from contracts entered into with customers and former service providers, and indemnities, as well as proceedings related to environmental and regulatory issues in the amount of R$ 93,416 as of December 31, 2022 (R$ 108,761 as of December 31, 2021).

 

a.3 Provision for labor matters

 

The Company and its subsidiaries maintain provisions of R$ 73,358 as of December 31, 2022 (R$ 95,460 as of December 31, 2021) for labor litigation filed by former employees and by employees of our service providers mainly contesting the non-payment of labor rights.


a.4 Provision for indemnities

 

On April 1, 2022, Ultrapar concluded the transaction for the sale of Oxiteno, for which it was agreed that the former shareholder, Ultrapar, is responsible, in accordance with the terms and conditions of the share purchase and sale agreement, for losses resulting from claims arising from acts, facts or omissions that occurred prior to the closing of the transaction. A provision for indemnities in the amount of R$ 139,693 was recorded, R$ 89,649 of which related to labor claims, R$ 17,575 to civil claims and R$ 32,469 to tax claims, which may be reimbursed to Indorama, in the event of materialization of such losses.

 

On August 1, 2022, Ultrapar concluded the transaction for the sale of Extrafarma, for which it was agreed that the former shareholder, subsidiary IPP, is responsible, in accordance with the terms and conditions of the share purchase and sale agreement, for losses resulting from claims arising from acts, facts or omissions that occurred prior to the closing of the transaction. A provision for indemnities in the amount of R$ 11,126 was recorded, R$ 5,864 of which related to labor claims, R$ 472 to civil claims and R$ 4,790 to tax claims, which may be reimbursed to Pague Menos, in the event of materialization of such losses.


F-107


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b. Contingent liabilities (possible)

 

The Company and its subsidiaries are parties to tax, civil, environmental, regulatory, and labor claims whose likelihood of loss is assessed by the legal departments of the Company and its subsidiaries as possible, based on the opinion of its external legal advisors and, based on these assessments, these claims were not provided for in the financial statements. The estimated amount of this contingency is R$ 3,601,865 as of December 31, 2022 (R$ 3,310,603 as of December 31, 2021).

 

b.1 Contingent liabilities for tax and social security matters

 

The Company and its subsidiaries have contingent liabilities for tax and social security matters in the amount of R$ 2,656,479 as of December 31, 2022 (R$ 2,292,465 as of December 31, 2021), mainly represented by:

 

b.1.1 The subsidiary IPP and its subsidiaries have assessments invalidating the offset of excise tax (“IPI”) credits in connection with the purchase of raw materials used in the manufacturing of products, which are subsequently sold, are not subject to IPI under the protection of tax immunity. The amount of this contingency is R$ 182,446 as of December 31, 2022 (R$ 178,422 as of December 31, 2021).


b.1.2 The subsidiary IPP and its subsidiaries have legal proceedings related to ICMS. The total amount involved in these proceedings was R$ 1,376,199 as of December 31, 2022 (R$ 1,303,383 as of December 31, 2021). Such proceedings arise mostly from the disregard of ICMS credits amounting to R$ 201,408 as of December 31, 2022 (R$ 209,611 as of December 31, 2021), of which R$ 178,825 as of December 31, 2022 (R$ 106,590 as of December 31, 2021) refer to alleged non-payment of the tax ; from conditioned fruition of tax incentive in the amount of R$ 193,785 as of December 31, 2022 (R$ 174,039 as of December 31, 2021); of inventory differences in the amount of R$ 302,143 as of December 31, 2022 (R$ 295,163 as of December 31, 2021); and of a 2% surcharge on products considered non-essential (hydrated ethanol) in the amount of R$ 246,336 (R$ 219,218 as of December 31, 2021).

 

b.1.3 The Company and its subsidiaries are parties to administrative and judicial suits involving Income Tax, Social Security Contribution, PIS and COFINS, substantially about denials of offset claims and credits disallowance which total R$ 759,469 as of December 31, 2022 (R$ 578,097 as of December 31, 2021), mainly represented by:

 

b.1.3.1 The subsidiary IPP received in 2017 a tax assessment related to the IRPJ and CSLL resulting from the alleged undue amortization of the goodwill paid on acquisition of investments, in the amount of R$ 233,805 as of December 31, 2022 (R$ 218,589 as of December 31, 2021), which includes the amount of the income taxes, interest and penalty.

 

b.2 Contingent liabilities for civil, environmental and regulatory claims

 

The Company and its subsidiaries have contingent liabilities for civil, environmental and regulatory claims in the amount of R$ 690,052 as of December 31, 2022 (R$ 771,695 as of December 31, 2021), mainly represented by:

 

b.2.1 The subsidiary Cia. Ultragaz is party to an administrative proceeding before CADE based on alleged anti-competitive practices in the State of Minas Gerais in 2001. The CADE entered a decision against Cia. Ultragaz and imposed a penalty of R$ 35,617 as of December 31, 2022 (R$ 34,162 as of December 31, 2021). The imposition of such administrative decision was suspended by a court order and its merit is being judicially reviewed.

 

b.2.2 The subsidiary Cia. Ultragaz has lawsuits totaling R$ 255,290 as of December 31, 2022 (R$ 233,426 as of December 31, 2021) filed by resellers seeking the declaration of nullity and termination of distribution contracts, in addition to indemnities for losses and damages.

 

F-108


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


b.3 Contingent liabilities for labor matters
 

The Company and its subsidiaries have contingent liabilities for labor matters in the amount of R$ 255,334 as of December 31, 2022 (R$ 246,443 as of December 31, 2021).

 

b.4 Action for damages
 

In December 2022, the Company by means of its subsidiary Ipiranga, as the assignor, entered into an agreement with a Receivables Investment Fund (“FIDC”) to assign 90% of its receivables from an action for damages (contingent asset), with an initial fixed amount of R$ 140,000 being recognized. The first portion of R$ 60,000 was received on December 29, 2022, and the remaining portion of R$ 80,000 (registered in other receivables) will be received through March 31, 2023, subject to DI rate calculated up to the settlement date. The underlying agreement establishes that the assignment transaction between the assignor and the assignee is irrevocable, irreversible, and transfers of control and risks and rewards.

 

c. Lubricants operation between IPP and Chevron

 

In the lubricants' operation in Brazil between Chevron and subsidiary IPP, it was agreed that each shareholder is responsible for any claims arising out of acts, facts or omissions that occurred prior to the transaction. The amounts of provisions of Chevron’s liability in the amount of R$ 26,010 (R$ 19,724 as of December 31, 2021) are reflected in the consolidation of these financial statements. Additionally, in connection with the business combination, a provision in the amount of R$ 198,900 was recognized on December 1, 2017, related to contingent liabilities, with a balance of R$ 100,548 as of December 31, 2022 (R$ 101,267 as of December 31, 2021). The amounts of provisions of Chevron’s liability recognized in the business combination will be reimbursed to subsidiary Iconic in the event of losses and an indemnification asset was hereby constituted, without the need to establish a provision for uncollectible amounts.

The provision of the Chevron indemnification in the amount of R$ 26,010 refers to: (i) R$ 23,337 ICMS assessments on sales for industrial purposes, in which the STF closed the judgment of the thesis unfavorably to taxpayers; (ii) R$ 2,381 labor claims; and (iii) R$ 292 civil, regulatory and environmental claims.


24 Subscription warrants – indemnification

 

Because of the association between the Company and Extrafarma on January 31, 2014, 7 subscription warrants – indemnification were issued, corresponding to up to 6,411,244 shares of the Company. The subscription warrants could be exercised beginning 2020 by the former shareholders of Extrafarma and are adjusted according to the changes in the amounts of provisions for tax, civil, and labor risks and contingent liabilities related to the period prior to January 31, 2014. The subscription warrants – indemnification’s fair value is measured based on the share price of Ultrapar (UGPA3) and is reduced by the dividend yield until 2020, since the exercise is possible only from 2020, and they are not entitled to dividends while they are not converted into shares.

 

On February 24, 2021, August 11, 2021, February 23, 2022 and August 3, 2022, the Company’s Board of Directors approved the issuance of 70,939, 31,032, 43,925 and 21,472, respectively, common shares within the authorized capital limit provided by the article 6 of the Bylaws, due to the partial exercise of the rights conferred by the subscription warrants issued by the Company at the time of the merger of all Extrafarma shares into the Company, approved by the Extraordinary General Meeting (“EGM”) of the Company held on January 31, 2014.

 

As set out in the association agreement between the Company and Extrafarma of January 31, 2014 and due to the unfavorable decisions on some lawsuits with triggering events prior to January 31, 2014, 656,121 shares linked to the subscription warrants – indemnification were canceled and not issued. On December 31, 2022, 3,392,234 shares were retained linked to subscription warrants – indemnification, which will be issued or canceled as the final decisions on the lawsuits are determined, being the maximum number of shares that can be issued in the future, totaling R$ 42,776 (R$ 51,296 as of December 31, 2021). 


F-109


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

25 Equity

  

a. Share capital

 

As of December 31, 2022, the subscribed and paid-up capital consists of 1,115,173,080 (1,115,107,683 as of December 31, 2021) common shares with no par value and the issuance of preferred shares and participation certificates is prohibited. Each common share entitles its holder to one vote at Shareholders’ Meetings.

 

As of December 31, 2022, there were 58,895,761 common shares outstanding abroad in the form of ADRs (50,374,275 shares as of December 31, 2021 and 47,413,094 shares as of December 31, 2020).

 

b. Equity instrument granted

 

The Company has a share-based incentive plan, which establishes the general terms and conditions for the concession of common shares issued by the Company held in treasury (see Note 9.c). As of December 31, 2022, the balance of treasury shares granted with right of use was 6,184,427 common shares (3,178,383 as of December 31, 2021).


c. Treasury shares

 

The Company acquired its own shares at market prices, without capital reduction, to be held in treasury and to be subsequently disposed of or cancelled.

 

As of December 31, 2022, the balance was R$ 479,674 (R$ 488,425 as of December 31, 2021) and 19,974,556 common shares (23,756,393 as of December 31, 2021 and 24,739,626 as of December 31, 2020) were held unrestricted in the Company's treasury, acquired at an average cost of R$ 24.01.

 

The balance of treasury shares as of December 31, 2022 ias as follows (in number of shares):

 

 

 

12/31/2022


Balance of unrestricted shares held in treasury

 

19,974,556


Balance of treasury shares granted with right of use (see note 25.b)

 

6,184,427


Total balance of treasury shares as of December 31, 2022

 

26,158,983


 

d. Revaluation reserve

 

The revaluation reserve, recognized prior to the adoption of the international accounting standards (IFRS), reflects the revaluation of assets of subsidiaries and is based on depreciation, write-off, or disposal of the revalued assets of the subsidiaries, as well as the tax effects recognized by these subsidiaries.

 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


e. Profit reserves

             

e.1 Legal reserve

 

Under the Brazilian Corporate Law the Company is required to allocate 5% of net annual earnings to a legal reserve, until the balance reaches 20% of share capital. As of December 31, 2022, the legal reserve totaled R$ 882,575 (R$ 792,533 as of December 31, 2021). This reserve may be used to increase capital or to absorb losses but may not be distributed as dividends.

 

e.2 Investments statutory reserve

 

In compliance with Article 194 of the Brazilian Corporate Law and Article 54 of the Bylaws, this reserve is aimed to protect the integrity of the Company’s assets and to supplement its share capital, in order to allow new investments to be made. As provided for in its bylaws, the Company may allocate up to 75% of the annual net income, after deducting the legal reserve, to the investments reserve, up to the limit of 100% of the share capital.

 

The investments reserve is free of distribution restrictions and totaled R$ 5,228,561 as of December 31, 2022 (R$ 4,073,876 as of December 31, 2021). Under article 199 of Brazilian Corporate Law, the next general meeting will resolve on the excess of the profit reserve over the share capital.

 

f. Accumulated other comprehensive income and cumulative translation adjustments

 

f.1 Other comprehensive income


(i)  Gains and losses on the hedging instruments of exchange rate related to firm commitment and highly probable transactions designated as cash flows hedges are recognized in equity as “Accumulated other comprehensive income”, net of income taxes. Gains and losses are reclassified to initial cost of non-financial assets recognized in the statement of income at the moment of paid-off of the hedge instrument.
(ii)  Actuarial gains and losses relating to post-employment benefits, calculated based on a valuation conducted by an independent actuary, are recognized in equity under the heading “Accumulated other comprehensive income”, net of income taxes. Gains and losses recorded in equity are not reclassified to profit or loss in subsequent periods.
(iii) The Company also recognizes in this item the effect of changes in the non-controlling interest in subsidiaries that do not result in loss of control. This amount corresponds to the difference between the amount by which the non-controlling interest was adjusted and the fair value of the consideration received or paid and represents a transaction with shareholders.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Balance and changes in valuation adjustments of the Company are as follows:

 

 

Fair value of cash flow hedging instruments (i)


 

Fair value of financial investments


 

Actuarial gain/ (loss) of post-employment benefits (ii)


 

Non-controlling shareholders interest change (iii)


 

Others



Total


Balance as of December 31, 2019

(296,132

)

 

205


 

(47,759

)

 

197,369


 

-



(146,317

)

Changes in fair value of financial instruments

(477,570

)

 

64


 

-


 

-


 

-



(477,506

)

IRPJ and CSLL on fair value

164,425


 

-


 

-


 

-


 

-



164,425


Actuarial loss of post-employment benefits

-


 

-


 

(7,725

)

 

-


 

-



(7,725

)

Income and social contribution taxes on actuarial losses

-


 

-


 

2,133


 

-


 

-



2,133


Balance as at December 31, 2020

(609,277

)

 

269


 

(53,351

)

 

197,369


 

-



(464,990

)

Changes in fair value of financial instruments

12,036


 

(672

)

 

-


 

-


 



11,364


IRPJ and CSLL on fair value

(4,060

)

 

-


 

-


 

-


 



(4,060

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

49,550


 

-


 



49,550


IRPJ and CSLL on actuarial gains

-


 

-


 

(14,002

)

 

-


 



(14,002

)

Balance as of December 31, 2021

(601,301

)

 

(403

)

 

(17,803

)

 

197,369


 

-



(422,138

)

Changes in fair value of financial instruments

910,804


 

403


 

-


 

-


 

747



911,954


IRPJ and CSLL on fair value

(309,503

)

 

-


 

-


 

-


 

 



(309,503

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

(610

)

 

-


 



(610

)

IRPJ and CSLL on actuarial gains

-


 

-


 

271


 

-


 



271


Balance as of December 31, 2022

-


 

-


 

(18,142

)

 

197,369


 

747



179,974



f.2 Cumulative translation adjustments

 

The change in exchange rates on assets, liabilities, and income of foreign subsidiaries that have functional currency other than the presentation currency of the Company and an independent management (see Note 2.t.1) and the exchange rate variation on notes in the foreign market, net of income taxes (see Note 31.h.3) is directly recognized in the equity. This cumulative effect is reflected in profit or loss as a gain or loss only in case of disposal or write-off of the investment.

 

Balance and changes in cumulative translation adjustments of the Company are as follows:

 

 

2022


 

2021



2020


Initial balance

 

304,645


 

231,596



102,427


Currency translation adjustment of foreign subsidiaries

 

(269,482

)

 

97,113



202,277


Effect of foreign currency exchange rate variation on notes in the foreign market

 

80,057


 

(36,461

)

(110,770

)

IRPJ and CSLL on foreign currency exchange rate variation on notes in the foreign market

 

(27,219

)

 

12,397



37,662


Reclassification to income due to sale of investment

 

(88,001

)

 

-



 


Final balance

 

-


 

304,645



231,596


 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

g. Allocation of income for the year

 

The shareholders of the Company are entitled under the Bylaws to a minimum annual dividend of 25% of adjusted net income, after allocation of 5% to the legal reserve, calculated in accordance with Brazilian Corporate Law. The dividends and interest on capital in excess of the obligation established in the Bylaws are recognized in equity until the shareholders approve them. The proposed dividends payable that refers to the year 2021, the amount of which as of December 31, 2021 totaled R$ 185,896 (R$ 0.17 - seventeen cents of Brazilian Real per share), were approved by the Board of Directors on February 23, 2022 and were paid from March 11, 2022 onwards. On May 11, 2022, the payment of interim interest on capital, attributed to the mandatory minimum dividend, of R$ 450,000 (R$ 0.41 - forty-one cents of Brazilian Real per share), including income tax, was approved, and the payment was made from August 10, 2022 onwards. The proposed dividends payable for the year 2022, the amount of which as of December 31, 2022 totaled R$ 109,515 (R$ 0.10 - ten cents of Brazilian Real per share), were approved by the Board of Directors on February 15, 2023 and will be paid from March 03, 2023 onwards. 


The management's proposal for the allocation of net income for 2022 and for distribution of dividends is as follows:

Allocation of net income

12/31/2022


Net income for the year attributable to shareholders of Ultrapar

1,800,839


Legal reserve (5% of the net income)

90,042


Adjusted net income (basis for dividends)

1,710,797


 

 


Minimum mandatory dividends for the year (25% of the adjusted net income)

427,699


Total distribution

427,699


Interest on capital, net of income tax, already paid (R$ 0.35 per share) (*)

(396,314

)

Additional dividends to the minimum mandatory dividends

78,130


Balance of proposed dividends (R$ 0.10 per share)

109,515


 

 


Allocation of dividends

 


Minimum mandatory dividends for the year (25% of the adjusted net income) 

427,699


Balance of proposed dividends (R$ 0.07 per share)

78,130


 

 


Allocation of net income

 


Legal reserve (5% of the net income)

90,042


Statutory reserve

1,204,968


Minimum mandatory dividends for the year (25% of the adjusted net income)

396,314


Complementary minimum mandatory dividends for the year (25% of the adjusted net income)

31,385


Additional dividends to the minimum mandatory dividends

78,130


Total distribution of net income for the year attributable to shareholders of Ultrapar

1,800,839


(*) The gross amount of interest on capital was R$450,004


Changes in dividends payable are as follows: 

Balance as of December 31, 2019 16,694
Provisions 710,206
Payments (284,767 )
Balance as of December 31, 2020 442,133
Provisions 478,366
Prescribed dividends (11,816 )
Payments (705,753 )
Reclassification to liabilities of subsidiaries held for sale (70 )

Balance as of December 31, 2021

202,860


Provisions

429,964


Prescribed dividends

(2,948

)

Payments

(581,351

)

Balance as of December 31, 2022

48,525



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


h. Capital reserve


The capital reserve reflects the gain on the transfer of shares at market price used in the Deferred Stock Plan granted to executives of the subsidiaries of the Company, as mentioned in Note 9.c.


Because of Extrafarma’s association in 2014 the Company recognized an increase in the capital reserves in the amount of R$ 498,812, due to the difference between the value attributable to share capital and the market value of the Ultrapar shares on the date of issuance, deducted by R$ 2,260 related to the incurred costs directly attributable to issuing new shares. Additionally, on February 24, 2021, August 11, 2021, February 23, 2022 and August 03, 2022 there was an increase in the reserve in the amount of R$ 1,371, R$ 448, R$ 651 and R$ 291, respectively, due to the partial exercise of the subscription warrants – indemnification (see note 24).

  

26 Costs and expenses by nature

 

The Company presents its costs and expenses by function in the consolidated statement of income and presents below its expenses by nature:

 

 

2022



2021



2020


Raw materials and materials for use and consumption (1)

(135,651,809

)

(104,233,143

)

(68,851,960

)

Personnel expenses 

(1,657,783

)

(1,575,066

)

(1,414,567

)

Freight and storage

(1,033,718

)

(899,188

)

(1,073,971

)

Decarbonization obligation (2)

(638,542

)

(161,281

)

(124,287

)

Services provided by third parties

(442,379

)

(399,904

)

(184,532

)

Depreciation and amortization

(732,241

)

(653,118

)

(595,531

)

Amortization of right-of-use assets

(288,419

)

(260,716

)

(242,670

)

Advertising and marketing

(102,205

)

(106,352

)

(143,694

)

Extemporaneous tax credits (3)

34,247



213,183



136,561


Other expenses and income, net

45,604



(54,432

)

(102,900

)

Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

 

 



 



 


Classified as:

 



 



 


Cost of products and services sold

(136,276,257

)

(104,827,966

)

(70,056,447

)

Selling and marketing

(2,141,985

)

(1,931,666

)

(1,611,152

)

General and administrative expenses

(1,534,481

)

(1,466,551

)

(993,986

)

Other operating income (expenses), net

(514,522

)

96,166



64,034


Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

(1) Includes credits of PIS and COFINS registered on 2022 that refers to Law 192. For more information, see Note 8.

 

(2) Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.

 

(3) Refers substantially to PIS and COFINS credits recorded in 2021 and 2022. On March 15, 2017, due to general repercussions, the STF decided that ICMS does not compose the PIS and COFINS calculation basis. After filing of the Federal Government's Motion for Clarification, the STF definitively ruled about the thesis on May 13, 2021, reaffirming the exclusion of the ICMS from the PIS and COFINS calculation basis and modulating the effects of the decision for the lawsuits filed after March 15, 2017. Certain subsidiaries have credits arising from favorable decisions on the exclusion of ICMS from the PIS and COFINS calculation basis, and the respective subsidies for proving the amounts to be refunded were duly confirmed by Management and recorded in Other operating income (expenses), net in the statement of income.

 

F-114


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

27 Gain (loss) on disposal of property, plant and equipment and intangible assets

 

The gain or loss is determined as the difference between the selling price and residual book value of the investment, property, plant and equipment, and intangible asset. For the year ended December 31, 2022, the result was a gain of R$ 169,289 (gain of R$ 184,189 in 2021, represented primarily by the sale of ConectCar and properties and gain of R$ 85,455 in 2020).


28 Financial result, net

 

 

2022



2021



2020


Financial income:

 



 



 


Interest on financial investments

388,675



101,326



93,667


Interest from customers

128,052



109,999



132,155


Changes in subscription warrants (see Note 24)

5,099



33,180



-


Selic interest on PIS/COFINS credits

35,268



201,795



121,565


Update of provisions and other income

149,595



13,854



10,279


 

706,689



460,154



357,666


 

 



 



 


Financial expenses:

 



 



 


Interest on loans and debentures

(1,465,259

)

(716,969

)

(658,980

)

Interest on leases payable

(128,069

)

(110,878

)

(109,318

)

Bank charges, financial transactions tax, and other taxes

(119,828

)

(70,801

)

(46,878

)

Exchange variations, net of gain (loss) on hedging instruments

(458,032

)

(239,106

)

(58,944

)

Changes in subscription warrants – indemnification (see Note 24)

-



-



(17,353

)

Update of provisions, net, and other expenses 

(4,709

)

(85,132

)

(16,541

)

 

(2,175,897

)

(1,222,886

)

(908,014

)

Financial result, net

(1,469,208

)

(762,732

)

(550,348

)


F-115

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

29 Earnings per share

 

The table below presents a reconciliation of numerators and denominators used in computing earnings per share. The Company has a stock plan and subscription warrants, as mentioned in Notes 9.c and 24, respectively.

 

 

2022


 

2021


 

2020 


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


Basic earnings per share 

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of shares outstanding (in thousands)

1,091,990



1,091,990



1,091,990


 

1,090,500



1,090,500



1,090,500


 

1,089,414



1,089,414



1,089,414


Basic earnings per share - R$

1.3727



0.2764



1.6491


 

0.7200



0.0598



0.7799


 

0.5625



0.2576



0.8201


Diluted earnings per share

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of outstanding shares (in thousands), including dilution effects

1,098,692



1,098,692



1,098,692


 

1,096,962



1,096,962



1,096,962


 

1,095,842



1,095,842



1,095,842


Diluted earnings per share - R$

1.3643



0.2747



1.6391


 

0.7158



0.0595



0.7753


 

0.5592



0.2561



0.8152


Weighted average number of shares (in thousands)

 



 



 


 

 



 



 


 

 



 



 


Weighted average number of shares for basic earnings per share

 



 



1,091,990


 

 



 



1,090,500


 

 



 



1,089,414


Dilution effect

 



 



 


 

 



 



 


 

 



 



 


Subscription warrants

 



 



3,445


 

 



 



3,548


 

 



 



3,570


Stock plan

 



 



3,257


 

 



 



2,914


 

 



 



2,858


Weighted average number of shares for diluted earnings per share

 



 



1,098,692


 

 



 



1,096,962


 

 



 



1,095,842



(i) For further details, see Note 4.c.1
(ii) For further details, see Note 4.c.2

 

Earnings per share of 2022 considers the issuance of 2,472,210 common shares due to the partial exercise of the rights conferred by the subscription warrants disclosed in Note 24.


F-116


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

The Company has three relevant business segments: gas distribution, fuel distribution and storage. The gas distribution segment (Ultragaz) distributes LPG to residential, commercial, and industrial consumers, especially in the South, Southeast, and Northeast regions of Brazil. The fuel distribution segment (Ipiranga) operates the distribution and marketing of gasoline, ethanol, diesel, fuel oil, kerosene, natural gas for vehicles, and lubricants and related activities throughout all the Brazilian territory. The storage segment (Ultracargo) operates liquid bulk terminals, especially in the Southeast and Northeast regions of Brazil. The digital payments segment (Abastece aí) offers digital payments services, combining the “abastece aí” app and the loyalty program “Km de Vantagens”. In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company. The segments shown in the financial statements are strategic business units supplying different products and services. Intersegment sales are done considering the conditions negotiated between the parts.

 

a. Financial information related to segments

 

The main financial information of each of the continuing operations of the Company’s segments is as follows. For information on the discontinued operations, see Note 4.c.2:

 

2022


Results

Ipiranga



Ultragaz



Ultracargo



Others (1) (2)



Subtotal



Eliminations



Total


 

Net revenue from sales and services

131,337,966



11,483,398



867,148



218,770



143,907,282



(272,574

)

143,634,708


Transactions with third parties

131,253,637



11,480,697



684,350



216,024



143,634,708



-



143,634,708


Intersegment transactions

84,329



2,701



182,798



2,746



272,574



(272,574

)

-


Cost of products and services sold

(126,569,490

)

(9,446,354

)

(340,621

)

(185,914

)

(136,542,379

)

266,122



(136,276,257

)

Gross profit

4,768,476



2,037,044



526,527



32,856



7,364,903



(6,452

)

7,358,451


Operating income (expenses)

 



 



 



 



 



 



 


Selling and marketing

(1,552,636

)

(576,087

)

(12,701

)

(561

)

(2,141,985

)

-



(2,141,985

)

General and administrative

(828,753

)

(257,315

)

(134,208

)

(320,657

)

(1,540,933

)

6,452



(1,534,481

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

168,709



(1,381

)

(887

)

2,848



169,289



-



169,289


Other operating income (expenses), net

(525,966

)

6,235



3,330



1,879



(514,522

)

-



(514,522

)

Operating income (loss)

2,029,830



1,208,496



382,061



(283,635

)

3,336,752



-



3,336,752


Share of profit (loss) of subsidiaries, joint ventures and associates

(10,052

)

13



(3,880

)

26,100



12,181



-



12,181


Income (loss) before financial result and income and social contribution taxes

2,019,778



1,208,509



378,181



(257,535

)

3,348,933



-



3,348,933


Depreciation of PP&E and amortization of intangible assets

353,962



239,204



94,337



44,738



732,241



-



732,241


Amortization of contractual assets with customers - exclusivity rights

503,751



1,502



-



-



505,253



(346

)

504,907


Amortization of right-of-use assets

191,178



56,177



37,124



3,940



288,419



-



288,419


Total depreciation and amortization

1,048,891



296,883



131,461



48,678



1,525,913



(346

)

1,525,567




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated




2021



Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Subtotal



Others (1) (4)

Eliminations



Total


 

Net revenue from sales and services

99,382,617



9,744,659



713,096



84,733



109,925,105



22,452

(214,715)



109,732,842



Transactions with third parties

99,382,547



9,740,657



518,762



84,733



109,726,699



6,143

-



109,732,842



Intersegment transactions

70



4,002



194,334



-



198,406



16,309

(214,715

)

-



Cost of products and services sold

(96,110,408

)

(8,626,340

)

(285,406

)

-



(105,022,154

)
70

194,118



(104,827,966

)

Gross profit

3,272,209



1,118,319



427,690



84,733



4,902,951



22,522

(20,597

)

4,904,876



Operating income (expenses)























Selling and marketing

(1,409,350

)

(438,697

)

(9,213

)

(71,345

)

(1,928,605

)
(6,184 )

-



(1,934,789

)
Loss allowance (reversion) for expected credit losses 23,536

(20,482 )
69

-

3,123

-

-

3,123

General and administrative

(846,441)



(202,002

)

(127,117

)

(113,544

)

(1,289,104

)
(198,044 )

20,597



(1,466,551

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

183,862



2,138



(1,754

)

(9

)

184,237



(48 )

-



184,189



Other operating income (expenses), net

74,574



10,976



3,876



5,159



94,585



1,581

-



96,166



Operating income (loss)

1,298,390



470,252



293,551



(95,006

)

1,967,187



(180,173 )

-



1,787,014



Share of profit (loss) of subsidiaries, joint ventures and associates

(859

)

(104

)

602



-



(361

)
(17,273 )

-



(17,634

)

Operating income before finance income (expenses) and income and social contribution taxes

1,297,531



470,148



294,153



(95,006

)

1,966,826



(197,446 )

-



1,769,380



Depreciation of PP&E and amortization of intangible assets

325,942



211,014



76,421



14,365



627,742



25,376

-



653,118



Amortization of contractual assets with customers - exclusivity rights

280,975



1,546



-



-



282,521



-

-



282,521



Amortization of right-of-use assets

182,245



46,579



25,440



267



254,531



6,185

-



260,716



Total of depreciation and amortization

789,162



259,139



101,861



14,632



1,164,794



31,561

-



1,196,355





Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


2020 


Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Subtotal Segments



Others (1) (4)



Elimination



Total



Net revenue from sales and services

66,133,035



7,408,342



644,177



17,223

74,202,777



48,325



(193,046

)

74,058,056


Transactions with third parties

66,132,828



7,403,632



504,725



17,223

74,058,408



352



-



74,058,056


Intersegment transactions

207



4,710



139,452



-

144,369



48,677



(193,046

)

-


Cost of products and services sold

(63,609,871

)

(6,310,157

)

(270,010

)
-

(70,190,038

)

207



133,384



(70,056,447

)

Gross profit

2,523,164



1,098,185



374,167



17,223

4,012,739



48,532



(59,662

)

4,001,609


Operating income (expenses)

 



 



 






 



 



 



 


Selling and marketing

(1,164,779

)

(404,776

)

(7,278

)
(13,945 )

(1,590,778

)

(5,093

)

-



(1,595,871

)

Loss allowance (reversion) for expected credit losses

2,863



(18,514

)

370



-

(15,281

)

-



-



(15,281

)

General and administrative

(568,963

)

(196,883

)

(122,965

)
(33,164 )

(921,975

)

(131,673

)

59,662



(993,986

)

Gain (loss) on disposal of property, plant and equipment and intangibles

78,952



7,936



(1,433

)
-

85,455



-



-



85,455


Other operating income, net

44,195



8,265



8,898



920

62,278



1,756



-



64,034


Operating income (loss)

915,432



494,213



251,759



(28,966 )

1,632,438



(86,478

)

-



1,545,960


Share of profit (loss) of subsidiaries, joint ventures and associates

(932

)

(53

)

392



-

(593

)

(43,438

)

-



(44,031

)

Operating income before finance income (expenses) and income and social contribution taxes

914,500



494,160



252,151



(28,966 )

1,631,845



(129,916)



-



1,501,929


Depreciation of PP&E and amortization of intangible assets charges

314,511



192,241



65,838



4,053

576,643



18,888



-



595,531


Amortization of contractual assets with customers – exclusive rights

287,800



1,636



-



-

289,436



-



-



289,436


Amortization of right-of-use assets

177,039



41,015



19,482



40

237,576



5,094



-



242,670


Total of depreciation and amortization

779,350



234,892



85,320



4,093

1,103,655



23,982



-



1,127,637


 

(1) Includes in the line “General and administrative” and revenue on disposal of PP&E and intangibles the amount of R$ 157,621 in 2022 (R$ 154,640 in 2021 and R$ 87,363 in 2020) of expenses related to Ultrapar's holding structure, including the Presidency, Financial Board, Legal Board, Board of Directors and Fiscal Council, Risk, Compliance and Audit Board and Sustainability Board.
(2)

The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR. In 2022, Ultrapar has ceased to present Abastece Aí as a separate segment,due to the small relevance of this business relative to the overall results of the Company. 


 

 

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


12/31/2022


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

426,861



318,750



175,984



6,641



929,236



-



929,236


Capitalized interest and other items included in property, plant and equipment and provision for ARO

32,628



-



-



-



32,628



-



32,628


Acquisition of intangible assets

194,385



38,876



9,125



35,214



277,600



-



277,600


Payments of contractual assets with customers - exclusivity rights

769,119



-



-



-



769,119



-



769,119


Decarbonization credits (note 16)

635,130



-



-



-



635,130



-



635,130


 

12/31/2021


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

386,693



336,871



298,272



636

5,947



1,028,419



-



1,028,419


Capitalized interest and other items included in property, plant and equipment and provision for ARO

7,683



-



2,782






-



10,465



-



10,465


Acquisition of intangible assets

156,498



30,150



15,819



34,824

197



237,488



-



237,488


Payments of contractual assets with customers - exclusivity rights

420,261



-



-






-



420,261



-



420,261


Decarbonization credits (note 16)

176,837



-



-






-



176,837



-



176,837



  12/31/2020 


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Others (3)



Subtotal Segments

Elimination



Total


 

Acquisition of property, plant, and equipment

245,980



276,470



211,287



5,149



11,732



750,618

-



750,618


Acquisition of intangible assets

85,337



32,613



5,596



10,285



20,703



154,534

-



154,534


Payments of contractual assets with customers – exclusive rights

351,233



4,812



-



-



-



356,045

-



356,045


Decarbonization credits (see Note 16)

125,345



-



-



-



-



125,345

-



125,345


 


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


12/31/2022


Assets

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

23,342,826



4,281,857



3,045,407



5,770,913



36,441,003



-



36,441,003


 

12/31/2021


Assets

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

21,050,793



3,233,736



2,675,453



152,212

897,246



28,009,440



11,000,917



39,010,357



(3)

The “Others” column comprises the parent company Ultrapar (including goodwill from certain acquisitions) and the subsidiaries Millenium, Serma, Imaven, Ultrapar International, UVC Investimentos and UVC - Fundo de investimento.

(4) The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR.

 

b. Geographic area information

 

The subsidiaries generate revenue from operations in Brazil, as well as from exports of products and services to foreign customers, as disclosed below: 

 

 

2022



2021



2020


Net revenue from sales and services:

 



 



 


Brazil

140,801,146



109,598,146



73,941,162


Europe

607,416



18,876



34,460


Singapore

359,250



-



-


United States of America and Canada

1,785,413



35,279



29,935


Other Latin American countries

73,351



69,523



45,356


Others

8,132



11,018



7,143


Total

143,634,708



109,732,842



74,058,056



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

a. Risk management and financial instruments - governance

 

The main risks to which the Company and its subsidiaries are exposed reflect strategic/operational and economic/financial aspects. Operational/strategic risks (including, but not limited to, demand behavior, competition, technological innovation, and material changes in the industry structure) are addressed by the Company’s management model. Economic/financial risks primarily reflect default of customers, behavior of macroeconomic variables, such as exchange and interest rates, as well as the characteristics of the financial instruments used by the Company and its subsidiaries and their counterparties. These risks are managed through control policies, specific strategies, and the establishment of limits.  

 

The Company has a policy for the management of resources, financial instruments, and risks approved by its Board of Directors (“Policy”). In accordance with the Policy, the main objectives of financial management are to preserve the value and liquidity of financial assets and ensure financial resources for the development of the business, including expansions. The main financial risks considered in the Policy are market risks (currencies, interest rates and commodities), liquidity and credit. The governance of the management of financial risks follows the segregation of duties below.

 

The execution of the Policy is made by corporate financial board, through its treasury department, with the assistance of the controllership, accounting, legal and tax departments.

 

The monitoring of compliance of the Policy and possible issues is the responsibility of the Financial Risk Committee (“Committee”), which is composed of the CFO, Treasury Director, Controllership Director and other directors to be designated by the CFO, who meet quarterly. The monthly monitoring of Policy standards is responsibility of the CFO.


Approval of the Policy and the periodic assessment of Company exposure to financial risks are subject to the approval of the Company’s Board of Directors.

 

The Audit and Risk Committee (“CAR”) advises the Board of Directors in the assessment of controls, management and exposure of financial risks and revision of the Policy. The Risk, Compliance and Audit board monitors standards compliance of the Policy and reports to the Audit and Risk Committee the risks exposure and compliance or noncompliance of the Policy to the Board of Directors.

 

b. Currency risk

 

Most transactions of the Company, through its subsidiaries, are located in Brazil and therefore, the reference currency for risk management is the Brazilian Real (Company’s functional currency). Currency risk management is guided by neutrality of currency exposures and considers the risks of the Company and its subsidiaries and their exposure to changes in exchange rates. The Company considers as its main currency exposures the changes in assets and liabilities in foreign currency.

 

The Company and its subsidiaries use exchange rate hedging instruments (especially between the Brazilian Real and the U.S. dollar) available in the financial market to protect their assets, liabilities, receipts, and disbursements in foreign currency and net investments in foreign operations. Hedge is used in order to reduce the effects of exchange rates on the Company´s income and cash flows in Brazilian Reais within the exposure limits under its Policy. Such foreign exchange hedging instruments have amounts, periods, and rates substantially equivalent to those of assets, liabilities, receipts, and disbursements in foreign currencies to which they are related.

 

Assets and liabilities in foreign currencies are stated below, translated into Brazilian Reais:

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

b.1 Assets and liabilities in foreign currencies

 

12/31/2022


 

12/31/2021


Assets in foreign currency

 


 

 


Cash, cash equivalents and financial investments in foreign currency (except hedging instruments)

311,017


 

122,242


Foreign trade receivables, net of allowance for expected credit losses 

6,131


 

1,324


Other receivables

727,057


 

-


Other assets of foreign subsidiaries

280,738


 

186,548


Asset exposure from subsidiaries held for sale

-


 

3,839,194


 

1,324,943


 

4,149,308


Liabilities in foreign currency

 


 

 


Financing in foreign currency, gross of transaction costs and discount

(5,213,100

)

 

(8,860,833

)

Payables arising from imports

(1,939,984

)

 

(649,107

)

Liabilities exposure of subsidiaries held for sale

-


 

(884,402

)

 

(7,153,084

)

 

(10,394,342

)

Foreign currency hedging instruments

5,274,302


 

2,933,572


Foreign currency hedging instruments from subsidiaries held for sale 

-


 

1,786,471


Net liability position - total

(553,839

)

 

(1,524,991

)

Net (liability) asset position - effect on statement of income

(553,839

)

 

(498,604

)

Net liability position - effect on equity in subsidiaries held for sale

-


 

(1,026,387

)

 

b.2 Sensitivity analysis of assets and liabilities in foreign currency

 

For the base scenario, the future market curves as of December 31, 2022 were used on the net position of the Company exposed to the currency risk, simulating the effects of appreciation and devaluation of the Real in the statement of income, impacted by the average U.S. dollar of R$ 5.4679 (*) on December 31, 2022 the closing tax considered was R$ 5.2177.

 

The table below shows the effects of the exchange rate changes on the net liability position of R$ 553,839 in foreign currency as of December 31, 2022:

 

 

Risk

Base Scenario


Effect on statement of income

Real devaluation

(26,555

)

 

Net effect

(26,555

)

Effect on statement of income

Real appreciation

26,555


 

Net effect

26,555


 

(*) Average US dollar on December 31, 2022, according to benchmark rates as published by B3.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


c. Interest rate risk

 

The Company and its subsidiaries adopt policies for borrowing and investing financial resources and for capital cost minimization. The financial investments of the Company and its subsidiaries are primarily held in transactions linked to the DI, as set forth in Note 5. Borrowings primarily relate to financing from Banco do Brasil, as well as debentures and borrowings in foreign currency, as shown in Note 17.

 

The Company seeks to maintain most of its financial assets and liabilities at floating rates.

 

c.1 Assets and liabilities exposed to floating interest rates

 

The financial assets and liabilities exposed to floating interest rates are demonstrated below:

 

 

Note

12/31/2022


 

12/31/2021


DI

 

 


 

 


Cash equivalents

5.a

5,204,766


 

1,943,164


Financial investments

5.b

406,683


 

1,607,608


Loans and debentures

17

(2,460,698

)

 

(4,855,517

)

Liability position of foreign exchange hedging instruments - DI

32.g

(2,651,609

)

 

(2,283,625

)

Liability position of fixed interest instruments + IPCA - DI

32.g

(3,416,868

)

 

(2,364,583

)

Net liability position in DI

 

(2,917,726

)

 

(5,952,953

)







TJLP

 

 


 

 


Loans – TJLP

17

-


 

(326

)

Net liability position in TJLP

 

-


 

(326

)







LIBOR

 

 


 

 


Asset position of foreign exchange hedging instruments - LIBOR

32.g

-


 

279,047


Loans - LIBOR

17

-


 

(275,936

)

Net liability position in LIBOR

 

-


 

3,111


Total net liability position exposed to floating interest

 

(2,917,726

)

 

(5,950,168

)

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

c.2 Sensitivity analysis of floating interest rate risk

 

For the sensitivity analysis of floating interest risks on December 31, 2022, the Company used the market curves of the benchmark indexes (DI, TJLP, LIBOR and SELIC) as a base scenario.

 

The tables below show the incremental expenses and income that would be recognized in finance income, if the market curves of floating interest at the base date were applied to the average balances of the current year, due to the effect of floating interest rate.

 

 

 

12/31/2022


Exposure to interest rate risk

Risk

Probable Scenario


Interest effect on cash equivalents and financial investments

Increase in DI (i)

26,382


Interest effect on debt in DI

Increase in DI (i)

(34,907

)

Effect on income of short positions in DI of debt hedging instruments

Increase in DI (i)

(102,175

)

Incremental expenses

 

(110,700

)

Interest effect on debt in TJLP

Increase in TJLP (ii)

-


Incremental expenses

 

-



(i) Base rates used was 12.37% and sensivity rate was 13.41%.

(ii) Base rates used was 6.08% and sensivity rate was 7.20%.


d. Credit risks

 

The financial instruments that would expose the Company and its subsidiaries to credit risks of the counterparty are basically represented by cash and bank deposits, financial investments, hedging instruments (see Note 5), and trade receivables (see Note 6).


d.1 Credit risk from financial institutions

 

Such risk results from the inability of financial institutions to comply with their financial obligations to the Company and its subsidiaries due to insolvency. The Company and its subsidiaries regularly conduct a credit analysis of the institutions with which they hold cash and cash equivalents, financial investments, and hedging instruments through various methodologies that assess liquidity, solvency, leverage, portfolio quality, etc. Cash and cash equivalents, financial investments, and hedging instruments are held only with institutions with a solid credit history, chosen for safety and soundness. The volume of cash and cash equivalents, financial investments, and hedging instruments are subject to maximum limits by each institution and, therefore, require diversification of counterparties.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


d.2 Government credit risk

 

The Company's policy allows investments in government securities from countries classified as investment grade AAA or aaa by specialized credit rating agencies (S&P, Moody’s and Fitch) and in Brazilian government bonds. The volume of such financial investments is subject to maximum limits by each country and, therefore, requires diversification of counterparties.

 

The credit risk of financial institution and government related to cash, cash equivalents and financial investments is summarized below:

 

 

 

Fair value


Counterparty credit rating

 

12/31/2022


 

12/31/2021


AAA

 

5,720,996


 

3,606,000


AA

 

809,583


 

740,879


A

 

3,457


 

116,594


Others (*)

 

50,926


 

-


Total

 

6,584,962


 

4,463,473


 

(*) Refers substantially to investiments with minoritary participation of UVC, which are classificated in long term financial investments.

 

d.3 Customer credit risk

 

The credit policy establishes the analysis of the profile of each new customer, individually, regarding their financial condition. The review carried out by the subsidiaries of the Company includes the evaluation of external ratings, when available, financial statements, credit bureau information, industry information and, when necessary, bank references. Credit limits are established for each customer and reviewed periodically, in a shorter period the greater the risk, depending on the approval of the responsible area in cases of sales that exceed these limits.

 

In monitoring credit risk, customers are grouped according to their credit characteristics and depending on the business the grouping takes into account, for example, whether they are individual or corporate customers, whether they are wholesalers, resellers or final customers, considering also the geographic area.

 

The expected credit losses are calculated by the expected loss approach based on the probability of default rates. Loss rates are calculated on the basis of the average probability of a receivable amount to advance through successive stages of default until full write-off. The probability of default calculation takes into account a credit risk score for each exposure, based on data considered to be capable of foreseeing the risk of loss (external classifications, audited financial statements, cash flow projections, customer information available in the press, for example), with addition of the credit assessment based on experience.

 

Such credit risks are managed by each business unit through specific criteria for acceptance of customers and their credit rating and are additionally mitigated by the diversification of sales. No single customer or group accounts for more than 10% of total revenue.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The Company’s subsidiaries request guarantees related to trade receivables and other receivables in specific situations to customers. The Company’s subsidiaries maintained the following allowances for expected credit losses:

 

 

12/31/2022

 


12/31/2021


Ipiranga

373,514

 


422,542


Ultragaz

120,076

 


135,565


Ultracargo

2,450

 


1,526


Total

496,040

 


559,633


 

The table below presents information on credit risk exposure, resulting from the balances of trade receivables and reseller financing:

 

 

12/31/2022

 


12/31/2021


 

Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses

 


Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses


Current

0.5%

 


4,756,388

 


22,752

 


0.6%

 


3,901,536

 


23,476


Less than 30 days

7.5%

 


29,817

 


2,230

 


7.3%

 


109,284

 


8,005


31-60 days

11.1%

 


22,633

 


2,516

 


20.4%

 


57,545

 


11,746


61-90 days

26.5%

 


32,522

 


8,617

 


23.0%

 


39,177

 


9,016


91-180 days

34.4%

 


58,529

 


20,159

 


49.1%

 


50,588

 


24,818


More than 180 days

50.7%

 


868,072

 


439,766

 


57.5%

 


838,532

 


482,572


 

 

 


5,767,961

 


496,040

 


 

 


4,996,662

 


559,633


 

The information on allowance for expected credit losses balances by geographic area is as follows:

 

 

12/31/2022

 


12/31/2021


Brazil

495,929

 


559,532


United States of America and Canada

61

 


3


Other Latin American countries

31

 


15


Europe

5

 


66


Others

14

 


17


 

496,040

 


559,633


 

For further information on the allowance for expected credit losses, see Notes 6.a and 6.b.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


d.4 Price risk

 

The Company and its subsidiaries are exposed to commodity price risk, due to the fluctuation in prices for diesel and gasoline, among others. These products are traded on the stock exchange and are subjected to the impacts of macroeconomic and geopolitical factors outside the control of the Company and its subsidiaries.

 

To mitigate the risk of the fluctuation of diesel and gasoline prices, the Company and its subsidiaries permanently monitor the market, seeking the protection of price movements through hedge transactions for imports, using contracts of derivative for heating oil (diesel) and RBOB (gasoline) traded on the stock exchange.

 

The table below shows the positions of hedging financial instruments to hedge commodity price risk as of December 31, 2022 and December 31, 2021:

 

Derivative

 

Contract

 

Notional amount (m 3)

 


Notional amount (USD thousand)

 


Fair value (R$ thousand)

 


Possible scenario (∆ of 10% - R$ thousand)


 

 

Position

 

Product

 

Maturity

 

12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021


Term

 

Sold

 

Heating Oil

 

Jul-23

 

158,828

 


167,255

 


150,498

 


103,148

 


(52,214

)

2,269

 


(124,293

)

(55,066

)

Term

 

Sold

 

RBOB

 

Jan-23

 

52,466

 


29,413

 


31,382

 


17,112

 


(15,481

)

(967

)

(33,404

)

(10,613

)

 

 

 

 

 

 

 

 

 

 


 

 


 

 


 

 


(67,695

)

1,302

 


(157,697

)

(65,679

)



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


e. Liquidity risk

 

The Company and its subsidiaries’ main sources of liquidity derive from (i) cash, cash equivalents, and financial investments, (ii) cash generated from operations and (iii) financing. The Company and its subsidiaries believe that these sources are sufficient to satisfy their current funding requirements, which include, but are not limited to, working capital, capital expenditures, amortization of debt, and payment of dividends.

 

The Company and its subsidiaries have sufficient working capital and sources of financing to meet their current needs. The gross indebtedness due over the next twelve months, including estimated interest on loans, totaled R$ 3,744,329 (for quantitative information, see Note 17). As of December 31, 2022, the Company and its subsidiaries had R$ 6,142,121 in cash, cash equivalents, and short-term financial investments (for quantitative information, see Note 5).

 

The table below presents a summary of financial liabilities and leases payable as of December 31, 2022 by the Company and its subsidiaries, listed by maturity. The amounts disclosed in this table are the contractual undiscounted cash flows, and, therefore, these amounts may be different from the amounts disclosed in the statement of financial position.

 

 

Total



Less than 1 year



Between 1 and 3 years



Between 3 and 5 years



More than 5 years


Loans including future contractual interest (1) (2)

13,960,937



3,744,329



2,524,250



2,993,156



4,699,202


Derivative instruments (3)

2,292,609



584,748



725,668



648,202



333,991


Trade payables

7,377,846



7,377,846



-



-



-


Leases payable

2,404,105



343,792



596,602



374,456



1,089,255


Financial liabilities of customers

551,587



184,159



354,389



13,039



-


Contingent consideration 89,640

-

-

89,640

-

 

(1) The interest on loans, it was estimated based on the US dollar futures contracts and on the future yield curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022.
(2)

Includes estimated interest on short-term and long-term loans until the contractually foreseen payment date.

(3) The hedging instruments were estimated based on the US dollar futures contracts and the future curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022. In the table above, only the hedging instruments with negative results at the time of settlement were considered.

Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


f. Capital management

 

The Company manages its capital structure based on indicators and benchmarks to ensure business continuity while maximizing return to shareholders by optimizing its debt and capital structure.

 

Capital structure is comprised of net debt (loans and financing, including debentures, according to Note 17, after deduction of cash and cash equivalents, financial investments and derivative financial instruments, according to Note 5) and equity. The Company can change its capital structure depending on the economic and financial conditions, in order to optimize its financial leverage and capital management. The Company seeks to improve its return on invested capital by implementing efficient working capital management and a selective investment program.

 

Annually, the Company and its subsidiaries revise their capital structure, evaluating the cost of capital and the risks associated with each class of capital including the leverage ratio analysis, which is determined as the ratio between net debt and equity.

 

The leverage ratio at the end of the year is the following:

 

 

12/31/2022

 


12/31/2021


Loans and financing

13,274,130

 


17,725,954


Cash and cash equivalents, financial investments and derivative financial instruments

6,584,962

 


4,463,473


Net debt

6,689,168

 


13,262,481


Equity

12,174,968

 


10,469,240


Leverage ratio

54.94%

 


126.68%



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


g. Selection and use of financial instruments

 

In selecting financial investments and hedging instruments, an analysis is conducted to estimate rates of return, risks involved, liquidity, calculation methodology for the carrying value and fair value, and a review is conducted of any documentation applicable to the financial instruments. The financial instruments used to manage the financial resources of the Company and its subsidiaries are intended to preserve value and liquidity.

 

The Policy contemplates the use of derivative financial instruments only to cover identified risks and in amounts consistent with the risk (limited to 100% of the identified risk). The risks identified in the Policy are described in the above sections and are subject to risk management. In accordance with the Policy, the Company and its subsidiaries can use forward contracts, swaps, options, and futures contracts to manage identified risks. Leveraged derivative instruments are not permitted. Because the use of derivative financial instruments is limited to the coverage of identified risks, the Company and its subsidiaries use the term “hedging instruments” to refer to derivative financial instruments.

 

The table below summarizes the gross balance of the position of hedging instruments contracted as well as of the gains (losses) that affect the equity and the statement of income of the Company and its subsidiaries:

 

Derivatives designated as hedge accounting

 

 

 

 

 

 

 

 


 

 


 

 


 


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD + 4.95 %

106.67% DI

 

Sept-25

 

32.h.1

 

221,339

 


106,550

 


(9,243

)

(121,296

)

Foreign exchange swap

 

Financing

 

USD +LIBOR-3M +1.14% 

105.00% DI

 

Jun-22

 

32.h.1

 

-

 


-

 


-

 


(21,566

)

Foreign exchange swap

 

Financing

 

EUR + 3.42%

111.60% DI 

 

Mar-23

 

32.h.1

 

9,709

 


1,954

 


-

 


2,573


Interest rate swap

 

Financing

 

 IPCA +5.03%

102.87% DI

 

Jun-32

 

32.h.1

 

3,226,054

 


173,741

 


(59,789

)

(143,762

)

Term

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,513

)

(5,069

)

NDF

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jul-23

 

32.h.1

 

181,880

 


2,936

 


(70,630

)

(944,896

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-23

 

32.h.1

 

127,233

 


4,712

 


(3,074

)

53,762


 

 

 

 

 

 

 

 

 

 

 

 

 


289,893

 


(152,249

)

(1,180,344

)


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value2 12/31/2021

 


Gains (losses) on 12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD +4.65%

104.87% DI

 

Sept-23

 

32.h.1

 

125,000

 


212,509

 


-

 


11,712


Foreign exchange swap

 

Financing

 

USD +LIBOR-3M

105.00% DI

 

Jun-22

 

32.h.1

 

50,000

 


109,332

 


-

 


10,779


Interest rate swap

 

Financing

 

4.59% + IPCA

102.00% DI

 

Sept-28

 

32.h.1

 

2,226,054

 


201,638

 


(35,170

)

(17,922

)

Interest rate swap

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,044

)

(10,088

)

Term

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jan-22

 

32.h.1

 

120,260

 


3,115

 


(1,813

)

(130,773

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-22

 

32.h.1

 

68,361

 


7,048

 


(1,346

)

813


 

 

 

 

 

 

 

 

 

 

 

 

 


533,642

 


(47,373

)

(135,479

)

 

Derivatives not designated as hedge accounting

 

 

 

 

 

 


 

 


 

 


 


















Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value2 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jul-23

 

1,116,702

 


36,472

 


(54,067

)

(440,359

)

Interest rate swap

 

Financing

 

5.25%

1.36%

 

Jun-29

 

300,000

 


-

 


(308,821

)

(266,445

)

Foreign exchange swap

 

Financing

 

0.00%

52.99%

 

Jun-29

 

375,000

 


230,145

 


(9,174

)

(85,474

)

 

 

 

 

 

 

 

 

 

 

 


266,617

 


(372,062

)

(792,278

)



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value 12/31/2021

 


Gains (losses)  12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jun-22

 

625,762

 


26,516

 


(23,052

)

54,743


Interest rate swap

 

Financing

 

5.25%

DI - 1.36%

 

Jun-29

 

300,000

 


-

 


(126,752

)

(109,081

)

Foreign exchange swap

 

Financing

 

2.67%

100.00%

 

May-21

 

-

 


-

 


-

 


17


 

 

 

 

 

 

 

 

 

 

 


26,516

 


(149,804

)

(54,321

)

 

1 Currency as indicated.

2 Amounts, net of income tax.

 

h. Hedge accounting

 

The Company and its subsidiaries use derivative and non-derivative financial instruments for hedging purposes and test, throughout the duration of the hedge, their effectiveness, as well as the changes in their fair value.

 

The Company and its subsidiaries will not discontinue hedge accounting if the retrospective assessment of hedge effectiveness is not within the range of 80%-125% and the hedge relationship is subject to interest rate benchmark reforms. For hedge relationships that are not subject to interest rate benchmark reforms, the Company discontinues the hedge accounting if the retrospective effectiveness is not within the range of 80%-125%.

 

h.1 Fair value hedge

 

The Company and its subsidiaries designate as fair value hedges certain financial instruments used to offset the variations in interest and exchange rates, which are based on the market value of financing contracted in Brazilian Reais and U.S. dollars.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

The foreign exchange hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – US$

221,339

 


175,000


Result of hedging instruments - gain/(loss) - R$

(142,863

)

21,812


Fair value adjustment of debt - R$

28,000

 


47,064


Financial result of the debt - R$

28,291

 


(105,059

)

Average effective cost - DI %

107

 


104.90








Notional amount – EUR

9,709

 


-


Result of hedging instruments - gain/(loss) - R$

2,573

 


-


Fair value adjustment of debt - R$

(8

)

-


Average effective cost - DI %

112

 


-


For further information, see Note 17.b.1

 

 


 


 

The interest rate hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

3,226,054



2,226,054


Result of hedging instruments - gain/(loss) - R$

(143,762

)

(17,922

)

Fair value adjustment of debt - R$

(44,312

)

166,374


Financial result of the debt - R$

(293,955

)

(245,710

)

Average effective cost - DI %

102.9

 


102.0


 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

90,000

 


90,000


Result of hedging instruments - gain/(loss) - R$

(5,069

)

(10,088

)

Fair value adjustment of debt - R$

(486

)

11,756


Financial result of the debt - R$

(6,330

)

(5,914

)

Average effective cost - DI %

99.9

 


99.9


 

The foreign exchange hedging instruments and commodities designated as fair value hedge are as described below and are concentrated in subsidiary IPP. The purpose of this relationship is to transform the cost of the imported product from fixed to variable until fuel blending, as occurs with the price adopted in its sales. IPP carries out these operations with over-the-counter derivatives that are designated in a hedge accounting relationship, as a fair value hedge in an amount equivalent to the inventories of imported product.

 

In thousands

12/31/2022

 


12/31/2021


Notional amount – US$

309,113



188,621


Result of hedging instruments - gain/(loss) - R$

(891,223

)

(129,670

)

Adjustment of inventory fair value – US$

34,126

 


(4,352

)

 

For further information, see Note 17.



Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


h.2 Cash flow hedge

 

Until March 31, 2022, the Company and its subsidiaries had designated, as cash flow hedge for protection against variations arising from exchange rate changes, derivative financial instruments to hedge firm commitments and non-derivative financial instruments to hedge highly probable future transactions.

 

Since April 1, 2022, the exchange rate hedging instruments for highly probable future transactions designated as cash flow hedges, referring to notes in the foreign market, no longer impact the Company and its subsidiaries due to the sale of Oxiteno (totaling US$ 386,787 as of December 31, 2021), and a realized loss was recognized in the statement of income in the amount of R$ 506,375 as of December 31, 2022 (unrealized gain in the amount of R$ 7,880 as of December 31, 2021), net of deferred IRPJ and CSLL. The impacts and balances of cash flow hedge were recognized at Oxiteno, and presented as “Held for sale” and “Discontinued operations”.

 

h.3 Net investment hedge in foreign entities

 

Until March 31, 2022, the Company and its subsidiaries had designated, as net investment hedge in foreign entities, notes in the foreign market, for hedging net investment in foreign entities, to offset changes in exchange rates.

 

As of April 1, 2022, the balance of notes in the foreign market designated as net investment hedge in foreign entities, referring to part of the investments made in entities that have a functional currency other than the Brazilian Real, no longer impact the Company and its subsidiaries due to the sale of Oxiteno (totaling US$ 95,000 as of December 31, 2021), and a gain was recognized in “Other comprehensive income” in the amount of R$ 52,837 as of December 31, 2022 (loss of R$ 24,064 as of December 31, 2021), net of deferred IRPJ and CSLL. The effects of exchange rate variation on investments and notes in the foreign market were offset in equity. The impacts and balances of net investments hedge in foreign entities were recognized at Oxiteno, and presented as “Held for sale” and “Discontinued operations”.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


i. Classes and categories of financial instruments and their fair values

 

The fair values and the carrying amounts of the financial instruments, including foreign exchange and interest rate hedging instruments, are stated below:

 

 

 

Carrying value

 

Fair value


December 31, 2022

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2



Level 3


Financial assets:

 

 

 


 

 


 

 


 

 


 



 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 



 


Cash and banks

5.a

-

 


-

 


111,797

 


111,797

 


-



-


Fixed-income securities in local currency

5.a

-

 


-

 


5,204,766

 


5,204,766

 


-



-


Fixed-income securities in foreign currency

5.a

-

 


-

 


305,206

 


305,206

 


-



-


Financial investments

 

 

 


 

 


 

 


 

 


 



-


Fixed-income securities and funds in local currency

5.b

406,683

 


-

 


-

 


-

 


406,683



-


Fixed-income securities and funds in foreign currency

5.b

-

 


-

 


-

 


-

 


-



-


Foreign exchange, interest rate and commodity hedging instruments

5.b

556,510

 


-

 


-

 


-

 


556,510



-


Trade receivables

6.a

-

 


-

 


4,533,327

 


4,504,245

 


-



-


Reseller financing

6.b

-

 


-

 


1,234,634

 


1,234,613

 


-



-


Financial liabilities of customers

6.c

-

 


-

 


1,096,565

 


1,096,565

 


-



-


Total

 

963,193

 


-

 


12,486,295

 


12,457,192

 


963,193



-


Financial liabilities:

 

 

 


 

 


 

 


 

 


 



 


Financing

17.a

1,216,341

 


-

 


3,973,816

 


3,971,551

 


1,216,341



-


Debentures

17.a

3,575,195

 


-

 


2,460,698

 


-

 


5,949,028



-


Foreign exchange, interest rate and commodity hedging instruments

17.a

524,312

 


-

 


-

 


-

 


524,312



-


Trade payables

18.a

-

 


-

 


4,710,952

 


4,710,952

 


-



-


Trade payables – reverse factoring

18.b

-

 


-

 


2,666,894

 


2,666,894

 


-



-


Stock warrant – indemnification (1)

24

42,776

 


-

 


-

 


-

 


42,776



-


Financial liabilities of customers

 

450,586

 


-

 


-

 


450,586

 


-



-


Contingent consideration

34.a

89,640

 


-

 


-

 


-

 


-



89,640


Total

 

5,898,850

 


-

 


13,812,360

 


11,799,983

 


7,732,457



89,640




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

 

Carrying value

 


Fair value


December 31, 2021

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2


Financial assets:

 

 

 


 

 


 

 


 

 


 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 


Cash and banks

5.a

-

 


-

 


334,547

 


334,547

 


-


Fixed-income securities in local currency

5.a

-

 


1,943,164

 


-

 


-

 


1,943,164


Fixed-income securities in foreign currency

5.a

2,363

 


-

 


-

 


2,363

 


-


Fixed-income securities and funds in local currency

5.b

1,607,608

 


-

 


-

 


1,607,608

 


-


Fixed-income securities and funds in foreign currency

5.b

-

 


103,239

 


-

 


-

 


103,239


Foreign exchange, interest rate and commodity hedging instruments

5.b

472,552

 


-

 


-

 


-

 


472,552


Trade receivables

6.a

-

 


-

 


3,438,995

 


3,367,012

 


-


Reseller financing

6.b

-

 


-

 


998,034

 


992,359

 


-


Total

 

2,082,523

 


2,046,403

 


4,771,576

 


6,303,889

 


2,518,955


Financial liabilities:

 

 

 


 

 


 

 


 

 


 


Financing

17.a

1,011,374

 


-

 


8,082,323

 


8,380,088

 


1,011,374


Debentures

17.a

2,487,244

 


-

 


4,599,525

 


4,529,439

 


2,487,244


Leases payable

14

-

 


-

 


1,348,311

 


1,348,311

 


-


Foreign exchange, interest rate and commodity hedging instruments

17.a

197,177

 


-

 


-

 


-

 


197,177


Trade payables

18

-

 


-

 


5,727,724

 


5,727,724

 


-


Stock warrant – indemnification (1)

24

51,296

 


-

 


-

 


-

 


51,296


Total

 

3,747,091

 


-

 


19,757,883

 


19,985,562

 


3,747,091




Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


 

The fair value of financial instruments, including foreign exchange and interest hedging instruments, was determined as described below:

 


The fair value of cash and banks are identical to their carrying values.

Financial investments in investment funds are valued at the fund unit value as of the date of the financial statements, which corresponds to their fair value.

Financial investments in CDBs (Bank Certificates of Deposit) and similar instruments offer daily liquidity through repurchase at the “yield curve” and the Company calculates their fair value through methodologies commonly used for mark to market.

The fair values of trade receivables and trade payables approximate their carrying amounts and the Company calculates their fair value through methodologies commonly used in the market.

The subscription warrants – indemnification were measured based on the share price of Ultrapar (UGPA3) as of the financial statements date and are adjusted to the Company’s dividend yield, since the exercise is only possible from 2020 onwards and they are not entitled to dividends until then. The number of shares of subscription warrants – indemnification was also adjusted according to the changes in the amounts of provision for tax, civil, and labor risks and contingent liabilities related to the period prior to January 31, 2014 (see Note 24).

The fair value calculation of notes in the foreign market of Ultrapar International is based on the quoted price in an active market (see Note 17).


The fair value of other financial investments, hedging instruments, financing and leases payable was determined using calculation methodologies commonly used for mark-to-market reporting, which consist of calculating future cash flows associated with each instrument adopted and adjusting them to present value at the market rates as of the date of the financial statements. For some cases where there is no active market for the financial instrument, the Company and its subsidiaries can use quotes provided by the transaction counterparties.

 

The interpretation of market information on the choice of calculation methodologies for the fair value requires considerable judgment and estimates to obtain a value deemed appropriate to each situation. Consequently, the estimates presented do not necessary indicate the amounts that may be realizable.

 

Financial instruments were classified as financial assets or liabilities measured at amortized cost, except for (i) all exchange rate and interest rate hedging instruments, which are measured at fair value through profit or loss, financial investments classified as measured at fair value through profit or loss and financial investments that are classified as measured at fair value through other comprehensive income (see Note 5.b), (ii) loans and financing measured at fair value through profit or loss (see Note 17), (iii) guarantees to customers that have vendor arrangements (see Note 17), which are measured at fair value through profit or loss, and (iv) subscription warrants – indemnification, which are measured at fair value through profit or loss (see Note 24). Cash, banks, trade receivables and reseller financing are classified as financial assets measured at amortized cost. Trade payables and other payables are classified as financial liabilities measured at amortized cost.

 

The financial instruments are classified in the following categories:

 

(a) Level 1 – prices negotiated (without adjustment) in active markets for identical assets or liabilities;

 

(b) Level 2 – inputs other than prices negotiated in active markets included in Level 1 and observable for the asset or liability, either directly (as prices) or indirectly (derived from prices).

 

(c) Level 3 - inputs for assets or liabilities that are not based on observable market variables (unobservable inputs). 


F-138


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated



a. Contracts

 

Subsidiary Ultracargo Logística has agreements with CODEBA, with Complexo Industrial Portuário Governador Eraldo Gueiros and with Empresa Maranhense de Administração Portuária, in connection with its port facilities in Aratu, Suape and Itaqui, respectively. Such agreements establish a minimum cargo movement, as shown below:

 

Port

Minimum movement per year

Maturity

Aratu (*)

900,000 ton.

2022

Suape

250,000 ton.

2027

Suape

400,000 ton.

2029

Aratu

465,403 ton.

2031

Itaqui

1,468,105 m3

2049

 

(*) Contract in renovation phase with the competent organ.


If the annual movement is less than the minimum contractual movement, the subsidiary is liable to pay the difference between the effective movement and the minimum contractual movement, based on the port tariff rates in effect on the date established for payment. As of December 31, 2022, these rates were R$ 8.71 and R$ 3.05 per ton for Aratu and Suape, respectively, and R$ 0.94 per m³ for Itaqui. According to contractual conditions and tolerances, as of December 31, 2022, there were no relevant pending issues regarding the minimum purchase limits of the contract.

 

b. Port area lease

 

On April 9, 2021, the Company, through its subsidiary Ultracargo Logística, won the auction for leasing the IQI13 area at the Itaqui port, State of Maranhão, for storage and handling of liquid bulk products, especially fuels. In the leased area, a new terminal will be built with a minimum installed capacity of 79 thousand cubic meters. The lease will have a minimum duration of 20 years according to the auction notice. For this capacity, investments of approximately R$ 310 million are estimated, including the amount related to the grant, to be disbursed in up to six years after signing of the contract on August 17, 2021.


F-139


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated

 

 

a. Stella GD Intermediação de Geração Distribuída de Energia Ltda

 

On October 1, 2022, by means of subsidiary Ultragaz Comercial Ltda., the Company acquired all shares of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The transaction qualifies as a business combination as defined in IFRS 3  – Business Combinations. This acquisition marks Ultragaz's entry into the electricity segment, in line with its strategy of expanding its offering of energy solutions to its customers, leveraging on its capillarity, commercial strength, the Ultragaz brand and its extensive base of industrial and residential customers.

 

Founded in 2019, Stella is a technology platform that connects renewable electric power generators and customers, in form of Distributed Generation. The company has a footprint in 12 States, has more than 11 thousand active customers and offered power of approximately 75 MWp (Mega-Watt peak).

 

The total amount paid for the company was R$ 63,000, with an initial payment of R$ 7,560. The remaining amount of the acquisition will be settled in 2027, subject to adjustments relating to Stella’s performance achievement conditions ("contingent consideration” or “earnout”).

 

The Company, based on applicable accounting standards, is determining the balance sheet as of the acquisition date, the fair value of assets and liabilities and, consequently, goodwill. The purchase price allocation (”PPA”) will be completed in 2023.

 

The Company, supported by an independent appraisal firm, estimated the provisional amounts for the purchase price allocation and determined the provisional goodwill in the amount of R$ 99,679, based on the amount already paid on the transaction date, and the estimated fair value relating to the future payment of earnout.

 

The earnout is determined based on contractual goals set for revenue and the accounting net cash flow to be achieved in the year ending December 31, 2026. The Company estimated the fair value of the earnout based on the discounted cash flow method and projections of earnings as estimated by Management.


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


The table below summarizes the provisional balances of assets acquired and liabilities assumed on the acquisition date, subject to adjustment for purchase price allocation and goodwill determination:

 

Assets

 


Cash and cash equivalents

1,586


Receivables

17


Other receivables

119


Property, plant and equipment

515


Intangible assets

902


Goodwill based on expected future profitability

99,679


Liabilities

 


Trade payables

14


Salaries and related charges

217


Taxes payable

9


Other payables

5,378


Acquisition value

97,200





Comprised by

 


Cash

7,560


Contingent consideration to be settled

89,640


Total consideration

97,200



Net cash outflow resulting from the acquisition

 


Consideration in cash

7,560


Cash and cash equivalents acquired

(1,586

)

Total

5,974


 

The contribution of the acquired company's results to the Company's results if the business combination had occurred on January 1, 2022 is considered immaterial, as well as the contribution to the Company's results since October 1, 2022.

 

Earnout sensitivity analysis

 

The following table shows information on how the fair value of the contingent consideration was determined considering the basic assumptions used to define earnout. The following sensitivity analyses as of December 31, 2022, as shown below, were determined based on possible changes of assumptions, keeping all other assumptions constant.

 

Goals


Changes in goals


Increase in liability

 

Changes in goals


Decrease in liabilities


Accounting net cash flow and net revenue


increase by 25.0 p.p.


33,146

 

decrease by 25.0 p.p.


26,940



F-141


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


34 Events after the reporting period

 

  1. Financings raised by the subsidiary Cia Ultragaz S.A.

 

On January 19, 2023, the subsidiary Companhia Ultragaz S.A. raised foreign financing  (without financial covenants) in the amount of JPY 12,564,392 (equivalent to R$ 500,000 at the time of the transaction), with financial charges of 1.3125% p.a. and maturity on March 19, 2025. The subsidiary contracted hedging instruments for the interest rate in Japanese yen and the exchange variation, changing financial charges to 109.40% of the DI.


On March 30, 2023, the subsidiary Companhia Ultragaz S.A. raised foreign financing  (without financial covenants)  in the amount of USD 100,000 (equivalent to R$ 508,040 at the time of the transaction), with financial charges of USD + 4.5815% p.a. and maturity on July 30, 2024. The subsidiary Companhia Ultragaz S.A. contracted hedging instruments for the interest rate in Dollars and the exchange variation, changing financial charges to 110.90% of the DI.

 

b.  Conclusion (“closing”) of an agreement for the acquisition of NEOgás by Ultragaz.


On November 21, 2022, Ultrapar through its subsidiary Companhia Ultragaz S.A (“Ultragaz”), signed an agreement for the acquisition of all shares of NEOgás do Brasil Gás Natural Comprimido S.A. ("NEOgás"). The transaction was closed on February 1, 2023 after the approval of Administrative Council for Economic Defense (CADE). The acquisition value is R$ 165 million, subject to customary working capital and net debt adjustments. This acquisition marks Ultragaz's entry into the compressed natural gas distribution segment and, in addition, NEOgás is an ideal platform to enable biomethane distribution opportunities. This transaction reinforces Ultragaz’s strategy of expanding its offering of energy solutions to its industrial customers, making use of its capillarity, commercial strength and brand. 


c.  Brazilian Federal Supreme Court (“STF”)  decision of stare decisis on taxes paid


On February 8, 2023, the Brazilian Federal Supreme Court (“STF” or the “Court”) concluded its judgment on the effects of stare decisis on taxes paid on a continuous basis and declared that judicial decisions entered in decentralized constitutional control proceedings shall be immediately vacated when a new contrary judgment is entered by the Court in a direct constitutional control proceeding or in a proceeding with general repercussion. The STF’s decision also rejected to apply any modulation on the effects of its judgment and determined that any outstanding taxes shall be payable, provided that the applicable statutes of limitations are duly observed.


The Company and its subsidiaries assessed the impacts of said judgment and concluded that no relevant impact on the financial statements or use of proceeds in the relevant period shall result from said decision.


d.  Issuance of Extrafarma subscription bonus shares


On February 15, 2023, the Company’s Board of Directors confirmed the issuance of 31,211 common shares. Such issuance occurred within the limits of the authorized capital asset forth in Art. 6 of the Company's Bylaws and was made due to the partial exercise of the rights conferred by the subscription warrants (see Note 24) which were issued by the Company in connection with the acquisition of Extrafarma in 2014. As the date of this annual report, considering the issuance of such shares, the share capital of the Company is represented by 1,115,204,291 common shares, all of which are registered and with no par value. 


F-142


Ultrapar Participações S.A. and Subsidiaries

 

Notes to the consolidated financial statements

For the years ended December 31, 2022 and 2021

Amounts expressed in thousands of Brazilian Reais, except where otherwise stated


e.  Funding of a bank credit bill by Ipiranga


On March 30, 2023, Ipiranga raised a Bank Credit Bill (without financial covenants) in the amount of R$500 million, with financial charges of 109.40% of the DI and rate renegotiation in April 2024, with maturity on April 02, 2025


f. Acquisition of 50% stake in Opla by Ultracargo


On April 19, 2023, Ultracargo signed an agreement for the acquisition of a 50% stake in Opla, held by Copersucar S.A. The value of the transaction is R$237.5 million, subject to customary working capital and net debt adjustments. As of the date of this annual report, the transaction was still subject to approval by the CADE.


Opla, which was founded in 2017, is the largest independent terminal of ethanol in Brazil. Located in Paulínia (state of São Paulo), it has an installed tank capacity of 180 thousand m3 and offers integrated storage and logistics solutions through railways, pipelines and road transportation. It is jointly controlled by BP Biofuels Brazil Investments Ltd. (“BP”) and Copersucar, both with 50% stake. With the approval of the acquisition, Ultracargo and BP will be co-controllers of Opla.


The acquisition of this stake in Opla marks Ultracargo's entry into the inland liquid bulk storage and logistics segment, integrated with port terminals, in line with its growth plan. Opla is a strategic asset in the ethanol and derivatives distribution chain, with high growth potential and value creation by opening the terminal to third parties and relevant productivity gains in the use of the asset.


F-143

Exhibit 2.9

 

DESCRIPTION OF SECURITIES REGISTERED UNDER SECTION 12 OF THE EXCHANGE ACT

As of December 31, 2022, Ultrapar Participações S.A. (“Ultrapar,” the “Company,” “we,” “us,” and “our”) had the following classes of securities registered pursuant to Section 12(b) of the Securities Exchange Act of 1934:

 

 

 

 

 

 

 

  

Title of each class

 

Trading symbol(s)

Name of each exchange
on which registered

  

Common shares without par value*

 

New York Stock Exchange*

  

American Depositary Shares**,

each representing one common share

 

UGP

New York Stock Exchange**

*        Not for trading, but only in connection with the registration of the American depositary shares (the “ADSs”), representing such common shares, pursuant to the requirements of the SEC.

**      Evidenced by American depositary receipts (“ADRs”).

Capitalized terms used but not defined in this Exhibit 2.9 shall have the meaning given to such terms in the Ultrapar’s Annual Report on Form 20-F for the fiscal year ended December 31, 2022 (the2022 Form 20-F”).

COMMON SHARES

The following description of Ultrapar’s common shares is a summary of selected significant provisions of our bylaws and the Brazilian Corporate Law, the rules and regulations of the CVM and the Novo Mercado listing segment of the B3 regarding certain corporate matters applicable to us. This description is subject to and qualified in its entirety by reference to our bylaws, Brazilian Corporate Law, the rules and regulations of the CVM and the rules of the Novo Mercado. An English translation of the bylaws is incorporated by reference as Exhibit 1.1 to the 2022 Form 20-F. A copy of our bylaws (together with an English translation) is also available for inspection at our website (https://ri.ultra.com.br/).

General

Our common shares are listed and admitted to trade on the Novo Mercado segment of the B3 under the ticker symbol “UGPA3. Our common shares are listed on the New York Stock Exchange not for trading, but only in connection with the registration of the ADS representing such common shares, pursuant to the requirements of the SEC.

We are registered with the commercial registry of the state of São Paulo under the registration number 35,300,109,724. Pursuant to chapter I, article 3 of our bylaws, our main corporate purpose is the investment of our capital in the trade, industry and agriculture sectors and in companies providing services, through the subscription for or acquisition of shares or quotas in other companies.


Description of Capital Stock


As of December 31, 2022, our subscribed and paid-in capital stock consisted of 1,115,173,080 common shares, all of which have equal voting and equity rights, with no par value, of which 26,158,983 common shares were held in treasury.

In February 2023 and August 2022, the Board of Directors confirmed the issuance of 31,211 and 21,472 common shares, respectively, due to the partial exercise of the subscription warrants issued by the Company as of the approval of the Extrafarma transaction described in this Form 20 F. As a consequence of this issuances, as of the date of this annual report, the Company’s capital stock is represented by 1,115,204,291 common shares, all nominative, with no par value. Since no additional payment for exercising the subscription warrants is due, the issuance did not result in any change in the amount of the capital stock.

1



Novo Mercado

As a result of our common shares being listed on the Novo Mercado, we are required to comply with heightened requirements for corporate governance. In addition, we are not permitted to issue preferred shares or any shares with restricted voting rights while listed on this segment pursuant to its rules. As of January 2, 2018, the new rules for Novo Mercado came into effect and our bylaws reflects said rules since April 10, 2019.

Voting Rights

Each common share entitles its holder to one vote at the matters of the shareholders’ meetings, in accordance with the Brazilian Corporate Law, our bylaws and the Novo Mercado regulations.

In addition, our bylaws and Brazilian Corporate Law provide that holders of common shares are entitled to dividends or other distributions made with respect to such common shares proportionate to their holding of common stock. In the event of our liquidation and after payment of all our liabilities, shareholders are entitled to a return of capital proportionate to their share of common stock. Holders of our common shares may participate in future capital increases and are generally entitled to preemptive rights to obtain new shares under Brazilian Corporate Law. See “—Preemptive Rights.”

According to Brazilian Corporate Law, neither our bylaws nor actions taken at a shareholders’ meeting may deprive a shareholder of the following rights:

              the right to participate in the distribution of profits;

 

              the right to participate in any remaining residual assets in the event of liquidation of our company;

 

              preemptive rights in the event of issuance of shares, convertible debentures or warrants, except in certain specific circumstances under Brazilian Corporate Law described in “—Preemptive Rights;”

 

              the right to inspect and supervise, in the manner set forth in Brazilian Corporate Law, the management of corporate business; and

 

              the right to withdraw from the company in the cases specified in Brazilian Corporate Law, which are described in “—Withdrawal Rights”, except in certain specific circumstances under Brazilian Corporate Law.

Shareholders’ Meetings

A general shareholders’ meeting must be convened and held in accordance with the requirements of Brazilian Corporate Law. Shareholders’ meetings are called by the publication of a notice on at least three occasions in a widely circulating newspaper of the State of São Paulo, our principal place of business, and its website. As determined by Brazilian Corporate Law, the first notice of a shareholders’ meeting shall be given at least 21 days prior to holding the meeting. However, CVM rules require that companies whose shares are also represented by ADSs must convene a shareholdersmeeting no later than 30 days in advance. In addition to such newspaper publication, the CVM requires that all documents related to the agenda to be deliberated upon on the meeting are filed with the CVM and filed on the CVM website (www.cvm.gov.br), as well as being made available at the Company’s headquarters and on its website, and also made available on the website of the B3.

Holders of shares voting at a general shareholders’ meeting have the exclusive power to: (i) amend our bylaws; (ii) elect or dismiss members of the Board of Directors, at any time; (iii) install our fiscal council and elect its members; (iv) approve the yearly accounts by management and to accept or reject management’s financial statements, including the allocation of net profits and the Distributable Amount (as defined below) for payment of the mandatory distribution and allocation to the various reserve accounts; (v) authorize the issuance of debentures considering the terms of our bylaws; (vi) suspend the rights of a shareholder in the event such shareholder does not comply with obligations imposed by law or our bylaws; (vii) accept or reject in-kind contributions offered by a shareholder in consideration for issuance of capital stock; (viii) pass resolutions to reorganize the legal form of, merge, consolidate or split the company, to dissolve and liquidate the company, to elect and dismiss our liquidators and to examine their accounts; and (ix) authorize management to declare us insolvent and to file for judicial reorganization (a procedure involving protection from creditors available under Brazilian law).


2


Except as otherwise provided by Brazilian Corporate Law, a general shareholders’ meeting may be held if shareholders representing at least one-quarter of the voting capital are present. If no such quorum is present, a second notice must again be given eight days in advance, and a meeting may then be convened without any specific quorum requirement, subject to the minimum quorum and voting requirements for certain matters, as described below. A shareholder whose voting rights have been suspended for any reason may still attend the general shareholders’ meeting and take part in the discussion of matters submitted for consideration.

Except as otherwise provided by law, resolutions passed at a general shareholders’ meeting are passed by a simple majority vote, with abstentions not being taken into account. In general, each share has the right to one vote. Under Brazilian Corporate Law and in accordance with our bylaws, the approval of shareholders representing at least one-half of the issued and outstanding shares is required for the following types of action: (i) creating a new class of shares that has a priority, preference, right, condition or redemption or amortization superior to an existing class of shares, such as preferred shares (in which case we would be required to delist from the Novo Mercado segment in accordance with its rules); (ii) changing the mandatory distribution; (iii) changing the corporate purpose; (iv) entering into any merger, consolidation or reorganization of the company; (v) dissolving or liquidating the company, and (vi) participation in a group of companies defined under Brazilian Corporate Law. In the case of (i), the vote of the holders of a majority of issued and outstanding shares of the affected class is also required.

General shareholders’ meetings are called and convened by the chairman of our Board of Directors and are presided over by the chairman of our Board of Directors, or a person designated by him. The chairman of the meeting shall select a secretary from among the meeting’s attendees. Shareholders’ meetings also may be called by (i) any shareholder, if our Board of Directors fails to call a shareholders’ meeting within 60 days after the date on which it is so required; (ii) shareholders holding at least five percent of our shares if our Board of Directors fails to call a meeting within eight days after receipt of a justified request to call the meeting and by those shareholders indicating the proposed agenda; (iii) shareholders holding at least five percent of our shares if our Board of Directors fails to call a meeting within eight days after receipt of a request to call the meeting to form a fiscal council; and (iv) our fiscal council, if one exists, in the event that the Board of Directors fails to call an annual general shareholders’ meeting within a month of the required date. The fiscal council may also call an extraordinary general shareholders’ meeting in the specific context set forth in Brazilian Corporate Law.


Location of Our Shareholders’ Meeting

Our shareholders’ meetings usually take place at our headquarters in the City of São Paulo, located in the State of São Paulo. Brazilian Corporate Law permits us to hold shareholders meetings elsewhere in the event of force majeure, provided that the meetings are held in the City of São Paulo and notice of the meeting clearly indicates where the meeting is to occur.

Also, pursuant to the terms of Resolution 81/22 from CVM, the Shareholders Meeting may occur through a digital platform; accordingly, the shareholders shall attend at the meeting through remote voting form; and through digital platform, in person or by attorney-in-fact duly appointed.


Conditions of Admission

Our bylaws provide that, in order to attend a shareholders’ meeting, each shareholder must furnish a share statement issued by the bookkeeping or custodian institution that indicates the number of shares of record held. The Company shall determine the deadline for the shareholders to furnish the share statement on the notice of the shareholders meeting. Shareholders represented by proxies must send to the Company the respective power of attorney also prior to the meeting. The proxy must have been appointed less than a year prior to the meeting, and the power of proxy must be granted to a shareholder, corporate officer, lawyer or financial institution.

The shareholders which are investment funds must send the company, within the same period mentioned in the paragraph above: (i) evidence of the capacity of fund manager conferred upon the individual or legal entity representing the shareholder at the shareholders’ meeting, or the proxy granting such powers; (ii) the corporate action of the manager, in case it is a legal entity, granting powers to the representative attending the shareholders’ meeting or to whom the power of attorney has been granted; and (iii) in the event the representative or proxy is a legal entity, the same documents referred to in (ii) above, as related thereto.

We will verify in good faith the validity of the documents showing the capacity of a shareholder’s representative and will presume the truthfulness of the credible statements made by such representative. However, shareholders will be prohibited from participating in any meeting if such shareholder or its representative fails to present the respective power of attorney or the custodian’s statement (if shares are held through a custodian institution).


3



In the event a shareholder participates in a meeting without proper representation as mentioned in the paragraph above, or in case such shareholder does not own the number of shares claimed to be owned by it, we will notify such shareholder about the issue and will disregard the votes cast by such shareholder at the meeting. In addition, regardless of whether we hold another shareholders’ meeting to vote on the same matters, such shareholders will be liable for any losses and damages arising from their acts.

Should a dispute arise with respect to exclusion from a meeting under such circumstance, the dispute will be submitted to arbitration as provided for in the Novo Mercado regulations and pursuant to our bylaws.

Board of Directors

The Management is composed of the Board of Directors and by our Executive Officers. As of December 31, 2022, our Board of Directors consisted of ten members, all of them being non-executive members and six of whom were independent, according to the Brazilian Novo Mercado Listing Rules. One member of the Board was an executive officer until December 2012 and one member was our executive officer until December 2021. On April 19, 2023, a new composition of the Board of Directors was elected for a two-year term. Our Board of Directors now consists of 9 members, seven of whom are independent according to the Brazilian Novo Mercado Listing Rules. The non-independent members are related, directly or indirectly, to Ultra S.A. and one of them is also our CEO.

Our Board of Directors must meet every three months and extraordinarily whenever called by its chairman or by any two directors. During 2022, nine board meetings were held.

Each meeting of the Board of Directors requires the majority of the directors to be present, including the chairman or the vice-chairman, before the meeting may commence. The vote of the majority of the members present is required for the approval of a resolution by the Board of Directors. In case of a tie, the chairman, or in the chairman’s absence, the vice chairman, will provide the casting vote. In case of urgency, the chairman of our Board of Directors (or a third party that he/she may appoint) may call a special meeting of the Board of Directors with a shorter notice period than the usual; provided, however, that two-thirds of board members are present in order to commence such special meeting. Among other responsibilities, the Board of Directors is responsible for (i) setting general guidelines, (ii) electing and removing executive officers, supervising their management and fixing their compensation, (iii) deliberating on the issuance of new shares, within the limits of our authorized capital, (iv) authorizing the distributions of dividends and interest on shareholders’ equity, (v) approving transactions with value exceeding five percent of our shareholders’ equity, (vi) approving our dissolution or merger and (vii) select and dismiss the independent auditors. Pursuant to Brazilian law, the Board of Directors must be elected by the shareholders at the general shareholders’ meeting.

Members of the Board of Directors are elected for a period of two years and may be reelected.

Our bylaws require that at least one-third or two, whichever is higher, of the members of our Board of Directors be independent directors, which exceeds the 20% required by the Novo Mercado segment regulation. In addition, our bylaws set forth that the election of the members of the Board of Directors must be made through the nomination of a slate of candidates, unless cumulative voting is requested. Only the following slates of candidates will be eligible; (i) those nominated by the Board of Directors; or (ii) those nominated by any shareholder or group of shareholders.

When electing members to the Board of Directors, shareholders will be entitled to request, as required by law and our bylaws, the adoption of a cumulative voting process, provided that they do so within, at least, forty-eight hours in advance of the shareholders’ meeting. The minimum percentage of capital necessary for requesting the cumulative voting process is 5% of the shares. In the event the election has been conducted by cumulative voting, the removal of any member of the Board of Directors by the shareholders’ meeting shall entail the removal of the other members, giving rise to a new election.

4


Dividends and Profit Reserve Accounts

The bylaws of a Brazilian company may establish a minimum percentage of the profit that must be paid to shareholders as mandatory dividends. The amounts due as dividends may be paid as interest on net equity. Our bylaws approved at the extraordinary and annual general shareholders’ meeting held on April 13, 2022 provides for a mandatory distribution equal to 25% of the adjusted net profit, after the allocation of 5% of the net profit to the legal reserve.

Brazilian Corporate Law defines the “net profit” as the results of the relevant fiscal year, reduced by accumulated losses of prior fiscal years, provisions for income tax and social contribution on the net profit for such fiscal year, and amounts allocated to employees’ and management’s participation on the results in such fiscal year.


Under Brazilian Corporate Law, the net profit may be reduced or increased by the following:

Legal reserves. We are required to maintain a legal reserve to which we must allocate 5% of our net profit until the amount of our legal reserve equals 20% of paid-in capital. We are not required to make any allocations to the legal reserve for any fiscal year in which such reserve, when added to our capital reserves, exceeds 30% of our capital stock. Accumulated losses, if any, may be charged against the legal reserve. Other than that, the legal reserve can only be used to increase our capital.

Statutory reserves. Under Brazilian Corporate Law, any corporation may create statutory reserves, in which case it shall be provided in its respective bylaws. In this case, the bylaws must also indicate the reserve purpose, allocation criteria and maximum amount of reserve. As provided in our bylaws, we may allocate up to 75% of our adjusted net profit to an investment reserve, up to the limit of 100% of our capital stock.

Contingency reserves. Under Brazilian Corporate Law, our shareholders may decide, upon a proposal of our Board of Directors, to allocate a discretionary amount of our net profit to a contingency reserve for estimated future losses, which are deemed probable. The distributable amount may be further increased by the reversal of such reserve in the fiscal year when the reasons that justified the creation of such reserve cease to exist or in which the anticipated loss occurs. Accordingly, there is no specific percentage of net profit allocable to this type of reserve.

Unrealized profits reserves. Under Brazilian Corporate Law, when the mandatory dividend amount exceeds the realized net profits in a given fiscal year, our shareholders may elect, upon a proposal of our Board of Directors, to allocate some or all of the excess dividend amount to any unrealized profits reserve. Brazilian Corporate Law defines “realized” net profits as the amount by which the company’s net profits exceed the sum of (1) its net positive results, if any, from the equity method of accounting for earnings and losses of the company’s subsidiaries and certain of its affiliates and (2) the profits, gains or returns that will be received by the company after the end of the next fiscal year. The distributable amount is increased by the profits that were allocated to such reserve when they are realized.


5



Income tax exemption reserve. Under Brazilian Corporate Law, the portion of the net profit derived from donations or governmental incentives directed to investments, can be excluded of the Distributable Amount.

Retained profits reserve. Under Brazilian Corporate Law, our shareholders may decide to retain a discretionary amount of our net profits that is provided for in a budget approved in the general shareholders’ meeting, upon the proposal of its Board of Directors, for the expansion of our installations and other investment projects. After the conclusion of the relevant investments, we may retain the reserve until the shareholders approve the transfer of the reserve, in full or in part, to its capital or to the accumulated profits reserve. In accordance with Brazilian Corporate Law, if a project to which part of the reserve has been allocated has a term exceeding one year, the budget for such project must be approved by the general shareholders’ meeting each fiscal year through the conclusion of the project.

Brazilian Corporate Law provides that all statutory allocations of net profit, including the unrealized profits reserve and the reserve for investment projects, are subject to approval by the shareholders voting at a general shareholders’ meeting and may be used for capital increases or for the payment of dividends in subsequent years. The legal reserve is also subject to approval by the general shareholders’ meeting and may be transferred to capital or used to absorb losses, but is not available for the payment of dividends in subsequent years.

The balance for the profit reserve accounts, except for the contingency reserve and unrealized profits reserve, may not exceed the share capital. If this happens, our shareholders must determine whether the excess will be applied to pay in the subscribed and unpaid capital, to increase and pay in the subscribed stock capital or to distribute dividends.

The profits unallocated to the accounts mentioned above must be distributed as dividends.

A company is permitted to allocate to the unrealized profits reserves all income from equity gains in subsidiaries that are not distributed to the company in the form of cash dividends. When such gains are distributed to the company in the form of cash dividends, the company is required to reverse the reserve. In addition to the mandatory distribution, the Board of Directors may recommend to the shareholders the payment of interim distributions from other funds that are legally available for such purposes. Any payment of an interim dividend may be set off against the amount of the mandatory dividend distribution for that fiscal year.

As an alternative form of payment of dividends, Brazilian companies may distribute interest on capital, which payments may be treated by a company as a deductible expense for income and social contribution taxes purposes. Payments of interest on capital may be made at the discretion of our Board of Directors, subject to the approval of the holders of our common shares. Payments of interest attributed to shareholders’ equity, net of withholding tax, may be distributed as part of the minimum mandatory dividends, to the extent that it does not exceed the limits described below. This interest is calculated in accordance with the daily pro rata variation of the Brazilian government’s long-term interest rate (TJLP), as determined by the Central Bank from time to time, and cannot exceed the greater of:

Under Brazilian Corporate Law, a company may suspend the mandatory distribution either in the form of dividends or payments of interest on capital if the shareholders at the general shareholders’ meeting determine, based on the Board of Directors’ proposal, which is reviewed by the Fiscal Council when installed, that payment of the mandatory distribution for the preceding fiscal year would be inadvisable in light of the company’s financial condition. The management of the Company must report to the CVM such suspension within five days of the relevant general shareholders’ meeting. Under Brazilian law, mandatory distributions that are suspended and not offset against losses in future years must be paid as soon as the financial condition of the company permits.


6



We declare and pay dividends and/or interest on capital, pursuant to Brazilian Corporate Law and our bylaws. Our Board of Directors may approve the distribution of dividends and/or interest on capital, calculated based on our annual or semiannual financial statements or on financial statements relating to shorter periods. The amount of any distributions will depend on a series of factors, such as our financial condition, prospects, macroeconomic conditions, tariff adjustments, regulatory changes, growth strategies and other issues our Board of Directors and our shareholders may consider relevant.

 Holders of our common shares are entitled to receive dividends declared by us solely from the date of the subscription and/or acquisition of such common shares.

Payment of Dividends

Within the four months following the end of each fiscal year, our shareholders are required to hold an annual general shareholders’ meeting to decide, among other things, on the allocation of our net profits with respect to the fiscal year ended immediately prior to the shareholders’ meeting and the payment of an annual dividend. Additionally, interim dividends may be declared by our Board of Directors. Under Brazilian Corporate Law, dividends are generally required to be paid within 60 days following the date the dividend was declared, unless a shareholders’ resolution sets forth another date of payment, which, in either case, must occur prior to the end of the fiscal year in which such dividend was declared. Pursuant to Brazilian civil law, unclaimed dividends revert to us three years after the date when we begin to pay such declared dividends.

Shareholders who are not residents of Brazil must register with the Central Bank to have dividends, sales proceeds or other amounts with respect to their common shares eligible to be remitted in foreign currency outside of Brazil. The shares underlying the ADSs will be held in Brazil by Itaú Corretora de Valores S.A., as agent for the Depositary. For purposes of the registration requirement, the Depositary is deemed to be the stockholder of the common shares underlying the ADSs. The Depositary will register such common shares with the Central Bank. Payments of cash dividends and distributions, if any, will be made in Brazilian currency to the Custodian on behalf of the Depositary. The Custodian will then convert such proceeds into U.S. dollars and will cause such U.S. dollars to be delivered to the Depositary for distribution to holders of ADSs. In the event that the Custodian is unable to convert immediately the Brazilian currency received as dividends into U.S. dollars, the amount of U.S. dollars payable to holders of ADSs may be adversely affected by devaluations of the Brazilian currency that may occur before such dividends are converted and remitted. Dividends in respect of the common shares paid to shareholders who are not Brazilian residents, including holders of ADSs, are exempt from Brazilian withholding tax except for dividends declared based on profits generated prior to December 31, 1995. Distributions of interest attributable to shareholders’ equity are currently subject to withholding tax at a rate of 15%, or 25% in the case of a shareholder domiciled in a “tax haven.” See “Item 10.E. Additional Information—Taxation—Brazilian Tax Considerations in the 2022 Form 20-F.

Withdrawal Rights

Holders of shares have a right of redemption (appraisal rights) in certain limited circumstances. Under Brazilian Corporate Law and subject to the rules set forth on such law, a dissenting shareholder may seek redemption of his or her shares upon a decision made at a shareholders’ meeting: (i) to create a new class of shares that has a priority, preference, right, condition or redemption or amortization superior to an existing class of shares, such as preferred shares (in which case we would be required to delist from the Novo Mercado segment in accordance with its rules); (ii) to reduce the mandatory distribution of dividends; (iii) to change our corporate purposes; (iv) to transfer all of our shares to another company in order to make us a wholly owned subsidiary of such company (incorporação); (v) to participate in a group of companies, subject to the limits set forth in Brazilian Corporate Law; or (vi) to merge with another company The right to redemption lapses thirty days after publication of the minutes of the relevant shareholders’ meeting. We would be entitled to reconsider any action giving rise to redemption rights within ten days following the expiration of such rights if the redemption of shares of dissenting shareholders would jeopardize our financial stability.

Shares are redeemable at their book value, determined on the basis of the last balance sheet approved by the shareholders. If the shareholders’ meeting giving rise to redemption rights occurs more than 60 days after the date of the last approved balance sheet, a shareholder may demand that its shares be valued on the basis of a new balance sheet that is as of a date within 60 days of such shareholders’ meeting.

Redemption

Under Brazilian Corporate Law, our shareholders may decide at an extraordinary shareholders’ meeting to require us to redeem its outstanding shares. Share redemption may be paid for using our profits, profit reserves or capital reserves. If the share redemption is not applicable to all shares, the redemption will be made by lottery. If custody shares are picked in the lottery and there are no rules established in the custody agreement, the financial institution will specify the shares to be redeemed on a pro rata basis.


7



Registration of Shares

All of our shares are kept in book-entry form and held in a deposit account with a financial institution authorized by the CVM, in the name of their holders, without certificates issued. The transfer and record cost, as well as the cost of the services relating to our book-entry shares, may be charged directly to the shareholder by the bookkeeping institution.

Preemptive Rights

Each of our shareholders has a general preemptive right to subscribe for shares in any capital increase in proportion to its shareholding. A minimum period of 30 days following the publication of notice of the capital increase is allowed for the exercise of the right, and the right is negotiable. You may not be able to exercise preemptive rights in respect of shares represented by ADSs unless a registration statement under the Securities Act is effective or an exemption from the registration requirement thereunder is available.

Under the terms of Article 172 of Brazilian Corporate Law and our bylaws, our Board of Directors may waive preemptive rights or reduce the period for the exercise thereof with respect to the issuance of new shares, debentures convertible into our shares and warrants up to the limit of our authorized stock capital if the distribution of those securities is carried out through: (i) a stock exchange, (ii) a public tender offer or (iii) an exchange offer for shares in a public tender offer the purpose of which is to acquire control of another company.

Restriction on Certain Transactions by Controlling Shareholders, Directors and Officers

We, members of our Board of Directors, executive officers, members of our fiscal council, if installed, members of any technical or advisory body or whomever which, by virtue of its title, duty or position in us, or in our controlling shareholders, controlled companies or affiliates, have knowledge of a material fact, and any other person who has knowledge of material information and knows it has not been disclosed to the market (including auditors, analysts, underwriters and advisers), are considered insiders. Insiders may not trade our securities or derivatives of our securities prior to the disclosure of such material information to the market.

Such restriction will apply, without limitation, (i) if we intend to merge or combine with another company, consolidate, sell part or all of our assets or reorganize, until such information is disclosed to the market; (ii) if an agreement for the transfer of our control has been executed, or if an option or mandate for such effect has been granted, until such information is disclosed to the market; (iii) during the 15-day period prior to the disclosure of our quarterly and annual financial statements required by CVM; and (iv) to the controlling shareholders, if any, the officers, and members of the Board of Directors, whenever we, or any of our controlled companies, affiliates or companies subject to the same control, are in process of purchasing or selling shares issued by us.

Restriction on Certain Transactions outside Our Corporate Purposes

Brazilian Corporate Law prohibits us from undertaking any business practices inconsistent with our corporate purpose and core business.

Arbitration

The company, its shareholders, directors and executive officers and members of the compensation committee, statutory audit committee and fiscal council, if installed, are required to submit to arbitration at the Market Arbitration Tribunal, any and all disputes or controversies arising between them, either related to or resulting from the application, validity, effectiveness, interpretation, violation and their effects, of the provisions set forth in Law 6,404/76, in our bylaws, in the rules enacted by the CVM, as well as other rules applicable to capital markets in general, in addition to those set forth in the rules of the Novo Mercado, in the Arbitration Regulation, in the Sanctions Regulation and in Novo Mercado Participation Agreement.


8



Deregistration as Publicly-Held Company

We may only deregister as a publicly-held company if such deregistration is approved by a majority of the shareholders present at a shareholders’ meeting, which shall be conditioned to: (i) the launching of a public tender offer for the acquisition of all of our outstanding shares in accordance with the provisions of Brazilian Corporate Law, the CVM rules and regulations, the Novo Mercado regulation and our bylaws by us, our controlling shareholders or a group of controlling shareholders and (ii) the acceptance of at least two thirds (2/3) of the shareholders representing the free float that show up at the tender offer auction (whether by selling its shares or expressly agreeing with the deregistration), in which case we would become a privately-held company. The price offered for such outstanding shares must at least correspond to the fair value of such shares as set forth in the respective appraisal report issued by a specialized institution with proven experience hired by the offeror for the purposes of the tender offer.

Shareholders holding at least ten percent of the free float of our shares may require our management to call a special shareholders’ meeting to determine whether to perform another valuation using the same or a different valuation method. This request must be made within 15 days following the disclosure of the price to be paid for the shares in the public tender offer. If the new valuation price is equal to or lower than the original valuation price, the shareholders making such request as well as those who vote in its favor must reimburse the Company for any costs incurred in preparing the new appraisal report. If the new valuation price is higher than the original valuation price, the offeror shall then decide whether to proceed with the public tender offer observing the new price or withdraw the tender offer, in which case the Company will continue to be registered as a publicly-held company.

Withdrawal from the Novo Mercado

According to the new Novo Mercado Listing Rules – applicable as of January 2, 2018 – and to our bylaws, as further amended, the withdrawal from the Novo Mercado may be: (i) voluntary; or (ii) mandatory, as a result of the violation of any the rules of the Novo Mercado or the deregistration as publicly-held company.

The withdrawal, however, shall only occur after the launching of a public tender offer for the Company’s outstanding shares, which shall (i) follow, as applicable, the CVM regulation that rules that the mandatory tender offer for the deregistration as publicly-held company (including the abovementioned possibility to request a second valuation report); (ii) be launched at a fair price, as appointed in the appraisal report issued by a specialized institution with proven experience for the purposes of the tender offer; and (iii) be approved by at least one third (1/3) of the shareholders representing the free float that participate in the tender offer auction (whether by selling its shares or expressly agreeing with the withdrawal from the Novo Mercado).

The obligation to launch such public tender offer, however, may be waived by the majority of the shareholders representing the Company’s free float present at the shareholders’ meeting convened to resolve on that matter. Such shareholders’ meeting may be held on first call with the attendance of shareholders representing two thirds (2/3) of the free float or, on second call, with the attendance of any number of shareholders representing the free float.

The withdrawal from the Novo Mercado does not necessarily result in our deregistration as a publicly-held company on the B3.

If the Company participates in a corporate reorganization involving the transfer of its shareholders’ base to a company that is not listed in the Novo Mercado, such resulting company or companies must apply for listing on Novo Mercado within one hundred and twenty (120) days from the date of the general shareholders meeting that approved the reorganization, unless the majority of the shareholders representing the Company’s free float present at such shareholders’ meeting agrees with the non-listing of the resulting company.

Pursuant to the new rules of the Novo Mercado and to our new bylaws, the voluntary withdrawal shall be preceded by a public tender offer at fair market value. For the withdrawal to move forward, shareholders representing more than one third (1/3) of the outstanding shares shall need to accept the tender offer or expressly agree to delist without selling the shares.

According to the rules of the Novo Mercado, in the event of a transfer of our shareholding control within 12 months following our delisting from the Novo Mercado, the selling controlling shareholder(s) and the acquirer must offer to acquire the remaining shares for the same price and terms offered to the selling controlling shareholders, duly updated, or pay the difference, if any, between the tender offer price accepted by the former shareholders, duly updated, and the price obtained by the controlling shareholder in selling its shares.


9



Sale of Control

In the event of a direct or indirect sale of the Company’s shareholding control, through a single or series of transactions, the acquirer must conduct a public tender offer for all shares held by the remaining shareholders in order to ensure equal treatment of all shareholders (tag-along right). Such right has been provided to Ultrapar’s shareholders since March 22, 2000, in accordance with the terms of the Ultra S.A. shareholders’ agreement signed on the same date, which has since then been rescinded and replaced by our bylaws. The tender offer is subject to applicable laws and regulations, our bylaws and the rules of the Novo Mercado.

A public tender offer is also required when there is an assignment for consideration of share subscription rights or rights of other securities convertible into our shares, which results in the transfer of control of the Company. In such case, the acquiring shareholder must (i) complete a public tender offer for our remaining shares on the same terms and conditions offered to the selling shareholder and (ii) according to our bylaws, reimburse the counterparties from whom it has acquired our shares on the stock exchange in the six-month period preceding the transaction which resulted in a change in control. The reimbursement amount corresponds to the positive difference between the price paid to the selling shareholder in the transaction that resulted in a change of control and the adjusted price paid in the transactions carried out on the B3 during this six-month period, as adjusted by the SELIC rate up until the payment date.

The buyer of a controlling interest shall, after the financial settlement of the foregoing tender offer, take the appropriate actions to, over the course of the subsequent 18 months, restore the minimum percentage of outstanding shares as per the rules of the Novo Mercado.

Acquisition of a Relevant Interest

Any person, regardless of whether he/she is a shareholder, which, on his/her own account or acting jointly with another person, acquires our shares, through a single transaction or a series of successive transactions, representing 20% or more of our capital stock, is required to make a tender offer for the acquisition of the shares held by the remaining shareholders at a price equal to the highest value per share paid by him/her in the preceding six months, adjusted pursuant to the SELIC rate. Such persons will not be required to carry out a public tender offer in the event they timely and cumulatively sell on a stock exchange the number of our shares that exceeds such thresholds, within 30 days from the date they provide notice to the Company of their intent to make such sales. In addition, the requirement to carry out a public tender offer will not apply in the event any shareholder or group of shareholders hold more than 50% of our capital stock at the time of acquisition of the relevant interest.

Public Tender Offers

A single public tender offer may be launched for more than one of the purposes provided for in our bylaws, the Novo Mercado Listing rules, the Brazilian Corporate Law or in the regulations issued by the CVM, provided that the procedures used when conducting the unified public tender offer are compatible with all requirements of each individual public tender offer, the public tender offers do not suffer any damages and the authorization of the CVM is obtained, when required by the applicable law.

Purchases of Our Shares by Us

Our Board of Directors may approve the acquisition of our shares by us. The acquisition of our shares for cancellation or maintenance in treasury may not, among other actions (i) result in a reduction of our share capital; (ii) require the use of resources greater than our retained earnings or reserves (other than the legal reserve, unrealized profit reserve, revaluation reserve, and special mandatory dividend reserves) as recorded in our most recent balance sheet; (iii) create, directly or indirectly, any artificial demand, supply or share price condition, or use any unfair practice as a result of any action or omission; (iv) be conducted during the course of a public tender offer for the purchase of our shares; or (v) be used to purchase shares not fully paid or held by our controlling shareholder.

We cannot hold in treasury more than 10 percent of our total outstanding shares, including the shares held by our subsidiaries and affiliates.

Resolution 77/22 from CVM determines specific cases where the acquisition of our shares by the company itself must be approved by the shareholders’ meeting. Moreover, subject to certain limitations, we may acquire or issue put options or call options related to our shares.


10



AMERICAN DEPOSITARY SHARES

The following description of Ultrapar’s ADSs is a summary and does not purport to be complete. This description is subject to and qualified in its entirety by reference to the amended and restated deposit agreement dated March 2, 2018 between Ultrapar, The Bank of New York Mellon, as depositary (the “depositary”) and all owners and beneficial owners from time to time of the American depositary shares (“ADSs”) issued thereunder (the “deposit agreement”), including the form of ADRs. For more complete information, you should read the entire deposit agreement and the form of ADR. The form of deposit agreement (including the form of ADR) is incorporated by reference as Exhibit 2.9 to the 2022 Form 20-F. As used in this section, “you” means an owner or beneficial owner of ADSs.


General


The ADRs are listed and traded on the New York Stock Exchange. Our common shares are listed on the New York Stock Exchange not for trading, but only in connection with the registration of the ADS representing such common shares, pursuant to the requirements of the SEC.

The depositary has executed and delivered, and may from time to time execute and deliver, ADRs. Each ADR is a certificate representing a specific number of ADSs. Each ADS represents one common share (or a right to receive one common share) deposited with the principal São Paulo office of Itaú Corretora de Valores S.A., as agent for the depositary. Each ADS also represent any other securities, cash or other property, which may be held by the depositary. The depositary’s office at which the ADRs are administered and its principal executive office is located at 240 Greenwich Street, New York, New York 10286.

You may hold ADSs either directly (by having an ADR registered in your name) or indirectly through your broker or other financial institution. If you hold ADSs directly, you are an ADR holder. This description assumes you hold your ADSs directly. If you hold the ADSs indirectly, you must rely on the procedures of your broker or other financial institution to assert the rights of ADR holders described in this section. You should consult with your broker or financial institution to find out what those procedures are.

As an ADR holder, we will not treat you as one of our shareholders and you will not have shareholder rights, which are governed by Brazilian law. The depositary will be the holder of the shares underlying your ADSs. As a holder of ADRs, you will have ADR holder rights. The deposit agreement sets out the ADR holder rights as well as the rights and obligations of the depositary. New York law governs the deposit agreement and the ADRs.

Dividends and Other Distributions

How will you receive dividends and other distributions on the shares?

The depositary has agreed to pay you the cash dividends or other distributions it or the custodian receives on shares or other deposited securities, after deducting its fees and expenses. You will receive these distributions in proportion to the number of shares your ADSs represent.

 

 

 

Cash. The depositary will convert any cash dividend or other cash distribution we pay on the shares into U.S. dollars, if it can do so on a reasonable basis and can transfer the U.S. dollars to the United States. If that is not possible, or if any government approval is needed and cannot be obtained, the deposit agreement allows the depositary to distribute the foreign currency only to those ADR holders to whom it is possible to do so. With respect to the foreign currency that is not distributed, the depositary may either (i) distribute such foreign currency to the ADR holder upon its request or (ii) hold the foreign currency for the account of the ADR holders who have not been paid. It will not invest the foreign currency and it will not be liable for any interest.

 

11



Before making a distribution, the depositary will deduct any withholding taxes that must be paid. It will distribute only whole U.S. dollars and cents and will round fractional cents to the nearest whole cent. If the exchange rates fluctuate during a time when the depositary cannot convert the foreign currency, you may lose some or all of the value of the distribution.

 

 

 

Shares. The depositary, after consulting with us, may, and if we request, must, distribute additional ADSs representing any shares we distribute as a dividend or free distribution. The depositary will only distribute whole ADSs. It will try to sell shares which would require it to deliver a fractional ADS and distribute the net proceeds in the same way as it does with cash. The depositary may also sell a portion of the distributed shares to pay fees and expenses in connection with the distribution. If the depositary does not distribute additional ADRs, the outstanding ADSs will also represent the new shares.

 

 

 

Rights to purchase additional shares. If we offer holders of our securities any rights to subscribe for additional shares, or any other rights, the depositary may, after consulting with us, make these rights available to you. If the depositary decides it is not legal and practical to make these rights available after consulting with us, it may sell the rights and distribute the proceeds in the same way it does with cash. The depositary will allow rights that are not distributed or sold to lapse. In that case, you will receive no value for them.

If the depositary makes rights available to you, it will exercise the rights and acquire the shares on your behalf. The depositary will then deposit the shares and deliver ADSs to you. It will only exercise these rights if you pay the exercise price and any other charges the rights require you to pay.

U.S. securities laws may restrict transfers and cancellation of the ADSs represented by shares purchased upon exercise of rights. For example, you may not be able to trade these ADSs freely in the United States. In this case, the depositary may deliver restricted depositary shares that have the same terms as the ADRs described in this section except for changes needed to put the necessary restrictions in place.

 

 

 

Other Distributions. The depositary will, after consulting with us, send you anything else we distribute on deposited securities by any means it believes is legal, fair and practical. If it cannot make the distribution in that way, the depositary has a choice. It may decide to sell what we distributed and distribute the net proceeds, in the same way as it does with cash. Alternatively, it may decide to hold what we distributed, in which case ADSs will also represent the newly distributed property. The depositary may sell a portion of the distributed property to pay fees and expenses in connection with the distribution.

The depositary is not responsible if it decides that it is unlawful or impractical to make a distribution available to any ADR holders. We have no obligation to register ADSs, shares, rights or other securities under the Securities Act. We also have no obligation to take any other action to permit the distribution of ADRs, shares, rights or anything else to ADR holders. This means that you may not receive the distributions we make on our shares or any value for them if it is illegal or impractical for us to make them available to you.

Deposit and Withdrawal

How are ADSs issued?

The depositary will deliver ADSs if you or your broker deposits shares or evidence of rights to receive shares with the custodian. Upon payment of its fees and expenses and of any taxes or charges, such as stamp taxes or stock transfer taxes or fees, the depositary will register the appropriate number of ADSs in the names you request and will deliver the ADRs at its office to the persons you request.

How do ADS holders cancel an ADR and obtain shares?

You may surrender your ADRs at the depositary’s office. Upon payment of its fees and expenses and of any taxes or charges, such as stamp taxes or stock transfer taxes or fees, the depositary will deliver the shares and any other deposited securities underlying the ADR to you or a person you designate at the office of the custodian. Alternatively, at your request, risk and expense, the depositary will deliver the deposited securities at its office, if feasible.


12



Voting Rights

How do you vote?

You may instruct the depositary to vote the number of shares your ADSs represent. The depositary will notify you of shareholders’ meetings and arrange to deliver our voting materials to you if we ask it to. Those materials will describe the matters to be voted on and explain how you may instruct the depositary how to vote. For instructions to be valid, they must reach the depositary by the date set by the depositary.

The depositary will try, as far as practical, subject to Brazilian law and the provisions of our organizational documents, to vote the number of shares, or other deposited securities represented by your ADSs, as you instruct. The depositary will only vote or attempt to vote as you instruct, or as described below.

We cannot ensure that you will receive voting materials or otherwise learn of an upcoming shareholders’ meeting in time to ensure that you can instruct the depositary to vote your shares. In addition, the depositary and its agents are not responsible for failing to carry out voting instructions or for the manner in which the voting instructions are carried out. This means that you may not be able to vote and you may have no recourse if your shares are not voted as you requested.

If we asked the depositary to solicit your instructions and the depositary does not receive voting instructions from you by the specified date, it will consider you to have authorized and directed it to give a discretionary proxy to a person designated by us to vote the number of deposited securities represented by your ADSs. The depositary will give a discretionary proxy in those circumstances to vote on all questions to be voted upon.

Fees and Expenses

The following table summarizes the fees and expenses payable by holders of ADSs:

Persons depositing or withdrawing shares must pay:

 

For

 

$5.00 (or less) per 100 ADSs (or portion of 100 ADSs)

(i) Issuance of ADSs, including issuances resulting from a distribution of shares or rights or other property

(ii) Cancellation of ADSs for the purpose of withdrawal, including if the Deposit Agreement terminates

$0.05 (or less) per ADSs

Any cash distribution

A fee equivalent to the fee that would be payable if securities distributed to you had been shares and the shares had been deposited for issuance of ADSs

Distribution of securities to holders of deposited securities which are distributed by the depositary to ADS holders

$0.05 (or less) per ADS (or portion thereof) per annum

Depositary services

Registration or transfer fees

Transfer and registration of shares on our share register to or from the name of the depositary or its agent when you deposit or withdraw shares

Expenses of the depositary

(i) Cable(including SWIFT) and facsimile transmissions (when expressly provided in the deposit agreement)

(ii) Converting foreign currency to U.S. dollars

Taxes and other governmental charges the depositary or the custodian have to pay on any ADS or share underlying an ADS, for example, stock transfer taxes, stamp duty or withholding taxes

As necessary

Any charges incurred by the depositary or its agents for servicing the deposited securities

As necessary


The depositary collects its fees for delivery and surrender of ADSs directly from investors depositing shares or surrendering ADSs for the purpose of withdrawal or from intermediaries acting for them. The depositary collects fees for making distributions to investors by deducting those fees from the amounts distributed or by selling a portion of distributable property to pay the fees. The depositary may collect its annual fee for depositary services through a deduction from cash distributions, by directly billing investors or by charging the book-entry system accounts of participants acting for them. The depositary may generally refuse to provide fee-attracting services until its fees for those services are paid.


13



Payment of Taxes

The depositary may deduct the amount of any taxes owed from any payments to investors who hold ADSs. It may also sell deposited securities, by public or private sale, to pay any taxes owed. Investors who hold ADSs will remain liable if the proceeds of the sale are not sufficient to pay the taxes. If the depositary sells deposited securities, it will, if appropriate, reduce the number of ADSs to reflect the sale and pay to investors who hold ADSs any proceeds, or send investors who hold ADSs any property, remaining after it has paid the taxes.

Reclassifications, Recapitalizations and Mergers

 

 

If we:

  

Then:

      Change the par value of our shares

 

      Reclassify, split up or consolidate any of the deposited securities

 

      Distribute securities on the shares that are not distributed to you

 

      Recapitalize, reorganize, merge, liquidate, sell all or substantially all of our assets, or take any similar action

  

The cash, shares or other securities received by the depositary will become deposited securities. Each ADS will automatically represent its equal share of the new deposited securities.

 

The depositary may distribute some or all of the cash, shares or other securities it received. It may also deliver new ADRs or ask you to surrender your outstanding ADRs in exchange for new ADRs identifying the new deposited securities.

Amendment and Termination

How may the deposit agreement be amended?

We may agree with the depositary to amend the deposit agreement and the ADRs without your consent for any reason. If an amendment adds or increases fees or charges, except for taxes and other governmental charges or expenses of the depositary for registration fees, facsimile costs, delivery charges or similar items, or prejudices a substantial right of ADR holders, it will not become effective for outstanding ADRs until 30 days after the depositary notifies ADR holders of the amendment. At the time an amendment becomes effective, you are considered, by continuing to hold your ADR, to agree to the amendment and to be bound by the ADRs and the deposit agreement as amended. 

How may the deposit agreement be terminated?


The depositary will terminate the deposit agreement if we ask it to do so. The depositary may also terminate the deposit agreement if the depositary has told us that it would like to resign and we have not appointed a new depositary bank within 60 days. In either case, the depositary must notify you at least 30 days before termination.

After termination, the depositary and its agents’ actions under the deposit agreement will be limited to the following: (1) advise you that the deposit agreement is terminated, (2) collect distributions on the deposited securities (3) sell rights and other property, and (4) deliver shares and other deposited securities upon cancellation of ADRs. One year or more after termination, the depositary may sell any remaining deposited securities by public or private sale. After that, the depositary will hold the money it received from the sale, as well as any other cash it is holding under the deposit agreement for the pro rata benefit of the ADR holders that have not surrendered their ADRs. It will not invest the money and has no liability for interest. The depositary’s only obligations will be to account for the money and other cash. After termination of the deposit agreement our only obligations will be to indemnify the depositary and to pay fees and expenses of the depositary that we agreed to pay.

14



Limitations on Obligations and Liability

The deposit agreement expressly limits our obligations and the obligations of the depositary. It also limits our liability and the liability of the depositary. We and the depositary:

 

 

 

are only obligated to take the actions specifically set forth in the deposit agreement without negligence or bad faith;

 

 

 

are not liable if either of us is prevented or delayed by law or circumstances beyond our control from performing our obligations under the deposit agreement;

 

 

 

are not liable if either of us exercises discretion permitted under the deposit agreement;

 

 

 

have no obligation to become involved in a lawsuit or other proceeding related to the ADRs or the deposit agreement on your behalf or on behalf of any other person unless it is indemnified on a basis satisfactory to it; and

 

 

 

may rely upon any documents we believe in good faith to be genuine and to have been signed or presented by the proper party.

In the deposit agreement, we agree to indemnify the depositary for acting as depositary, except for losses caused by the depositary’s own negligence or bad faith, and the depositary agrees to indemnify us for losses resulting from its negligence or bad faith.

Requirements for Depositary Actions

Before the depositary will deliver or register a transfer of an ADR, make a distribution on an ADR, or permit withdrawal of shares or other property, the depositary may require:

 

 

 

payment of stock transfer or other taxes or other governmental charges and transfer or registration fees charged by third parties for the transfer of any shares or other deposited securities;

 

 

satisfactory proof of the identity and authenticity of any signature or other information it deems necessary; and

 

 

 

compliance with regulations it may establish, from time to time, consistent with the deposit agreement, including presentation of transfer documents.

The depositary may refuse to deliver ADRs or register transfers of ADRs generally when the transfer books of the depositary or our transfer books are closed or at any time if the depositary or we think it advisable to do so.


15



Your Right to Receive the Shares Underlying your ADRs

You have the right to cancel your ADRs and withdraw the underlying shares at any time except:

 

 

 

When temporary delays arise because: (i) the depositary has closed its transfer books or we have closed our transfer books; (ii) the transfer of shares is blocked to permit voting at a shareholders’ meeting; or (iii) we are paying a dividend on our shares.

 

 

 

When you owe money to pay fees, taxes or similar charges.

 

 

 

When it is necessary to prohibit withdrawals in order to comply with any laws or governmental regulations that apply to ADRs or to the withdrawal of shares or other deposited securities.

This right of withdrawal may not be limited by any other provision of the deposit agreement.

Pre-release of ADRs

The deposit agreement permits the depositary to deliver ADRs before deposit of the underlying shares, which is referred to as a pre-release of the ADR. The depositary may also deliver shares upon surrender of pre-released ADRs (even if the ADRs are surrendered before the pre-release transaction has been closed out). A pre-release is closed out as soon as the underlying shares are delivered to the depositary. The depositary may receive ADRs instead of shares to close out a pre-release. The depositary may pre-release ADRs only under the following conditions: (i) before or at the time of the pre-release, the person to whom the pre-release is being made represents to the depositary in writing that it or its customer owns the shares or ADRs to be deposited; (ii) the pre-release is fully collateralized with cash or other collateral that the depositary considers appropriate; (iii) the depositary must be able to close out the pre-release on not more than five business days’ notice and (iv) any other indemnities and credit regulations are provided in which the depositary may deem necessary. In addition, the depositary will limit the number of ADSs that may be outstanding at any time as a result of pre-release, although the depositary may disregard the limit from time to time, if it thinks it is appropriate to do so.

Shareholder communications; inspection of register of holders of ADSs

The depositary will make available for your inspection at its office all communications that it receives from us as a holder of deposited securities that we make generally available to holders of deposited securities. The depositary will send you copies of those communications if we ask it to. You have a right to inspect the register of holders of ADSs, but not for the purpose of contacting those holders about a matter unrelated to our business or the ADSs.


16



Exhibit 12.1

Ultrapar Participações S.A. and Subsidiaries

CERTIFICATION PURSUANT TO SECTION 302 OF THE SARBANES-OXLEY ACT OF 2002

I, Marcos Marinho Lutz, certify that:

1.       I have reviewed this annual report on Form 20-F of ULTRAPAR PARTICIPAÇÕES S.A. (the “Company”);

2.       Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;

3.       Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the Company as of, and for, the periods presented in this report;

4.       The Company’s other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the Company and have:

a)       Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the Company, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;

b)       Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;

c)        Evaluated the effectiveness of the Company’s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and

d)       Disclosed in this report any change in the Company’s internal control over financial reporting that occurred during the period covered by the annual report that has materially affected, or is reasonably likely to materially affect, the Company’s internal control over financial reporting; and

5.       The Company’s other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the Company’s independent registered public accounting firm and to the audit committee of the Company’s Board of Directors (or persons performing the equivalent function):

a)       All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the Company’s ability to record, process, summarize and report financial information; and

b)       Any fraud, whether or not material, that involves management or other employees who have a significant role in the Company’s internal control over financial reporting.

Date: April 25, 2023

ULTRAPAR PARTICIPAÇÕES S.A.

 

By:

/S/ MARCOS MARINHO LUTZ

Name:

Marcos Marinho Lutz

Title:

Chief Executive Officer



Exhibit 12.2

Ultrapar Participações S.A. and Subsidiaries

CERTIFICATION PURSUANT TO SECTION 302 OF THE SARBANES-OXLEY ACT OF 2002

I, Rodrigo de Almeida Pizzinatto, certify that:

1.       I have reviewed this annual report on Form 20-F of ULTRAPAR PARTICIPAÇÕES S.A. (the “Company”);

2.       Based on my knowledge, this report does not contain any untrue statement of a material fact or omit to state a material fact necessary to make the statements made, in light of the circumstances under which such statements were made, not misleading with respect to the period covered by this report;

3.       Based on my knowledge, the financial statements, and other financial information included in this report, fairly present in all material respects the financial condition, results of operations and cash flows of the Company as of, and for, the periods presented in this report;

4.       The Company’s other certifying officer and I are responsible for establishing and maintaining disclosure controls and procedures (as defined in Exchange Act Rules 13a-15(e) and 15d-15(e)) and internal control over financial reporting (as defined in Exchange Act Rules 13a-15(f) and 15d-15(f)) for the Company and have:

a)       Designed such disclosure controls and procedures, or caused such disclosure controls and procedures to be designed under our supervision, to ensure that material information relating to the Company, including its consolidated subsidiaries, is made known to us by others within those entities, particularly during the period in which this report is being prepared;

b)       Designed such internal control over financial reporting, or caused such internal control over financial reporting to be designed under our supervision, to provide reasonable assurance regarding the reliability of financial reporting and the preparation of financial statements for external purposes in accordance with generally accepted accounting principles;

c)        Evaluated the effectiveness of the Company’s disclosure controls and procedures and presented in this report our conclusions about the effectiveness of the disclosure controls and procedures, as of the end of the period covered by this report based on such evaluation; and

d)       Disclosed in this report any change in the Company’s internal control over financial reporting that occurred during the period covered by the annual report that has materially affected, or is reasonably likely to materially affect, the Company’s internal control over financial reporting; and

5.       The Company’s other certifying officer and I have disclosed, based on our most recent evaluation of internal control over financial reporting, to the Company’s independent registered public accounting firm and to the audit committee of the Company’s Board of Directors (or persons performing the equivalent function):

a)       All significant deficiencies and material weaknesses in the design or operation of internal control over financial reporting which are reasonably likely to adversely affect the Company’s ability to record, process, summarize and report financial information; and

b)       Any fraud, whether or not material, that involves management or other employees who have a significant role in the Company’s internal control over financial reporting.

Date: April 25, 2023

ULTRAPAR PARTICIPAÇÕES S.A.

 

By:

/S/ RODRIGO DE ALMEIDA PIZZINATTO

Name:

Rodrigo de Almeida Pizzinatto

Title:

Chief Financial and Investor Relations Officer

Exhibit 13

Ultrapar Participações S.A. and Subsidiaries

CERTIFICATION PURSUANT TO SECTION 906 OF THE SARBANES-OXLEY ACT OF 2002

The certification set forth below is being submitted in connection with the Annual Report of Ultrapar Participações S.A. (the “Company”) for the year ended December 31, 2021 (the “Report”) for the purpose of complying with Rule 13a-14(b) or Rule 15d-14(b) of the Securities Exchange Act of 1934 (the “Exchange Act”) and Section 1350 of Chapter 63 of Title 18 of the United States Code.

Marcos Marinho Lutz, the Chief Executive Officer, and Rodrigo de Almeida Pizzinatto, the Chief Financial Officer of the Company, each certifies that, to the best of their respective knowledge:

1.        the Report fully complies with the requirements of Section 13(a) or 15(d) of the Securities Exchange Act of 1934; and

2.        the information contained in the Report fairly presents, in all material respects, the financial condition and results of operations of the Company.

Date: April 25, 2023

 

By:

/S/ MARCOS MARINHO LUTZ

Name:

Marcos Marinho Lutz

Title:

Chief Executive Officer

Date: April 25, 2023

 

By:

/S/ RODRIGO DE ALMEIDA PIZZINATTO

Name:

Rodrigo de Almeida Pizzinatto

Title:

Chief Financial and Investor Relations Officer

ULTRAPAR PARTICIPAÇÕES S.A.

 


v3.23.1
Cover Page
12 Months Ended
Dec. 31, 2022
shares
Document Information [Line Items]  
Document Type 20-F
Amendment Flag false
Document Period End Date Dec. 31, 2022
Current Fiscal Year End Date --12-31
Document Fiscal Year Focus 2022
Document Fiscal Period Focus FY
Document Registration Statement false
Document Annual Report true
Document Transition Report false
Document Shell Company Report false
Entity Registrant Name ULTRAPAR HOLDINGS INC.
Entity File Number 001-14950
Entity Central Index Key 0001094972
Entity Incorporation, State or Country Code D5
Entity Address, Address Line One Brigadeiro Luis Antônio Avenue, 1343, 9th Floor
Entity Address, City or Town São Paulo
Entity Address, Country BR
Entity Address, Postal Zip Code 01317-910
Title of 12(b) Security Common shares
Trading Symbol UGP
Security Exchange Name NYSE
Entity Common Stock, Shares Outstanding 1,089,014,097
Entity Well-known Seasoned Issuer Yes
Entity Voluntary Filers No
Entity Current Reporting Status Yes
Entity Interactive Data Current Yes
Entity Filer Category Large Accelerated Filer
Entity Emerging Growth Company false
Document Accounting Standard International Financial Reporting Standards
Entity Shell Company false
ICFR Auditor Attestation Flag true
Auditor Name Deloitte Touche Tohmatsu Auditores Independentes Ltda.
Auditor Firm ID 1045
Auditor Location São Paulo, Brazil
Business Contact [Member]  
Document Information [Line Items]  
Contact Personnel Name Rodrigo de Almeida Pizzinatto
Entity Address, Address Line One Brigadeiro Luis Antônio Avenue, 1343, 9th Floor
Entity Address, City or Town São Paulo
Entity Address, Country BR
Entity Address, Postal Zip Code 01317-910
City Area Code 55 11
Local Phone Number 3177 7014

v3.23.1
Consolidated Statements of Financial Position - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Current assets    
Cash and cash equivalents R$ 5,621,769 R$ 2,280,074
Financial investments and derivative financial instruments 520,352 1,804,122
Trade receivables 4,149,111 3,375,246
Reseller financing 559,825 582,562
Trade receivables - sale of subsidiaries 184,754 0
Inventories 4,906,083 3,918,772
Recoverable taxes 1,610,312 1,061,227
Recoverable income and social contribution taxes 96,134 291,833
Dividends receivable 4,296 147
Other receivables 174,153 56,205
Prepaid expenses 123,699 98,024
Contractual assets with customers - exclusivity rights 614,112 555,052
Assets held for sale 0 11,000,917
Total current assets 18,564,600 25,024,181
Non-current assets    
Financial investments and derivative financial instruments 442,841 379,277
Trade receivables 61,463 63,749
Reseller financing 501,522 415,472
Trade receivables - sale of subsidiaries 911,811 0
Related parties 0 490
Deferred income and social contribution taxes 898,235 571,755
Recoverable taxes 2,172,959 1,046,798
Recoverable income and social contribution taxes 403,383 155,358
Escrow deposits 946,383 871,261
Indemnification asset – business combination 126,558 120,991
Other receivables 61,433 29,748
Prepaid expenses 74,813 71,368
Contractual assets with customers - exclusivity rights 1,591,479 1,524,174
Total investments 111,384 78,593
Right-of-use assets 1,791,377 1,651,295
Property, plant and equipment 5,862,413 5,534,591
Intangible assets 1,918,349 1,471,256
Total non-current assets 17,876,403 13,986,176
Total assets 36,441,003 39,010,357
Current liabilities    
Loans, financing and derivative financial instruments 869,067 618,327
Debentures 2,491,610 2,247,724
Trade payables 4,710,952 3,670,895
Trade payables – reverse factoring 2,666,894 2,119,059
Salaries and related charges 460,906 330,103
Taxes payable 192,430 229,176
Dividends payable 48,525 202,860
Income and social contribution taxes payable 315,053 196,348
Post-employment benefits 21,809 21,082
Provision for asset retirement obligation 5,063 4,632
Provision for tax, civil and labor risks 22,837 119,942
Leases payable 225,034 188,832
Financial liabilities of customers 154,405  
Other payables 581,667 149,829
Liabilities directly associated with assets held for sale 0 2,541,421
Total current liabilities 12,766,252 12,640,230
Non-current liabilities    
Loans, financing and derivative financial instruments 4,845,393 8,672,547
Debentures 3,544,291 4,839,045
Related parties 3,492 3,534
Deferred income and social contribution taxes 299 282
Post-employment benefits 193,747 194,637
Provision for asset retirement obligation 46,695 52,079
Provision for tax, civil and labor risks 1,017,335 812,243
Leases payable 1,298,735 1,159,479
Financial liabilities of customers 296,181  
Subscription warrants – indemnification 42,776 51,296
Provision for unsecured liabilities of joint ventures and associates 157 0
Other payables 210,682 115,745
Total non-current liabilities 11,499,783 15,900,887
Equity    
Share capital 5,171,752 5,171,752
Equity instrument granted 43,987 34,043
Capital reserve 599,461 596,481
Treasury shares (479,674) (488,425)
Revaluation reserve on subsidiaries 3,975 4,154
Profit reserves 6,111,136 4,866,409
Accumulated other comprehensive income 179,974 (422,138)
Cumulative translation adjustments 0 304,645
Additional dividends to the minimum mandatory dividends 78,130 0
Equity attributable to:    
Shareholders of the Company 11,708,741 10,066,921
Non-controlling interests in subsidiaries 466,227 402,319
Total equity 12,174,968 10,469,240
Total liabilities and equity R$ 36,441,003 R$ 39,010,357

v3.23.1
Consolidated statement of income - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Consolidated statement of income      
Net revenue from sales and services R$ 143,634,708 R$ 109,732,842 R$ 74,058,056
Cost of products and services sold (136,276,257) (104,827,966) (70,056,447)
Gross profit 7,358,451 4,904,876 4,001,609
Operating income (expenses)      
Selling and marketing (2,141,985) (1,931,666) (1,611,152)
General and administrative (1,534,481) (1,466,551) (993,986)
Gain on disposal of property, plant and equipment and intangible assets 169,289 184,189 85,455
Other operating income (expenses), net (514,522) 96,166 64,034
Operating income (loss) 3,336,752 1,787,014 1,545,960
Share of profit (loss) of joint ventures and associates 12,181 (17,634) (44,031)
Income (loss) before finance result and income and social contribution taxes 3,348,933 1,769,380 1,501,929
Finance income 706,689 460,154 357,666
Finance expenses (2,175,897) (1,222,886) (908,014)
Financial result, net (1,469,208) (762,732) (550,348)
Income before income and social contribution taxes 1,879,725 1,006,648 951,581
Income and social contribution taxes      
Current (637,973) (430,280) (538,761)
Deferred 296,459 242,246 234,244
Income and social contribution taxes in the statement of income (341,514) (188,034) (304,517)
Net income from continuing operations 1,538,211 818,614 647,064
Discontinued operations 301,858 65,264 280,633
Net income for the year 1,840,069 883,878 927,697
Net Income attributable to:      
Shareholders of Ultrapar 1,800,839 850,463 893,383
Non-controlling interests in subsidiaries R$ 39,230 R$ 33,415 R$ 34,314
Earnings per share from continuing operations (based on the weighted average number of shares outstanding) – R$      
Basic R$ 1.3727 R$ 0.72 R$ 0.5625
Diluted 1.3643 0.7158 0.5592
Earnings per share from discontinued operations (based on the weighted average number of shares outstanding) – R$      
Basic [1] 0.2764 0.0598 0.2576
Diluted [1] 0.2747 0.0595 0.2561
Total earnings per share (based on weighted average number of shares outstanding) – R$      
Basic 1.6491 0.7799 0.8201
Diluted R$ 1.6391 R$ 0.7753 R$ 0.8152
[1] For further details, see Note 4.c.1.

v3.23.1
Consolidated Statements of Comprehensive Income - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Consolidated statements of comprehensive income      
Net income for the year R$ 1,840,069 R$ 883,878 R$ 927,697
Items that will be subsequently reclassified to profit or loss:      
Fair value adjustments of financial instruments of subsidiaries and joint ventures, net of taxes 602,480 7,274 (313,081)
Translation adjustments and hedge of net investments in foreign operations, net of taxes (304,645) 73,049 129,169
Items that will not be subsequently reclassified to profit or loss:      
Actuarial gains/(losses) of post-employment benefits, net of income and social contribution taxes (165) 46,610 (16,887)
Total comprehensive income for the year 2,137,739 1,010,811 726,898
Total comprehensive income for the year attributable to shareholders of the Ultrapar 2,098,306 966,364 703,879
Total comprehensive income for the year attributable to non-controlling interest in subsidiaries R$ 39,433 R$ 44,447 R$ 23,019

v3.23.1
Consolidated Statements of Changes in Equity - BRL (R$)
R$ in Thousands
Total
Share capital
Equity instrument granted
Capital reserve
Treasury shares
Revaluation reserve on subsidiaries
Legal Reserves
Investments statutory reserve
Accumulated other comprehensive income
Cumulative translation adjustments
Retained earnings
Additional dividends to the minimum mandatory dividends
Shareholders of the Company
Non-controlling interests in subsidiaries
Beginning balance at Dec. 31, 2019 R$ 9,835,175 R$ 5,171,752 R$ 11,970 R$ 542,400 R$ (485,383) R$ 4,522 R$ 705,341 R$ 3,290,073 R$ (146,317) R$ 102,427   R$ 261,470 R$ 9,458,255 R$ 376,920
Net income for the year 927,697                   R$ 893,383   893,383 34,314
Other comprehensive income:                            
Actuarial losses of post-employment benefits, net of income taxes (16,887)                          
Currency translation of foreign subsidiaries, including the effect of net investments hedge 129,169                          
Other comprehensive income (200,799)               (318,673) 129,169     (189,504) (11,295)
Total comprehensive income for the year 726,898               (318,673) 129,169 893,383   703,879 23,019
Issuance of shares related to the subscription warrants - indemnification 54,763     54,763                 54,763  
Stock plan (6,799)     (3,114) (3,685)               (6,799)  
Equity instrument granted 10,434   10,434                   10,434  
Income and social contribution taxes on realization of revaluation reserve of subsidiaries           (185)         185      
Transfer to statutory reserve               (774)     774      
Shareholder transaction – changes of investments                     42   42 (42)
Dividends attributable to non-controlling interests (24,379)                       (1,001) (23,378)
Approval of additional dividends by the Ordinary General Meeting (261,470)                     (261,470) (261,470)  
Allocation of net income:                            
Legal reserve             44,669       (44,669)      
Investments statutory reserve               368,966     (368,966)      
Proposed dividends (424,357)                   (479,748) 55,391 (424,357)  
Ending balance at Dec. 31, 2020 9,910,265 5,171,752 22,404 594,049 (489,068) 4,337 750,010 3,658,265 (464,990) 231,596   55,391 9,533,746 376,519 [1]
Net income for the year 883,878                   850,463   850,463 33,415 [1]
Other comprehensive income:                            
Actuarial losses of post-employment benefits, net of income taxes 46,610                          
Currency translation of foreign subsidiaries, including the effect of net investments hedge 73,049                          
Other comprehensive income 126,933               42,852 73,049     115,901 11,032 [1]
Total comprehensive income for the year 1,010,811               42,852 73,049 850,463   966,364 44,447 [1]
Issuance of shares related to the subscription warrants - indemnification 1,819     1,819                 1,819  
Equity instrument granted 12,895   11,639 613 643               12,895  
Realization of revaluation reserve of subsidiaries           (183)         183      
Dividends prescribed 11,816                   10,487   10,487 1,329 [1]
Gains arising from payments of fixed dividends to preferred shares of subsidiaries                     971   971 (971) [1]
Shareholder transaction – changes of investments               11,641     (11,641)      
Dividends attributable to non-controlling interests (19,005)                         (19,005) [1]
Approval of additional dividends by the Ordinary General Meeting (55,391)                     (55,391) (55,391)  
Allocation of net income:                            
Legal reserve             42,523       (42,523)      
Investments statutory reserve               403,970     (403,970)      
Proposed dividends (185,896)                   (185,896)   (185,896)  
Intermediary dividends (218,074)                   (218,074)   (218,074)  
Ending balance at Dec. 31, 2021 10,469,240 5,171,752 34,043 596,481 (488,425) 4,154 792,533 4,073,876 (422,138) 304,645 [2]     10,066,921 402,319 [1]
Net income for the year 1,840,069                   1,800,839   1,800,839 39,230 [1]
Other comprehensive income:                            
Actuarial losses of post-employment benefits, net of income taxes (165)                          
Currency translation of foreign subsidiaries, including the effect of net investments hedge (304,645)                          
Other comprehensive income 297,670               602,112 (304,645) [2]     297,467 203 [1]
Total comprehensive income for the year 2,137,739               602,112 R$ (304,645) [2] 1,800,839   2,098,306 39,433 [1]
Issuance of shares related to the subscription warrants - indemnification 941     941                 941  
Equity instrument granted 20,734   9,944 2,039 8,751               20,734  
Realization of revaluation reserve of subsidiaries           (179)         179      
Dividends prescribed 2,948                   2,948   2,948  
Shareholder transaction – changes of investments (6,567)             (6)     286   280 (6,847) [1]
Changes in ownership interests in subsidiaries (2,423)                       985 (2,423) [1]
Capital increase attributable to non-controlling interests 35,182                         35,182 [1]
Dividends attributable to non-controlling interests (1,437)                         (1,437) [1]
Allocation of net income:                            
Legal reserve             90,042       (90,042)      
Investments statutory reserve               1,154,691     (1,154,691)      
Additional minimum mandatory dividend (R$ 0.03 per share) (31,385)                   (35,385)   (31,385)  
Additional dividends to the minimum mandatory dividends (R$ 0.07 per share) (78,130)                   (78,130) R$ 78,130    
Interest on capital (R$ 0.41 per share) (450,004)                   R$ (450,004)   (450,004)  
Ending balance at Dec. 31, 2022 R$ 12,174,968 R$ 5,171,752 R$ 43,987 R$ 599,461 R$ (479,674) R$ 3,975 R$ 822,575 R$ 5,228,561 R$ 179,974       R$ 11,708,741 R$ 466,227 [1]
[1] Are substantially represented by non-controlling shareholders of Iconic.
[2] Cumulative translation adjustment from discontinued operation. The accumulated effects were reclassified to income as a result of the sale of Oxiteno (see note 4.b).

v3.23.1
Consolidated Statements of Changes in Equity (Parenthetical) - R$ / shares
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Consolidated statements of changes in equity    
Additional minimum mandatory dividend, per share R$ 0.03  
Additional dividends to the minimum mandatory dividends, per share R$ 0.07  
Interest on capital, per share   R$ 0.41
Proposed dividends, per share   0.17
Intermediary dividends, paid per share   R$ 0.2

v3.23.1
Consolidated Statements of Cash Flows-Indirect Method - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flows from operating activities from continuing operations      
Profit from continuing operations R$ 1,538,211 R$ 818,614 R$ 647,064
Adjustments to reconcile net income to cash provided by operating activities from continuing operations      
Share of profit (loss) of joint ventures and associates (12,181) 17,634 44,031
Amortization of contractual assets with customers – exclusive rights 504,907 282,521 289,436
Amortization of right-of-use assets 288,419 260,716 242,670
Depreciation and amortization 732,241 653,118 595,531
PIS and COFINS credits on depreciation 6,663 7,081 6,062
Interest and foreign exchange rate variations 1,625,987 1,133,882 533,926
Deferred income and social contribution taxes (296,459) (242,246) (234,244)
Current income and social contribution taxes 637,973 430,280 538,761
Loss on disposal of property, plant and equipment and intangible assets or assets write-off and other assets (322,190) (184,189) (85,455)
Reversal (loss) allowance for expected credit losses (49,989) (3,123) 15,281
Provision for losses with inventories 26,356 (826) 1,338
Provision for post-employment benefits 1,939 (2,393) (15,867)
Equity instrument granted 9,944 9,364 8,793
Provision of decarbonization – CBIO 638,542 161,281 124,287
Provision for tax, civil, and labor risks 61,039 93,328 21,582
Other provisions and adjustments 5,448 2,332 (1,912)
Cash flows from operations before changes in working capital 5,396,850 3,437,374 2,731,284
(Increase) decrease in assets      
Trade receivables and reseller financing (779,239) (956,779) 408,949
Inventories (1,004,819) (1,626,670) 108,136
Recoverable taxes (2,056,104) (826,133) (783,210)
Dividends received from joint ventures 146 1,005 4,836
Other assets (224,379) (19,392) (136,972)
Increase (decrease) in liabilities      
Trade payables and trade payables – reverse factoring 1,557,837 2,425,821 798,180
Salaries and related charges 130,586 63,066 15,644
Taxes payable (9,442) 11,733 22,925
Other liabilities 677,016 (55,099) (51,329)
Acquisition of CBIO (635,130) (176,837) (125,345)
Payments of contractual assets with customers – exclusivity rights (710,908) (420,261) (356,045)
Payments of contingencies (84,939) (24,351) (39,256)
Income and social contribution taxes paid (283,331) (230,036) (333,784)
Net cash provided by operating activities from continuing operations 1,974,144 1,603,441 2,264,013
Net cash provided by operating activities from discontinued operations 30,550 982,519 874,106
Net cash provided by operating activities 2,004,694 2,585,960 3,138,119
Cash flows from investing activities      
Financial investments, net of redemptions 1,567,962 1,863,053 (869,748)
Acquisition of property, plant, and equipment (929,236) (1,028,419) (750,618)
Acquisition of intangible assets (277,600) (237,488) (154,534)
Receipt of intercompany loan owed by Oxiteno S.A. to Ultrapar International 3,980,699 0 0
Cash provided by disposal of investments and property, plant and equipment 2,839,676 322,494 154,725
Capital increase in joint ventures (28,000) (25,700) (28,840)
Net cash consumed by subsidiaries acquisition (5,985) 0 0
Transactions with discontinued operations 987,895 0 0
Capital decrease in associates and redemption of shares 0 1,500 0
Initial direct costs of right-of-use assets (12,120) (14,905) 0
Receipt from related parties 0 2,334 0
Net cash provided (consumed) by investing activities from continuing operations 8,123,291 882,869 (1,649,015)
Net cash consumed by investing activities from discontinued operations (220,190) (158,733) (487,390)
Net cash provided (consumed) by investing activities 7,903,101 724,136 (2,136,405)
Loans and debentures      
Proceeds 1,519,580 1,383,611 3,387,161
Repayments (5,848,611) (2,426,222) (1,815,130)
Interest and derivatives paid (1,398,229) (733,791) (701,458)
Payments of lease      
Principal (351,011) (304,975) (250,202)
Interest paid (6,868) (15,267) (5,705)
Dividends paid (638,280) (705,753) (284,767)
Proceeds of financial liabilities of customers 162,895 0 0
Payments of financial liabilities of customers (173,948) 0 0
Capital increase made by non-controlling interests and redemption of shares 21,682 0 0
Payment to related parties (18,926) (177) (2,548)
Net cash provided (consumed) by financing activities from continuing operations (6,731,716) (2,802,574) 327,351
Net cash consumed by financing activities from discontinued operations (179,025) (552,967) (919,684)
Net cash consumed by financing activities (6,910,741) (3,355,541) (592,333)
Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations (24,024) (4,547) 21,912
Effect of exchange rate changes on cash and cash equivalents in foreign currency - discontinued operations (19,316) 56,553 114,822
Increase in cash and cash equivalents - continuing operations 3,341,695 6,561 546,115
Decrease in cash and cash equivalents - discontinued operations (387,981) 0 0
Cash and cash equivalents at the beginning of the year - continuing operations 2,280,074 2,661,494 2,115,379
Cash and cash equivalents at the beginning of the year - discontinued operations 387,981 0 0
Cash and cash equivalents at the end of the year - continuing operations 5,621,769 2,280,074 2,661,494
Cash and cash equivalents at the end of the year - discontinued operations 0 387,981 0
Transactions without cash effect:      
Contingent consideration – subsidiaries purchase 89,640 0 0
Addition on right-of-use assets and leases payable 482,439 227,977 420,070
Movement without cash effect of escrow deposits and provision for tax, civil and labor risks 41,888 0 0
Addition on contractual assets with customers – exclusivity rights 63,061 269,725 193,040
Capital increase performed by non-controlling interests 13,519 0 0
Reversal fund - private pension 3,107 2,656 33,843
Issuance of shares related to the subscription warrants – indemnification – Extrafarma acquisition R$ 942 R$ 1,819 R$ 54,763

v3.23.1
Operations
12 Months Ended
Dec. 31, 2022
Disclosure of Operations [Abstract]  
Operations

 

Ultrapar Participações S.A. (“Ultrapar” or “Company”) is a publicly-traded company headquartered at the Brigadeiro Luís Antônio Avenue, 1343 in the city of São Paulo – SP, Brazil, listed on B3 S.A. Brasil, Bolsa, Balcão (“B3”), in the Novo Mercado listing segment under the ticker “UGPA3” and on the New York Stock Exchange (“NYSE”) in the form of level III American Depositary Receipts (“ADRs”) under the ticker “UGP”.

 

The Company engages in the investment of its own capital in services, commercial and industrial activities, through the subscription or acquisition of shares of other companies. Through its subsidiaries, it operates on liquefied petroleum gas – LPG distribution (“Ultragaz”), fuel distribution and related businesses (“Ipiranga” or “IPP”) and storage services for liquid bulk (“Ultracargo”). The information on segments is disclosed in Note 30.

 

These financial statements were authorized for issuance by the Management on April 25, 2023.

 

a. Principles of consolidation and interest in subsidiaries

 

a.1 Principles of consolidation

 

In the preparation of the consolidated financial statements the investments of one company in another, balances of asset and liability accounts, revenues transactions, costs and expenses were eliminated, as well as the effects of transactions conducted between the companies. Non-controlling interests in subsidiaries are presented within consolidated equity and net income.

 

Consolidation of a subsidiary begins when the Company obtains direct or indirect control over an entity and ceases when the company loses control. Income and expenses of a subsidiary acquired are included in the consolidated statements of income and of comprehensive income from the date the Company gains the control. Income and expenses of a subsidiary, in which the Company loses control, are included in the consolidated statements of income and of comprehensive income until the date the Company loses control.

 

When necessary, adjustments are made to the financial statements of subsidiaries to bring their accounting policies into line with the Company’s accounting policies.


a.2. Interest in subsidiaries

 

The consolidated financial statements include the following direct and indirect subsidiaries:

 

 

 

 

% interest in the share capital


 

 

 

12/31/2022

12/31/2021


12/31/2020


 

 

 

Control  

Control


Control


 

Location

Segment

Direct

 

Indirect

 

Direct

 

Indirect


Direct


Indirect


Ipiranga Produtos de Petróleo S.A.

Brazil

Ipiranga

100

 

-

 

100

 

-


100


-


am/pm Comestíveis Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Icorban - Correspondente Bancário Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Trading Limited

British Virgin Islands

Ipiranga

-

 

100

 

-

 

100


-


100


Tropical Transportes Ipiranga Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Imobiliária Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Logística Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Oil Trading Importadora e Exportadora Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Iconic Lubrificantes S.A.

Brazil

Ipiranga

-

 

56

 

-

 

56


-


56


Integra Frotas Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Imaven Imóveis Ltda.

Brazil

Others

-

 

100

 

-

 

100


-


100


Imifarma Produtos Farmacêuticos e Cosméticos S.A.(3)

Brazil

Extrafarma

-

 

-

 

-

 

100


-


100


Ultragaz Participações Ltda (8)

Brazil

Ultragaz

100

 

-

 

-

 

-


-


-


Ultragaz Energia Ltda (10)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


-


   Stella GD Intermediação de Geração Distribuída de Energia Ltda.(9)

Brazil

Ultragaz

-

 

100

 

-

 

-


-


-


        Companhia Ultragaz S.A. (8)

Brazil

Ultragaz

-

 

99

 

-

 

99


-


99


   Nova Paraná Distribuidora de Gás Ltda. (1)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   Utingás Armazenadora S.A

Brazil

Ultragaz

-

 

57

 

-

 

57


-


57


   Bahiana Distribuidora de Gás Ltda. (7)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   LPG International Inc. (7)

Cayman Islands

Ultragaz

-

 

100

 

-

 

100


-


100


UVC Investimentos Ltda

Brazil

Others

100

 

-

 

-

 

99


-


99


Centro de Conveniências Millennium Ltda. and subsidiaries

Brazil

Others

100

 

-

 

100

 

-


100


-


Oxiteno S.A. Indústria e Comércio (4)

Brazil

Oxiteno

-

 

-

 

100

 

-


100


-


Oxiteno Argentina Sociedad de Responsabilidad Ltda.

Argentina

Oxiteno

-

 

-

 

-

 

100


-


100


Oleoquímica Indústria e Comércio de Produtos Químicos Ltda.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Uruguay S.A.

Uruguay

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno México S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Corporativos S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Industriales S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno USA LLC

United States

Oxiteno

-

 

-

 

-

 

100


-


100


Global Petroleum Products Trading Corp. (5)

British Virgin Islands

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Europe SPRL

Belgium

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Colombia S.A.S.

Colombia

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Shanghai LTD.

China

Oxiteno

-

 

-

 

-

 

100


-


100


Empresa Carioca de Produtos Químicos S.A.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Ultracargo - Operações Logísticas e Participações Ltda.

Brazil

Ultracargo

100

 

-

 

100

 

-


100


-


Ultracargo Logística S.A. (2)

Brazil

Ultracargo

-

 

99

 

-

 

99


-


99


TEAS – Terminal Exportador de Álcool de Santos Ltda.

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultracargo Vila do Conde Logística Portuária S.A. (6)

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultrapar International S.A.

Luxembourg

Others

100

 

-

 

100

 

-


100


-


SERMA - Ass. dos usuários equip. proc. de dados

Brazil

Others

-

 

100

 

-

 

100


-


100


UVC - Fundo de investimento em participações multiestratégia investimento no exterior

Brazil

Others

100

 

-

 

100

 

-


100


-


Eaí Clube Automobilista S.A.

Brazil

Others

100

 

-

 

100

 

-


100


-



The percentages in the table above are rounded.


(1) Non-operating company in closing phase.
(2) In April 2021, the name of subsidiary Terminal Químico de Aratu S.A - Tequimar was changed to Ultracargo Logística S.A. (“Ultracargo Logística”).
(3) On May 18, 2021, the Company announced the signing of an agreement for the sale of all shares of Extrafarma to Pague Menos. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”, being the transaction closed on August 1, 2022 after the fulfillment of  all conditions precedent. For further details, see note 4.c.1.
(4) On August 16, 2021, the Company announced the signing of an agreement for the sale of its interest in Oxiteno S.A. to Indorama. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”. On April 1, 2022, the transaction was consummated.
(5) On January 27, 2022, the subsidiary Global Petroleum Products Trading Corp (“GPPT”) was dissolved.
(6) On April 29, 2022, the name of subsidiary Tequimar Vila do Conde Logística Portuária S.A was changed to Ultracargo Vila do Conde Logística Portuária S.A.
(7) On July 1, 2022, the indirect subsidiaries Bahiana Distribuidora de Gás Ltda. (“Bahiana”) and LPG International Inc. (“LPG”) became controlled by Ultragaz.
(8) On August 1, 2022, the subsidiary Companhia Ultragaz S.A. (“Ultragaz”) became directly controlled by Ultrapar. In November 2022, Ultragaz became an investee of Ultragaz Participações Ltda.
(9) On September 12, 2022, the Company through its subsidiary Ultragaz Energia Ltda., signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The closing of the acquisition ocurred on October 1, 2022 (see note 33.a).
(10) On November 18, 2022, the name of subsidiary Ultragaz Comercial Ltda. was changed to Ultragaz Energia Ltda.

 

b.      Main events that occurred in the year


b.1 Clarifications on the impacts of the military conflicts between Russia and Ukraine

 

On February, 2022 a full-scale military invasion of Ukraine by Russian troops began. Since then, global markets have experienced volatility and disruption following the escalation of geopolitical tensions and the onset of military conflict between these countries. While the duration and the impact of the ongoing military conflict is highly unpredictable, the conflict in Ukraine has and may lead to market disruptions and significant volatility in commodity prices, including crude oil, which may affect the prices of petroleum-based fuel and the demand in the markets in which we operate. Furthermore, the governments of the United States and other countries have imposed economic sanctions on Russia, including politicians and corporate and banking entities. These sanctions, or even the threat of further sanctions, may lead Russia to take countermeasures or retaliatory actions, which may lead to further disruptions in the market and an increase in crude oil prices and its derivatives globally, which may negatively impact our business and operations.

 

In addition, any new global financial crisis could have a negative impact on our borrowing cost and on our ability to obtain future borrowings. Disruptions in the financial markets could also lead to a reduction in available commercial credit due to liquidity concerns of the counterparties. If we experience a decrease in demand for our products or an increase in the default rate on our receivables, or if we are unable to obtain borrowings, our business, financial condition and results of operations could be adversely affected.


b.2 Conclusion (“closing”) of Oxiteno S.A. sale agreement

 

On August 16, 2021, the Company signed the agreement for the sale of all shares of Oxiteno S.A. – Indústria e Comércio (“Oxiteno S.A.”) to Indorama Ventures PLC (“Indorama”). On March 7, 2022, the Administrative Council for Economic Defense (CADE) approved the transaction without restrictions. On April 1, 2022, all conditions precedent were met and the transaction was completed. The initial payment of US$ 1,150 million (equivalent to R$ 5,448 million) (1), adjusted for variations in working capital and net debt position of US$ 176 million (equivalent to R$ 834 million)(1), resulted in a total initial payment of US$ 1,326 (equivalent to R$ 6,282 million)(1), made on April 1, 2022. The final payment of US$ 150 million will be made in April 2024. The Company held a 100% interest in Oxiteno S.A. For further information see note 4.b.

 

(1) Amount converted into reais at the exchange rate on the closing date of the transaction (US$ 1.00 to R$ 4.7372).

 

b.3 Conclusion (“closing”) of Extrafarma sale agreement

 

On May 18, 2021 the Company signed the agreement for the sale of all shares of Extrafarma held by subsidiary IPP to Empreendimentos Pague Menos S.A. (“Pague Menos”). On June 22, 2022, CADE approved the transaction, through the execution of a Merger Control Agreement (“Acordo em Controle de Concentrações - ACC”), providing for the divestment of 8 Extrafarma stores, which did not result in change in the enterprise value. On August 1, 2022, the transaction was closed, after the fulfillment of all precedent conditions. The amount of R$ 700 million was adjusted by the variations in working capital and net debt position of R$ 37.7 million resulting in the total amount of R$ 737.7 million. This amount is still subject to final working capital and net debt adjustments. Of the first installment of R$ 372.3 million, R$ 365.4 million was paid by Pague Menos on August 1, 2022 and R$ 6.9 million was paid in cash by shareholders who exercised their preemptive rights. The payment of the two remaining installments of R$ 182.7 million each will be made in August 2023 and August 2024 by Pague Menos, corrected by DI + 0,5% p.a. The Company held a 100% interest in Extrafarma, through subsidiary Ipiranga. For further information see note 4.a. 

 

b.4. Signing of an agreement for the acquisition of Stella by Ultragaz

 

On September 12, 2022, Ultrapar signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”), which was closed on October 1, 2022. The acquisition value is a minimum amount of R$ 63 million, with an initial payment of R$ 7.6 million. The remaining acquisition amount proportional to the share held by the sellers will be settled in 2027, and is mainly subject to the acquired company’s performance conditions. For further information, see note 34.

v3.23.1
Basis of preparation and presentation of the consolidated financial statements and significant accounting policies
12 Months Ended
Dec. 31, 2022
Disclosure of Presentation of Financial Statements and Summary of Significant Accounting Policies [Abstract]  
Basis of preparation and presentation of the consolidated financial statements and significant accounting policies

 

The consolidated financial statements (“financial statements”) have been prepared in accordance with the International Financial Reporting Standards “IFRS” issued by the International Accounting Standards Board (“IASB”).

 

The presentation currency of the Company’s financial statements is the Brazilian Real, which is the Company’s functional currency, unless otherwise stated.

 

The preparation of the financial statements requires management to make judgments, use estimates and adopt assumptions in the application of accounting policies that affect the presented amounts of income, expenses, assets and liabilities, including contingent liabilities. The uncertainty related to these judgments, assumptions and estimates could lead to results that require a significant adjustment to the carrying amount of certain assets and liabilities in future years.

 

Certain comparative amounts in the consolidated statement of financial position, the consolidated statements of income, comprehensive income, changes in equity, and cash flows and in the related notes have been aggregated and re-presented to conform with current year presentation.


The financial statements have been prepared on a historical cost basis, except for the following material items recognized in the statements of financial position:


(i) derivative and non-derivative financial instruments measured at fair value;
(ii) share-based payments and employee benefits measured at fair value;
(iii) deemed cost of property, plant and equipment.


The Company and its subsidiaries applied the accounting policies described below in a consistent manner for all years presented in these financial statements.


a. Revenue recognition


Revenues from sales and services rendered under contracts with customers are recognized on the accrual basis when, or as, performance obligations are satisfied by transferring the control of a promised good or service to a customer in such a way that the customer obtains substantially all rewards generated, according to incoterms of each transaction, and when it is highly probable that the Company and its subsidiaries will receive the consideration in exchange for the transferred goods or services.


The Company and its subsidiaries recognize revenue under the 5-step model, in accordance with IFRS 15: (1) identification of contracts with customers, (2) identification of the performance obligations, (3) determination of the transaction price, (4) allocation of the transaction price to performance obligations under the contracts and (5) revenue recognition when (or as) the performance obligation is satisfied and the control of the goods or assets is transferred to the customer.

 

Revenue is measured and stated at the fair value of the consideration to which the Company and its subsidiaries expect to be entitled to, less returns, discounts, rebates, sales taxes, amortization of assets from contracts with customers, and other deductions, if applicable. The Company’s subsidiaries do not have obligations for return or refund in their contracts with customers and do not have significant financing component that directly impacts the determination of the expected consideration.

 

At Ipiranga, the revenue from sales of fuels and lubricants is recognized when the products are delivered to gas stations and to large consumers. Deferred revenue from loyalty program is recognized in the statement of income when the points are redeemed, on which occasion the costs incurred are also recognized in profit or loss, or when points expire. Amortization of contractual assets with customers for the exclusive rights in Ipiranga’s reseller service stations and the bonuses paid in performance obligation sales are recognized in the statement of income as a deduction of the revenue from sale according to the conditions established in the agreements which is reviewed as per the changes occurred in the agreements (see Notes 2.f and 12). At Ultragaz, revenue from sales of LPG is recognized when the products are delivered to customers at home, to independent dealers and to industrial and commercial customers. At Ultracargo, the revenue from storage services provided is recognized as services rendered or according with contractual terms. The breakdowns of revenues from sales and services are shown in Notes 26 and 31.

 

b. Cash and cash equivalents

 

Includes cash, bank deposits, and short-term up to 90 days of maturity, highly liquid investments that are readily convertible into a known amount of cash and are subject to an insignificant risk of change in value. Cash equivalents are held for the purpose of meeting short-term cash commitments rather than for investment or other purposes. For an investment to qualify as a cash equivalent it must be readily convertible to a known amount of cash and be subject to an insignificant risk of changes in value. Therefore, an investment normally qualifies as a cash equivalent only when it has a short maturity of, say, three months or less from the date of acquisition. For further information on cash and cash equivalents of the Company and its subsidiaries, see Note 5.a.


c. Financial assets

 

The Company and its subsidiaries evaluated the classification and measurement of financial assets based on its business model of financial assets as follows:

 

Amortized cost: financial assets held in order to collect contractual cash flows, solely principal and interest. The interest earned and the foreign currency exchange variation are recognized in profit or loss and balances are stated at amortized cost using the effective interest rate method. The financial investments in Bank Certificates of Deposit (“CDB”) and repurchase agreements are classified substantially as measured at amortized cost.

Measured at fair value through other comprehensive income: financial assets that are acquired or originated for the purpose of collecting contractual cash flows or selling financial assets. The balances are stated at fair value, and the interest earned and the foreign currency exchange variation are recognized in profit or loss. Differences between fair value and initial amount of financial investments plus the interest earned and the exchange variation are recognized in equity in the “Valuation adjustments”, net of income taxes. Accumulated gains and losses recognized in equity are reclassified to profit or loss at the time of their settlement.

Measured at fair value through profit or loss: financial assets that were not classified as amortized cost or as measured at fair value through other comprehensive income. The balances are stated at fair value and both the interest earned and the exchange variations and changes in fair value are recognized in the statement of income. Investment funds and derivatives are classified as measured at fair value through profit or loss.

 

The Company and its subsidiaries use financial instruments for hedging purposes, applying the concepts described below:


Hedge accounting – fair value hedge: financial instruments used to hedge exposure to changes in the fair value of an item, attributable to a particular risk, which can affect the entity’s statement of income. In the initial designation of the fair value hedge, the relationship between the hedging instrument and the hedged item is documented, including the objectives of risk management, the strategy in conducting the transaction, and the methods to be used to evaluate its effectiveness. Once the fair value hedge has been qualified as effective, the hedged item is also measured at fair value. Gains and losses from hedge instruments and hedged items are recognized in the statement of income. The hedge accounting must be discontinued when the hedge becomes ineffective.

Hedge accounting – cash flow hedge: financial instruments used to hedge the exposure to variability in cash flows that is attributable to a risk associated with an asset or liability or highly probable transaction or firm commitment that may affect the statement of income. The portion of the gain or loss on the hedging instrument that is determined to be effective relating to the effects of exchange rate effect, is recognized directly in equity in accumulated other comprehensive income as “Valuation adjustments” , net of income taxes, while the ineffective portion is recognized in the statement of income. Gains or losses on the hedging instrument relating to the effective portion of this hedge that had been recognized directly in accumulated other comprehensive income shall is recognized in profit or loss in the period in which the hedged item is recognized in profit or loss or as initial cost of non-financial assets, in the same line item of the statement that the hedged item is recognized. The hedge accounting shall be discontinued when (i) the hedging relationship is canceled; (ii) the hedging instrument expires; and (iii) the hedging instrument no longer qualifies for hedge accounting. When hedge accounting is discontinued, gains and losses recognized in equity in other comprehensive income are reclassified to the statement of income in the period which the hedged item is recognized in profit or loss. If the transaction hedged is canceled or is not expected to occur, the cumulative gains and losses in equity in other comprehensive income shall be recognized immediately in profit or loss.

Hedge accounting – hedge of net investments in foreign operations: financial instruments used to hedge exposure on net investments in foreign subsidiaries due to the fact that the local functional currency is different from the functional currency of the Company. The portion of the gain or loss on the hedging instrument that is determined to be effective, referring to the exchange rate effect, is recognized directly in equity in “Cumulative translation adjustments”, net of income taxes, while the ineffective portion and the operating costs are recognized in the statement of income. The gain or loss on the hedging instrument that has been recognized directly in accumulated other comprehensive income shall be recognized in the statement of income when the disposal of the foreign subsidiary occurs.


For further information on financial instruments, see Note 31.

 

d. Trade receivables and reseller financing

 

Trade receivables are recognized at the amount invoiced to the counterparty that the Company subsidiaries are entitled (see Notes 6.a and 32.d.3). The loss allowance for expected credit losses consider the expected losses for the next 12 months taking into account the deterioration or improvement of the customers’ credit quality, considering the customers’ characteristics in each business segment. The amount of the expected credit losses is deemed by Management to be sufficient to cover any loss on realization of trade receivables.


Reseller financing is provided at subsidized rate for renovation and upgrading of service stations, purchase of products and development of the automotive fuels and lubricants distribution market (see Notes 6.b and 32.d.3). The terms of reseller financing range between 12 and 60 months, with an average term of 40 months. The maximum subsidized rates are 1% per month. These financing are remeasured at a market rate for working capital loans and the remeasurement adjustment between the market rate and the subsidized rate is recognized as a reduction to the reseller’s revenue at the beginning of the contract. Throughout the contract, the interest appropriated by the market rate is recognized in the financial result.

 

e. Inventories

 

Inventories are stated at the lower of acquisition cost or net realizable value (see Note 7). The cost value of inventory is measured using the weighted average cost and includes the costs of acquisition and processing directly and indirectly related to the units produced based on the normal capacity of production. Estimates of net realizable value are based on the average selling prices at the end of the reporting period, net of applicable direct selling expenses. Subsequent events related to the fluctuation of prices and costs are also considered in  these estimates, if relevant. If net realizable values are below inventory costs, a provision corresponding to this difference is recognized. Provisions are also made for obsolescence of products, materials, or supplies that (i) do not meet its subsidiaries’ specifications, (ii) have exceeded their expiration date, or (iii) are considered slow-moving inventory. This classification is made by management with the support of its industrial and operations teams.

 

f. Contractual assets with customers - exclusive rights

 

Exclusive rights disbursements as provided in Ipiranga’s agreements with reseller service stations and major consumers are recognized as contractual assets when paid and amortized according to the conditions established in the agreements (see Note 12).

 

g. Assets and liabilities held for sale and discontinued operations

 

Non-current assets and related liabilities are classified as held for sale if it is highly probable that their book value will be recovered, primarily, through a sale transaction rather than continued use. The classification criteria are met only when the sale is highly probable, the asset or group of assets is held for immediate sale in its current condition and the sale is expected to occur within 12 months after classification as held for sale.


A line of business or subsidiary is classified as discontinued operation when the sale of a component of the company that represents an important separate line of business occurs or when the operation meets the criteria to be classified as held for sale, if such criteria is met before. The results and cash flows of discountinued operations are presented separately based on the classification of the respective assets and liabilities as held for sale.

 

Assets and liabilities held for sale and discontinued operations are measured at the lower of the book value and fair value, net of selling expenses, and presented separately in the statement of financial position.

 

h. Investments

 

Investments in associates and joint ventures are accounted for under the equity method of accounting in the financial statements (see Note 13). An associate is an investment in which an investor has significant influence, that is, has the power to participate in the financial and operating decisions of the investee but does not exercise control. A joint venture is an investment in which the shareholders have the right to net assets on behalf of a joint control. Joint control is the agreement which establishes that decisions about the relevant activities of the investee require the consent from the parties that share control.

 

Other investments are stated at acquisition cost less provision for losses, unless the loss is considered temporary.

 

i. Right-of-use assets and leases payable

 

The Company and its subsidiaries recognized in the statement of financial position right-of-use assets and the respective lease liabilities initially measured at the present value of future lease payments, discounted by the incremental loan rate of the Company, considering the related contract costs (see Note 14). The amortization expenses of right-of-use assets is recognized in the statement of income over the lease contract term. When the right-of-use asset is used in the construction of the property, plant, and equipment (“PP&E”), its amortization is capitalized until the asset under construction is completed. The liability is increased for interest and decreased by lease payments made. The interest is recognized in the statement of income using the effective interest rate method. The remeasurement of assets and liabilities based on the contractual index is recognized in the statement of financial position, not having an effect in the statement of income. In case of cancellation of the contract, the assets and respective liabilities are written off to the statement of income, considering, if it is the case, any penalties provided in contractual clauses. The Company and its subsidiaries have no intention in purchasing the underlying asset. The Company and its subsidiaries periodically review the existence of an indication that the right-of-use assets may be impaired (see Note 2.u).


Right-of-use assets include amounts related to area port leases grants (see Note 32.b).

 

The Company and its subsidiaries apply the recognition exemptions to short-term leases of 12 months or less and lease contracts of low value assets, which do not have purchase option at the end of the contract. In these cases, the recognition of the lease expense in the statement of income is on a straight-line basis.


j. Property, plant and equipment

 

PP&E is recognized at acquisition or construction cost, including capitalization of right-of-use assets amortization and financial charges incurred on PP&E under construction, as well as qualifying maintenance costs resulting from scheduled plant outages and estimated costs to remove, to decommission, or to restore assets (see Notes 2.o and 22), less accumulated depreciation and, when applicable, less provision for impairment (see Note 15).

 

Depreciation is calculated using the straight-line method, over the periods mentioned in Note 15, taking into account the estimated useful lives of the assets, which are reviewed annually.

 

Leasehold improvements are depreciated over the shorter of the lease contract term and useful life of the property.

 

k. Intangible assets

 

Intangible assets include assets acquired by the Company and its subsidiaries from third parties, and are recognized according to the criteria below:

 

Goodwill is shown as intangible assets corresponding to the positive difference between the amount paid or payable to the seller and the fair value of the identifiable assets and liabilities assumed of the acquired entity. Goodwill is tested for impairment annually, or more frequently when there is indication that the goodwill might be impaired. Goodwill is allocated to the business segments, which represent the lowest level that goodwill is monitored for impairment testing purposes (see Note 16.a).

Other intangible assets acquired from third parties, such as software, technology, and commercial property rights, are measured at the total acquisition cost and amortized using the straight-line method, over the periods mentioned in Note 16, taking into account their useful lives, which are reviewed annually.

The decarbonization credits (“CBIOS”) acquired are recorded at historical cost in intangible assets, being retired according decree in the year to fulfill the individual target set by the National Agency of Petroleum, Natural Gas and Biofuels (“ANP”) and are not amortized. These assets are used to settle the annual decarbonization obligation adopted by Brazilian National Biofuels Policy (“RenovaBio”), implemented by Law No. 13,576/2017, with additional regulations established by Decree No. 9,888/2019 and Ordinance No. 419 of November 20, 2019 issued by the Brazilian Ministry of Mines and Energy. On July 22, 2022, the Decree No. 11,141/2022 was published, which establish on an exceptional basis, the retirement deadline of decarbonization credits until September 2023, to comprove the goal of 2022.

 

The Company and its subsidiaries have not recognized intangible assets that were generated internally. The Company and its subsidiaries have goodwill and brands acquired in business combinations, which are evaluated as intangible assets with indefinite useful life (see Note 16.a.).

 

l. Other assets

 

Other assets are stated at the lower of cost and realizable value, including, if applicable, interest earned, monetary changes and changes in exchange rates incurred, less the provisions for losses and, if applicable, adjusted to present value.

 

m. Financial liabilities

 

The financial liabilities include trade payables, trade payables – reverse factoring other payables, financing, loans, debentures, leases payable and derivative financial instruments used as hedging instruments. Financial liabilities are classified as “financial liabilities at fair value through profit or loss” or “financial liabilities at amortized cost”. The financial liabilities at fair value through profit or loss refer to derivative financial instruments and financial liabilities designated as hedged items in a fair value hedge relationship upon initial recognition (see Note 2.c – Fair Value Hedge). The financial liabilities at amortized cost are stated at the initial transaction amount plus accrued interest and net of amortization and transaction costs. Interest expense is recognized in the consolidated statement of income using the effective interest rate method.

 

Transaction costs incurred and directly attributable to the activities necessary for contracting loans or for issuing bonds, as well as premiums and discounts upon issuance of debentures and other debt, are allocated to the instrument and amortized in the statement of income taking into account its term, using the effective interest rate method (see Note 17.b).


n. Income and social contribution taxes on income

 

Current and deferred income tax (“IRPJ”) and social contribution on net income tax (“CSLL”) are calculated based on their current rates. For the calculation of current IRPJ, the value of tax incentives is also considered. At the end of the fiscal year the portion of the profit corresponding to these investment grants is allocated to the constitution of a tax incentive reserve in subsidiaries’ equity and is excluded from the dividend calculation base and subsequently capitalized. Taxes are recognized based on the rates of IRPJ and CSLL provided for by the laws enacted on the last day of the financial statements. The current rates in Brazil are 25% for IRPJ and 9% for CSLL.


A provision is recognised for those matters for which the tax determination is uncertain but it is considered probable that there will be a future outflow of funds to a tax authority. The provisions are measured at the best estimate of the amount expected to become payable. The assessment is based on the judgement of tax professionals within the Company supported by previous experience in respect of such activities and in certain cases based on specialist independent tax advice.

 

Deferred tax is the tax expected to be payable or recoverable on differences between the carrying amounts of assets and liabilities in the financial statements and the corresponding tax bases used in the computation of taxable profit. Deferred tax liabilities are generally recognised for all taxable temporary differences and deferred tax assets are recognised to the extent that it is probable that taxable profits will be available against which deductible temporary differences can be utilised. Such assets and liabilities are not recognised if the temporary difference arises from the initial recognition (other than in a business combination) of other assets and liabilities in a transaction that affects neither the taxable profit nor the accounting profit. In addition, a deferred tax liability is not recognised if the temporary difference arises from the initial recognition of goodwill. The carrying amount of deferred tax assets is reviewed at each reporting date and reduced to the extent that it is no longer probable that sufficient taxable profits will be available to allow all or part of the asset to be recovered


For purposes of disclosure deferred tax assets were offset against the deferred tax liabitilies, in the same taxable entity and the same tax authority.


Current and deferred tax are recognised in profit or loss, except when they relate to items that are recognised in other comprehensive income or directly in equity, in which case the current and deferred tax are also recognised in other comprehensive income or directly in equity, respectively. Where current tax or deferred tax arises from the initial accounting for a business combination, the tax effect is included in the accounting for the business combination

 

For further information about recognition and realization of IRPJ and CSLL see Note 10.

 

o. Provision for asset retirement obligation - fuel tanks

 

The subsidiary Ipiranga has the legal obligation to remove the underground fuel tanks located at Ipiranga-branded service stations after a certain period. The estimated cost of the obligation to remove these fuel tanks is recognized as a liability when the tanks are installed. The estimated cost is recognized in PP&E and depreciated over the respective useful lives of the asset. The amounts recognized as a liability accrue inflation effect using the Amplified Consumer Price Index (“IPCA”) until the tank is removed (see Note 22). The estimated removal cost is reviewed and updated annually or when there is significant change in its amount and change in the estimated costs are recognized in the statement of income when they become known.

 

p. Provision for tax, civil, labor risks, contingent liabilities and contingent assets

 

A provision for tax, civil and labor risks is recognized, when there is a present obligation and it is probable that the Company will be required to settle that obligation and a reliable estimate can be made of the amount of the obligation.

 

The amount recognised as a provision is the best estimate of the consideration required to settle the present obligation at the reporting date, taking into account the risks and uncertainties surrounding the obligation. The estimate is determined by Management, supoorted by the assessment of internal and external legal counsel, and the amounts are recognized based on the evaluation of the outcomes of the legal proceedings (see Note 23).

 

When the risk of a loss is classified as possible, a provision is not recogniezed, but disclosed in the notes to the financial statements.

 

An entity shall not recognize a contingent asset. Contingent assets usually arise from unplanned or other unexpected events that give rise to the possibility of an inflow of economic benefits to the entity. Contingent assets are not recognized in financial statements since this may result in the recognition of income that may never be realized. However, when the realization of income is virtually certain, then the related asset is not a contingent asset and its recognition is appropriate. A contingent asset is disclosed where an inflow of economic benefits is probable.

 

q. Post-employment benefits

 

Post-employment benefits granted and to be granted to employees, retirees, and pensioners are based on an actuarial calculation prepared by an independent actuary and reviewed by management, using the projected unit credit method (see Note 21.b). The actuarial gains and losses are recognized in equity in “Accumulated other comprehensive income”, net of income taxes.


r. Other liabilities

 

Other liabilities are stated at known or measurable amounts and changes in exchange rates incurred. When applicable, other liabilities are recognized at present value, based on interest rates that reflect the term, currency, and risk of each transaction.

 

s. Foreign currency transactions

 

Foreign currency transactions carried out by the Company and its subsidiaries are remeasured into their functional currency at the exchange rate prevailing at the date of each transaction. Outstanding monetary assets and liabilities of the Company and its subsidiaries are translated using the exchange rate at the date of the financial statements. The effect of the difference between those exchange rates is recognized in financial results until the conclusion of each transaction.

 

t. Basis for translation of financial statements of foreign subsidiaries

 

t.1 Subsidiaries with administrative authority

 

Assets and liabilities of the foreign subsidiaries denominated in currencies other than Brazilian Real which have administrative authority are translated using the exchange rate at the date of the financial statements. Revenues and expenses are translated using the average exchange rate of each year and equity is translated at the historical exchange rate of each transaction affecting equity. Gains and losses resulting from changes in these foreign investments are directly recognized on equity in other comprehensive income amount on the account “cumulative translation adjustments” and will be recognized in profit or loss if and when these investments are disposed of. On December 31, 2022 the Company does not have foreign subsidiaries with administrative authority. On December 31, 2021 the gains with exchange rate totaled R$ 304,645 related to the subsidiary Oxiteno, which in April 1, 2022 was saled to Indorama (see note 1.b.2 for more information). 

 

t.2 Subsidiaries without administrative authority

 

The Company has foreign subsidiaries without administrative authority. Assets and liabilities of the other foreign subsidiaries, which do not have administrative authority, are considered an extension of the activities of their parent company and are translated using the exchange rate at the date of the financial statements. Gains and losses resulting from changes in these foreign investments are directly recognized as financial result.

 

u. Critical accounting judgements and key sources of estimation uncertainty

 

The preparation of the financial statements requires the use of estimates, assumptions, and judgments for the accounting and disclosure of certain assets, liabilities, and profit or loss. Therefore, the Company and subsidiaries’ management use the best information available at the date of preparation of the financial statements, as well as the experience of past and current events, also considering assumptions regarding future events. The estimates and assumptions are reviewed periodically.


u.1 Critical judgements in applying the Group’s accounting policies

 

The following are the critical judgements, apart from those involving estimations (which are presented separately below), that Management has made in the process of applying the Group’s accounting policies and that have the most significant effect on the amounts recognised in financial statements the determination of control in subsidiaries (Notes 2.h, 2.v., 4 and 13), the determination of joint control in joint ventures (Notes 2.h and 13), the determination of significant influence in associates (Notes 2.h and 13.c) and determination of assets and liabilities held for sale and discontinued operations (Note 4), designation of financial instruments for hedge accounting (Note 2.c), recognition of tax credits (Note 2.z), and accounting for business combinations, including the identification of intangibles, allocation of the purchase price and accounting of contingent consideration (Note 2.w).

 

u.2 Key sources of estimation uncertainty

The key assumptions concerning the future, and other key sources of estimation uncertainty at the reporting period that may have a significant risk of causing a material adjustment to the carrying amounts of assets and liabilities within the next financial year, are discussed below.

 

The estimates of realization of deferred taxes assets (Notes 2.n and 10.a), realization amount of tax recoverable (Note 8), impairment assessment of non-currrent assets, including goodwill (Notes 2.k, 2.w and 16.a), provisions for tax, civil, and labor risks (Notes 2.p and 23), and definition of fair value of assets acquiried, liabilites assumed and contingent consideration for the business combinations (Notes 2.w and 34).   The actual result of the transactions and information may differ from their estimates.

 

v. Impairment of assets

 

The Company and its subsidiaries review in every reporting period the existence of any indication that an asset may be impaired. To intangible assets with indefinite useful life the review is done annually or more frequently when there is indication that such assets might be impaired. If there is an indication of impairment, the Company and its subsidiaries estimate the recoverable amount of the asset. Assets that cannot be evaluated individually are grouped in the smallest group of assets that generate cash inflow from continuous use and that are largely independent of cash flows of other assets (cash generating units, “CGU”). The recoverable amount of assets or CGUs corresponds to the greater of their fair value net of applicable direct selling expenses and their value in use.

 

The fair value less costs to sell is determined by the price that would be received to sell an asset in an orderly transaction between market participants at the measurement date, net of costs of removing the asset, and direct incremental costs to bring an asset into condition for its sale, legal costs, and taxes.


To assess the value in use, the projections of future cash flows, trends, and outlooks, as well as the effects of obsolescence, demand, competition, and other economic factors were considered. Such cash flows are discounted to their present values using the discount rate before tax that reflects market conditions for the period of impairment testing and the specific risks of the asset or CGU being evaluated. In cases where the expected discounted future cash flows are less than their carrying amount, an impairment loss is recognized for the amount by which the carrying amount exceeds the fair value of these assets. Losses for impairment of assets are recognized in profit or loss. In case goodwill has been allocated to a CGU, the recognized losses are first allocated to reduce the corresponding goodwill. If the goodwill is not enough to absorb such losses, the surplus is allocated to the assets on a pro-rata basis. An impairment of goodwill cannot be reversed. For other assets, impairment losses are reversed only to the extent that the asset's carrying amount does not exceed the carrying amount that would have been determined, net of depreciation or amortization, if the impairment had not been recognized.

 

As of December 31, 2022, the Company and its subsidiaries did not record any losses with  impairment of assets. As of December 31, 2022, the recognized impairment amount was R$ 427,529 and deferred income and social contribution taxes effects amounted to R$ 145,360, resulting in a net loss of R$ 282,169. On August 31, 2022, the Company, through its subsidiary Ipiranga, sold its subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”) and wrote off the provision for impairment of assets allocated to subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”). See Note 4.a.

 

w. Business combinations

 

A business combination is accounted for applying the acquisition method. The cost of the acquisition is measured based on the consideration transferred and to be transferred, measured at fair value at the acquisition date. In a business combination, the assets acquired and liabilities assumed are measured in order to classify and allocate them according to the contractual terms, economic circumstances and relevant conditions on the acquisition date. The non-controlling interest in the acquired company is measured based on its interest in net assets identified in the acquired company. Goodwill is measured as the excess of the consideration transferred and to be transferred over the fair value of net assets acquired (identifiable assets and liabilities assumed, net). After the initial recognition, goodwill is measured at cost less any accumulated impairment losses. For impairment testing purposes, goodwill is allocated to the Company’s operating segments. When the cost of the acquisition is lower than the fair value of net assets acquired, a gain is recognized directly in the statement of income. Costs related to the acquisitions are recorded in the statement of income when incurred. For further details, see note 33.

 

Business combination between entities under common control

 

Business combinations between entities under common control have not been addressed under IFRS and how they should be disclosed remains unclear. IFRS 3 is the standard applicable to business combinations, but its scope explicitly excludes business combinations between entities under common control.

 

Predecessor basis of accounting

 

In accordance with IAS 8, Management has adopted the predecessor basis of accounting, which is consistent with United States Generally Accepted Accounting Principles (“USGAAP”) and United Kingdom Generally Accepted Accounting Principles (“UKGAAP”), to record the carrying amount of the asset received, as recorded by the parent company.


Under the predecessor basis of accounting, when accounting for a transfer of assets between entities under common control, the entity that receives the net assets or the equity interests (the acquirer) shall initially record the assets and liabilities transferred at their parent book value as at the transfer date. If the book value of the assets and liabilities transferred by the parent is different from the historical cost recorded by the controlling entity of the entities under common control (the ultimate parent), the financial statements of the acquirer shall reflect the assets and liabilities transferred at the same cost of the ultimate parent, as a counter-entry to shareholders' equity against the carrying value adjustments. 

 

x. Statements of cash flows

 

The Company and its subsidiaries present the interest paid on loans, financing, debentures, and leases payable in financing activities and present financial investments, net of redemptions in the investing activities and received dividends in the operating activities.

 

y. Financial liabilities of customers

 

Refers to contract obligations of payments in installments of exclusivity rights with customers of subsidiary Ipiranga, where there was the anticipation of these receivables by customers with certain financial institutions. Ipiranga as guarantor of the operation, assumes the payment of installments falling due with the financial institution in exchange for the right of exclusivity with the customers (see Note 12).


Considering that the average term of maturity of these obligations is 50 monthly installments and the amounts do not bear interest, the Company recorded an adjustment to present value ("APV"), with contrast registered at the rubric “Contractual assets with customers – exclusivity rights”. The APV reversion will occur over the contractual term with impact in financial result with an approximate average rate of 13.7% p.a..


z. Recognition of tax credits

 

The accounting policy applied by the Company considers relevant estimates and judgments for the tax credits recognition and for estimating its recovery. The tax credits are recorded only when management has elements that guarantee (i) that the credit is a legal right; (ii) the amount could be estimated with sufficient reliability to enable it to be compensated or refunded; and (iii) the amounts is recoverable through either offsetting with other tax credits or a tax refund. In cases where the recovery of the asset is not probable, or the amount cannot be reliably measured, the amounts are not recognized, or a provision is recorded.  

v3.23.1
New accounting policies and changes in accounting policies
12 Months Ended
Dec. 31, 2022
New accounting policies and changes in accounting policies

 

These financial statements were prepared using information from Ultrapar and its subsidiaries on the same date, as well as consistent accounting policies and practices.

 

The accounting policies have been consistently applied to all consolidated companies and are consistent with those used in the parent. The Company evaluated and, when necessary, applied for the first time the following standards and interpretations issued by the International Accounting Standards Board (IASB) and, on the date the financial statements were authorized for issue, did not identify any significant impacts thereof on the disclosure or reported amounts.

 

  1. New accounting policies and changes in accounting policies adopted

 

The new standards and interpretations issued, up to the issuance of the Company's individual and consolidated financial statements, are described below.

a.1 Accounting policies adopted


The following new standards, amendments to standards and interpretations of IFRS issued by the IASB and effective on January 1, 2022 had no significant impact on the financial statements for the year ended December 31, 2022:

 

IFRS 3 Business Combinations – Reference to the Conceptual Framework - The amendments update the reference to the conceptual framework of the old version with the most recent one. They also include in IFRS 3 a requirement that, for obligations within the scope of IAS 37, the buyer adopts the standard to determine whether at the acquisition date a present obligation exists as a result of past events.  For a levy within the scope of IFRIC 21 - Levies, the buyer adopts the standard to determine whether the obligating event that gave rise to a liability to pay a levy occurred until the acquisition date.

IAS 16 Property, Plant and Equipment - Proceeds before Intended Use - The amendments prohibit deducting from the cost of an item of property, plant and equipment any proceeds from selling items produced before that asset is available for use, i.e. proceeds while bringing the asset to the location and condition necessary for it to be capable of operating in the manner intended by management. Consequently, an entity recognizes such costs in profit or loss.

IAS 37 Provisions, Contingent Assets and Liabilities - Onerous Contracts – The amendments specify that the cost to fulfill a contract comprises incremental costs incurred to fulfill such contract (e.g. employees or materials) and the allocation of other costs directly related to the fulfillment of a contract (e.g. allocation of depreciation expenses for an item of property, plant and equipment used to fulfill a contract). 

 

Annual Improvements to IFRSs 2018-2020 Cycle - amendments included in the annual improvement cycle that covers the following standards:


IFRS 9 – Financial Instruments: The amendment clarifies that in applying the '10 per cent' test to assess whether to derecognize a financial liability, an entity includes only fees paid or received between the entity (the borrower) and the lender, including fees paid or received by either the entity or the lender on the other’s behalf.

IFRS 16 – Leases (effective period not applicable): The amendment removes the illustration of the reimbursement of leasehold improvements. As the amendment to IFRS 16 is only an illustrative example, no effective date is defined.

IFRS 1 - First-time Adoption of International Financial Reporting Standards: The amendment provides additional relief to a subsidiary which becomes a first-time adopter later than its parent in respect of accounting for cumulative translation differences.

IAS 41 - Biological Assets and Agricultural Produce: The amendment excluded the IAS 41 requirement for entities to exclude any cash flows for taxation in measuring the fair value of biological assets.


a.2 Accounting policies not adopted

 

The following new standards, amendments to standards and interpretations to IFRSs issued by the IASB were not adopted because they were not yet effective in the year ended December 31, 2022. The Company and its subsidiaries plan to adopt these new standards, amendments and interpretations, if applicable, when they become effective, and they do not expect to have significant impact on their future individual and consolidated financial statements. 

 

IFRS 10 and IAS 28 – Sale or Contribution of Assets between an Investor and its Associate or Joint Venture – The amendments address specifically the accounting treatment for gains and losses resulting from loss of control over a subsidiary that does not constitute a business in a transaction with an associate or joint venture, accounted for using the equity method of accounting.

IFRS 17 - Insurance Contracts - Establishes the principles for the recognition, measurement, presentation and disclosure of insurance contracts and supersedes IFRS 4 Insurance Contracts.

IAS 1 – Classification of Liabilities as Current or Non-current - The amendments clarify the meaning of a right to postpone the settlement of a liability; establish that the right to postpone should exist at the reporting date; specify that such classification is not affected by the expectation on whether an entity will exercise its right to postpone the settlement of the liability, and, also, that only if an embedded derivative into a convertible liability is an equity instrument, the terms of a liability would not affect their classification.

IAS 1 and practical expedient 2 of IFRS – Disclosure of Accounting Policies – The amendments replace the term "significant accounting policies" with "significant accounting policy information". Guides and examples are provided to help entities to apply the materiality judgment for the disclosure of accounting policies.

IAS 8 – Definition of Accounting Estimates - The amendments help entities distinguish changes in accounting estimates from changes in accounting policies and correction of errors. According to the new definition, accounting estimates are “monetary amounts in the financial statements that are subject to measurement uncertainty”.

IAS 12 – Deferred Tax related to Assets and Liabilities arising from a Single Transaction – The amendments introduce another exception to the initial recognition exemption, and are not applicable to exemption for transactions that result from equal temporary taxable and deductible differences. An entity shall recognize the corresponding deferred tax asset and liability in accordance with the recoverability criteria and the application of the amendments to transactions occurred in or after the beginning of the earliest comparative reporting period. Examples include the following: right-of-use assets and lease liabilities; and decommissioning, remediation and similar liabilities, and the corresponding amounts recognized as part of the cost of the related asset.

v3.23.1
Assets and liabilities from subsidiaries held for sale and discontinued operations
12 Months Ended
Dec. 31, 2022
Discontinued operations  
Discontinued operations

 

The divestments of Oxiteno and Extrafarma are aligned with Ultrapar's portfolio review. With a more complementary and synergistic businesses, Ultrapar concludes the rationalization phase of its portfolio and will now concentrate on developing investment opportunities in the verticals of energy and infrastructure, with increasing focus on energy transition, leveraged by its portfolio and expertise. In this context, the Company announced the contracts signing described below and, classified these transactions as discontinued operations.

 

a. Sale of shares of Extrafarma

 

On August 1, 2022, the transaction was closed, including the fulfillment of all precedent conditions. For further information, see Note 1.b.3.

 

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Extrafarma’s purchase and sale agreement

700,000


Cash/ Net debt on December 31, 2020

(99,897

)

Operation sale price

600,103


Estimated working capital and net debt adjustments

121,522


Cost of investment

(1,115,102

)

Reversal of impairment (*)

427,529


Provision for indemnities

(9,995

)

Transaction costs

(13,282

)

Gain on disposal of investments before the effect of cessation of depreciation

10,775


    Cessation of depreciation

(27,084

)

Loss on disposal of investments after the effect of depreciation

(16,309

)

    Current income and social contribution taxes

138,298


    Deferred income and social contribution taxes

(141,962

)

Loss on disposal of investments, net

(19,973

)

 

(*) For more information, see Note 2.v


b. Sale of shares of Oxiteno S.A.

 

On August 16, 2021, the Company announced the signing of an agreement for the sale of all shares of Oxiteno S.A. to Indorama. On April 1, 2022, the Company announced the conclusion of the transaction after approval by CADE without restrictions. For further information, see Note 1.b.2.

 

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Oxiteno’s purchase and sale agreement

6,994,191


Working capital and net debt adjustments

(13,146

)

Proceeds from settlement of intercompany loan held by Oxiteno

(3,980,702

)

Adjustment to present value on transaction closing date referring to deferred installment

(81,397

)

Revenue from the sale of investments, net of adjustment to present value

2,918,946 


    Cost of write-off of investment

(2,118,949

)

Cumulative translation adjustments, net of cash flow hedging losses, reclassified to the statement of income

(277,045

)

    Transaction costs

(77,843

)

    Provision for indemnities

(136,103

)

Gain on disposal of investments before the effect of cessation of depreciation

309,006


    Cessation of depreciation

(51,372

)

Gain on disposal of investments after the effect of depreciation

257,634


    Current income and social contribution taxes

(245,478

)

    Deferred income and social contribution taxes

46,247


Gain on disposal of investments, net

58,403


 

For further information, see Note 1.b.2.


c. Disclosure of the impacts of IFRS 5 - discontinued operations


The tables of discontinued operation are detailed below and include the profit or loss incurred throughout 2022 and 2021, when applicable. Eliminations refer to intercompany transactions, substantially represented by purchase and sale transactions, effects on the profit or loss of foreign debts contemplating hedging instruments, among others.


c.1 The results and cash flows from discontinued operations for the year  ended December 31, 2022 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations (*)


 

Ultrapar


 

12/31/2022


Net revenue from sales and services

 

2,039,287


 

1,235,487


 

(7,241

)

 

-


 

3,267,533


Cost of products and services sold

 

(1,580,000

)

 

(912,310

)

 

7,241


 

-


 

(2,485,069

)

Gross profit

 

459,287


 

323,177


 

-


 

-


 

782,464


Selling, marketing and administrative

 

(201,365

)

 

(438,601

)

 

-


 

-


 

(639,966

)

Other operating income (expenses), net

 

10,736


 

(5,951

)

 

-


 

241,325


 

246,110


Operating income (loss)

 

268,658


 

(121,375

)

 

-


 

241,325


 

388,608


Share of profit (loss) of subsidiaries, joint ventures and associates

 

(231

)

 

-


 

-


 

-


 

(231

)

Income (loss) before financial result and income and social contribution taxes

 

268,427


 

(121,375

)

 

-


 

241,325


 

388,377


Financial result, net

 

23,153


 

(25,059

)

 

54,431


 

-


 

52,525


Income (loss) before income and social contribution taxes

 

291,580


 

(146,434

)

 

54,431


 

241,325


 

440,902


Income and social contribution taxes

 

(16,924

)

 

20,826


 

(18,507

)

 

(202,895

)

 

(217,500

)

Net effect of cessation of depreciation (i)

 

51,372


 

27,084


 

-


 

-


 

78,456


Net income (loss) for the year

 

326,028


 

(98,524

)

 

35,924


 

38,430


 

301,858


 

(*) Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.


(i) As of January 1, 2022, the depreciation and amortization of assets classified as held for sale ceased, in compliance with item 25 of IFRS 5.

 

The impact of the proceeds from the sale of Oxiteno in the total amount of R$ 6.2 billion was considered in the statement of cash flows as a continuing operations, comprising the sale of the investment of approximately R$2.3 billion and the receipt of the intercompany loan owed by Oxiteno S.A. to Ultrapar International in the approximate amount of R$3.9 billion.

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

12/31/2022


Net cash (used in) provided by operating activities

(81,558

)

 

(68,370

)

 

180,478


 

30,550


Net cash (used in) provided by investing activities

1,011,736


 

(25,323

)

 

(1,206,603

)

 

(220,190

)

Net cash (used in) provided by financing activities

(1,245,754

)

 

40,585


 

1,026,144


 

(179,025

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

(19,316

)

 

-


 

-

 

(19,316

)

Increase (decrease) in cash and cash equivalents

(334,892

)

 

(53,108

)

 

19


 

(387,981

)


c.1.1 In the Parent, the proceeds from the sale of Oxiteno and the share of profit (loss) of investees Oxiteno and Extrafarma, net of transactions with related parties, had an impact of R$ 301,858, classified as income from discontinued operations in the consolidated financial statements.

 

c.2 The main classes of assets and liabilities classified as held for sale on December 31, 2021 are shown below:

 

Assets

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current assets

 


 

 


 

 


 

 


Cash and cash equivalents

334,882


 

53,099


 


 

387,981


Financial investments and derivative financial instruments

1,346,552


 


 


 

1,346,552


Trade receivables

993,960


 

35,743


 


 

1,029,703


Inventories

1,671,662


 

578,206


 


 

2,249,868


Recoverable taxes

634,718


 

62,053


 


 

696,771


Other assets

51,829


 

26,145


 

(5,035

)

 

72,939


Total current assets

5,033,603


 

755,246


 

(5,035

)

 

5,783,814


Non-current assets

 


 

 


 

 


 

 


Financial investments and derivative financial instruments

492,430


 


 


 

492,430


Related parties


 

1,674


 

(1,674

)

 


Deferred income and social contribution taxes

541,756


 

200,194


 


 

741,950


Recoverable taxes

393,723


 

17,938


 


 

411,661


Other assets

10,538


 

4,136


 


 

14,674


 

1,438,447


 

223,942


 

(1,674

)

 

1,660,715


Investments

36,207


 

5,000


 

(22,047

)

 

19,160


Right-of-use assets

31,871


 

318,183


 


 

350,054


Property, plant and equipment

2,787,241


 

154,663


 


 

2,941,904


Intangible assets

160,141


 

85,129


 


 

245,270


Total non-current assets

4,453,907


 

786,917


 

(23,721

)

 

5,217,103


Total assets held for sale

9,487,510


 

1,542,163


 

(28,756

)

 

11,000,917



Liabilities

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

302,154


 


 

(62,841

)

 

239,313


Trade payables

493,800


 

225,487


 

(1,949

)

 

717,338


Trade payables - reverse factoring

725,246


 

-


 

-


 

725,246


Salaries and related charges

176,941


 

45,843


 

-


 

222,784


Taxes payable

53,988


 

15,696


 

-


 

69,684


Income and social contribution taxes payable

12,415


 


 


 

12,415


Post-employment benefits

3,311


 

-


 

-


 

3,311


Provision for tax, civil and labor risks

2,946


 

520


 

-


 

3,466


Leases payable

11,702


 

64,312


 

-


 

76,014


Other liabilities

68,721


 

13,249


 

(13,264

)

 

68,706


Total current liabilities

1,851,224


 

365,107


 

(78,054

)

 

2,138,277


Non-current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

5,728,028


 


 

(5,725,594

)

 

2,434


Related parties

2,875


 


 

(2,875

)

 


Deferred income and social contribution taxes

12,964


 


 


 

12,964


Post-employment benefits

6,806


 

287


 

-


 

7,093


Provision for tax, civil and labor risks

33,149


 

2,370


 

-


 

35,519


Leases payable

22,786


 

314,915


 

-


 

337,701


Other liabilities

5,341


 

2,092


 

-


 

7,433


Total non-current liabilities

5,811,949


 

319,664


 

(5,728,469

)

 

403,144


Total equity

1,824,337


 

857,392


 

(2,681,729

)

 

-


Total liabilities held for sale and equity

9,487,510


 

1,542,163


 

(8,488,252

)

 

2,541,421


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.


c.2.1 The results and cash flows from discontinued operations for the year ended  December 31, 2021 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Net revenue from sales and services

 

7,102,771


 

1,986,932


 

(23,908

)

 

9,065,795


Cost of products and services sold

 

(5,540,773

)

 

(1,384,316

)

 

23,908


 

(6,901,181

)

Gross profit

 

1,561,998


 

602,616


 


 

2,164,614


Operating income (expenses)

 

 


 

 


 

 


 

 


Selling, marketing and administrative

 

(978,221

)

 

(685,794

)

 


 

(1,664,015

)

Impairment

 


 

(427,529

)

 


 

(427,529

)

Other operating income (expenses), net

 

26,924


 

(1,109

)

 


 

25,815


Operating income (loss)

 

610,701


 

(511,816

)

 


 

98,885


Share of profit (loss) of subsidiaries, joint ventures and associates

 

48


 


 

-


 

48


Income (loss) before financial result and income and social contribution taxes

 

610,749


 

(511,816

)

 

-


 

98,933


Financial result, net

 

(431,441

)

 

(45,265

)

 

329,736


 

(146,970

)

Income (loss) before income and social contribution taxes

 

179,308


 

(557,081

)

 

329,736


 

(48,037

)

Income and social contribution taxes

 

69,995


 

155,416


 

(112,110

)

 

113,301


Net income (loss) for the year

 

249,303


 

(401,665

)

 

217,626


 

65,264


Depreciation and amortization for the year (i)

 

308,564


 

154,850


 

-


 

463,414


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

(i) Balances included for a complete breakdown of segment information.

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net cash provided by (used in) operating activities

1,016,580


 

(33,273

)

 

(788

)

 

982,519


Net cash used in investing activities

(122,363

)

 

(35,072

)

 

(1,298

)

 

(158,733

)

Net cash (used in) provided by financing activities

(1,054,930

)

 

35,286


 

466,677


 

(552,967

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

56,553


 


 


 

56,553


(Decrease) increase in cash and cash equivalents

(104,160

)

 

(33,059

)

 

464,591


 

327,372


 

c.2.2 In the Parent, the share of profit (loss) of investees Oxiteno and Extrafarma, net of transactions with related parties, were re-presented as discontinued operations in the total amount of R$ 65,264 in the statement of income for 2021, as per Notes 4.c.2.1 and 13.

 

c.3 The results and cash flows from discontinued operations for the year ended December 31, 2020 are shown below:

 

 

Discontinued operations


 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net revenue from sales and services

 

5,210,704


 

1,988,411


 

(16,069

)

 

7,183,046


Cost of products and services sold

 

(4,188,711

)

 

(1,399,125

)

 

16,069


 

(5,571,767

)

Gross profit

 

1,021,993


 

589,286


 


 

1,611,279


Operating income (expenses)  

 

 


 

 


 

 


 

 


Selling marketing and administrative

 

(831,056

)

 

(662,182

)

 

-


 

(1,493,238

)

Other operating income, net

 

153,457


 

(5,403

)

 

-


 

148,054


Operating income (loss) before finance income (expenses) and share of profit (loss) of subsidiaries, joint ventures and associates

 

344,394


 

(78,299

)

 


 

266,095


Share of profit (loss) of subsidiaries, joint ventures and associates

 

414


 


 

-


 

414


Operating income (loss) before finance income (expenses) and income and social contribution taxes

 

344,808


 

(78,299

)

 

-


 

266,509


Financial result, net

 

1,482


 

(38,938

)

 

318,430


 

280,974


Profit (loss) before income and social contribution taxes

 

346,290


 

(117,237

)

 

318,430


 

547,483


Income and social contribution taxes

 

(118,132

)

 

(40,453

)

 

(108,265

)

 

(266,850

)

Net income from continuing operations

 

-


 

-


 

-


 

-


Net income from discontinued operations

 

-


 

-


 

-


 

280,633


Profit (loss) for the year

 

228,158


 

(157,690)


 

210,165


 

280,633


Depreciation and amortization for the year (i)

 

275,063


 

153,899


 

-


 

428,962


 

(i) Balances included for complete breakdown of segment information.

 

 

 

Discontinued operations

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


 

 

 


 

 


 

 


 

(B)


Net cash provided by (used in) operating activities

 

765,090


 

111,396


 

(2,380

)

 

874,106


Net cash used in investing activities

 

(159,349

)

 

(6,484

)

 

(321,557

)

 

(487,390

)

Net cash (used in) provided by financing activities

 

(1,236,490

)

 

11,272


 

305,534


 

(919,684

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

 

114,822


 


 


 

114,822


Increase (decrease) in cash and cash equivalents

 

(515,927

)

 

116,184


 

(18,403

)

 

(418,146

)

v3.23.1
Cash and cash equivalents, financial investments and derivative financial instruments
12 Months Ended
Dec. 31, 2022
Cash and cash equivalents, financial investments and derivative financial instruments  
Cash and cash equivalents, financial investments and derivative financial instruments

 

Cash equivalents and financial investments, excluding cash and bank deposits, are substantially represented by investments: (i) in Brazil, in certificates of deposit of financial institutions linked to interest rate of the DI, in repurchase agreement, financial bills, and in short-term investment funds, whose portfolio is comprised of Brazilian Federal Government bonds and certificates of deposit of financial institutions; (ii) outside Brazil, in certificates of deposit of financial institutions and in short-term investment funds, whose portfolio is comprised of Federal Government bonds; and (iii) in currency and interest rate hedging instruments.

 

The financial assets were classified based on business model of financial assets of the Company and its subsidiaries and are disclosed in Note 31.i.

 

The breakdown of cash and cash equivalents and financial investments is as follows:

 

a.              Cash and cash equivalents

 

Cash and cash equivalents of the Company and its subsidiaries are presented as follows:

 

 

12/31/2022


 

12/31/2021


Cash and bank deposits

 


 

 


In local currency

105,986


 

317,907


In foreign currency

5,811


 

16,640


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities

5,204,766


 

1,943,164


In foreign currency

 


 

 


Fixed-income securities

305,206


 

2,363


Total cash and cash equivalents

5,621,769


 

2,280,074



b. Financial investments and derivative financial instruments
 

The financial investments that are not classified as cash and cash equivalents are presented as follows: 

 

 

12/31/2022


 

12/31/2021


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities and funds

406,683


 

1,607,608


In foreign currency

 


 

 


Fixed-income securities and funds

-


 

103,239


Derivative financial instruments (a)

556,510


 

472,552


Total financial investments and derivative financial instruments

963,193


 

2,183,399


Current

520,352


 

1,804,122


Non-current

442,841


 

379,277


 

(a)  Accumulated gains, net of income tax (see Note 31.i).

v3.23.1
Trade receivables, reseller financing and other receivables
12 Months Ended
Dec. 31, 2022
Trade receivables, reseller financing and other receivables  
Trade receivables, reseller financing and other receivables

 

a. Trade receivables

 

The breakdown of trade receivables is as follows:

 

 

12/31/2022


 

12/31/2021


Domestic customers

4,527,167


 

3,805,756


Domestic customers - related parties (see note 9.a.2)

64


 

57


Foreign customers

3,401


 

3,137


Foreign customers - related parties (see note 9.a.2)

2,695


 

4,400


 

4,533,327


 

3,813,350


(-) Loss allowance for expected credit losses

(322,753

)

 

(374,355

)

Total

4,210,574


 

3,438,995


Current

4,149,111


 

3,375,246


Non-current

61,463


 

63,749



The breakdown of trade receivables, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

4,533,327



3,930,178



20,873



18,741



21,482



46,586



495,467


12/31/2021

3,813,350



3,131,528



90,024



33,255



24,804



23,903



509,836


 

The breakdown of the allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

322,753



21,425



1,747



1,384



4,913



15,222



278,062


12/31/2021

374,355



21,962



1,595



3,049



2,761



14,926



330,062

 

Movements in the allowance for expected credit losses are as follows:

 

Balance as of December 31, 2019

404,886


Additions

194,220


Reversals

(203,994

)

Write-offs

(13,016

)

Balance as of December 31, 2020

382,096


Additions

177,872


Reversals

(150,160

)

Write-offs

(18,646

)

Reclassification to assets held for sale

(16,807

)

Balance as of December 31, 2021

374,355


Additions

143,828


Reversals

(130,385

)

Write-offs

(65,045

)

Balance as of December 31, 2022

322,753



For further information on the allowance for expected credit losses, see Note 31.d.3.


b. Reseller financing

 

The breakdown of reseller financing is comprised as follows:

 

 

12/31/2022


 

12/31/2021


Reseller financing – Ipiranga

1,234,634


 

1,183,312


(-) Allowance for expected credit losses

(173,287

)

 

(185,278

)

 

1,061,347


 

998,034


Current

559,825


 

582,562


Non-current

501,522


 

415,472



The breakdown of reseller financing, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

1,234,634



826,210



8,944



3,892



11,040



11,943



372,605


12/31/2021

1,183,312



770,008



19,260



24,290



14,373



26,685



328,696



The breakdown of the loss allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

173,287



1,327



483



1,132



3,704



4,937



161,704


12/31/2021

185,278



1,514



6,410



8,697



6,255



9,892



152,510



Movements in the allowance for expected credit losses are as follows:


Balance as of December 31, 2019

156,006


Additions

74,745


Reversals

(29,791

)

Write-offs

(3,949

)

Balance as of December 31, 2020

197,011


Additions

65,536


Reversals

(68,982

)

Write-offs

(8,287

)

Balance as of December 31, 2021

185,278


Additions

45,987


Reversals

(52,695

)

Write-offs

(5,283

)

Balance as of December 31, 2022

173,287



For further information on the allowance for expected credit losses, see Note 31.d.3.


c. Trade receivables - sale of subsidiaries

 

The breakdown of other receivables is comprised as follows: 

 

 

12/31/2022


Sale of subsidiary Oxiteno:

 


Receivables from sale of investments (i)

782,655


(-) Adjustment to present value - sale of investments (ii)

(55,598

)

Sale of subsidiary Extrafarma:

 


Receivables from sale of investments (iii)

369,508


 

1,096,565


Current

184,754


Non-current

911,811


 

(i) Refers to the final installment of the sale of Oxiteno, in amount of USD 150 million, due in 2024. In May 2022, the Company made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Oxiteno to Ultrapar International.

 

(ii) The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.1741%. The amount as of December 31 includes present value realization and exchange variation of the transaction closing date until December 31, 2022.

 

(iii) Refer to the sale of Extrafarma, which will be paid in two installments of R$ 184,754, maturing in August 2023 and August 2024, monetarily adjusted by the DI rate + 0.5% p.a. In December 2022, the subsidiary IPP made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Extrafarma to the Company.

v3.23.1
Inventories
12 Months Ended
Dec. 31, 2022
Classes of current inventories [abstract]  
Inventories

 

The breakdown of inventories, net of provision for losses, is shown below:

 

 

12/31/2022


 

12/31/2021


Fuels, lubricants and greases

3,782,522


 

3,038,061


Raw materials

380,993


 

293,242


Liquified petroleum gas (LPG)

143,516


 

146,070


Consumable materials and other items for resale

125,239


 

115,275


Purchase for future delivery (1)

453,817


 

301,992


Properties for resale

19,996


 

24,132


 

4,906,083


 

3,918,772



 (1) Refers substantially to ethanol, biodiesel and advances for fuel acquisition

 

Movements in the provision for losses are as follows:

 

Balance as of December 31, 2019

40,724


Additions to net realizable value adjustment

2,245


Reversals of obsolescence and other losses

(1,976

)

Balance as of December 31, 2020

40,993


Addition to provision for adjustment to realizable value

5,974


Reversal of provision for obsolescence and other losses

(5,184

)

Reclassification to assets held for sale

(28,705

)

Balance as of December 31, 2021

13,078


Provision for obsolescence and other losses

10,028


Reversal of provision for adjustment to realizable value

(1,180

)

Balance as of December 31, 2022

21,926


v3.23.1
Recoverable taxes
12 Months Ended
Dec. 31, 2022
Recoverable taxes  
Recoverable taxes

 

a. Recoverable taxes

 

Recoverable taxes are substantially represented by credits of Tax on Goods and Services (“ICMS”, the Brazilian VAT), Contribution for Social Security Financing (“COFINS”) and Social Integration Program (“PIS”).

 

 

12/31/2022


 

12/31/2021


ICMS – State VAT (a.1)

1,312,990


 

893,206


PIS and COFINS – Federal VAT (a.2)

2,410,736


 

1,177,513


Valued-added tax of foreign subsidiaries

-


 

179


Others

59,545


 

37,127


Total

3,783,271


 

2,108,025


Current

1,610,312


 

1,061,227


Non-current

2,172,959


 

1,046,798



a.1 The recoverable ICMS net of provision for losses is substantially related to the following subsidiaries and operations:

 

The subsidiaries IPP, Bahiana Distribuidora de Gás Ltda. (“Bahiana”), Cia. Ultragaz, AMPM, Tropical and Iconic Lubrificantes S.A. (“Iconic”) have credits in the amount of R$ 1,312,990 (R$ 893,206 as of December 31, 2021) recognized, mainly of the following nature: a) transactions of inputs and outputs of products subject to taxation of the own ICMS; b) interstate outflows of oil-related products, whose ICMS was prepaid by the supplier (Petróleo Brasileiro S.A. (“Petrobras”), in the case of the subsidiaries IPP, Bahiana and Cia. Ultragaz; and c) credits for refunds of the ICMS-ST (tax substitution) overpaid when the estimated calculation base is used higher than that of the actual operation performed by the subsidiary IPP.


The amounts of recoverable ICMS are realized by the operation subjected to taxes itself, being a revolving credit, which means that the credits are monthly offset against the tax payable on sales and new credits are generated by the acquisition of inputs, as well as by the State's refund on tax substitution operations. Management estimates the realization of the credits classified in non-current assets within a term of up to 5 years.


The estimated recovery of ICMS credits is stated as follows:


Up to 1 year
568,748
From 1 to 2 years
278,500
From 2 to 3 years
197,252
From 3 to 5 years
268,490
Total recoverable ICMS, net of provision
1,312,990


The provision for ICMS losses, in the amount of R$ 59,868 (R$ 48,502 as of December 31, 2021), relates to tax credit of the subsidiaries whose amounts are not included within the term determined internal policies of provisioning.

 

a.2 The recoverable PIS and COFINS are substantially related to:

 

ICMS in the PIS and COFINS calculation basis - The balance of PIS and COFINS includes credits recorded under Laws 10,637/02 and 10,833/03, as well as amounts arising from a favorable decision regarding the exclusion of ICMS from the PIS and COFINS calculation basis. For further details, see note 26.


Supplementary Law 192 – On March 11, 2022, Supplementary Law 192/22 (“LC 192/22”) was published to reduce the tax burden of the fuel supply chain. Art. 9 of said law established  the reduction of the PIS and Cofins tax rates levied on diesel, biodiesel and LPG to zero through December 31, 2022, ensuring at the same time the maintenance of credits taken across the whole supply chain.

On May 18, 2022, Provisional Act 1,118/22 amended Supplementary Law 192/22 to eliminate the right to take PIS and Cofins credits on purchases of diesel, LPG and biodiesel by end consumers. With the enactment of said Provisional Act, on June 2, 2022, was filed a Direct Unconstitutionality Action 7181  to challenge the provision in MP 1118/22.  On June 21, 2022 the Federal Supreme Court unanimously ratified the decision that considered MP 1118/22 unconstitutional due to violation of the 90-day principle. 


Due to such court injunction and the non-conversion of Provisional Act 1,118/22 into law, the provisions in LC 192/22, which assured to all legal entities that are part of the fuel supply chain, including the Company’s subsidiaries, the maintenance of PIS and COFINS credits in connection with those transactions in the period from March 11, 2022  (LC 192/22 publication date) to August 15, 2022 (90 day after the publication of the provisional act that restricted the right to take credits on taxpayers), which, as decided by STF, must be the MP 1118/22 effective date, remained in force.


Accordingly the Company, advised by intern and external legal experts, by means of its subsidiaries Ipiranga and Ultragaz, recognized PIS and Cofins credits in the amount of R$ 971,373, based on Management´s projections and estimates of the realization of such credits. The Management estimates the realization of these credits within up to 5 years.

 

b. Recoverable income and social contribution taxes

 

Relates to IRPJ and CSLL to be recovered by the Company and its subsidiaries, arising from the tax advances of previous years, as well as referring to lawsuits on the non-levy of IRPJ and CSLL on the monetary variation (SELIC) in the repetition of undue payments, The Management estimating the realization of these credits within up to 5 years.

 

 

12/31/2022


 

12/31/2021


IRPJ and CSLL

499,517


 

447,191


Current

96,134


 

291,833


Non-current

403,383


 

155,358


v3.23.1
Related Parties
12 Months Ended
Dec. 31, 2022
Disclosure of transactions between related parties [abstract]  
Related Parties


a. Related parties

 

Balances and transactions between the Company and its subsidiaries have been eliminated in consolidation and are not disclosed in this note. The balances and transactions between the Company and its subsidiaries with other related parties are highlighted below:


 

12/31/2022


 

Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

26,062


 

-


 

336,781


União Vopak Armazéns Gerais Ltda.

-



-


 

61


 

-


 

784


 

-


Latitude Logística Portuária S.A.

-



-


 

3


 

346


 

-


 

-


Nordeste Logistica I S.A.

-



-


 

-


 

22


 

-


 

-


Nordeste Logistica III S.A.

-



-


 

-


 

17


 

-


 

-


Chevron (Thailand) Limited (2)

-



-


 

-


 

113


 

-


 

832


Chevron Latin America Marketing LLC (2)

-



-


 

34


 

-


 

-


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

403


 

-


 

930


 

-


Chevron Marine Products (2)

-



-


 

1,950


 

-


 

14,068


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,912


 

-


 

162,006


Chevron Products Company (2)

-



-


 

-


 

178,846


 

-


 

699,154


Chevron Belgium NV (2)

-



-


 

-


 

326


 

-


 

13,053


Chevron Petroleum CO Colombia (2)

-



-


 

220


 

-


 

220


 

-


Chevron Lubricants Lanka PLC (2)

-



-


 

88


 

-


 

88


 

-


Others (1)

-



617


 

-


 

-


 

-


 

-


Total

-



3,492


 

2,759


 

259,644


 

16,090


 

1,211,826


 

(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.


 

12/31/2021


 

12/31/2021


 

 Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

90,761


 

-


 

619,785


União Vopak Armazéns Gerais Ltda.

-



-


 

57


 

-


 

1,402


 

-


Chevron (Thailand) Limited (2)

-



-


 

204


 

-


 

675


 

1,072


Chevron Lubricants Lanka PLC (2)

-



-


 

-


 

-


 

164


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

319


 

-


 

786


 

-


Chevron Marine Products (2)

-



-


 

3,663


 

-


 

24,583


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,378


 

78


 

150,878


Chevron Products Company (2)

-



-


 

-


 

158,557


 

-


 

789,452


Chevron Belgium NV (2)

-



-


 

-


 

821


 

-


 

7,520


Chevron Petroleum CO Colombia (2)

-



-


 

214


 

-


 

392


 

-


Others (1)

490



659


 

-


 

-


 

-


 

-


Total

490



3,534


 

4,457


 

303,517


 

28,080


 

1,568,707



(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.

 

 

Trading transactions


 

Sales and services


 

Purchases


 

Expenses


Oxicap Indústria de Gases Ltda.

471


 

19,077


 

-


Refinaria de Petróleo Riograndense S.A.

-


 

314,587


 

-


ConectCar Soluções de Mobilidade Eletrônica S.A.

3,062


 

154


 

-


LA’7 Participações e Empreend. Imob. Ltda. (a)

-


 

-


 

1,613


Chevron (Thailand) Limited

-


 

759


 

-


Chevron Oronite Brasil LTDA.

-


 

108,198


 

-


Chevron Products Company

-


 

247,578


 

-


Chevron Belgium NV

-


 

6,707


 

-


Total as of December 31, 2020

3,533


 

697,060


 

1,613



(a) Refers to rental contracts of 15 drugstores owned by LA’7 as of December 31, 2020, a company of the former shareholders of Extrafarma that are current shareholders of Ultrapar.


Purchase and sale transactions relate substantially to the purchase of raw materials, feedstock, transportation, and storage services based on prices and terms negotiated between the parties, with customers and suppliers with comparable operational performance. In the opinion of the Company’s and its subsidiaries’ Management, transactions with related parties are not subject to settlement risk, therefore, no provision for expected losses on accounts receivable or guarantees are recorded. Guarantees provided by the Company in loans of subsidiaries and associates are mentioned in Note 17


b. Key executives

 

The Company’s compensation strategy for Management’s key executives combines short and long-term elements, following the principles of alignment of interests and of maintaining a competitive compensation, and is aimed at retaining key officers and remunerating them adequately according to their attributed responsibilities and the value created to the Company and its shareholders.

 

Short-term compensation is comprised of: (a) fixed monthly compensation paid with the objective of rewarding the executive’s experience, responsibility, and his/her position’s complexity, and includes salary and benefits such as medical coverage, check-up, life insurance, and others; (b) variable compensation paid annually with the objective of aligning the executive’s and the Company’s objectives, which is linked to: (i) the business performance measured through its economic value creation and (ii) the fulfillment of individual annual goals that are based on the strategic plan and are focused on expansion and operational excellence projects, people development and market positioning, among others. For further details about post-employment benefits see Note 21.b.


The expenses for compensation of its key executives (Company’s directors and executive officers) are shown below:

 

 

2022



2021



2020


Short-term compensation

62,285



47,003



47,936


Stock compensation

18,424



15,778



4,786


Post-employment benefits

4,035



2,737



2,866


Termination benefits

-



5,637



-


Total

84,744



71,155



55,588



c. Deferred stock plan

 

Since 2003 Ultrapar has adopted a stock plan in which the executive has the benefit from shares held in treasury until the transfer of the full ownership of the shares to those eligible members of management after five to seven years from the initial grant of the rights subject to uninterrupted employment of the participant during the period. The volume of shares and the executives eligible are determined by the Board of Board of Directors, and there is no mandatory annual grant. The total number of shares to be used in the plan is subject to the number of shares in treasury. Ultrapar’s Board of Directors members are not eligible to participate in the stock plan. The fair value of the grants was determined on the grant date based on the market value of the shares on B3, the Brazilian Securities, Commodities and Futures Exchange and the amounts are amortized between five to seven years from the grant date.

 

The table below summarizes shares granted to the management of the Company and its subsidiaries:

 

Grant date

Number of shares granted



Vesting period



Market price of shares on the grant date (in R$ per share)



Total grant costs, including taxes


 

Accumulated recognized grant costs


 

Accumulated unrecognized grant costs


March 4, 2016

66,664



2023



32.72



9,732


 

(9,644

)

 

88


Balance as of December 31, 2022

66,664



 



 



9,732


 

(9,644

)

 

88

 

For the year ended December 31, 2022, the amortization of R$ 1,204 (reversal of R$ 1,902 – continuing operation and R$ 1,325 – discontinued operation for the year ended December 31, 2021 and reversal of R$ 64 – continuing operation and R$ 2,296 – discontinued operation for year ended December 31, 2020) was recognized as general and administrative expense.

 

The table below summarizes the changes in the number of shares granted:

 

Balance as of December 31, 2019
1,224,524
Cancellation of granted shares due to termination of executive employment
(200,000 )
Shares vested and transferred
(322,264 )

Balance as of December 31, 2020

 

702,260


Shares transferred to executives

 

(448,930

)

Reclassification to assets held for sale

 

(119,998

)

Balance as of December 31, 2021

 

133,332


Shares transferred to executives

 

(66,668

)

Balance as of December 31, 2022

 

66,664



In addition, on April 19, 2017, the Ordinary and Extraordinary General Shareholders’ Meeting (“OEGM”) approved a new incentive plan based on shares (“Plan”), which establishes the general terms and conditions for the granting of common shares issued by the Company and held in treasury, that may or may not involve the granting of usufruct of part of these shares for later transfer of the ownership of the shares, in periods of three to six years, to directors or employees of the Company or its subsidiaries. 


As a result of the Plan, common shares representing at most 1% of the Company's share capital may be delivered to the participants, which corresponds, at the date of approval of this Plan, to 11,128,102 common shares.

 

The table below summarizes the restricted and performance stock programs:


Program

Grant date

Number of shares granted (Quantity)



Vesting period



Market price of shares on the grant date (in R$ per share)



Total exercisable grant costs, including taxes (in R$ thousands)


 

Accumulated recognized exercisable grant costs (in R$ thousands)


 

Accumulated unrecognized exercisable grant costs


Restricted

April 4, 2018

6,658



2023



34.35



427


 

(406

)

 

21


Restricted

September 19, 2018

80,000



2024



19.58



2,675


 

(1,895

)

 

780


Restricted

September 24, 2018

80,000



2024



18.40



2,528


 

(1,791

)

 

737


Restricted

April 3, 2019

74,916



2023 and 2024



23.25



3,264


 

(2,758

)

 

506


Performance (ii)

April 3, 2019

37,458



2024



23.25



1,619


 

(1,214

)

 

405


Restricted

September 2, 2019

320,000



2025



16.42



9,013


 

(5,007

)

 

4,006


Restricted

April 1, 2020

182,853



2023 to 2025



12.53



4,267


 

(3,064

)

 

1,203


Performance (ii)

April 1, 2020

276,580



2023 to 2025



12.53



6,440


 

(4,854

)

 

1,586


Restricted

September 16, 2020

300,000



2026



23.03



11,793


 

(4,586

)

 

7,207


Restricted

April 7, 2021

425,422



2024



21.00



16,705


 

(9,744

)

 

6,961


Performance (ii)

April 7, 2021

454,520



2024



21.00



17,824


 

(10,864

)

 

6,960


Restricted

September 22, 2021

1,000,000



2027



14.17



24,363


 

(5,543

)

 

18,820


Restricted

April 6, 2022

777,065



2025



14.16



20,573


 

(5,143

)

 

15,430


Performance (ii)

April 6, 2022

779,232



2025



14.16



20,631


 

(5,201

)

 

15,430


Restricted

September 21, 2022

2,640,000



2032



12.98



64,048


 

(2,135

)

 

61,913


Restricted

December 7, 2022

1,500,000



2032



13.47



38,125


 

(318

)

 

37,807


 

8,934,704



 



 



244,295


 

(64,523

)

 

179,772


 

For the year ended December 31, 2022, a general and administrative expense in the amount of R$ 38,204 was recognized in relation to the Plan (R$ 24,067 for the year ended December 31, 2021 and R$ 10,440 for the year ended December 31, 2020).


Balance as of December 31, 2019
1,738,660
Shares granted on April 1, 2020
877,788
Shares granted on September 16, 2020
700,000
Cancellation of granted shares due to termination of executive employment
(353,294 )
Cancellation of performance shares
(52,992 )

Balance as of December 31, 2020

 

2,910,162


Shares granted on April 7, 2021

 

1,386,504


Shares granted on September 22, 2021

 

1,000,000


Performance shares (i)

 

(133,326

)

Cancellation of granted shares due to termination of executive employment

 

(133,186

)

Reclassification to assets held for sale

 

(614,860

)

Balance as of December 31, 2021

 

4,415,294


Shares granted during the year

 

5,702,027


Cancellation of granted shares due to termination of executive employment

 

(934,310

)

Shares transferred (vesting)

 

(484,651

)

Reclassification from assets held for sale

 

236,344


Balance as of December 31, 2022

 

8,934,704


 

(i) Refers to the reversal of the provision constituted in view of the significant probability that performance indicators will not be achieved.

(ii) The performance targets are established by grant in accordance with individual and collective business goals. 

v3.23.1
Income and Social Contribution Taxes
12 Months Ended
Dec. 31, 2022
Disclosure of income and social contribution taxes [abstract]  
Income and Social Contribution Taxes

 

a. Deferred income (IRPJ) and social contribution taxes (CSLL)

 

The Company and its subsidiaries recognize deferred tax assets and liabilities, which are not subject to the statute of limitations, mainly resulting from provision for differences between cash and accrual basis, tax loss carryforwards, negative tax bases and provisions for tax, civil, and labor risks. Deferred tax assets are sustained by the continued profitability of their operations. Deferred IRPJ and CSLL are recognized under the following main categories:


 

12/31/2022


 

12/31/2021


Assets - deferred income and social contribution taxes on:

 


 

 


Provision for losses with assets

47,436


 

57,924


Provision for tax, civil and labor risks

225,585


 

188,236


Provision for post-employment benefits

74,644


 

73,335


Provision for differences between cash and accrual basis (i)

63,330


 

24,754


Goodwill

3,561


 

4,825


Business combination – tax basis vs. accounting basis of goodwill

17,575


 

18,699


Provision for asset retirement obligation

15,737


 

16,991


Provision for suppliers

132,657


 

39,364


Provision for profit sharing and bonus

69,588


 

44,876


Leases payable

60,484


 

41,463


Change in fair value of subscription warrants

9,224


 

10,957


Provision for deferred revenue

8,121


 

15,643


Other temporary differences 

43,715


 

2,769


Tax losses and negative basis for social contribution carryforwards (10.d)

283,238


 

148,345


Total

1,054,895


 

688,181


Offset liability balance

(156,660

)

 

(116,426

)

Net balances of deferred tax assets

898,235


 

571,755


Liabilities - deferred income and social contribution taxes on:

 


 

 


Revaluation of property, plant and equipment

387


 

408


Leases payable

171


 

138


Provision for differences between cash and accrual basis (i)

9,389


 

19,664


Goodwill

27,691


 

28,676


Business combination - fair value of assets

61,521


 

66,079


Other temporary differences

57,800


 

1,743


Total

156,959


 

116,708


Offset asset balance

(156,660

)

 

(116,426

)

Net balance of deferred tax liabilities

299


 

282


 

(i) Refers, mainly, to the income tax on the exchange variation of the hedge derivative instruments.


Changes in the net balance of deferred IRPJ and CSLL are as follows:

 

Balance as of December 31, 2019

646,163


Deferred IRPJ and CSLL recognized in income for the year

234,244


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

(146,305

)

Deferred IRPJ and CSLL recognized in other comprehensive income

210,034


Others

17,843


Balance as of December 31, 2020

961,979


Deferred IRPJ and CSLL recognized in income for the year

242,246


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

110,821


Deferred IRPJ and CSLL recognized in other comprehensive income

(11,366

)

Reclassification to assets held for sale

(728,986

)

Others

(3,221

)

Balance as of December 31, 2021

571,473


Deferred IRPJ and CSLL recognized in income for the year

296,459


Deferred IRPJ and CSLL recognized in income for the year from discontinued operation

31,138


Deferred IRPJ and CSLL recognized in other comprehensive income

(1,134

)

Balance as of December 31, 2022

897,936



In order to evaluate the realization of deferred tax assets, the taxable profit projections from business plans of each segment of the Company which indicates trends and perspectives, demand effects, competition and other economic factors, and that represent the management’s best estimate about the economic conditions existing during the period of realization of the deferred tax asset were taken into account.

 

The main key assumptions used to calculate the realization of deferred tax assets are: growth in Gross Domestic Product (“GDP”), exchange rate, basic interest rate (SELIC) and DI, inflation rate, commodity price index, among others. The consolidated balance of the Company of R$ 1,054,895 were supported by the technical study on taxable profit projections for the realization of deferred tax assets.


b. Reconciliation of income and social contribution taxes in the statement of income

 

IRPJ and CSLL are reconciled to the statutory tax rates as follows:

 

 

2022


 

2021


 

2020


Income before taxes

1,879,725


 

1,006,648


 

951,581


Statutory tax rates - %

34


 

34


 

34


Income and social contribution taxes at the statutory tax rates

(639,107

)

 

(342,260

)

 

(323,538

)









Adjustment to the statutory income and social contribution taxes:

 


 

 


 

 


Nondeductible expenses (i)

(11,006

)

 

(45,569

)

 

(33,420

)

Nontaxable revenues (ii)

23,149


 

138,631


 

2,757


Adjustment to estimated income (iii)

10,136


 

3,901


 

8,850


Unrecorded deferred income and social contribution tax carryforwards (iv)

(4,602

)

 

(5,285

)

 

(3,166

)

Share of profit (loss) of subsidiaries, joint ventures and associates

4,142


 

(5,995

)

 

(14,972

)

Interest on capital

153,004


 

-


 

-


Other adjustments

29,326


 

21,414


 

12,911


Income and social contribution taxes before tax incentives

(434,958

)

 

(235,163

)

 

(350,578

)

Tax incentives – SUDENE (10.c)

93,444


 

47,129


 

46,061


Income and social contribution taxes in the statement of income

(341,514

)

 

(188,034

)

 

(304,517

)

Current 

(637,973

)

 

(430,280

)

 

(538,761

)

Deferred

296,459


 

242,246


 

234,244


Effective IRPJ and CSLL rates - %

18,2


 

18.7


 

32.0



(i) Consist of certain expenses that cannot be deducted for tax purposes under applicable tax legislation, such as expenses with fines, donations, gifts, losses of assets, negative results of foreign subsidiaries and certain provisions.
(ii) Consist of certain gains and income that are not taxable under applicable tax legislation, such as the reimbursement of taxes and the reversal of certain provisions, as well as recovery of tax credits and amounts related to non-taxation of the income and social contribution taxes on the monetary adjustment (SELIC) in the repetition of undue tax lawsuits.
(iii) Brazilian tax law allows for an alternative method of taxation for companies that generated gross revenues of up to R$ 78 million in their previous fiscal year. Certain subsidiaries of the Company adopted this alternative form of taxation, whereby income and social contribution losses are calculated on a basis equal to 32% of the operating revenues, as opposed to being calculated based on the effective taxable income of these subsidiaries. The adjustment to estimated income represents the difference between the taxation under this alternative method and the income and social contribution taxes that would have been paid based on the effective statutory rate applied to the taxable income of these subsidiaries.
(iv) See Note 10.d.


c. Tax incentives – SUDENE

 

The following subsidiaries have the benefit of income tax reduction for belonging to the sectors of the economy considered priority for the subsidized areas, under the terms of the development program of the region operated by the Superintendence for the Development of the Northeast (“SUDENE”), in compliance with the current law:

 

Subsidiary

Units



Incentive - %



Expiration


Bahiana Distribuidora de Gás Ltda.

Mataripe base



75



2024


 

Caucaia base



75



2025


 

Juazeiro base



75



2026


 

Aracaju base



75



2027


 

Suape base



75



2027


Ultracargo Logística S.A.

Aratu Terminal(1)



75



2022


 

Suape Terminal



75



2030


 

Itaqui Terminal



75



2030


 

(1)     In December 2022, an application for renewal of Aratu Terminal concession term for an additional 10 years was filed with SUDENE.


d. Tax losses and negative basis for social contribution carryforwards

 

As of December 31, 2022, the Company and certain subsidiaries had tax loss carryforwards related to income tax (IRPJ) and social contribution, whose annual compensations are limited to 30% of taxable income in a given tax year, which do not expire.

 

The balances comprising deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:

 

 

12/31/2022


 

12/31/2021


Oil Trading

93,627


 

53,839


Ultrapar (i)

65,505


 

43,441


Abastece aí

66,347


 

41,065


Ipiranga

28,894


 

-


Ultracargo Vila do Conde

22,313


 

9,861


Others

6,552


 

139


 

283,238


 

148,345


 

(i) Include the amount of R$ 33,663 of deferred taxes recognized on the tax loss of subsidiary Ultrapar International as of December 31, 2022 (R$ 8,510 as of December 31, 2021).


The balances which are not constituted of deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:

 

 

12/31/2022


 

12/31/2021


Integra Frotas

12,394


 

11,769


Millennium

6,154


 

3,174


Others

997


 

-


 

19,545


 

14,943



e. Non-levy of IRPJ/CSLL on the update by Selic of tax undue payments received from the Federal Government

 

The Company and its subsidiaries have lawsuits claiming the non-levy of IRPJ and CSLL on monetary variation (SELIC) on tax credits. On September 27, 2021, the Federal Supreme Court judged that the levy of IRPJ and CSLL on amounts related to monetary variation (SELIC) received by taxpayers in the repetition of undue tax payments is unconstitutional. The balance of such credits as of December 31, 2022 amounts to R$ 128,420 (R$ 106,667 as of December 31, 2021).

v3.23.1
Prepaid Expenses
12 Months Ended
Dec. 31, 2022
Prepayments and accrued income other than contract assets [abstract]  
Prepaid Expenses


 

12/31/2022


 

12/31/2021


Rents 

26,888


 

54,327


Advertising and publicity

49,426


 

28,410


Insurance premiums

48,584


 

26,917


Software maintenance

26,114


 

19,863


Employee benefits

6,923


 

8,362


IPVA and IPTU

1,195


 

1,553


Contribution - private pension fund (see Note 21.a)

18,204


 

19,831


Other prepaid expenses

21,178


 

10,129


 

198,512


 

169,392


Current

123,699


 

98,024


Non-current

74,813


 

71,368


v3.23.1
Contractual Assets with Customers - Exclusive Rights
12 Months Ended
Dec. 31, 2022
Receivables from contracts with customers [abstract]  
Contractual Assets with Customers - Exclusive Rights

 

Refers to exclusivity rights reimbursements of Ipiranga’s agreements with reseller service stations and major customers that are recognized at the time of their occurrence and recognized as reductions of the revenue from sales and services in the statement of income according to the conditions established in the agreement, being reviewed as changes occurs under the terms of the agreements. The contract amortization occurs in accordance with the contractual terms of costumer performance. 

 

Changes are shown below:

 

Balance as of December 31, 2019

1,465,989


Additions

549,085


Amortization

(289,436

)

Transfer

(19,307

)

Balance as of December 31, 2020

1,706,331


Additions

689,986


Amortization

(282,521

)

Transfers

(34,570

)

Balance as of December 31, 2021

2,079,226


Additions

637,502


Amortization

(504,907

)

Transfers

(6,230

)

Balance as of December 31, 2022

2,205,591


Current

614,112


Non-current

1,591,479


v3.23.1
Investments in joint controlled entities and associates
12 Months Ended
Dec. 31, 2022
Investments in joint controlled entities and associates  
Investments in joint controlled entities and associates

 

The table below presents the positions of equity and income (loss) for the year:

 

 

Equity



Net income (loss) for the year



Interest in share capital - %


 

Investment

 


Share of profit (loss) of joint ventures and associates


 

 

12/31/2022



12/31/2021

 


12/31/2022



12/31/2021



12/31/2020


Joint ventures

 



 



 


 

 



 

 


 



 



 


União Vopak – Armazéns Gerais Ltda (1)

8,912



(7,760

)

50


 

4,456



8,336

 


(3,880

)

602



392


Refinaria de Petróleo Riograndense S.A. (2)

75,840



78,614



33


 

25,186



4,548

 


26,110



823



(21,788

)

ConectCar Soluções de Mobilidade Eletrônica S.A. (3)






 



 




(18,081

)

(21,638

)

Latitude Logística Portuária S.A (4)

15,276



(1,716

)

50


 

7,638



9,978

 


(2,339

)

593



-


Navegantes Logística Portuária S.A (4)

69,749



(19,768

)

33


 

23,250



22,289

 


(11,040

)

(3,032

)

(1,594

)

Nordeste Logística I S.A. (4)

19,021



9,098



33


 

6,340



2,416

 


2,591



1,592



(1,409

)

Nordeste Logística II S.A. (4)

58,246



(3,631

)

33


 

19,415



13,256

 


(2,007

)

(819

)

(401

)

Nordeste Logística III S.A (4)

51,113



799



33


 

17,038



10,566

 


(30

)

255



626


Química da Bahia Indústria e Comércio S.A. (i)

7,040



(15

)

50


 

3,520



3,528

 


(8

)



-


Associates

 



 



 


 

 



 

 


 



 



 


Transportadora Sulbrasileira de Gás S.A. (5)

15,593



10,733



25


 

3,898



3,204

 


2,771



552



1,846


Metalúrgica Plus S.A. (6)

(471

)

(314

)

33


 

(157

)

(53

)

(105

)

(100

)

(91

)

Plenogás Distribuidora de Gás S.A. (6)

1,844



353



33


 

615



497

 


118



(4

)

38


Other investments






 

28



28

 




(14

)

(12

)

Total investments

 



 



 


 

111,384



78,593

 


12,181



(17,634

)

(44,031

)

Total provision for equity deficit

 



 



 


 

(157

)

 


 



 



 


Total

 



 



 


 

111,227



78,593

 


 



 



 


 

The percentages in the table above are rounded.


(i) The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.


(1) The subsidiary Ultracargo Logística holds an interest in União Vopak – Armazéns Gerais Ltda. (“União Vopak”), which is primarily engaged in liquid bulk storage at the port of Paranaguá.
(2) The Company holds an interest in Refinaria de Petróleo Riograndense S.A. (“RPR”), which is primarily engaged in oil refining.
(3) The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
(4) The subsidiary IPP participates in the port concession BEL02A at the port of Miramar, in Belém (PA), through Latitude Logística Portuária S.A. (“Latitude”); for the port of Vitória (ES), it participates through Navegantes Logística Portuária S.A. (“Navegantes”); in Cabedelo (PB), it holds an interest in Nordeste Logística I S.A. ("Nordeste Logística I"), Nordeste Logística II S.A. ("Nordeste Logística II”) and Nordeste Logística III S.A. (“Nordeste Logística III”).
(5) The subsidiary IPP holds an interest in Transportadora Sulbrasileira de Gás S.A. (“TSB”), which is primarily engaged in natural gas transportation services.
(6) The subsidiary Cia. Ultragaz holds an interest in Metalúrgica Plus S.A. (“Metalplus”), which is primarily engaged in the manufacture and trading of LPG containers and has interest in Plenogás Distribuidora de Gás S.A. (“Plenogás”), which is primarily engaged in the marketing of LPG containers. Currently, the associates have their operational activities suspended.


The table below presents the full amounts of statements of financial position and statements of income of joint ventures:


 

12/31/2022


 

União Vopak

 


RPR

 


Química da Bahia

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

3,164

 


615,563

 


382

 


9,526

 


4,358

 


20,604

 


38,951

 


25,598


Non-current assets

7,454

 


156,788

 


9,767

 


67,774

 


179,377

 


23,146

 


40,806

 


49,800


Current liabilities

1,378

 


432,502

 


-

 


13,112

 


40,675

 


6,183

 


10,915

 


7,871


Non-current liabilities

328

 


263,999

 


3,109

 


48,912

 


73,311

 


18,546

 


10,596

 


16,414


Equity

8,912

 


75,850

 


7,040

 


15,276

 


69,749

 


19,021

 


58,246

 


51,113


Net revenue

3,408

 


3,215,987

 


-

 


12,722

 


-

 


20,631

 


3,205

 


12,799


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(13,412

)

(3,085,140

)

(15

)

(9,864

)

(11,360

)

(7,901

)

(7,367

)

(10,720

)

Finance income (costs), income and social contribution taxes

2,244

 


(52,248

)

-

 


(4,574

)

(8,408

)

(3,632

)

531

 


(1,280

)

Net income (loss) for the year

(7,760

)

78,599

 


(15

)

(1,716

)

(19,768

)

9,098

 


(3,631

)

799


Number of shares or units held

29,995

 


5,078,888

 


1,493,122

 


9,384,693

 


37,998,195

 


984,587

 


22,393,571

 


16,977,737


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33


 

 

12/31/2021


 

União Vopak

 


RPR

 


ConectCar (i)

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

10,068

 


273,029

 


171,894

 


18,798

 


5,393

 


52,022

 


36,958

 


17,458


Non-current assets

9,696

 


179,652

 


177,217

 


50,215

 


167,170

 


18,346

 


17,279

 


49,439


Current liabilities

2,824

 


354,001

 


174,030

 


9,151

 


256

 


46,615

 


1,418

 


13,960


Non-current liabilities

268

 


84,980

 


18,883

 


39,906

 


105,440

 


16,504

 


13,052

 


21,239


Equity

16,672

 


13,700

 


156,198

 


19,956

 


66,867

 


7,249

 


39,767

 


31,698


Net revenue

17,660

 


2,092,786

 


60,436

 


5,895

 


-

 


11,625

 


2,016

 


7,561


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(16,144

)

(2,105,544

)

(97,095

)

(2,591

)

(1,579

)

(3,260

)

(3,980

)

(5,030

)

Finance income (costs), income and social contribution taxes

(312

)

15,235

 


497

 


(2,118

)

(7,517

)

(3,589

)

(494

)

(1,765

)

Net income (loss) for the year

1,204

 


2,477

 


(36,162

)

1,186

 


(9,096

)

4,776

 


(2,458

)

766


Number of shares or units held

29,995

 


5,078,888

 


263,768,000

 


4,383,881

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33



The percentages in the table above are rounded. 


(i)  The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.

 

 

12/31/2020


 

União Vopak

 


RPR

 


ConectCar

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Net revenue from sales and services

15,666

 


1,455,668

 


91,096

 


-

 


-

 


-

 


-


Costs, operating expenses and income

(14,408

)

(1,531,652

)

(134,961

)

(3,480

)

(4,225

)

(1,203

)

1,878


Net finance income and income and social contribution taxes

(474

)

10,361

 


589

 


(1,301

)

-

 


-

 


-


Net income (loss)

784

 


(65,623

)

(43,276

)

(4,781

)

(4,226

)

(1,203

)

1,878


Number of shares or units held

29,995

 


5,078,888

 


248,768,000

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


% of capital held

50

 


33

 


50

 


33

 


33

 


33

 


33



The percentages in the table above are rounded.


The table below presents the statements of financial position and statements of income of associates:

 

 

12/31/2022


 

Transportadora Sulbrasileira de Gás S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

8,598

 


6

 


617


Non-current assets

10,420

 


-

 


1,949


Current liabilities

2,824

 


29

 


167


Non-current liabilities

601

 


448

 


555


Equity

15,593

 


(471

)

1,844


Net revenue

18,250

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(7,593

)

(245

)

356


Finance income (costs) and income tax

76

 


(69

)

(3

)

Net income (loss) for the year

10,733

 


(314

)

353


Number of shares or units held

20,124,996

 


3,000

 


1,384,308


Interest in share capital - %

25

 


33

 


33


 

 

12/31/2021


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

7,685

 


90,156

 


14

 


47

 


568


Non-current assets

11,611

 


70,496

 


10,151

 


126

 


1,804


Current liabilities

5,875

 


44,408

 


-

 


28

 


158


Non-current liabilities

601

 


7,562

 


3,109

 


303

 


724


Equity

12,820

 


108,682

 


7,056

 


(158)

 


1,490


Net revenue

15,126

 


69,611

 


-

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(12,691

)

(68,390

)

(28

)

(239

)

18


Finance income (costs) and income tax

(226

)

(904

)

-

 


(61

)

(31

)

Net income (loss) for the year

2,209

 


317

 


(28

)

(300

)

(13

)

Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


Interest in share capital - %

25

 


15

 


50

 


33

 


33



 

12/31/2020


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Net revenue from sales and services

14,295

 


58,677

 


-

 


-

 


-


Costs, operating expenses and income

(6,475

)

(54,163

)

(24

)

(212

)

396


Net finance income and income and social contribution taxes

(437

)

(1,770

)

-

 


(60

)

(39

)

Net income (loss)

7,383

 


2,744

 


(24

)

(272

)

357


Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


% of capital held

25

 


15

 


50

 


33

 


33

 

Balances and changes in investments in joint ventures and associates are as follows:

 

 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593


Share of profit (loss) of joint ventures and associates

 

9,397

 


2,784

 


12,181


Dividends

 

(4,298

)

(2,076

)

(6,374

)

Valuation adjustments

 

267

 


 


267


Actuarial loss ofpost-employment benefits of subsidiaries, net of income and social contribution taxes

 

(1,440

)

 


(1,440

)

Capital increase in cash

 

28,000

 


 


28,000


Shareholder transactions - changes of interest

 

3,528

 


(3,528

)


Balance as of December 31, 2022 (i)

 

106,843

 


4,384

 


111,227



 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2020 (i)

 

137,004

 


25,616

 


162,620


Share of profit (loss) of joint ventures and associates from continuing operations

 

(18,068

)

434

 


(17,634

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

 


48

 


48


Dividends

 

 


(998

)

(998

)

Valuation adjustments

 

99

 


 


99


Actuarial gain of post-employment benefits of subsidiaries, net of income and social contribution taxes 

 

5,723

 


 


5,723


Capital increase in cash

 

30,697

 


 


30,697


Capital decrease

 

(5,001

)

(1,500

)

(6,501

)

Shareholder transactions - changes of interest

 

(966

)

 


(966

)

Write-off of investment

 

(78,099

)

 


(78,099

)

Reclassification to assets held for sale

 

 


(16,396)

 


(16,396

)

Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593



 

 

Joint ventures


 

Associates


 

Total


Balance as of December 31, 2019 (i)

 

153,076


 

25,778


 

178,854


Share of profit (loss) of joint ventures and associates from continuing operations

 

(45,812

)

 

1,781


 

(44,031

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

-


 

414


 

414


Dividends

 

-


 

(2,357

)

 

(2,357

)

Capital increase

 

29,203


 

-


 

29,203


Capital decrease (ii)

 

(363

)

 

-


 

(363

)

Other reserves

 

1,065


 

-


 

1,065


Proposed dividends

 

(165

)

 

-


 

(165

)

Balance as of December 31, 2020 (i)

 

137,004


 

25,616


 

162,620


 

(i) Investments in subsidiaries, joint ventures and associates net of provision for negative equity.

(ii) Refers to reimbursement of expenses that preceded the port area auctions and that were apportioned among the other members of the consortium.

v3.23.1
Right-of-use assets and leases payable
12 Months Ended
Dec. 31, 2022
Right-of-use assets and leases payable  
Right-of-use assets and leases payable

 

The Company and certain subsidiaries have real estate leases, substantially related to: (i) Ipiranga: fuel stations and distribution bases; (ii) Ultragaz: points of sale and bottling bases; (iii) Ultracargo: port areas and (iv) Company: offices. The Company and certain subsidiaries also have lease agreements relating to vehicles, equipment and others.

 

a. Right-of-use assets

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Amortization

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

10

1,793,473

 


366,805

 


(140,380)

 


-

 


-

 


2,019,898


Port areas

29

299,630

 


11,868

 


(324

)

-

 


-

 


311,174


Vehicles

4

146,173

 


115,666

 


(75,384

)

-

 


-

 


186,455


Equipment

5

16,740

 


9,958

 


(353

)

-

 


-

 


26,345


Others

20

27,846

 


 -

 


-

 


-

 


-

 


27,846


 

 

2,283,862

 


504,297

 


(216,441

)

-

 


-

 


2,571,718


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(489,470

)

-

 


79,003

 


(5,311

)

(218,910

)

(634,688

)

Port areas

 

(23,526

)

-

 


-

 


-

 


(13,247

)

(36,773

)

Vehicles

 

(98,867

)

-

 


66,554

 


-

 


(51,589

)

(83,902

)

Equipment

 

(1,834

)

-

 


399

 


-

 


(1,415

)

(2,850

)

Others

 

(18,870

)

-

 


-

 


-

 


(3,258

)

(22,128

)

 

 

(632,567

)

-

 


145,956

 


(5,311

)

(288,419

)

(780,341

)

Net amount

 

1,651,295

 


504,297

 


(70,485

)

(5,311

)

(288,419

)

1,791,377


 

(i) Refers to R$ 5,311 transferred to property, plant and equipment.

 

 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Exchange rate variation

 


Amortization

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

10

2,254,432

 


257,787

 


(150,718

)

-

 


1,295

 


-

 


(569,323

)

1,793,473


Port areas

20

268,534

 


31,096(*)

 


-

 


-

 


-

 


-

 


-

 


299,630


Vehicles

4

139,843

 


26,589

 


(9,315

)

-

 


103

 


-

 


(11,047

)

146,173


Equipment

6

44,936

 


19,887

 


(6,171

)

-

 


1,920

 


-

 


(43,832

)

16,740


Others

20

27,846

 


-

 


-

 


-

 


-

 


-

 


-

 


27,846


 

 

2,735,591

 


335,359

 


(166,204

)

-

 


3,318

 


-

 


(624,202

)

2,283,862


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(481,975

)

-

 


76,954

 


-

 


(530

)

(283,882

)

199,963

 


(489,470

)

Port areas

 

(3,962

)

-

 


-

 


(11,935

)

-

 


(7,629

)

-

 


(23,526

)

Vehicles

 

(63,091

)

-

 


7,032

 


-

 


(54

)

(48,146

)

5,392

 


(98,867

)

Equipment

 

(19,619

)

-

 


6,483

 


-

 


(897

)

(17,637

)

29,836

 


(1,834

)

Others

 

(16,658

)

-

 


-

 


-

 


-

 


(2,212

)

-

 


(18,870

)

 

 

(585,305

)

-

 


90,469

 


(11,935

)

(1,481

)

(359,506

)

235,191

 


(632,567

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


 

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


Net amount

 

2,150,286

 


296,402

 


(75,735

)

(11,935

)

1,837

 


(359,506

)

(350,054

)

1,651,295


 

(i) Refers to the amortization of right-of-use assets in the subsidiary Tequimar Vila do Conde Logística Portuária S.A. (“Tequimar Vila do Conde”), which is being capitalized as Construction in progress, starting its operation in December 2021.

(ii) For further details, see Note 4.c.2

(*) Includes balances of R$ 14,905 referring to initial direct costs of right-of-use assets.



Weighted average useful life (years)

Balance on 12/31/2019


Additions and remeasurement


Write-offs


Effect of foreign currency exchange rate variation


Amortization


Balance on 12/31/2020


Cost:







Real estate 

10

2,068,254


259,244


-78,529


5,463


-


2,254,432


Port area

20

68,007


200,527




-


268,534


Vehicles

4

91,868


55,616


-7,893


252


-


139,843


Equipment

6

31,822


7,833


-572


5,853


-


44,936


Others

20

27,846





-


27,846


2,287,797


523,22


-86,994


11,568


-


2,735,591


Accumulated amortization:







Real estate

-256,43


-


46,282


-697


-271,13


-481,975


Port area


-




-3,962


-3,962


Vehicles

-27,492


-


5,509


232


-41,34


-63,091


Equipment

-7,6


-


572


-1,996


-10,595


-19,619


Others

-15,363


-




-1,295


-16,658


-306,885


-


52,363


-2,461


-328,322


-585,305


Net amount

1,980,912


523,22


-34,631


9,107


-328,322


2,150,286



b. Leases payable

 

The changes in leases payable are shown below:

 

Balance as of December 31, 2019

1,588,673


Interest accrued

144,655


Payments

(360,787

)

Additions and remeasurement

484,121


Write-offs

(35,381

)

Effect of foreign currency exchange rate variation

12,007


Balance as of December 31, 2020

1,833,288


Interest accrued

147,494


Payments (i)

(440,574

)

Additions and remeasurement

288,711


Write-offs

(83,157

)

Efffect of foreign currency exchange rate variation

16,264


Reclassification to liabilities held for sale (ii)

(413,715

)

Balance as of December 31, 2021

1,348,311


Interest accrued

128,069


Payments

(357,879

)

Additions and remeasurement

482,439


Write-offs

(77,171

)

Balance as of December 31, 2022

1,523,769


Current

225,034


Non-current

1,298,735


 

(i) Includes the amount of R$ 29,237 paid by subsidiary Tequimar Vila do Conde related to port concession grants.

(ii) For further details, see Note 4.c.2

 

The future disbursements (installments) not discounted to present value are presented below:

 

 

12/31/2022

 

Up to 1 year

343,792

 

1 to 2 years

319,284

 

2 to 3 years

277,318

 

3 to 4 years

201,227

 

4 to 5 years

173,229

 

More than 5 years

1,089,255

 

Total

2,404,105

 


The contracts related to the leases payable are substantially indexed by the IGP-M (General Market Price Index is a measure of Brazilian inflation, calculated by the Getúlio Vargas Foundation).

 

b.1. Discount rates

 

The weighted nominal average discount rates for the lease contracts of the Company are: 

 

Contracts by maturity date and discount rate


Maturity date of the contracts

Discount rate (% p.a.)


From 1 to 5 years

8.00%


From 6 to 10 years

8.34%


From 11 to 15 years

9.50%


More than 15 years

9.75%


 

c. Lease contracts of low-value assets

 

Subsidiaries Cia. Ultragaz, Bahiana, IPP and Serma have operating lease contracts considered as being of low value, short term and variable payments for the use of IT equipment, vehicles and real estates. The future disbursements (payments), assumed as a result of these contracts amount approximately to: 

 

 

Up to 1 year



Between 1 and 5 years



More than 5 years



Total


12/31/2022

2,458



5,689



-



8,147


12/31/2021

124



994



-



1,118



The amount of leases considered as of low value, short term and variable payments, recognized as an expense for the year ended December 31, 2022 was R$ 18,466 (R$ 13,524 for the year ended December 31, 2021 and R$ 13,965 for the year ended December 31, 2020).

v3.23.1
Property, Plant, and Equipment
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about property, plant and equipment [abstract]  
Property, Plant, and Equipment

 

Balance and changes in property, plant and equipment are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Acquisition of subsidiaries

 


Balance as of 12/31/2022

 

Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

610,294

 


-

 


-

 


23,539

 


(14,717

)

-

 


619,116

 

Buildings

32

1,486,721

 


20,020

 


-

 


73,744

 


(47,979

)

-

 


1,532,506

 

Leasehold improvements

13

1,056,179

 


40,685

 


-

 


82,317

 


(9,855

)

-

 


1,169,326

 

Machinery and equipment

12

3,024,577

 


99,477

 


-

 


70,150

 


(7,518

)

73

 


3,186,759

 

Automotive fuel/lubricant distribution equipment and facilities

13

3,245,586

 


96,208

 


-

 


12,680

 


(141,351

)

-

 


3,213,123

 

LPG tanks and bottles

9

840,931

 


94,356

 


-

 


-

 


(15,000

)

-

 


920,287

 

Vehicles

9

288,239

 


33,452

 


-

 


8,050

 


(4,647

)

-

 


325,094

 

Furniture and fixtures

9

168,092

 


34,905

 


-

 


5,140

 


(6,531

)

102

 


201,708

 

IT equipment

5

330,375

 


24,069

 


-

 


2,053

 


(53,863

)

389

 


303,023

 

Construction in progress

 

452,248

 


482,043

 


-

 


(239,082

)

(483

)

-

 


694,726

 

Advances to suppliers

 

14,281

 


35,887

 


-

 


(32,029

)

-

 


-

 


18,139

 

Imports in progress

 

181

 


902

 


-

 


(181

)

-

 


-

 


902

 

 

 

11,517,704

 


962,004

 


-

 


6,381

 


(301,944

)

564

 


12,184,709

 


 

 

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Business acquisition

 


Balance as of 12/31/2022

 

Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Buildings

 

(585,846

)

-

 


(42,195

)

-

 


36,229

 


-

 


(591,812

)

Leasehold improvements

 

(573,553

)

-

 


(58,172

)

606

 


12,863

 


-

 


(618,256

)

Machinery and equipment

 

(1,758,401

)

-

 


(175,567

)

-

 


7,024

 


(10

)

(1,926,954

)

Automotive fuel/lubricant distribution equipment and facilities

 

(2,050,533

)

-

 


(175,899

)

(3

)

112,778

 


-

 


(2,113,657

)

LPG tanks and bottles

 

(498,310

)

-

 


(69,860

)

-

 


10,910

 


-

 


(557,260

)

Vehicles

 

(133,149

)

-

 


(23,713

)

-

 


2,685

 


-

 


(154,177

)

Furniture and fixtures

 

(112,288

)

-

 


(11,496

)

(603

)

5,953

 


(4

)

(118,438

)

IT equipment

 

(269,534

)

-

 


(23,933

)

-

 


53,526

 


(37

)

(239,978

)

 

 

(5,981,614

)

-

 


(580,835

)

-

 


241,968

 


(51

)

(6,320,532

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(18

)

(12

)

-

 


-

 


-

 


-

 


(30

)

Machinery and equipment

 

(1,289

)

(27

)

-

 


-

 


(250

)

-

 


(1,566

)

Automotive fuel/lubricant distribution equipment and facilities

 

(46

)

-

 


-

 


-

 


24

 


-

 


(22

)

 

 

(1,499

)

(39

)

-

 


-

 


(226

)

-

 


(1,764

)

Net amount

 

5,534,591

 


961,965

 


(580,835

)

6,381

 


(60,202

)

513

 


5,862,413

 

 

(i) Refers to R$ 271,292 transferred from Works in progress, Advances to Suppliers and Imports in progress to the other classes of property, plant and equipment, R$ 5,311 transferred from right-of-use assets and R$ 1,070 transferred from intangible assets.

 

Construction in progress relates substantially to expansions, renovations, constructions and upgrade of terminals, service stations and distribution bases.

 

Advances to suppliers are related, basically, to manufacturing of assets for expansion of terminals and bases and acquisition of real estate.


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

687,108

 


2,424

 


-

 


-

 


(17,503

)

3,416

 


(65,151

)

610,294


Buildings

33

2,154,710

 


47,920

 


-

 


119,748

 


(34,925

)

26,997

 


(827,729

)

1,486,721


Leasehold improvements

10

1,222,822

 


21,944

 


-

 


136,206

 


(31,587

)

30

 


(293,236

)

1,056,179


Machinery and equipment

12

6,498,362

 


161,071

 


-

 


558,197

 


(13,811

)

93,412

 


(4,272,654

)

3,024,577


Automotive fuel/lubricant distribution equipment and facilities

13

3,169,320

 


88,112

 


-

 


33,794

 


(45,640

)

-

 


-

 


3,245,586


LPG tanks and bottles

9

776,479

 


91,842

 


-

 


1,567

 


(28,957

)

-

 


-

 


840,931


Vehicles

8

310,836

 


19,054

 


-

 


11,634

 


(25,949

)

82

 


(27,418

)

288,239


Furniture and fixtures

8

316,712

 


33,644

 


-

 


2,277

 


(14,614

)

1,296

 


(171,223

)

168,092


IT equipment

5

444,844

 


28,350

 


-

 


901

 


(11,998

)

705

 


(132,427

)

330,375


Construction in progress (ii)

 

580,695

 


797,674

 


-

 


(829,245

)

(301

)

3,290

 


(99,865

)

452,248


Advances to suppliers

 

34,642

 


21,985

 


-

 


(18,894

)

-

 


-

 


(23,452

)

14,281


Imports in progress

 

866

 


4,312

 


-

 


(4,631

)

-

 


38

 


(404

)

181


 

 

16,197,396

 


1,318,332

 


-

 


11,554

 


(225,285

)

129,266

 


(5,913,559

)

11,517,704



 

 

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(851,397

)

-

 


(68,388

)

(94

)

23,031

 


(6,872

)

317,874

 


(585,846

)

Leasehold improvements

 

(689,161

)

-

 


(81,976

)

81

 


27,519

 


(37

)

170,021

 


(573,553

)

Machinery and equipment

 

(3,598,304

)

-

 


(356,637

)

-

 


11,717

 


(21,651

)

2,206,474

 


(1,758,401

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,906,953

)

-

 


(178,110

)

(311

)

34,841

 


-

 


-

 


(2,050,533

)

LPG tanks and bottles

 

(454,651

)

-

 


(62,558

)

-

 


18,899

 


-

 


-

 


(498,310

)

Vehicles

 

(143,854

)

-

 


(22,927

)

195

 


15,480

 


(20

)

17,977

 


(133,149

)

Furniture and fixtures

 

(191,713

)

-

 


(23,594

)

24

 


14,443

 


(817

)

89,369

 


(112,288

)

IT equipment

 

(352,256

)

-

 


(35,614

)

317

 


11,489

 


(435

)

106,965

 


(269,534

)

 

 

(8,188,289

)

-

 


(829,804

)

212

 


157,419

 


(29,832

)

2,908,680

 


(5,981,614

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(61

)

(43,666

)

-

 


-

 


-

 


(3

)

43,712

 


(18

)

Machinery and equipment

 

(2,857

)

(839

)

-

 


-

 


6

 


(45

)

2,446

 


(1,289

)

Automotive fuel/lubricant distribution equipment and facilities

 

(73

)

-

 


-

 


-

 


27

 


-

 


-

 


(46

)

Vehicles

 

-

 


(160

)

-

 


-

 


-

 


-

 


160

 


-


Furniture and fixtures

 

-

 


(14,887

)

-

 


-

 


-

 


-

 


14,887

 


-


IT equipment

 

-

 


(1,660

)

-

 


-

 


-

 


-

 


1,660

 


-


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


110

 


-


 

 

(3,247

)

(61,212

)

-

 


-

 


33

 


(48

)

62,975

 


(1,499

)

 

 

8,005,860

 


1,257,120

 


(829,804

)

11,766

 


(67,833

)

99,386

 


(2,941,904

)

5,534,591


 (i) Refers to R$ 169 transferred to intangible assets.

(ii) Includes R$ 11,935 transferred from right-of-use assets.

(iii) For further information, see Note 4.c


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i) 

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

667,865

 


21,300

 


-

 


2,113

 


(14,427

)

10,257

 


687,108


Buildings

32

1,925,946

 


25,572

 


-

 


148,527

 


(27,210

)

81,875

 


2,154,710


Leasehold improvements

9

1,121,528

 


28,374

 


-

 


89,559

 


(16,954

)

315

 


1,222,822


Machinery and equipment

13

5,707,721

 


144,089

 


-

 


378,883

 


(5,554

)

273,223

 


6,498,362


Automotive fuel/lubricant distribution equipment and facilities

13

2,991,472

 


90,279

 


-

 


133,963

 


(46,394

)

-

 


3,169,320


LPG tanks and bottles

10

755,460

 


65,230

 


-

 


289

 


(44,500

)

-

 


776,479


Vehicles

8

320,161

 


22,495

 


-

 


8,363

 


(40,517

)

334

 


310,836


Furniture and utensils

9

295,604

 


13,985

 


-

 


6,775

 


(3,694

)

4,042

 


316,712


Construction in progress

 

827,086

 


506,367

 


-

 


(765,785

)

(1,167

)

14,194

 


580,695


Advances to suppliers

 

12,544

 


28,339

 


-

 


(6,185

)

(56

)

-

 


34,642


Imports in progress

 

250

 


1,437

 


-

 


(822

)

-

 


1

 


866


IT equipment

5

412,809

 


32,134

 


-

 


539

 


(2,827

)

2,189

 


444,844


 

 

15,038,446

 


979,601

 


-

 


(3,781

)

(203,300

)

386,430

 


16,197,396



 

 

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(793,835

)

-

 


(65,318

)

2,376

 


20,021

 


(14,641

)

(851,397

)

Leasehold improvements

 

(614,379

)

-

 


(80,995

)

49

 


6,252

 


(88

)

(689,161

)

Machinery and equipment

 

(3,231,627

)

-

 


(317,694

)

59

 


4,091

 


(53,133

)

(3,598,304

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,766,878

)

-

 


(176,404

)

(6

)

36,335

 


-

 


(1,906,953

)

LPG tanks and bottles

 

(425,554

)

-

 


(56,267

)

(30

)

27,200

 


-

 


(454,651

)

Vehicles

 

(139,045

)

-

 


(24,585

)

48

 


19,997

 


(269

)

(143,854

)

Furniture and utensils

 

(171,475

)

-

 


(21,060

)

7

 


2,988

 


(2,173

)

(191,713

)

IT equipment

 

(318,063

)

-

 


(35,080

)

122

 


2,676

 


(1,911

)

(352,256

)

 

 

(7,460,856

)

-

 


(777,403

)

2,625

 


119,560

 


(72,215

)

(8,188,289

)

Provision for losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


(110

)

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(1,599

)

910

 


-

 


-

 


639

 


(11

)

(61

)

Machinery and equipment 

 

(2,875

)

-

 


-

 


-

 


156

 


(138

)

(2,857

)

Automotive fuel/lubricant distribution equipment and facilities

 

(98

)

-

 


-

 


-

 


25

 


-

 


(73

)

 

 

(4,828

)

910

 


-

 


-

 


820

 


(149

)

(3,247

)

Net amount

 

7,572,762

 


980,511

 


(777,403

)

(1,156

)

(82,920

)

314,066

 


8,005,860



(i) Refers to amounts transferred between items and to intangible assets.

v3.23.1
Intangible Assets
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about intangible assets [abstract]  
Intangible Assets

 

Balance and changes in intangible assets are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

818,096

 


99,679

 


-

 


-

 


-

 


-

 


917,775


Software (b)

5

1,146,980

 


277,600

 


-

 


173

 


(125,665

)

-

 


1,299,088


Distribution rights

12

114,593

 


-

 


-

 


-

 


-

 


-

 


114,593


Brands (c)

 

69,198

 


-

 


-

 


-

 


-

 


(3,551

)

65,647


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

421

 


999

 


-

 


(1,243

)

-

 


-

 


177


Decarbonization credits (CBIO) (e)

 

-

 


635,130

 


-

 


-

 


(402,825

)

-

 


232,305


 

 

2,264,080

 


1,013,408

 


-

 


(1,070

)

(528,490

)

(3,551

)

2,744,377


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(679,402

)

-

 


(154,122

)

-

 


124,865

 


-

 


(708,659

)

Distribution rights

 

(101,027

)

-

 


(1,010

)

-

 


-

 


-

 


(102,037

)

Trademark rights

 

(11,993

)

-

 


(2,937

)

-

 


-

 


-

 


(14,930

)

Others

 

(402

)

-

 


-

 


-

 


-

 


-

 


(402

)

 

 

(792,824

)

-

 


(158,069

)

-

 


124,865

 


-

 


(826,028

)

 

 

-

 


-

 


-

 


-

 


-

 


-

 


-


Net amount

 

1,471,256

 


1,013,408

 


(158,069

)

(1,070

)

(403,625

)

(3,551

)

1,918,349


 (i) Refers to R$ 1,070 transferred to property, plant and equipment.


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


(706,992

)

818,096


Software (b)

4

1,395,046

 


284,311

 


-

 


372

 


(19,826)

 


1,808

 


(514,731

)

1,146,980


Technology

 

32,617

 


-

 


-

 


-

 


-

 


-

 


(32,617

)

-


Distribution rights

12

133,599

 


-

 


-

 


-

 


-

 


-

 


(19,006

)

114,593


Brands (c)

 

136,962

 


-

 


-

 


-

 


-

 


4,759

 


(72,523

)

69,198


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

50,698

 


1,678

 


-

 


-

 


-

 


(76

)

(51,879

)

421


Decarbonization credits (e)

 

-

 


176,837

 


-

 


-

 


(176,837

)

-

 


-

 


-


 

 

3,388,802

 


462,826

 


-

 


372

 


(196,663

)

6,491

 


(1,397,748

)

2,264,080


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(825,024

)

-

 


(206,025

)

(203

)

19,329

 


(1,566

)

334,087

 


(679,402

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


32,616

 


-


Distribution rights

 

(113,326

)

-

 


(3,093

)

-

 


-

 


-

 


15,392

 


(101,027

)

Trademark rights

 

(9,056

)

-

 


(2,937

)

-

 


-

 


-

 


-

 


(11,993

)

Others

 

(32,845

)

-

 


(167

)

-

 


-

 


(2

)

32,612

 


(402

)

 

 

(1,012,867

)

-

 


(212,222

)

(203

)

19,329

 


(1,568

)

414,707

 


(792,824

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

(68,273

)

-

 


-

 


-

 


-

 


661,553

 


-


Distribution rights

 

                -

 


(76,218

)

-

 


-

 


-

 


-

 


76,218

 


-


 

 

(593,280

)

(144,491

)

-

 


-

 


-

 


-

 


737,771

 


-


Net amount

 

1,782,655

 


318,335

 


(212,222

)

169

 


(177,334

)

4,923

 


(245,270

)

1,471,256


 (i) Refers to amounts transferred from property, plant and equipment.

(ii) For further information, see Note 4.c.2


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Amortization

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


1,525,088


Software (b)

4

1,210,529

 


184,027

 


-

 


993

 


(6,633

)

6,130

 


1,395,046


Technology (c)

 

32,617

 


-

 


-

 


-

 


-

 


-

 


32,617


Commercial property rights

 

7,934

 


-

 


-

 


-

 


(7,934

)

-

 


-


Distribution rights

10

133,599

 


-

 


-

 


-

 


-

 


-

 


133,599


Brands (d)

 

122,504

 


-

 


-

 


-

 


-

 


14,458

 


136,962


Trademark rights (d)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (e)

10

44,900

 


1,040

 


-

 


-

 


-

 


4,758

 


50,698


Decarbonization credits (f)

 

-

 


125,345

 


-

 


(1,058

)

(124,287

)

-

 


-


 

 

3,191,963

 


310,412

 


-

 


(65

)

(138,854

)

25,346

 


3,388,802


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(648,861

)

-

 


(175,144

)

-

 


3,375

 


(4,394

)

(825,024

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


(32,616

)

Commercial property rights

 

(6,384

)

-

 


(85

)

-

 


6,469

 


-

 


-


Distribution rights

 

(108,932

)

-

 


(4,394

)

-

 


-

 


-

 


(113,326

)

Trademark rights

 

(6,119

)

-

 


(2,937

)

-

 


-

 


-

 


(9,056

)

Others

 

(32,713

)

-

 


(121

)

-

 


-

 


(11

)

(32,845

)

 

 

(835,625

)

-

 


(182,681

)

-

 


9,844

 


(4,405

)

(1,012,867

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

-

 


-

 


-

 


-

 


-

 


(593,280

)

Commercial property rights

 

(465

)

-

 


-

 


-

 


465

 


-

 


-


 

 

(593,745

)

-

 


-

 


-

 


465

 


-

 


(593,280

)

Net amount

 

1,762,593

 


310,412

 


(182,681

)

(65

)

(128,545

)

20,941

 


1,782,655



(i) Refers to amounts transferred to property, plant and equipment and prepaid expenses.


a. Goodwill

 

The remaining net balance of goodwill on the following acquisitions are assessed for impairment annually or more frequently when there is indication that the goodwill might be impaired:

 

 

Segment

12/31/2022

 


12/31/2021


Goodwill on the acquisition of:

 

 

 


 


Extrafarma

Extrafarma

-

 


661,553


Extrafarma – impairment (i)

Extrafarma

-

 


(661,553

)

Extrafarma – net

Extrafarma

-

 


-


Ipiranga (ii)

Ipiranga

276,724

 


276,724


União Terminais

Ultracargo

211,089

 


211,089


Texaco

Ipiranga

177,759

 


177,759


Iconic (CBLSA)

Ipiranga

69,807

 


69,807


Temmar

Ultracargo

43,781

 


43,781


DNP

Ipiranga

24,736

 


24,736


Repsol

Ultragaz

13,403

 


13,403


Stella (iii)

Ultragaz

99,679

 


-


TEAS

Ultracargo

797

 


797


 

 

917,775

 


818,096


 

(i) For further information, see Note 4.a

(ii) Including R$ 246,163 presented as goodwill at the Parent.

(iii) For further information, see Note 33.a.

 

At December 31, 2022, the Company assessedthe balances of goodwill shown in the table above for impairment. The determination of value in use involves assumptions, judgments, and estimates of cash flows, such as growth rates of revenues, costs and expenses, estimates of investments and working capital, and discount rates. The assumptions about growth projections of future cash flows are based on the Company’s business plan of its operating segments, as well as comparable market data, and represent management’s best estimate of the economic conditions that will exist over the economic life of the various CGUs to which goodwill is related. The main key assumptions used by the Company to calculate the value in use are described below:

 

Period of evaluation: the evaluation of the value in use is calculated for a period of five years, after which the Company calculates the perpetuity, considering the possibility of carrying the business on indefinitely.

 

Discount rate and actual growth rate: the discount and real growth rates used to extrapolate the projections at December 31, 2022 ranged from 10.1% to 11.1% and -0.5% to 0.5% p.a., respectively, depending on of the CGU analyzed. 

 

Revenue from sales and services, costs and expenses, and gross margin: considers the budget prepared for 2022 and the long-term strategic plan prepared by management and approved by the Board of Directors.


b. Software

 

Includes user licenses and costs for the implementation of the various systems used by the Company and its subsidiaries: integrated management and control, financial management, foreign trade, industrial automation, operational and storage management, accounting information, and other systems. Also include expenses related to software in progress in the amount of R$ 18,673 in 2022 (R$ 27,672 in 2021 and R$ 13,684 in 2020).

 

c. Brands and trademarks rights

 

Brands are represented by the acquisition cost of the ‘am/pm’ brand in Brazil, acquired in the business combination, and Chevron and Texaco trademark rights.

 

d. Other intangibles

 

Refers mainly to the loyalty program “Clube Extrafarma” reclassified to assets of subsidiaries held for sale. For further details, see Note 4.c.2.

 

e. Decarbonization credits

 

Represent the CBIOS acquired and recorded at acquisition cost. The amount in the “write-offs” column refers to CBIOS retired in the year, which cannot be the object of future negotiation.

v3.23.1
Loans, financing, debentures and derivative financial instruments
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about borrowings [abstract]  
Loans, financing, debentures and derivative financial instruments

 

a. Composition

 

 

12/31/2022


 

12/31/2021


 

Index/Currency

Weighted average financial charges 2022

Maturity

Foreign currency:

 


 

 


 

 

 

 

Notes in the foreign market (d)

3,973,816


 

7,821,441


 

US$

5.3%

2026 and 2029

Foreign loan (e)

1,161,798


 

735,438


 

US$

4.2%

2023 and 2025

Foreign loan (e)

-


 

275,936


 

US$ + LIBOR (1)

-

 

Foreign loan (e)

54,542


 

-


 

EU$

2.9%

2023

Total in foreign currency

5,190,156


 

8,832,815


 

 

 

 

 

 


 

 


 

 

 

 

Brazilian Reais:

 


 

 


 

 

 

 

Debentures – CRA (g)

660,485


 

2,063,788


 

DI

97.5%

2023

Debentures - 6th issuance (g)

1,800,213


 

1,764,199


 

DI

105.3%

2023

Debentures – CRA (g)

3,011,462


 

1,940,237


 

IPCA

5.1%

2024 and 2032

Debentures – Ipiranga (g)

-


 

771,538


 

DI

 

 

Debentures - Ultracargo Logística and Tequimar Vila do Conde (g)

482,185


 

466,061


 

IPCA

4.1%

2028

Banco do Brasil floating rate (f)

-


 

204,813


 

DI

 

 

Debentures – Ultracargo Logística (g)

81,548


 

80,946


 

R$

6.5%

2024

Bank Credit Bill

-


 

51,179


 

DI

 

 

Financial institutions

-


 

4,564


 

R$

 

 

FINEP

-


 

326


 

TJLP (2)

 

 

Total in Brazilian Reais

6,035,893


 

7,347,651


 

 

 

 

Total in foreign currency and Brazilian Reais

11,226,049


 

16,180,466


 

 

 

 

Currency and interest rate hedging instruments (*)

524,312


 

197,177


 

 

 

 

Total

11,750,361


 

16,377,643


 

 

 

 

Current

3,360,677


 

2,866,051


 

 

 

 

Non-current

8,389,684


 

13,511,592


 

 

 

 

 

(*) Accumulated losses (see Note 31.i).

 

1) LIBOR = London Interbank Offered Rate.
2) TJLP (Long-term Interest Rate) = set by the National Monetary Council, TJLP is the basic financing cost of Banco Nacional de Desenvolvimento Econômico e Social (“BNDES”), the Brazilian Development Bank. On December 31, 2022, TLP was fixed at 7.20% p.a.


The changes in loans, financing, debentures and derivative financial instruments are shown below:

 

Balance as of December 31, 2019

14,392,722


New loans and debentures with cash effect

3,591,624


Interest accrued

757,161


Principal payment

(2,795,002

)

Interest payment

(740,853

)

Monetary and exchange rate variation

2,048,688


Change in fair value

34,702


Hedge result

87,174


Balance as of December 31, 2020

17,376,216


New loans and debentures with cash effect

1,462,220


Interest accrued

801,102


Principal payment

(2,922,214

)

Interest payment

(749,043

)

Monetary and exchange rate variation

800,749


Change in fair value

(229,657

)

Hedge result

80,018


Reclassification to liabilities held for sale (i)

(241,748

)

Balance as of December 31, 2021

16,377,643


New loans and debentures with cash effect

1,519,580


Interest accrued

945,023


Principal payment

(5,848,611

)

Interest payment

(914,979

)

Monetary and exchange rate variation

(587,064

)

Change in fair value

(68,366

)

Hedge result

327,135


Balance as of December 31, 2022

11,750,361



(i) For further details, see Note 4.c.1.

 

The long-term debt had the following principal maturity schedule:

 

 

12/31/2022


 

12/31/2021


From 1 to 2 years

817,898


 

3,092,734


From 2 to 3 years

782,965


 

774,904


From 3 to 4 years

2,268,647


 

270,401


From 4 to 5 years

-


 

3,056,499


More than 5 years

4,520,174


 

6,317,054


 

8,389,684


 

13,511,592



The transaction costs and issuance premiums associated with debt issuance were added to their financial liabilities.

 

The Company’s Management entered into hedging instruments against foreign exchange and interest rate variations for a portion of its debt obligations (see Note 31.h).


b. Transaction costs


Transaction costs incurred in issuing debt were deducted from the value of the related contracted financing and are recognized as an expense according to the effective interest rate method as follows:

 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2021


 

Incurred costs


 

Payments


 

Balance as of 12/31/2022


Debentures

0.2


 

54,490


 

30,420


 

(16,742

)

 

68,168


Notes in the foreign market

0.1


 

28,018


 

-


 

(15,613

)

 

12,405


Banco do Brasil

0.1


 

76


 

-


 

(76

)

 

-


Total

 


 

82,584


 

30,420


 

(32,431

)

 

80,573


 

 

Effective rate of transaction costs

(% p.a.)


 

Balance as of 12/31/2020


 

Incurred costs


 

Payments


 

Reclassification to liabilities held for sale (i)


 

Balance as of 12/31/2021


Debentures

0.2


 

28,348


 

40,953


 

(14,811

)

 

-


 

54,490


Notes in the foreign market

0.1


 

37,112


 

-


 

(4,890

)

 

(4,204

)

 

28,018


Promissory notes


 

1,318


 

-


 

(1,318

)

 

-


 

-


Banco do Brasil

0.1


 

332


 

-


 

(256

)

 

-


 

76


Total

 


 

67,110


 

40,953


 

(21,275

)

 

(4,204

)

 

82,584


 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2019


 

Incurred cost


 

Amortization


 

Balance as of 12/31/2020


Debentures

0.2


 

41,406


 

-


 

(13,058

)

 

28,348


Notes in the foreign market

0.1


 

28,114


 

13,263


 

(4,265

)

 

37,112


Notes

0.5


 

-


 

6,802


 

(5,484

)

 

1,318


Banco do Brasil

0.1


 

770


 

-


 

(438

)

 

332


Foreign loans

 


 

94


 

-


 

(94

)

 

-


Others

 


 

1,382


 

-


 

(1,382

)

 

-


Total

 


 

71,766


 

20,065


 

(24,721

)

 

67,110


The amount to be appropriated to profit or loss in the future is as follows:

 

 

Up to 1 year


 

1 to 2 years


 

2 to 3 years


 

3 to 4 years


 

4 to 5 years


 

More than 5 years


 

Total


Debentures

14,511


 

10,363


 

9,450


 

9,272


 

9,309


 

15,263


 

68,168


Notes in the foreign market

2,289


 

2,298


 

2,294


 

2,087


 

1,412


 

2,025


 

12,405


Total

16,800


 

12,661


 

11,744


 

11,359


 

10,721


 

17,288


 

80,573



c. Guarantees

 

The financing does not have collateral as of December 31, 2022 and December 31, 2021 and has guarantees and promissory notes in the amount of R$ 9,371,295 as of December 31, 2022 (R$ 14,151,506 as of December 31, 2021).

 

The Company and its subsidiaries offer collateral in the form of letters of guarantee for commercial and legal proceedings in the amount of R$ 115,451 as of December 31, 2022 (R$ 118,231 as of December 31, 2021).


The subsidiary IPP issued collateral to financial institutions in connection with the amounts payable by some of its customers to such institutions as follows:

 

 

IPP


 

12/31/2022

 


12/31/2021


Maximum amount of future payments related to such collateral:

550,908

 


690,347


Maturity up to

51 months

 


49 months


Fair value of collateral

9,914

 


9,923



If the subsidiary IPP is required to make any payment under these collateral arrangements, this subsidiary may recover the amount paid directly from its customers through commercial collection. Until December 31, 2022, the subsidiary IPP did not have losses in connection with these collateral arrangements. The fair value of collateral is recognized in current liabilities as “Other payables”, which is recognized in the statement of income as customers settle their obligations with the financial institutions.


d. Notes in the foreign market

 

On April 7, 2022, the subsidiary Ultrapar International commenced cash tender offers to repurchase notes in the international market (“Repurchase Offers”) of up to US$ 550,003,000.00 (“Initial Aggregate Repurchase Amount”), involving (i) up to the totality of the 5.250% Senior Notes due in 2026 (“Notes 2026”); and (ii) up to the repurchase limit of Notes 2029 of the 5.250% Senior Notes due in 2029 (“Notes 2029”), both issued by Ultrapar International S.A. (“Ultrapar International”) and outstanding in the international market. The Repurchase Offers together were limited to the Initial Repurchase Value Added, and Ultrapar International had the option to increase the Initial Repurchase Value Added to up to US$ 600,000,000.00 in aggregate principal amount, as described in the Repurchase Offer documents.

 

On April 14, 2022, the subsidiary Ultrapar International repurchased US$ 114,129 thousand (equivalent to R$ 595,490 as of December 31, 2022) of notes in the foreign market maturing in October 2026. On April 18, 2022, the subsidiary Ultrapar International repurchased US$ 200 thousand (equivalent to R$ 1,043 as of December 31, 2022) of notes in the foreign market maturing in October 2026.

 

On April 27, 2022, the subsidiary Ultrapar International repurchased US$ 485,667 thousand (equivalent to R$ 2,534,064 as of December 31, 2022) of notes in the foreign market maturing in June 2029.

 

As a result of the issuance of the notes in the foreign market, the Company and its subsidiaries are required to perform certain obligations, including:

  • Restriction on sale of all or substantially all assets of the Company and subsidiaries Ultrapar International and IPP;
  • Restriction of encumbrances on assets exceeding US$ 150,000 thousand (equivalent to R$ 782,655 as of December 31, 2022) or 15% of the amount of the consolidated tangible assets.

The Company and its subsidiaries are in compliance with the commitments required by this debt. The restrictions imposed on the Company and its subsidiaries are customary in transactions of this nature and have not limited their ability to conduct their business to date.


e. Foreign loans

 

The subsidiary IPP has foreign loans in the amount of US$ 125,000 thousands (equivalent to R$ 652,213 as of December 31, 2022). IPP also contracted hedging instruments with floating interest rate in U.S. dollar and exchange rate variation, changing the foreign loans charges, on average, to 104.9% of DI.

 

On September 30, 2022 the subsidiary Iconic Lubrificantes S.A.  raised financing 4131 in the amount of EU$ 9,708 thousands (equivalent to R$ 54,072 as of December 31, 2022), with financial charges of 2.907% and due date on March 29, 2023. The subsidiary Iconic Lubrificantes S.A. contracted instruments to hedge against the interest rate in Euro and currency risk, changing financial charges to 111.6% of DI.

 

On December 19, 2022 the subsidiary Companhia Ultragaz S.A. raised financing 4131 in the amount of U$ 96,339 thousands (equivalent to R$ 502,669 as of December 31, 2022), with financial charges of 4.539% and due date on September 19, 2025. The subsidiary Companhia Ultragaz S.A. contracted instruments to hedge against the interest rate in Dólarand currency risk, changing financial charges to 108.5% of DI.

 

IPP designated these hedging instruments as a fair value hedge (see Note 31.h.1). Therefore, loans and hedging instruments are both measured at fair value from inception, with changes in fair value recognized in profit or loss. The foreign loans are secured by the Company.


The foreign loans have the maturity distributed as follows:

 

Maturity

EU$ (thousands)


 

USD (thousands)


 

R$


 

Cost in % of DI


Charges(1) 

84


 

1,326


 

7,386


 

-


Mar/2023

9,709


 

-


 

54,072


 

111.6%


Sept/2023

-


 

60,000


 

313,062


 

105.0%


Sept/2023

-


 

65,000


 

339,151


 

104.8%


Sept/2025

-


 

96,339


 

502,669


 

108.5%


Total / average cost

9,793


 

222,665


 

1,216,340


 

106.7%


 (1) Includes interest, transaction costs and mark to market.

 

f. Banco do Brasil

 

The subsidiary IPP has floating interest rate loans with Banco do Brasil intended for marketing, processing, or manufacturing of agricultural products (ethanol) with maturity in May 2022. The loans were settled on the maturity date.


g. Debentures

 

g.1 In March 2021, the subsidiary Tequimar Vila do Conde made its first issuance of debentures, in one single series of 360,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.04%

Payment of interest:

Semiannually

Reprice:

Not applicable


Tequimar Vila do Conde contracted hedging instruments against interest rate variations, changing the fixed rate financial charges of the debentures to 111.4% of the DI. Tequimar Vila do Conde designated these hedging instruments as fair value hedges therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.2 In March 2021, the subsidiary Ultracargo Logística made its second issuance of debentures, in one single series of 100,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.37%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

Ultracargo Logística contracted hedging instruments against interest rate variations, changing the debentures fixed rate for 111.4% of the DI. Ultracargo Logística designated these hedging instruments as fair value hedges; therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.3 In September 2021, the subsidiary IPP made its tenth issuance of debentures in the total amount of R$ 960,000, in one single series of 960,000 simple debentures, nonconvertible into shares, nominative, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of CRA. The financial settlement occurred on September 16, 2021. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount

960,000

Unit face value:

R$ 1,000.00

Final maturity:

September 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.8287%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

IPP contracted hedging instruments subjected to IPCA variation, changing the financial debenture charges linked to IPCA to 102.75% of DI. IPP designated these hedging instruments as fair value hedges. Therefore, debentures and hedging instruments are both measured at fair value from inception, with changes in fair value recognized through profit or loss.


g.4 In June 2022, the subsidiary IPP carried out its tenth issuance of debentures in the total amount of R$ 1,000,000, in one single series of 1,000,000 simple debentures, nonconvertible into shares, registered, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of Agribusiness Receivables Certificates (CRA). The financial settlement occurred on June 27, 2022. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount:

1,000,000

Unit face value:

R$ 1,000.00

Final maturity:

June 11, 2032

Payment of the face value:

Annual from the 8th year

Interest:

IPCA + 6.0053%

Payment of interest:

Semiannually

Reprice:

Not applicable


IPP contracted hedging instruments subjected to IPCA variation, changing the debentures charges linked to IPCA to 104.8% of DI. IPP designated these hedging instruments as fair value hedges; therefore, debentures and hedging instruments are both measured at fair value from inception, with changes in fair value recognized through profit or loss. 

 

The debentures have maturity dates distributed as shown below (includes accrued interest through December 31, 2022):
 

Maturity

 

12/31/2022


Charges(1) 

 

(77,949

)

Mar/2023

 

1,725,000


Dec/2023

 

660,000


Apr/2024

 

469,937


Oct/2024

 

282,790


Nov/2024

 

90,000


Dec/2025

 

303,845


Mar/2028

 

526,365


Sept/2028

 

1,052,762


Jun/2030

 

334,381


Jun/2031

 

334,381


Jun/2032

 

334,381


Total

 

6,035,893


 (1) Includes interest, transaction cost and mark to market.

v3.23.1
Trade Payables
12 Months Ended
Dec. 31, 2022
Trade payables  
Trade Payables

 

a. Trade payables

 

 

12/31/2022


 

12/31/2021


Domestic suppliers

2,777,021


 

3,010,912


Foreign suppliers

1,674,287


 

445,805


Trade payables - related parties (see Note 9.a.2)

259,644


 

214,178


 

4,710,952


 

3,670,895


 

Some Company’s subsidiaries acquire oil-based fuels and LPG from Petrobras and its subsidiaries. These suppliers control almost all the markets for these products in Brazil.

 

b. Trade payables - reverse factoring 

 

 

12/31/2022


 

12/31/2021


Domestic suppliers - reverse factoring

2,429,497


 

1,948,033


Trade payables - reverse factoring - related parties (see Note 9.a.2)

-


 

89,339


Foreign suppliers - reverse factoring

237,397


 

81,687


 

2,666,894


 

2,119,059


 

Some subsidiaries of the Company entered into agreements with financial institutions. These agreements consist in the anticipation of the receipt of trade payables by the supplier, in which the financial institutions prepay a certain amount from the supplier and receives, on the maturity date originally celebrated between company and supplier, the amount payable by the subsidiaries of the Company without incidence of interest. The decision to join this type of transaction is solely and exclusively of the supplier. The agreement does not substantially change the main characteristics of the commercial conditions previously established between the subsidiaries of the Company and the suppliers. The transactions are presented in operating activities in the statement of cash flows.

v3.23.1
Salaries and related charges
12 Months Ended
Dec. 31, 2022
Short-term employee benefits expense [abstract]  
Salaries and related charges


 

12/31/2022


 

12/31/2021

 

Provisions on salaries 

181,755


 

136,938

 

Profit sharing, bonus and premium

205,273


 

132,390

 

Social charges

70,785


 

52,739

 

Others

3,093


 

8,036

 

 

460,906


 

330,103

 

v3.23.1
Taxes Payable
12 Months Ended
Dec. 31, 2022
Taxes Payable  
Taxes Payable


 

12/31/2022


 

12/31/2021


ICMS (State VAT)

131,587


 

146,598


IPI (Federal VAT)

4,553


 

4,163


PIS and COFINS (State VAT)

14,470


 

13,667


ISS (Municipal VAT)

23,610


 

45,533


Others

18,210


 

19,215


 

192,430


 

229,176


v3.23.1
Employee Benefits and Private Pension Plan
12 Months Ended
Dec. 31, 2022
Employee benefits and private pension plan  
Employee Benefits and Private Pension Plan

21 Employee benefits and private pension plan 

 

a. ULTRAPREV - Associação de Previdência Complementar

 

In February 2001, the Company’s Board of Directors approved the adoption of a defined contribution pension plan to be sponsored by the Company and its subsidiaries. Participating employees have been contributing to this plan, managed by Ultraprev - Associação de Previdência Complementar (“Ultraprev”), since August 2001. Each participating employee chooses his or her basic contribution to the plan, up to a limit of 11% of the employee’s reference salary, according to the rules of the plan. Each sponsoring company provides a matching contribution in an amount equivalent to each basic contribution. As participating employees retire, they may choose to receive either (i) a monthly sum ranging between 0.3% and 1.0% of their respective accumulated fund in Ultraprev or (ii) a fixed monthly amount, which will exhaust their respective accumulated fund over a period of 5 to 35 years. The Company and its subsidiaries do not take responsibility for guaranteeing amounts or the duration of the benefits received by the retired employee. 

 

The balance of R$ 18,204 (R$ 19,831 as of December 31, 2021) regarding the reversal fund will be used to deduct normal sponsor contributions in a period of up to 89 months depending on the sponsor. The number of months is estimated according to the current amount being deducted from the contributions of the sponsor with the highest balance.

 

In 2022, the subsidiaries contributed with R$ 16,368 to Ultraprev (R$ 16,120 in 2021 and R$ 17,186 in 2020).

 

The total number of participating employees as of December 31, 2022 was 4,097 active participants and 286 retired participants (4,381 active participants and 387 retired participants as of December 31, 2021). In addition, Ultraprev had 23 former employees receiving benefits under the rules of a previous plan whose reserves are fully constituted.


b. Post-employment benefits

 

The subsidiaries recognized a provision for post-employment benefits mainly related to seniority bonus, payment of Government Severance Indemnity Fund (“FGTS”), and health, dental care, and life insurance plan for eligible retirees.

 

The amounts related to such benefits are based on a valuation conducted by an independent actuary and reviewed by Management as of December 31, 2022.

 

 

12/31/2022


 

12/31/2021


Health and dental care plan (1)

164,428


 

159,867


Indemnification of FGTS

36,357


 

38,617


Seniority bonus

2,156


 

5,570


Life insurance (1)

12,615


 

11,665


Total

215,556


 

215,719


Current

21,809


 

21,082


Non-current

193,747


 

194,637


 

(1)     Applicable  to IPP, Tropical and Iconic.

 

Changes in the present value of the post-employment benefit obligation occurred as follows:


 

12/31/2022


 

12/31/2021


Opening balance

215,719


 

284,724


Expense for the year of continuing operations

20,944


 

15,585


Expense (revenue) for the year of discontinued operations

494


 

2,951


Actuarial (gains) losses from changes in actuarial assumptions

(2,589

)

 

(58,954

)

Benefits paid directly by the Company and its subsidiaries

(19,012

)

 

(18,400

)

Exchange rates from post-employment benefits of foreign subsidiaries

-


 

217


Reclassification to liabilities held for sale (i)

-


 

(10,404

)

Closing balance

215,556


 

215,719



The total expense for each year is presented below:

 

 

2022


 

2021


 

2020


Health and dental care plan

14,660


 

15,265


 

11,127


Indemnification of FGTS

4,766


 

4,409


 

6,199


Seniority bonus

563


 

(4,886

)

 

(6,821

)

Life insurance

955


 

797


 

1,117


Total

20,944


 

15,585


 

11,622



The main actuarial assumptions used are:

 

Economic factors

12/31/2022


 

12/31/2021


 

% p.a.


 

% p.a.


Discount rate for the actuarial obligation at present value

9.97


 

8.93


Average projected salary growth rate

6.98


 

7.07


Inflation rate (long term)

3.50


 

3.25


Growth rate of medical services

7.64


 

7.38



Demographic factors

 

Mortality Table for the life insurance benefit - CSO-80

Mortality Table for other benefits – AT 2000 Basic decreased by 10%

Disability Mortality Table - RRB 1983 and RRB-1944

Disability Table – Weak light


Sensitivity analysis

 

The significant actuarial assumptions to determine the provision for post-employment benefits are: discount rate, salary growth and medical costs increases. The following sensitivity analyses as of December 31, 2022, as shown below, were determined based on possible changes of assumptions occurring at the reporting date of the financial statements, keeping all other assumptions constant.


Assumption


Change in assumptions


Decrease in liability

 

Change in assumptions


Increase in liability


Discount rate


increase by 1.0 p.p.


19,688

 

decrease by 1.0 p.p.


24,252


Wage growth rate


decrease by 1.0 p.p.


266

 

increase by 1.0 p.p.


477


Medical services growth rate


decrease by 1.0 p.p.


17,824

 

increase by 1.0 p.p.


21,847


 

The sensitivity analyses presented may not represent the real change in the post-employment benefit obligation, since it is unlikely that changes occur in just one assumption alone, considering that some of these assumptions may be correlated.

 

Inherent risks related to post-employment benefits

 

Discount rate risk: a long-term interest rate is used to calculate the present value of post-employment liabilities. A reduction in this interest rate will increase the corresponding liability.

 

Wage growth risk: the present value of the liability is calculated using as reference the wages  of the plan participants, projected with the average nominal wage growth rate. An increase in the real wages of plan participants will increase the corresponding liability.

 

Medical costs growth risk: the present value of the liability is calculated using as a reference the medical cost by age based on actual healthcare expenses, projected based on the growth rate of medical services costs. An increase in the real medical costs will increase the corresponding liability.

v3.23.1
Provision for asset retirement obligation
12 Months Ended
Dec. 31, 2022
Disclosure of other provisions [abstract]  
Provision for asset retirement obligation

 

This provision corresponds to the legal obligation to remove the subsidiary IPP’s underground fuel tanks located at Ipiranga-branded service stations after a certain period of use.


Changes in the provision for asset retirement obligation are as follows:

 

Balance as of December 31, 2019

51,242


Additions (new tanks)

163


Expenditure with tanks removed

(4,306

)

Accretion expense

6,336


Balance as of December 31, 2020

53,435


Additions (new tanks)

451


Expenditure with tanks removed

(2,773

)

Accretion expense

5,598


Balance as of December 31, 2021

56,711


Additions (new tanks)

158


Expenditure with tanks removed

(9,528

)

Accretion expense

4,417


Balance as of December 31, 2022

51,758


Current

5,063


Non-current

46,695

v3.23.1
Provisions and Contingencies
12 Months Ended
Dec. 31, 2022
Disclosure of contingent liabilities [abstract]  
Provisions and Contingencies

 

a. Provisions for tax, civil and labor risks

 

The Company and its subsidiaries are parties to tax, civil, environmental, regulatory, and labor disputes at the administrative and judiciary levels.

 

The table below shows the breakdown of provisions by nature and its movement:

 

Provisions

Balance as of 12/31/2021


 

Additions


 

Reversals


 

Payments


 

Interest


 

Balance as of 12/31/2022


IRPJ and CSLL (a.1)

552,172


 

7,154


 

(36,683

)

 

-


 

36,574


 

559,217


Tax

84,155


 

35,238


 

(14,907

)

 

(38,097

)

 

2,045


 

68,434


Civil, environmental and regulatory claims (a.2)

108,761


 

18,326


 

(9,980

)

 

(23,700

)

 

9


 

93,416


Labor litigation (a.3)

95,460


 

22,663


 

(22,387

)

 

(23,142

)

 

578


 

73,172


Provision for indemnities (a.4)

-


 

150,820


 

-


 

-


 

-


 

150,820


Others

91,637


 

4,812


 

(3,850

)

 

-


 

2,514


 

95,113


Total

932,185


 

239,013


 

(87,807

)

 

(84,939

)

 

41,720


 

1,040,172


Current

119,942


 

 


 

 


 

 


 

 


 

22,837


Non-current

812,243


 

 


 

 


 

 


 

 


 

1,017,335


    

Balances of escrow deposits are as follows:

 

 

12/31/2022


 

12/31/2021


Tax

790,979


 

731,326


Labor

42,624


 

48,147


Civil and others

112,780


 

91,788


 

946,383


 

871,261



a.1 Provision for tax matters

 

On October 7, 2005, the subsidiaries Cia. Ultragaz and Bahiana filed for and obtained a preliminary injunction to recognize and offset PIS and COFINS credits on LPG purchases, against other taxes levied by the RFB, notably IRPJ and CSLL. The decision was confirmed by a trial court on May 16, 2008. Under the preliminary injunction, the subsidiaries made escrow deposits for these debits, which amounted to R$ 569,415 as of December 31, 2022 (R$ 534,830 as of December 31, 2021). On July 18, 2014, a second instance unfavorable decision was published, and the subsidiaries suspended the escrow deposits, and started to pay income taxes from that date. To revert the court decision, the subsidiaries presented a writ of prevention, which was dismissed on December 30, 2014 and the subsidiaries appealed this decision on February 3, 2015. Appeals were also presented to the respective higher courts - Superior Court of Justice (“STJ”) and Federal Supreme Court (“STF”) whose final trial are pending. At the STJ, the issue was subject to the system of Repetitive Appeals (Repetitive Issue No. 1093) and is awaiting judgment by the Superior Court.

 

a.2 Provisions for civil, environmental and regulatory risks

 

The Company and its subsidiaries maintain provisions for lawsuits and administrative proceedings, mainly derived from contracts entered into with customers and former service providers, and indemnities, as well as proceedings related to environmental and regulatory issues in the amount of R$ 93,416 as of December 31, 2022 (R$ 108,761 as of December 31, 2021).

 

a.3 Provision for labor matters

 

The Company and its subsidiaries maintain provisions of R$ 73,358 as of December 31, 2022 (R$ 95,460 as of December 31, 2021) for labor litigation filed by former employees and by employees of our service providers mainly contesting the non-payment of labor rights.


a.4 Provision for indemnities

 

On April 1, 2022, Ultrapar concluded the transaction for the sale of Oxiteno, for which it was agreed that the former shareholder, Ultrapar, is responsible, in accordance with the terms and conditions of the share purchase and sale agreement, for losses resulting from claims arising from acts, facts or omissions that occurred prior to the closing of the transaction. A provision for indemnities in the amount of R$ 139,693 was recorded, R$ 89,649 of which related to labor claims, R$ 17,575 to civil claims and R$ 32,469 to tax claims, which may be reimbursed to Indorama, in the event of materialization of such losses.

 

On August 1, 2022, Ultrapar concluded the transaction for the sale of Extrafarma, for which it was agreed that the former shareholder, subsidiary IPP, is responsible, in accordance with the terms and conditions of the share purchase and sale agreement, for losses resulting from claims arising from acts, facts or omissions that occurred prior to the closing of the transaction. A provision for indemnities in the amount of R$ 11,126 was recorded, R$ 5,864 of which related to labor claims, R$ 472 to civil claims and R$ 4,790 to tax claims, which may be reimbursed to Pague Menos, in the event of materialization of such losses.


b. Contingent liabilities (possible)

 

The Company and its subsidiaries are parties to tax, civil, environmental, regulatory, and labor claims whose likelihood of loss is assessed by the legal departments of the Company and its subsidiaries as possible, based on the opinion of its external legal advisors and, based on these assessments, these claims were not provided for in the financial statements. The estimated amount of this contingency is R$ 3,601,865 as of December 31, 2022 (R$ 3,310,603 as of December 31, 2021).

 

b.1 Contingent liabilities for tax and social security matters

 

The Company and its subsidiaries have contingent liabilities for tax and social security matters in the amount of R$ 2,656,479 as of December 31, 2022 (R$ 2,292,465 as of December 31, 2021), mainly represented by:

 

b.1.1 The subsidiary IPP and its subsidiaries have assessments invalidating the offset of excise tax (“IPI”) credits in connection with the purchase of raw materials used in the manufacturing of products, which are subsequently sold, are not subject to IPI under the protection of tax immunity. The amount of this contingency is R$ 182,446 as of December 31, 2022 (R$ 178,422 as of December 31, 2021).


b.1.2 The subsidiary IPP and its subsidiaries have legal proceedings related to ICMS. The total amount involved in these proceedings was R$ 1,376,199 as of December 31, 2022 (R$ 1,303,383 as of December 31, 2021). Such proceedings arise mostly from the disregard of ICMS credits amounting to R$ 201,408 as of December 31, 2022 (R$ 209,611 as of December 31, 2021), of which R$ 178,825 as of December 31, 2022 (R$ 106,590 as of December 31, 2021) refer to alleged non-payment of the tax ; from conditioned fruition of tax incentive in the amount of R$ 193,785 as of December 31, 2022 (R$ 174,039 as of December 31, 2021); of inventory differences in the amount of R$ 302,143 as of December 31, 2022 (R$ 295,163 as of December 31, 2021); and of a 2% surcharge on products considered non-essential (hydrated ethanol) in the amount of R$ 246,336 (R$ 219,218 as of December 31, 2021).

 

b.1.3 The Company and its subsidiaries are parties to administrative and judicial suits involving Income Tax, Social Security Contribution, PIS and COFINS, substantially about denials of offset claims and credits disallowance which total R$ 759,469 as of December 31, 2022 (R$ 578,097 as of December 31, 2021), mainly represented by:

 

b.1.3.1 The subsidiary IPP received in 2017 a tax assessment related to the IRPJ and CSLL resulting from the alleged undue amortization of the goodwill paid on acquisition of investments, in the amount of R$ 233,805 as of December 31, 2022 (R$ 218,589 as of December 31, 2021), which includes the amount of the income taxes, interest and penalty.

 

b.2 Contingent liabilities for civil, environmental and regulatory claims

 

The Company and its subsidiaries have contingent liabilities for civil, environmental and regulatory claims in the amount of R$ 690,052 as of December 31, 2022 (R$ 771,695 as of December 31, 2021), mainly represented by:

 

b.2.1 The subsidiary Cia. Ultragaz is party to an administrative proceeding before CADE based on alleged anti-competitive practices in the State of Minas Gerais in 2001. The CADE entered a decision against Cia. Ultragaz and imposed a penalty of R$ 35,617 as of December 31, 2022 (R$ 34,162 as of December 31, 2021). The imposition of such administrative decision was suspended by a court order and its merit is being judicially reviewed.

 

b.2.2 The subsidiary Cia. Ultragaz has lawsuits totaling R$ 255,290 as of December 31, 2022 (R$ 233,426 as of December 31, 2021) filed by resellers seeking the declaration of nullity and termination of distribution contracts, in addition to indemnities for losses and damages.


b.3 Contingent liabilities for labor matters
 

The Company and its subsidiaries have contingent liabilities for labor matters in the amount of R$ 255,334 as of December 31, 2022 (R$ 246,443 as of December 31, 2021).

 

b.4 Action for damages
 

In December 2022, the Company by means of its subsidiary Ipiranga, as the assignor, entered into an agreement with a Receivables Investment Fund (“FIDC”) to assign 90% of its receivables from an action for damages (contingent asset), with an initial fixed amount of R$ 140,000 being recognized. The first portion of R$ 60,000 was received on December 29, 2022, and the remaining portion of R$ 80,000 (registered in other receivables) will be received through March 31, 2023, subject to DI rate calculated up to the settlement date. The underlying agreement establishes that the assignment transaction between the assignor and the assignee is irrevocable, irreversible, and transfers of control and risks and rewards.

 

c. Lubricants operation between IPP and Chevron

 

In the lubricants' operation in Brazil between Chevron and subsidiary IPP, it was agreed that each shareholder is responsible for any claims arising out of acts, facts or omissions that occurred prior to the transaction. The amounts of provisions of Chevron’s liability in the amount of R$ 26,010 (R$ 19,724 as of December 31, 2021) are reflected in the consolidation of these financial statements. Additionally, in connection with the business combination, a provision in the amount of R$ 198,900 was recognized on December 1, 2017, related to contingent liabilities, with a balance of R$ 100,548 as of December 31, 2022 (R$ 101,267 as of December 31, 2021). The amounts of provisions of Chevron’s liability recognized in the business combination will be reimbursed to subsidiary Iconic in the event of losses and an indemnification asset was hereby constituted, without the need to establish a provision for uncollectible amounts.

The provision of the Chevron indemnification in the amount of R$ 26,010 refers to: (i) R$ 23,337 ICMS assessments on sales for industrial purposes, in which the STF closed the judgment of the thesis unfavorably to taxpayers; (ii) R$ 2,381 labor claims; and (iii) R$ 292 civil, regulatory and environmental claims.

v3.23.1
Subscription warrants - indemnification
12 Months Ended
Dec. 31, 2022
Disclosure of Subscription Warrants Indemnification [Abstract]  
Subscription warrants - indemnification

 

Because of the association between the Company and Extrafarma on January 31, 2014, 7 subscription warrants – indemnification were issued, corresponding to up to 6,411,244 shares of the Company. The subscription warrants could be exercised beginning 2020 by the former shareholders of Extrafarma and are adjusted according to the changes in the amounts of provisions for tax, civil, and labor risks and contingent liabilities related to the period prior to January 31, 2014. The subscription warrants – indemnification’s fair value is measured based on the share price of Ultrapar (UGPA3) and is reduced by the dividend yield until 2020, since the exercise is possible only from 2020, and they are not entitled to dividends while they are not converted into shares.

 

On February 24, 2021, August 11, 2021, February 23, 2022 and August 3, 2022, the Company’s Board of Directors approved the issuance of 70,939, 31,032, 43,925 and 21,472, respectively, common shares within the authorized capital limit provided by the article 6 of the Bylaws, due to the partial exercise of the rights conferred by the subscription warrants issued by the Company at the time of the merger of all Extrafarma shares into the Company, approved by the Extraordinary General Meeting (“EGM”) of the Company held on January 31, 2014.

 

As set out in the association agreement between the Company and Extrafarma of January 31, 2014 and due to the unfavorable decisions on some lawsuits with triggering events prior to January 31, 2014, 656,121 shares linked to the subscription warrants – indemnification were canceled and not issued. On December 31, 2022, 3,392,234 shares were retained linked to subscription warrants – indemnification, which will be issued or canceled as the final decisions on the lawsuits are determined, being the maximum number of shares that can be issued in the future, totaling R$ 42,776 (R$ 51,296 as of December 31, 2021). 

v3.23.1
Equity
12 Months Ended
Dec. 31, 2022
Equity [abstract]  
Equity

  

a. Share capital

 

As of December 31, 2022, the subscribed and paid-up capital consists of 1,115,173,080 (1,115,107,683 as of December 31, 2021) common shares with no par value and the issuance of preferred shares and participation certificates is prohibited. Each common share entitles its holder to one vote at Shareholders’ Meetings.

 

As of December 31, 2022, there were 58,895,761 common shares outstanding abroad in the form of ADRs (50,374,275 shares as of December 31, 2021 and 47,413,094 shares as of December 31, 2020).

 

b. Equity instrument granted

 

The Company has a share-based incentive plan, which establishes the general terms and conditions for the concession of common shares issued by the Company held in treasury (see Note 9.c). As of December 31, 2022, the balance of treasury shares granted with right of use was 6,184,427 common shares (3,178,383 as of December 31, 2021).


c. Treasury shares

 

The Company acquired its own shares at market prices, without capital reduction, to be held in treasury and to be subsequently disposed of or cancelled.

 

As of December 31, 2022, the balance was R$ 479,674 (R$ 488,425 as of December 31, 2021) and 19,974,556 common shares (23,756,393 as of December 31, 2021 and 24,739,626 as of December 31, 2020) were held unrestricted in the Company's treasury, acquired at an average cost of R$ 24.01.

 

The balance of treasury shares as of December 31, 2022 ias as follows (in number of shares):

 

 

 

12/31/2022


Balance of unrestricted shares held in treasury

 

19,974,556


Balance of treasury shares granted with right of use (see note 25.b)

 

6,184,427


Total balance of treasury shares as of December 31, 2022

 

26,158,983


 

d. Revaluation reserve

 

The revaluation reserve, recognized prior to the adoption of the international accounting standards (IFRS), reflects the revaluation of assets of subsidiaries and is based on depreciation, write-off, or disposal of the revalued assets of the subsidiaries, as well as the tax effects recognized by these subsidiaries.


e. Profit reserves

             

e.1 Legal reserve

 

Under the Brazilian Corporate Law the Company is required to allocate 5% of net annual earnings to a legal reserve, until the balance reaches 20% of share capital. As of December 31, 2022, the legal reserve totaled R$ 882,575 (R$ 792,533 as of December 31, 2021). This reserve may be used to increase capital or to absorb losses but may not be distributed as dividends.

 

e.2 Investments statutory reserve

 

In compliance with Article 194 of the Brazilian Corporate Law and Article 54 of the Bylaws, this reserve is aimed to protect the integrity of the Company’s assets and to supplement its share capital, in order to allow new investments to be made. As provided for in its bylaws, the Company may allocate up to 75% of the annual net income, after deducting the legal reserve, to the investments reserve, up to the limit of 100% of the share capital.

 

The investments reserve is free of distribution restrictions and totaled R$ 5,228,561 as of December 31, 2022 (R$ 4,073,876 as of December 31, 2021). Under article 199 of Brazilian Corporate Law, the next general meeting will resolve on the excess of the profit reserve over the share capital.

 

f. Accumulated other comprehensive income and cumulative translation adjustments

 

f.1 Other comprehensive income


(i)  Gains and losses on the hedging instruments of exchange rate related to firm commitment and highly probable transactions designated as cash flows hedges are recognized in equity as “Accumulated other comprehensive income”, net of income taxes. Gains and losses are reclassified to initial cost of non-financial assets recognized in the statement of income at the moment of paid-off of the hedge instrument.
(ii)  Actuarial gains and losses relating to post-employment benefits, calculated based on a valuation conducted by an independent actuary, are recognized in equity under the heading “Accumulated other comprehensive income”, net of income taxes. Gains and losses recorded in equity are not reclassified to profit or loss in subsequent periods.
(iii) The Company also recognizes in this item the effect of changes in the non-controlling interest in subsidiaries that do not result in loss of control. This amount corresponds to the difference between the amount by which the non-controlling interest was adjusted and the fair value of the consideration received or paid and represents a transaction with shareholders.


Balance and changes in valuation adjustments of the Company are as follows:

 

 

Fair value of cash flow hedging instruments (i)


 

Fair value of financial investments


 

Actuarial gain/ (loss) of post-employment benefits (ii)


 

Non-controlling shareholders interest change (iii)


 

Others



Total


Balance as of December 31, 2019

(296,132

)

 

205


 

(47,759

)

 

197,369


 

-



(146,317

)

Changes in fair value of financial instruments

(477,570

)

 

64


 

-


 

-


 

-



(477,506

)

IRPJ and CSLL on fair value

164,425


 

-


 

-


 

-


 

-



164,425


Actuarial loss of post-employment benefits

-


 

-


 

(7,725

)

 

-


 

-



(7,725

)

Income and social contribution taxes on actuarial losses

-


 

-


 

2,133


 

-


 

-



2,133


Balance as at December 31, 2020

(609,277

)

 

269


 

(53,351

)

 

197,369


 

-



(464,990

)

Changes in fair value of financial instruments

12,036


 

(672

)

 

-


 

-


 



11,364


IRPJ and CSLL on fair value

(4,060

)

 

-


 

-


 

-


 



(4,060

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

49,550


 

-


 



49,550


IRPJ and CSLL on actuarial gains

-


 

-


 

(14,002

)

 

-


 



(14,002

)

Balance as of December 31, 2021

(601,301

)

 

(403

)

 

(17,803

)

 

197,369


 

-



(422,138

)

Changes in fair value of financial instruments

910,804


 

403


 

-


 

-


 

747



911,954


IRPJ and CSLL on fair value

(309,503

)

 

-


 

-


 

-


 

 



(309,503

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

(610

)

 

-


 



(610

)

IRPJ and CSLL on actuarial gains

-


 

-


 

271


 

-


 



271


Balance as of December 31, 2022

-


 

-


 

(18,142

)

 

197,369


 

747



179,974



f.2 Cumulative translation adjustments

 

The change in exchange rates on assets, liabilities, and income of foreign subsidiaries that have functional currency other than the presentation currency of the Company and an independent management (see Note 2.t.1) and the exchange rate variation on notes in the foreign market, net of income taxes (see Note 31.h.3) is directly recognized in the equity. This cumulative effect is reflected in profit or loss as a gain or loss only in case of disposal or write-off of the investment.

 

Balance and changes in cumulative translation adjustments of the Company are as follows:

 

 

2022


 

2021



2020


Initial balance

 

304,645


 

231,596



102,427


Currency translation adjustment of foreign subsidiaries

 

(269,482

)

 

97,113



202,277


Effect of foreign currency exchange rate variation on notes in the foreign market

 

80,057


 

(36,461

)

(110,770

)

IRPJ and CSLL on foreign currency exchange rate variation on notes in the foreign market

 

(27,219

)

 

12,397



37,662


Reclassification to income due to sale of investment

 

(88,001

)

 

-



 


Final balance

 

-


 

304,645



231,596


 

g. Allocation of income for the year

 

The shareholders of the Company are entitled under the Bylaws to a minimum annual dividend of 25% of adjusted net income, after allocation of 5% to the legal reserve, calculated in accordance with Brazilian Corporate Law. The dividends and interest on capital in excess of the obligation established in the Bylaws are recognized in equity until the shareholders approve them. The proposed dividends payable that refers to the year 2021, the amount of which as of December 31, 2021 totaled R$ 185,896 (R$ 0.17 - seventeen cents of Brazilian Real per share), were approved by the Board of Directors on February 23, 2022 and were paid from March 11, 2022 onwards. On May 11, 2022, the payment of interim interest on capital, attributed to the mandatory minimum dividend, of R$ 450,000 (R$ 0.41 - forty-one cents of Brazilian Real per share), including income tax, was approved, and the payment was made from August 10, 2022 onwards. The proposed dividends payable for the year 2022, the amount of which as of December 31, 2022 totaled R$ 109,515 (R$ 0.10 - ten cents of Brazilian Real per share), were approved by the Board of Directors on February 15, 2023 and will be paid from March 03, 2023 onwards. 


The management's proposal for the allocation of net income for 2022 and for distribution of dividends is as follows:

Allocation of net income

12/31/2022


Net income for the year attributable to shareholders of Ultrapar

1,800,839


Legal reserve (5% of the net income)

90,042


Adjusted net income (basis for dividends)

1,710,797


 

 


Minimum mandatory dividends for the year (25% of the adjusted net income)

427,699


Total distribution

427,699


Interest on capital, net of income tax, already paid (R$ 0.35 per share) (*)

(396,314

)

Additional dividends to the minimum mandatory dividends

78,130


Balance of proposed dividends (R$ 0.10 per share)

109,515


 

 


Allocation of dividends

 


Minimum mandatory dividends for the year (25% of the adjusted net income) 

427,699


Balance of proposed dividends (R$ 0.07 per share)

78,130


 

 


Allocation of net income

 


Legal reserve (5% of the net income)

90,042


Statutory reserve

1,204,968


Minimum mandatory dividends for the year (25% of the adjusted net income)

396,314


Complementary minimum mandatory dividends for the year (25% of the adjusted net income)

31,385


Additional dividends to the minimum mandatory dividends

78,130


Total distribution of net income for the year attributable to shareholders of Ultrapar

1,800,839


(*) The gross amount of interest on capital was R$450,004


Changes in dividends payable are as follows: 

Balance as of December 31, 2019 16,694
Provisions 710,206
Payments (284,767 )
Balance as of December 31, 2020 442,133
Provisions 478,366
Prescribed dividends (11,816 )
Payments (705,753 )
Reclassification to liabilities of subsidiaries held for sale (70 )

Balance as of December 31, 2021

202,860


Provisions

429,964


Prescribed dividends

(2,948

)

Payments

(581,351

)

Balance as of December 31, 2022

48,525



h. Capital reserve


The capital reserve reflects the gain on the transfer of shares at market price used in the Deferred Stock Plan granted to executives of the subsidiaries of the Company, as mentioned in Note 9.c.


Because of Extrafarma’s association in 2014 the Company recognized an increase in the capital reserves in the amount of R$ 498,812, due to the difference between the value attributable to share capital and the market value of the Ultrapar shares on the date of issuance, deducted by R$ 2,260 related to the incurred costs directly attributable to issuing new shares. Additionally, on February 24, 2021, August 11, 2021, February 23, 2022 and August 03, 2022 there was an increase in the reserve in the amount of R$ 1,371, R$ 448, R$ 651 and R$ 291, respectively, due to the partial exercise of the subscription warrants – indemnification (see note 24).

v3.23.1
Costs and expenses by nature
12 Months Ended
Dec. 31, 2022
Expenses by nature [abstract]  
Costs and expenses by nature

 

The Company presents its costs and expenses by function in the consolidated statement of income and presents below its expenses by nature:

 

 

2022



2021



2020


Raw materials and materials for use and consumption (1)

(135,651,809

)

(104,233,143

)

(68,851,960

)

Personnel expenses 

(1,657,783

)

(1,575,066

)

(1,414,567

)

Freight and storage

(1,033,718

)

(899,188

)

(1,073,971

)

Decarbonization obligation (2)

(638,542

)

(161,281

)

(124,287

)

Services provided by third parties

(442,379

)

(399,904

)

(184,532

)

Depreciation and amortization

(732,241

)

(653,118

)

(595,531

)

Amortization of right-of-use assets

(288,419

)

(260,716

)

(242,670

)

Advertising and marketing

(102,205

)

(106,352

)

(143,694

)

Extemporaneous tax credits (3)

34,247



213,183



136,561


Other expenses and income, net

45,604



(54,432

)

(102,900

)

Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

 

 



 



 


Classified as:

 



 



 


Cost of products and services sold

(136,276,257

)

(104,827,966

)

(70,056,447

)

Selling and marketing

(2,141,985

)

(1,931,666

)

(1,611,152

)

General and administrative expenses

(1,534,481

)

(1,466,551

)

(993,986

)

Other operating income (expenses), net

(514,522

)

96,166



64,034


Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

(1) Includes credits of PIS and COFINS registered on 2022 that refers to Law 192. For more information, see Note 8.

 

(2) Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.

 

(3) Refers substantially to PIS and COFINS credits recorded in 2021 and 2022. On March 15, 2017, due to general repercussions, the STF decided that ICMS does not compose the PIS and COFINS calculation basis. After filing of the Federal Government's Motion for Clarification, the STF definitively ruled about the thesis on May 13, 2021, reaffirming the exclusion of the ICMS from the PIS and COFINS calculation basis and modulating the effects of the decision for the lawsuits filed after March 15, 2017. Certain subsidiaries have credits arising from favorable decisions on the exclusion of ICMS from the PIS and COFINS calculation basis, and the respective subsidies for proving the amounts to be refunded were duly confirmed by Management and recorded in Other operating income (expenses), net in the statement of income.

v3.23.1
Gain (loss) on disposal of property, plant and equipment and intangible assets
12 Months Ended
Dec. 31, 2022
Gain (loss) on disposal of property, plant and equipment and intangible assets  
Gain (loss) on disposal of property, plant and equipment and intangible assets

 

The gain or loss is determined as the difference between the selling price and residual book value of the investment, property, plant and equipment, and intangible asset. For the year ended December 31, 2022, the result was a gain of R$ 169,289 (gain of R$ 184,189 in 2021, represented primarily by the sale of ConectCar and properties and gain of R$ 85,455 in 2020).

v3.23.1
Financial result, net
12 Months Ended
Dec. 31, 2022
Disclosure of Finance Income (Expense) [Abstract]  
Financial result, net

 

 

2022



2021



2020


Financial income:

 



 



 


Interest on financial investments

388,675



101,326



93,667


Interest from customers

128,052



109,999



132,155


Changes in subscription warrants (see Note 24)

5,099



33,180



-


Selic interest on PIS/COFINS credits

35,268



201,795



121,565


Update of provisions and other income

149,595



13,854



10,279


 

706,689



460,154



357,666


 

 



 



 


Financial expenses:

 



 



 


Interest on loans and debentures

(1,465,259

)

(716,969

)

(658,980

)

Interest on leases payable

(128,069

)

(110,878

)

(109,318

)

Bank charges, financial transactions tax, and other taxes

(119,828

)

(70,801

)

(46,878

)

Exchange variations, net of gain (loss) on hedging instruments

(458,032

)

(239,106

)

(58,944

)

Changes in subscription warrants – indemnification (see Note 24)

-



-



(17,353

)

Update of provisions, net, and other expenses 

(4,709

)

(85,132

)

(16,541

)

 

(2,175,897

)

(1,222,886

)

(908,014

)

Financial result, net

(1,469,208

)

(762,732

)

(550,348

)

v3.23.1
Earnings per share
12 Months Ended
Dec. 31, 2022
Earnings per share [abstract]  
Earnings per share

 

The table below presents a reconciliation of numerators and denominators used in computing earnings per share. The Company has a stock plan and subscription warrants, as mentioned in Notes 9.c and 24, respectively.

 

 

2022


 

2021


 

2020 


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


Basic earnings per share 

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of shares outstanding (in thousands)

1,091,990



1,091,990



1,091,990


 

1,090,500



1,090,500



1,090,500


 

1,089,414



1,089,414



1,089,414


Basic earnings per share - R$

1.3727



0.2764



1.6491


 

0.7200



0.0598



0.7799


 

0.5625



0.2576



0.8201


Diluted earnings per share

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of outstanding shares (in thousands), including dilution effects

1,098,692



1,098,692



1,098,692


 

1,096,962



1,096,962



1,096,962


 

1,095,842



1,095,842



1,095,842


Diluted earnings per share - R$

1.3643



0.2747



1.6391


 

0.7158



0.0595



0.7753


 

0.5592



0.2561



0.8152


Weighted average number of shares (in thousands)

 



 



 


 

 



 



 


 

 



 



 


Weighted average number of shares for basic earnings per share

 



 



1,091,990


 

 



 



1,090,500


 

 



 



1,089,414


Dilution effect

 



 



 


 

 



 



 


 

 



 



 


Subscription warrants

 



 



3,445


 

 



 



3,548


 

 



 



3,570


Stock plan

 



 



3,257


 

 



 



2,914


 

 



 



2,858


Weighted average number of shares for diluted earnings per share

 



 



1,098,692


 

 



 



1,096,962


 

 



 



1,095,842



(i) For further details, see Note 4.c.1
(ii) For further details, see Note 4.c.2

 

Earnings per share of 2022 considers the issuance of 2,472,210 common shares due to the partial exercise of the rights conferred by the subscription warrants disclosed in Note 24.

v3.23.1
Segment information
12 Months Ended
Dec. 31, 2022
Segment information  
Segment information

 

The Company has three relevant business segments: gas distribution, fuel distribution and storage. The gas distribution segment (Ultragaz) distributes LPG to residential, commercial, and industrial consumers, especially in the South, Southeast, and Northeast regions of Brazil. The fuel distribution segment (Ipiranga) operates the distribution and marketing of gasoline, ethanol, diesel, fuel oil, kerosene, natural gas for vehicles, and lubricants and related activities throughout all the Brazilian territory. The storage segment (Ultracargo) operates liquid bulk terminals, especially in the Southeast and Northeast regions of Brazil. The digital payments segment (Abastece aí) offers digital payments services, combining the “abastece aí” app and the loyalty program “Km de Vantagens”. In 2022, Ultrapar has ceased to present abastece aí as a separate segment, due to the small relevance of this business relative to the overall results of the Company. The segments shown in the financial statements are strategic business units supplying different products and services. Intersegment sales are done considering the conditions negotiated between the parts.

 

a. Financial information related to segments

 

The main financial information of each of the continuing operations of the Company’s segments is as follows. For information on the discontinued operations, see Note 4.c.2:

 

2022


Results

Ipiranga



Ultragaz



Ultracargo



Others (1) (2)



Subtotal



Eliminations



Total


 

Net revenue from sales and services

131,337,966



11,483,398



867,148



218,770



143,907,282



(272,574

)

143,634,708


Transactions with third parties

131,253,637



11,480,697



684,350



216,024



143,634,708



-



143,634,708


Intersegment transactions

84,329



2,701



182,798



2,746



272,574



(272,574

)

-


Cost of products and services sold

(126,569,490

)

(9,446,354

)

(340,621

)

(185,914

)

(136,542,379

)

266,122



(136,276,257

)

Gross profit

4,768,476



2,037,044



526,527



32,856



7,364,903



(6,452

)

7,358,451


Operating income (expenses)

 



 



 



 



 



 



 


Selling and marketing

(1,552,636

)

(576,087

)

(12,701

)

(561

)

(2,141,985

)

-



(2,141,985

)

General and administrative

(828,753

)

(257,315

)

(134,208

)

(320,657

)

(1,540,933

)

6,452



(1,534,481

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

168,709



(1,381

)

(887

)

2,848



169,289



-



169,289


Other operating income (expenses), net

(525,966

)

6,235



3,330



1,879



(514,522

)

-



(514,522

)

Operating income (loss)

2,029,830



1,208,496



382,061



(283,635

)

3,336,752



-



3,336,752


Share of profit (loss) of subsidiaries, joint ventures and associates

(10,052

)

13



(3,880

)

26,100



12,181



-



12,181


Income (loss) before financial result and income and social contribution taxes

2,019,778



1,208,509



378,181



(257,535

)

3,348,933



-



3,348,933


Depreciation of PP&E and amortization of intangible assets

353,962



239,204



94,337



44,738



732,241



-



732,241


Amortization of contractual assets with customers - exclusivity rights

503,751



1,502



-



-



505,253



(346

)

504,907


Amortization of right-of-use assets

191,178



56,177



37,124



3,940



288,419



-



288,419


Total depreciation and amortization

1,048,891



296,883



131,461



48,678



1,525,913



(346

)

1,525,567





2021



Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Subtotal



Others (1) (4)

Eliminations



Total


 

Net revenue from sales and services

99,382,617



9,744,659



713,096



84,733



109,925,105



22,452

(214,715)



109,732,842



Transactions with third parties

99,382,547



9,740,657



518,762



84,733



109,726,699



6,143

-



109,732,842



Intersegment transactions

70



4,002



194,334



-



198,406



16,309

(214,715

)

-



Cost of products and services sold

(96,110,408

)

(8,626,340

)

(285,406

)

-



(105,022,154

)
70

194,118



(104,827,966

)

Gross profit

3,272,209



1,118,319



427,690



84,733



4,902,951



22,522

(20,597

)

4,904,876



Operating income (expenses)























Selling and marketing

(1,409,350

)

(438,697

)

(9,213

)

(71,345

)

(1,928,605

)
(6,184 )

-



(1,934,789

)
Loss allowance (reversion) for expected credit losses 23,536

(20,482 )
69

-

3,123

-

-

3,123

General and administrative

(846,441)



(202,002

)

(127,117

)

(113,544

)

(1,289,104

)
(198,044 )

20,597



(1,466,551

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

183,862



2,138



(1,754

)

(9

)

184,237



(48 )

-



184,189



Other operating income (expenses), net

74,574



10,976



3,876



5,159



94,585



1,581

-



96,166



Operating income (loss)

1,298,390



470,252



293,551



(95,006

)

1,967,187



(180,173 )

-



1,787,014



Share of profit (loss) of subsidiaries, joint ventures and associates

(859

)

(104

)

602



-



(361

)
(17,273 )

-



(17,634

)

Operating income before finance income (expenses) and income and social contribution taxes

1,297,531



470,148



294,153



(95,006

)

1,966,826



(197,446 )

-



1,769,380



Depreciation of PP&E and amortization of intangible assets

325,942



211,014



76,421



14,365



627,742



25,376

-



653,118



Amortization of contractual assets with customers - exclusivity rights

280,975



1,546



-



-



282,521



-

-



282,521



Amortization of right-of-use assets

182,245



46,579



25,440



267



254,531



6,185

-



260,716



Total of depreciation and amortization

789,162



259,139



101,861



14,632



1,164,794



31,561

-



1,196,355




2020 


Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Subtotal Segments



Others (1) (4)



Elimination



Total



Net revenue from sales and services

66,133,035



7,408,342



644,177



17,223

74,202,777



48,325



(193,046

)

74,058,056


Transactions with third parties

66,132,828



7,403,632



504,725



17,223

74,058,408



352



-



74,058,056


Intersegment transactions

207



4,710



139,452



-

144,369



48,677



(193,046

)

-


Cost of products and services sold

(63,609,871

)

(6,310,157

)

(270,010

)
-

(70,190,038

)

207



133,384



(70,056,447

)

Gross profit

2,523,164



1,098,185



374,167



17,223

4,012,739



48,532



(59,662

)

4,001,609


Operating income (expenses)

 



 



 






 



 



 



 


Selling and marketing

(1,164,779

)

(404,776

)

(7,278

)
(13,945 )

(1,590,778

)

(5,093

)

-



(1,595,871

)

Loss allowance (reversion) for expected credit losses

2,863



(18,514

)

370



-

(15,281

)

-



-



(15,281

)

General and administrative

(568,963

)

(196,883

)

(122,965

)
(33,164 )

(921,975

)

(131,673

)

59,662



(993,986

)

Gain (loss) on disposal of property, plant and equipment and intangibles

78,952



7,936



(1,433

)
-

85,455



-



-



85,455


Other operating income, net

44,195



8,265



8,898



920

62,278



1,756



-



64,034


Operating income (loss)

915,432



494,213



251,759



(28,966 )

1,632,438



(86,478

)

-



1,545,960


Share of profit (loss) of subsidiaries, joint ventures and associates

(932

)

(53

)

392



-

(593

)

(43,438

)

-



(44,031

)

Operating income before finance income (expenses) and income and social contribution taxes

914,500



494,160



252,151



(28,966 )

1,631,845



(129,916)



-



1,501,929


Depreciation of PP&E and amortization of intangible assets charges

314,511



192,241



65,838



4,053

576,643



18,888



-



595,531


Amortization of contractual assets with customers – exclusive rights

287,800



1,636



-



-

289,436



-



-



289,436


Amortization of right-of-use assets

177,039



41,015



19,482



40

237,576



5,094



-



242,670


Total of depreciation and amortization

779,350



234,892



85,320



4,093

1,103,655



23,982



-



1,127,637


 

(1) Includes in the line “General and administrative” and revenue on disposal of PP&E and intangibles the amount of R$ 157,621 in 2022 (R$ 154,640 in 2021 and R$ 87,363 in 2020) of expenses related to Ultrapar's holding structure, including the Presidency, Financial Board, Legal Board, Board of Directors and Fiscal Council, Risk, Compliance and Audit Board and Sustainability Board.
(2)

The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR. In 2022, Ultrapar has ceased to present Abastece Aí as a separate segment,due to the small relevance of this business relative to the overall results of the Company. 


12/31/2022


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

426,861



318,750



175,984



6,641



929,236



-



929,236


Capitalized interest and other items included in property, plant and equipment and provision for ARO

32,628



-



-



-



32,628



-



32,628


Acquisition of intangible assets

194,385



38,876



9,125



35,214



277,600



-



277,600


Payments of contractual assets with customers - exclusivity rights

769,119



-



-



-



769,119



-



769,119


Decarbonization credits (note 16)

635,130



-



-



-



635,130



-



635,130


 

12/31/2021


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

386,693



336,871



298,272



636

5,947



1,028,419



-



1,028,419


Capitalized interest and other items included in property, plant and equipment and provision for ARO

7,683



-



2,782






-



10,465



-



10,465


Acquisition of intangible assets

156,498



30,150



15,819



34,824

197



237,488



-



237,488


Payments of contractual assets with customers - exclusivity rights

420,261



-



-






-



420,261



-



420,261


Decarbonization credits (note 16)

176,837



-



-






-



176,837



-



176,837



  12/31/2020 


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Others (3)



Subtotal Segments

Elimination



Total


 

Acquisition of property, plant, and equipment

245,980



276,470



211,287



5,149



11,732



750,618

-



750,618


Acquisition of intangible assets

85,337



32,613



5,596



10,285



20,703



154,534

-



154,534


Payments of contractual assets with customers – exclusive rights

351,233



4,812



-



-



-



356,045

-



356,045


Decarbonization credits (see Note 16)

125,345



-



-



-



-



125,345

-



125,345



12/31/2022


Assets

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

23,342,826



4,281,857



3,045,407



5,770,913



36,441,003



-



36,441,003


 

12/31/2021


Assets

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

21,050,793



3,233,736



2,675,453



152,212

897,246



28,009,440



11,000,917



39,010,357



(3)

The “Others” column comprises the parent company Ultrapar (including goodwill from certain acquisitions) and the subsidiaries Millenium, Serma, Imaven, Ultrapar International, UVC Investimentos and UVC - Fundo de investimento.

(4) The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR.

 

b. Geographic area information

 

The subsidiaries generate revenue from operations in Brazil, as well as from exports of products and services to foreign customers, as disclosed below: 

 

 

2022



2021



2020


Net revenue from sales and services:

 



 



 


Brazil

140,801,146



109,598,146



73,941,162


Europe

607,416



18,876



34,460


Singapore

359,250



-



-


United States of America and Canada

1,785,413



35,279



29,935


Other Latin American countries

73,351



69,523



45,356


Others

8,132



11,018



7,143


Total

143,634,708



109,732,842



74,058,056

v3.23.1
Risks and Financial Instruments
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about financial instruments [abstract]  
Risks and Financial Instruments

 

a. Risk management and financial instruments - governance

 

The main risks to which the Company and its subsidiaries are exposed reflect strategic/operational and economic/financial aspects. Operational/strategic risks (including, but not limited to, demand behavior, competition, technological innovation, and material changes in the industry structure) are addressed by the Company’s management model. Economic/financial risks primarily reflect default of customers, behavior of macroeconomic variables, such as exchange and interest rates, as well as the characteristics of the financial instruments used by the Company and its subsidiaries and their counterparties. These risks are managed through control policies, specific strategies, and the establishment of limits.  

 

The Company has a policy for the management of resources, financial instruments, and risks approved by its Board of Directors (“Policy”). In accordance with the Policy, the main objectives of financial management are to preserve the value and liquidity of financial assets and ensure financial resources for the development of the business, including expansions. The main financial risks considered in the Policy are market risks (currencies, interest rates and commodities), liquidity and credit. The governance of the management of financial risks follows the segregation of duties below.

 

The execution of the Policy is made by corporate financial board, through its treasury department, with the assistance of the controllership, accounting, legal and tax departments.

 

The monitoring of compliance of the Policy and possible issues is the responsibility of the Financial Risk Committee (“Committee”), which is composed of the CFO, Treasury Director, Controllership Director and other directors to be designated by the CFO, who meet quarterly. The monthly monitoring of Policy standards is responsibility of the CFO.


Approval of the Policy and the periodic assessment of Company exposure to financial risks are subject to the approval of the Company’s Board of Directors.

 

The Audit and Risk Committee (“CAR”) advises the Board of Directors in the assessment of controls, management and exposure of financial risks and revision of the Policy. The Risk, Compliance and Audit board monitors standards compliance of the Policy and reports to the Audit and Risk Committee the risks exposure and compliance or noncompliance of the Policy to the Board of Directors.

 

b. Currency risk

 

Most transactions of the Company, through its subsidiaries, are located in Brazil and therefore, the reference currency for risk management is the Brazilian Real (Company’s functional currency). Currency risk management is guided by neutrality of currency exposures and considers the risks of the Company and its subsidiaries and their exposure to changes in exchange rates. The Company considers as its main currency exposures the changes in assets and liabilities in foreign currency.

 

The Company and its subsidiaries use exchange rate hedging instruments (especially between the Brazilian Real and the U.S. dollar) available in the financial market to protect their assets, liabilities, receipts, and disbursements in foreign currency and net investments in foreign operations. Hedge is used in order to reduce the effects of exchange rates on the Company´s income and cash flows in Brazilian Reais within the exposure limits under its Policy. Such foreign exchange hedging instruments have amounts, periods, and rates substantially equivalent to those of assets, liabilities, receipts, and disbursements in foreign currencies to which they are related.

 

Assets and liabilities in foreign currencies are stated below, translated into Brazilian Reais:

 

b.1 Assets and liabilities in foreign currencies

 

12/31/2022


 

12/31/2021


Assets in foreign currency

 


 

 


Cash, cash equivalents and financial investments in foreign currency (except hedging instruments)

311,017


 

122,242


Foreign trade receivables, net of allowance for expected credit losses 

6,131


 

1,324


Other receivables

727,057


 

-


Other assets of foreign subsidiaries

280,738


 

186,548


Asset exposure from subsidiaries held for sale

-


 

3,839,194


 

1,324,943


 

4,149,308


Liabilities in foreign currency

 


 

 


Financing in foreign currency, gross of transaction costs and discount

(5,213,100

)

 

(8,860,833

)

Payables arising from imports

(1,939,984

)

 

(649,107

)

Liabilities exposure of subsidiaries held for sale

-


 

(884,402

)

 

(7,153,084

)

 

(10,394,342

)

Foreign currency hedging instruments

5,274,302


 

2,933,572


Foreign currency hedging instruments from subsidiaries held for sale 

-


 

1,786,471


Net liability position - total

(553,839

)

 

(1,524,991

)

Net (liability) asset position - effect on statement of income

(553,839

)

 

(498,604

)

Net liability position - effect on equity in subsidiaries held for sale

-


 

(1,026,387

)

 

b.2 Sensitivity analysis of assets and liabilities in foreign currency

 

For the base scenario, the future market curves as of December 31, 2022 were used on the net position of the Company exposed to the currency risk, simulating the effects of appreciation and devaluation of the Real in the statement of income, impacted by the average U.S. dollar of R$ 5.4679 (*) on December 31, 2022 the closing tax considered was R$ 5.2177.

 

The table below shows the effects of the exchange rate changes on the net liability position of R$ 553,839 in foreign currency as of December 31, 2022:

 

 

Risk

Base Scenario


Effect on statement of income

Real devaluation

(26,555

)

 

Net effect

(26,555

)

Effect on statement of income

Real appreciation

26,555


 

Net effect

26,555


 

(*) Average US dollar on December 31, 2022, according to benchmark rates as published by B3.


c. Interest rate risk

 

The Company and its subsidiaries adopt policies for borrowing and investing financial resources and for capital cost minimization. The financial investments of the Company and its subsidiaries are primarily held in transactions linked to the DI, as set forth in Note 5. Borrowings primarily relate to financing from Banco do Brasil, as well as debentures and borrowings in foreign currency, as shown in Note 17.

 

The Company seeks to maintain most of its financial assets and liabilities at floating rates.

 

c.1 Assets and liabilities exposed to floating interest rates

 

The financial assets and liabilities exposed to floating interest rates are demonstrated below:

 

 

Note

12/31/2022


 

12/31/2021


DI

 

 


 

 


Cash equivalents

5.a

5,204,766


 

1,943,164


Financial investments

5.b

406,683


 

1,607,608


Loans and debentures

17

(2,460,698

)

 

(4,855,517

)

Liability position of foreign exchange hedging instruments - DI

32.g

(2,651,609

)

 

(2,283,625

)

Liability position of fixed interest instruments + IPCA - DI

32.g

(3,416,868

)

 

(2,364,583

)

Net liability position in DI

 

(2,917,726

)

 

(5,952,953

)







TJLP

 

 


 

 


Loans – TJLP

17

-


 

(326

)

Net liability position in TJLP

 

-


 

(326

)







LIBOR

 

 


 

 


Asset position of foreign exchange hedging instruments - LIBOR

32.g

-


 

279,047


Loans - LIBOR

17

-


 

(275,936

)

Net liability position in LIBOR

 

-


 

3,111


Total net liability position exposed to floating interest

 

(2,917,726

)

 

(5,950,168

)

 

c.2 Sensitivity analysis of floating interest rate risk

 

For the sensitivity analysis of floating interest risks on December 31, 2022, the Company used the market curves of the benchmark indexes (DI, TJLP, LIBOR and SELIC) as a base scenario.

 

The tables below show the incremental expenses and income that would be recognized in finance income, if the market curves of floating interest at the base date were applied to the average balances of the current year, due to the effect of floating interest rate.

 

 

 

12/31/2022


Exposure to interest rate risk

Risk

Probable Scenario


Interest effect on cash equivalents and financial investments

Increase in DI (i)

26,382


Interest effect on debt in DI

Increase in DI (i)

(34,907

)

Effect on income of short positions in DI of debt hedging instruments

Increase in DI (i)

(102,175

)

Incremental expenses

 

(110,700

)

Interest effect on debt in TJLP

Increase in TJLP (ii)

-


Incremental expenses

 

-



(i) Base rates used was 12.37% and sensivity rate was 13.41%.

(ii) Base rates used was 6.08% and sensivity rate was 7.20%.


d. Credit risks

 

The financial instruments that would expose the Company and its subsidiaries to credit risks of the counterparty are basically represented by cash and bank deposits, financial investments, hedging instruments (see Note 5), and trade receivables (see Note 6).


d.1 Credit risk from financial institutions

 

Such risk results from the inability of financial institutions to comply with their financial obligations to the Company and its subsidiaries due to insolvency. The Company and its subsidiaries regularly conduct a credit analysis of the institutions with which they hold cash and cash equivalents, financial investments, and hedging instruments through various methodologies that assess liquidity, solvency, leverage, portfolio quality, etc. Cash and cash equivalents, financial investments, and hedging instruments are held only with institutions with a solid credit history, chosen for safety and soundness. The volume of cash and cash equivalents, financial investments, and hedging instruments are subject to maximum limits by each institution and, therefore, require diversification of counterparties.


d.2 Government credit risk

 

The Company's policy allows investments in government securities from countries classified as investment grade AAA or aaa by specialized credit rating agencies (S&P, Moody’s and Fitch) and in Brazilian government bonds. The volume of such financial investments is subject to maximum limits by each country and, therefore, requires diversification of counterparties.

 

The credit risk of financial institution and government related to cash, cash equivalents and financial investments is summarized below:

 

 

 

Fair value


Counterparty credit rating

 

12/31/2022


 

12/31/2021


AAA

 

5,720,996


 

3,606,000


AA

 

809,583


 

740,879


A

 

3,457


 

116,594


Others (*)

 

50,926


 

-


Total

 

6,584,962


 

4,463,473


 

(*) Refers substantially to investiments with minoritary participation of UVC, which are classificated in long term financial investments.

 

d.3 Customer credit risk

 

The credit policy establishes the analysis of the profile of each new customer, individually, regarding their financial condition. The review carried out by the subsidiaries of the Company includes the evaluation of external ratings, when available, financial statements, credit bureau information, industry information and, when necessary, bank references. Credit limits are established for each customer and reviewed periodically, in a shorter period the greater the risk, depending on the approval of the responsible area in cases of sales that exceed these limits.

 

In monitoring credit risk, customers are grouped according to their credit characteristics and depending on the business the grouping takes into account, for example, whether they are individual or corporate customers, whether they are wholesalers, resellers or final customers, considering also the geographic area.

 

The expected credit losses are calculated by the expected loss approach based on the probability of default rates. Loss rates are calculated on the basis of the average probability of a receivable amount to advance through successive stages of default until full write-off. The probability of default calculation takes into account a credit risk score for each exposure, based on data considered to be capable of foreseeing the risk of loss (external classifications, audited financial statements, cash flow projections, customer information available in the press, for example), with addition of the credit assessment based on experience.

 

Such credit risks are managed by each business unit through specific criteria for acceptance of customers and their credit rating and are additionally mitigated by the diversification of sales. No single customer or group accounts for more than 10% of total revenue.


The Company’s subsidiaries request guarantees related to trade receivables and other receivables in specific situations to customers. The Company’s subsidiaries maintained the following allowances for expected credit losses:

 

 

12/31/2022

 


12/31/2021


Ipiranga

373,514

 


422,542


Ultragaz

120,076

 


135,565


Ultracargo

2,450

 


1,526


Total

496,040

 


559,633


 

The table below presents information on credit risk exposure, resulting from the balances of trade receivables and reseller financing:

 

 

12/31/2022

 


12/31/2021


 

Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses

 


Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses


Current

0.5%

 


4,756,388

 


22,752

 


0.6%

 


3,901,536

 


23,476


Less than 30 days

7.5%

 


29,817

 


2,230

 


7.3%

 


109,284

 


8,005


31-60 days

11.1%

 


22,633

 


2,516

 


20.4%

 


57,545

 


11,746


61-90 days

26.5%

 


32,522

 


8,617

 


23.0%

 


39,177

 


9,016


91-180 days

34.4%

 


58,529

 


20,159

 


49.1%

 


50,588

 


24,818


More than 180 days

50.7%

 


868,072

 


439,766

 


57.5%

 


838,532

 


482,572


 

 

 


5,767,961

 


496,040

 


 

 


4,996,662

 


559,633


 

The information on allowance for expected credit losses balances by geographic area is as follows:

 

 

12/31/2022

 


12/31/2021


Brazil

495,929

 


559,532


United States of America and Canada

61

 


3


Other Latin American countries

31

 


15


Europe

5

 


66


Others

14

 


17


 

496,040

 


559,633


 

For further information on the allowance for expected credit losses, see Notes 6.a and 6.b.


d.4 Price risk

 

The Company and its subsidiaries are exposed to commodity price risk, due to the fluctuation in prices for diesel and gasoline, among others. These products are traded on the stock exchange and are subjected to the impacts of macroeconomic and geopolitical factors outside the control of the Company and its subsidiaries.

 

To mitigate the risk of the fluctuation of diesel and gasoline prices, the Company and its subsidiaries permanently monitor the market, seeking the protection of price movements through hedge transactions for imports, using contracts of derivative for heating oil (diesel) and RBOB (gasoline) traded on the stock exchange.

 

The table below shows the positions of hedging financial instruments to hedge commodity price risk as of December 31, 2022 and December 31, 2021:

 

Derivative

 

Contract

 

Notional amount (m 3)

 


Notional amount (USD thousand)

 


Fair value (R$ thousand)

 


Possible scenario (∆ of 10% - R$ thousand)


 

 

Position

 

Product

 

Maturity

 

12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021


Term

 

Sold

 

Heating Oil

 

Jul-23

 

158,828

 


167,255

 


150,498

 


103,148

 


(52,214

)

2,269

 


(124,293

)

(55,066

)

Term

 

Sold

 

RBOB

 

Jan-23

 

52,466

 


29,413

 


31,382

 


17,112

 


(15,481

)

(967

)

(33,404

)

(10,613

)

 

 

 

 

 

 

 

 

 

 


 

 


 

 


 

 


(67,695

)

1,302

 


(157,697

)

(65,679

)


e. Liquidity risk

 

The Company and its subsidiaries’ main sources of liquidity derive from (i) cash, cash equivalents, and financial investments, (ii) cash generated from operations and (iii) financing. The Company and its subsidiaries believe that these sources are sufficient to satisfy their current funding requirements, which include, but are not limited to, working capital, capital expenditures, amortization of debt, and payment of dividends.

 

The Company and its subsidiaries have sufficient working capital and sources of financing to meet their current needs. The gross indebtedness due over the next twelve months, including estimated interest on loans, totaled R$ 3,744,329 (for quantitative information, see Note 17). As of December 31, 2022, the Company and its subsidiaries had R$ 6,142,121 in cash, cash equivalents, and short-term financial investments (for quantitative information, see Note 5).

 

The table below presents a summary of financial liabilities and leases payable as of December 31, 2022 by the Company and its subsidiaries, listed by maturity. The amounts disclosed in this table are the contractual undiscounted cash flows, and, therefore, these amounts may be different from the amounts disclosed in the statement of financial position.

 

 

Total



Less than 1 year



Between 1 and 3 years



Between 3 and 5 years



More than 5 years


Loans including future contractual interest (1) (2)

13,960,937



3,744,329



2,524,250



2,993,156



4,699,202


Derivative instruments (3)

2,292,609



584,748



725,668



648,202



333,991


Trade payables

7,377,846



7,377,846



-



-



-


Leases payable

2,404,105



343,792



596,602



374,456



1,089,255


Financial liabilities of customers

551,587



184,159



354,389



13,039



-


Contingent consideration 89,640

-

-

89,640

-

 

(1) The interest on loans, it was estimated based on the US dollar futures contracts and on the future yield curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022.
(2)

Includes estimated interest on short-term and long-term loans until the contractually foreseen payment date.

(3) The hedging instruments were estimated based on the US dollar futures contracts and the future curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022. In the table above, only the hedging instruments with negative results at the time of settlement were considered.


f. Capital management

 

The Company manages its capital structure based on indicators and benchmarks to ensure business continuity while maximizing return to shareholders by optimizing its debt and capital structure.

 

Capital structure is comprised of net debt (loans and financing, including debentures, according to Note 17, after deduction of cash and cash equivalents, financial investments and derivative financial instruments, according to Note 5) and equity. The Company can change its capital structure depending on the economic and financial conditions, in order to optimize its financial leverage and capital management. The Company seeks to improve its return on invested capital by implementing efficient working capital management and a selective investment program.

 

Annually, the Company and its subsidiaries revise their capital structure, evaluating the cost of capital and the risks associated with each class of capital including the leverage ratio analysis, which is determined as the ratio between net debt and equity.

 

The leverage ratio at the end of the year is the following:

 

 

12/31/2022

 


12/31/2021


Loans and financing

13,274,130

 


17,725,954


Cash and cash equivalents, financial investments and derivative financial instruments

6,584,962

 


4,463,473


Net debt

6,689,168

 


13,262,481


Equity

12,174,968

 


10,469,240


Leverage ratio

54.94%

 


126.68%



g. Selection and use of financial instruments

 

In selecting financial investments and hedging instruments, an analysis is conducted to estimate rates of return, risks involved, liquidity, calculation methodology for the carrying value and fair value, and a review is conducted of any documentation applicable to the financial instruments. The financial instruments used to manage the financial resources of the Company and its subsidiaries are intended to preserve value and liquidity.

 

The Policy contemplates the use of derivative financial instruments only to cover identified risks and in amounts consistent with the risk (limited to 100% of the identified risk). The risks identified in the Policy are described in the above sections and are subject to risk management. In accordance with the Policy, the Company and its subsidiaries can use forward contracts, swaps, options, and futures contracts to manage identified risks. Leveraged derivative instruments are not permitted. Because the use of derivative financial instruments is limited to the coverage of identified risks, the Company and its subsidiaries use the term “hedging instruments” to refer to derivative financial instruments.

 

The table below summarizes the gross balance of the position of hedging instruments contracted as well as of the gains (losses) that affect the equity and the statement of income of the Company and its subsidiaries:

 

Derivatives designated as hedge accounting

 

 

 

 

 

 

 

 


 

 


 

 


 


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD + 4.95 %

106.67% DI

 

Sept-25

 

32.h.1

 

221,339

 


106,550

 


(9,243

)

(121,296

)

Foreign exchange swap

 

Financing

 

USD +LIBOR-3M +1.14% 

105.00% DI

 

Jun-22

 

32.h.1

 

-

 


-

 


-

 


(21,566

)

Foreign exchange swap

 

Financing

 

EUR + 3.42%

111.60% DI 

 

Mar-23

 

32.h.1

 

9,709

 


1,954

 


-

 


2,573


Interest rate swap

 

Financing

 

 IPCA +5.03%

102.87% DI

 

Jun-32

 

32.h.1

 

3,226,054

 


173,741

 


(59,789

)

(143,762

)

Term

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,513

)

(5,069

)

NDF

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jul-23

 

32.h.1

 

181,880

 


2,936

 


(70,630

)

(944,896

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-23

 

32.h.1

 

127,233

 


4,712

 


(3,074

)

53,762


 

 

 

 

 

 

 

 

 

 

 

 

 


289,893

 


(152,249

)

(1,180,344

)

 

Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value2 12/31/2021

 


Gains (losses) on 12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD +4.65%

104.87% DI

 

Sept-23

 

32.h.1

 

125,000

 


212,509

 


-

 


11,712


Foreign exchange swap

 

Financing

 

USD +LIBOR-3M

105.00% DI

 

Jun-22

 

32.h.1

 

50,000

 


109,332

 


-

 


10,779


Interest rate swap

 

Financing

 

4.59% + IPCA

102.00% DI

 

Sept-28

 

32.h.1

 

2,226,054

 


201,638

 


(35,170

)

(17,922

)

Interest rate swap

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,044

)

(10,088

)

Term

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jan-22

 

32.h.1

 

120,260

 


3,115

 


(1,813

)

(130,773

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-22

 

32.h.1

 

68,361

 


7,048

 


(1,346

)

813


 

 

 

 

 

 

 

 

 

 

 

 

 


533,642

 


(47,373

)

(135,479

)

 

Derivatives not designated as hedge accounting

 

 

 

 

 

 


 

 


 

 


 


















Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value2 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jul-23

 

1,116,702

 


36,472

 


(54,067

)

(440,359

)

Interest rate swap

 

Financing

 

5.25%

1.36%

 

Jun-29

 

300,000

 


-

 


(308,821

)

(266,445

)

Foreign exchange swap

 

Financing

 

0.00%

52.99%

 

Jun-29

 

375,000

 


230,145

 


(9,174

)

(85,474

)

 

 

 

 

 

 

 

 

 

 

 


266,617

 


(372,062

)

(792,278

)


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value 12/31/2021

 


Gains (losses)  12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jun-22

 

625,762

 


26,516

 


(23,052

)

54,743


Interest rate swap

 

Financing

 

5.25%

DI - 1.36%

 

Jun-29

 

300,000

 


-

 


(126,752

)

(109,081

)

Foreign exchange swap

 

Financing

 

2.67%

100.00%

 

May-21

 

-

 


-

 


-

 


17


 

 

 

 

 

 

 

 

 

 

 


26,516

 


(149,804

)

(54,321

)

 

1 Currency as indicated.

2 Amounts, net of income tax.

 

h. Hedge accounting

 

The Company and its subsidiaries use derivative and non-derivative financial instruments for hedging purposes and test, throughout the duration of the hedge, their effectiveness, as well as the changes in their fair value.

 

The Company and its subsidiaries will not discontinue hedge accounting if the retrospective assessment of hedge effectiveness is not within the range of 80%-125% and the hedge relationship is subject to interest rate benchmark reforms. For hedge relationships that are not subject to interest rate benchmark reforms, the Company discontinues the hedge accounting if the retrospective effectiveness is not within the range of 80%-125%.

 

h.1 Fair value hedge

 

The Company and its subsidiaries designate as fair value hedges certain financial instruments used to offset the variations in interest and exchange rates, which are based on the market value of financing contracted in Brazilian Reais and U.S. dollars.

 

The foreign exchange hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – US$

221,339

 


175,000


Result of hedging instruments - gain/(loss) - R$

(142,863

)

21,812


Fair value adjustment of debt - R$

28,000

 


47,064


Financial result of the debt - R$

28,291

 


(105,059

)

Average effective cost - DI %

107

 


104.90








Notional amount – EUR

9,709

 


-


Result of hedging instruments - gain/(loss) - R$

2,573

 


-


Fair value adjustment of debt - R$

(8

)

-


Average effective cost - DI %

112

 


-


For further information, see Note 17.b.1

 

 


 


 

The interest rate hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

3,226,054



2,226,054


Result of hedging instruments - gain/(loss) - R$

(143,762

)

(17,922

)

Fair value adjustment of debt - R$

(44,312

)

166,374


Financial result of the debt - R$

(293,955

)

(245,710

)

Average effective cost - DI %

102.9

 


102.0


 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

90,000

 


90,000


Result of hedging instruments - gain/(loss) - R$

(5,069

)

(10,088

)

Fair value adjustment of debt - R$

(486

)

11,756


Financial result of the debt - R$

(6,330

)

(5,914

)

Average effective cost - DI %

99.9

 


99.9


 

The foreign exchange hedging instruments and commodities designated as fair value hedge are as described below and are concentrated in subsidiary IPP. The purpose of this relationship is to transform the cost of the imported product from fixed to variable until fuel blending, as occurs with the price adopted in its sales. IPP carries out these operations with over-the-counter derivatives that are designated in a hedge accounting relationship, as a fair value hedge in an amount equivalent to the inventories of imported product.

 

In thousands

12/31/2022

 


12/31/2021


Notional amount – US$

309,113



188,621


Result of hedging instruments - gain/(loss) - R$

(891,223

)

(129,670

)

Adjustment of inventory fair value – US$

34,126

 


(4,352

)

 

For further information, see Note 17.


h.2 Cash flow hedge

 

Until March 31, 2022, the Company and its subsidiaries had designated, as cash flow hedge for protection against variations arising from exchange rate changes, derivative financial instruments to hedge firm commitments and non-derivative financial instruments to hedge highly probable future transactions.

 

Since April 1, 2022, the exchange rate hedging instruments for highly probable future transactions designated as cash flow hedges, referring to notes in the foreign market, no longer impact the Company and its subsidiaries due to the sale of Oxiteno (totaling US$ 386,787 as of December 31, 2021), and a realized loss was recognized in the statement of income in the amount of R$ 506,375 as of December 31, 2022 (unrealized gain in the amount of R$ 7,880 as of December 31, 2021), net of deferred IRPJ and CSLL. The impacts and balances of cash flow hedge were recognized at Oxiteno, and presented as “Held for sale” and “Discontinued operations”.

 

h.3 Net investment hedge in foreign entities

 

Until March 31, 2022, the Company and its subsidiaries had designated, as net investment hedge in foreign entities, notes in the foreign market, for hedging net investment in foreign entities, to offset changes in exchange rates.

 

As of April 1, 2022, the balance of notes in the foreign market designated as net investment hedge in foreign entities, referring to part of the investments made in entities that have a functional currency other than the Brazilian Real, no longer impact the Company and its subsidiaries due to the sale of Oxiteno (totaling US$ 95,000 as of December 31, 2021), and a gain was recognized in “Other comprehensive income” in the amount of R$ 52,837 as of December 31, 2022 (loss of R$ 24,064 as of December 31, 2021), net of deferred IRPJ and CSLL. The effects of exchange rate variation on investments and notes in the foreign market were offset in equity. The impacts and balances of net investments hedge in foreign entities were recognized at Oxiteno, and presented as “Held for sale” and “Discontinued operations”.


i. Classes and categories of financial instruments and their fair values

 

The fair values and the carrying amounts of the financial instruments, including foreign exchange and interest rate hedging instruments, are stated below:

 

 

 

Carrying value

 

Fair value


December 31, 2022

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2



Level 3


Financial assets:

 

 

 


 

 


 

 


 

 


 



 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 



 


Cash and banks

5.a

-

 


-

 


111,797

 


111,797

 


-



-


Fixed-income securities in local currency

5.a

-

 


-

 


5,204,766

 


5,204,766

 


-



-


Fixed-income securities in foreign currency

5.a

-

 


-

 


305,206

 


305,206

 


-



-


Financial investments

 

 

 


 

 


 

 


 

 


 



-


Fixed-income securities and funds in local currency

5.b

406,683

 


-

 


-

 


-

 


406,683



-


Fixed-income securities and funds in foreign currency

5.b

-

 


-

 


-

 


-

 


-



-


Foreign exchange, interest rate and commodity hedging instruments

5.b

556,510

 


-

 


-

 


-

 


556,510



-


Trade receivables

6.a

-

 


-

 


4,533,327

 


4,504,245

 


-



-


Reseller financing

6.b

-

 


-

 


1,234,634

 


1,234,613

 


-



-


Financial liabilities of customers

6.c

-

 


-

 


1,096,565

 


1,096,565

 


-



-


Total

 

963,193

 


-

 


12,486,295

 


12,457,192

 


963,193



-


Financial liabilities:

 

 

 


 

 


 

 


 

 


 



 


Financing

17.a

1,216,341

 


-

 


3,973,816

 


3,971,551

 


1,216,341



-


Debentures

17.a

3,575,195

 


-

 


2,460,698

 


-

 


5,949,028



-


Foreign exchange, interest rate and commodity hedging instruments

17.a

524,312

 


-

 


-

 


-

 


524,312



-


Trade payables

18.a

-

 


-

 


4,710,952

 


4,710,952

 


-



-


Trade payables – reverse factoring

18.b

-

 


-

 


2,666,894

 


2,666,894

 


-



-


Stock warrant – indemnification (1)

24

42,776

 


-

 


-

 


-

 


42,776



-


Financial liabilities of customers

 

450,586

 


-

 


-

 


450,586

 


-



-


Contingent consideration

34.a

89,640

 


-

 


-

 


-

 


-



89,640


Total

 

5,898,850

 


-

 


13,812,360

 


11,799,983

 


7,732,457



89,640


 

 

 

Carrying value

 


Fair value


December 31, 2021

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2


Financial assets:

 

 

 


 

 


 

 


 

 


 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 


Cash and banks

5.a

-

 


-

 


334,547

 


334,547

 


-


Fixed-income securities in local currency

5.a

-

 


1,943,164

 


-

 


-

 


1,943,164


Fixed-income securities in foreign currency

5.a

2,363

 


-

 


-

 


2,363

 


-


Fixed-income securities and funds in local currency

5.b

1,607,608

 


-

 


-

 


1,607,608

 


-


Fixed-income securities and funds in foreign currency

5.b

-

 


103,239

 


-

 


-

 


103,239


Foreign exchange, interest rate and commodity hedging instruments

5.b

472,552

 


-

 


-

 


-

 


472,552


Trade receivables

6.a

-

 


-

 


3,438,995

 


3,367,012

 


-


Reseller financing

6.b

-

 


-

 


998,034

 


992,359

 


-


Total

 

2,082,523

 


2,046,403

 


4,771,576

 


6,303,889

 


2,518,955


Financial liabilities:

 

 

 


 

 


 

 


 

 


 


Financing

17.a

1,011,374

 


-

 


8,082,323

 


8,380,088

 


1,011,374


Debentures

17.a

2,487,244

 


-

 


4,599,525

 


4,529,439

 


2,487,244


Leases payable

14

-

 


-

 


1,348,311

 


1,348,311

 


-


Foreign exchange, interest rate and commodity hedging instruments

17.a

197,177

 


-

 


-

 


-

 


197,177


Trade payables

18

-

 


-

 


5,727,724

 


5,727,724

 


-


Stock warrant – indemnification (1)

24

51,296

 


-

 


-

 


-

 


51,296


Total

 

3,747,091

 


-

 


19,757,883

 


19,985,562

 


3,747,091



 

The fair value of financial instruments, including foreign exchange and interest hedging instruments, was determined as described below:

 


The fair value of cash and banks are identical to their carrying values.

Financial investments in investment funds are valued at the fund unit value as of the date of the financial statements, which corresponds to their fair value.

Financial investments in CDBs (Bank Certificates of Deposit) and similar instruments offer daily liquidity through repurchase at the “yield curve” and the Company calculates their fair value through methodologies commonly used for mark to market.

The fair values of trade receivables and trade payables approximate their carrying amounts and the Company calculates their fair value through methodologies commonly used in the market.

The subscription warrants – indemnification were measured based on the share price of Ultrapar (UGPA3) as of the financial statements date and are adjusted to the Company’s dividend yield, since the exercise is only possible from 2020 onwards and they are not entitled to dividends until then. The number of shares of subscription warrants – indemnification was also adjusted according to the changes in the amounts of provision for tax, civil, and labor risks and contingent liabilities related to the period prior to January 31, 2014 (see Note 24).

The fair value calculation of notes in the foreign market of Ultrapar International is based on the quoted price in an active market (see Note 17).


The fair value of other financial investments, hedging instruments, financing and leases payable was determined using calculation methodologies commonly used for mark-to-market reporting, which consist of calculating future cash flows associated with each instrument adopted and adjusting them to present value at the market rates as of the date of the financial statements. For some cases where there is no active market for the financial instrument, the Company and its subsidiaries can use quotes provided by the transaction counterparties.

 

The interpretation of market information on the choice of calculation methodologies for the fair value requires considerable judgment and estimates to obtain a value deemed appropriate to each situation. Consequently, the estimates presented do not necessary indicate the amounts that may be realizable.

 

Financial instruments were classified as financial assets or liabilities measured at amortized cost, except for (i) all exchange rate and interest rate hedging instruments, which are measured at fair value through profit or loss, financial investments classified as measured at fair value through profit or loss and financial investments that are classified as measured at fair value through other comprehensive income (see Note 5.b), (ii) loans and financing measured at fair value through profit or loss (see Note 17), (iii) guarantees to customers that have vendor arrangements (see Note 17), which are measured at fair value through profit or loss, and (iv) subscription warrants – indemnification, which are measured at fair value through profit or loss (see Note 24). Cash, banks, trade receivables and reseller financing are classified as financial assets measured at amortized cost. Trade payables and other payables are classified as financial liabilities measured at amortized cost.

 

The financial instruments are classified in the following categories:

 

(a) Level 1 – prices negotiated (without adjustment) in active markets for identical assets or liabilities;

 

(b) Level 2 – inputs other than prices negotiated in active markets included in Level 1 and observable for the asset or liability, either directly (as prices) or indirectly (derived from prices).

 

(c) Level 3 - inputs for assets or liabilities that are not based on observable market variables (unobservable inputs). 

v3.23.1
Commitments
12 Months Ended
Dec. 31, 2022
Commitments  
Commitments


a. Contracts

 

Subsidiary Ultracargo Logística has agreements with CODEBA, with Complexo Industrial Portuário Governador Eraldo Gueiros and with Empresa Maranhense de Administração Portuária, in connection with its port facilities in Aratu, Suape and Itaqui, respectively. Such agreements establish a minimum cargo movement, as shown below:

 

Port

Minimum movement per year

Maturity

Aratu (*)

900,000 ton.

2022

Suape

250,000 ton.

2027

Suape

400,000 ton.

2029

Aratu

465,403 ton.

2031

Itaqui

1,468,105 m3

2049

 

(*) Contract in renovation phase with the competent organ.


If the annual movement is less than the minimum contractual movement, the subsidiary is liable to pay the difference between the effective movement and the minimum contractual movement, based on the port tariff rates in effect on the date established for payment. As of December 31, 2022, these rates were R$ 8.71 and R$ 3.05 per ton for Aratu and Suape, respectively, and R$ 0.94 per m³ for Itaqui. According to contractual conditions and tolerances, as of December 31, 2022, there were no relevant pending issues regarding the minimum purchase limits of the contract.

 

b. Port area lease

 

On April 9, 2021, the Company, through its subsidiary Ultracargo Logística, won the auction for leasing the IQI13 area at the Itaqui port, State of Maranhão, for storage and handling of liquid bulk products, especially fuels. In the leased area, a new terminal will be built with a minimum installed capacity of 79 thousand cubic meters. The lease will have a minimum duration of 20 years according to the auction notice. For this capacity, investments of approximately R$ 310 million are estimated, including the amount related to the grant, to be disbursed in up to six years after signing of the contract on August 17, 2021.

v3.23.1
Business combinations
12 Months Ended
Dec. 31, 2022
Business combinations  
Business combinations

 

a. Stella GD Intermediação de Geração Distribuída de Energia Ltda

 

On October 1, 2022, by means of subsidiary Ultragaz Comercial Ltda., the Company acquired all shares of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The transaction qualifies as a business combination as defined in IFRS 3  – Business Combinations. This acquisition marks Ultragaz's entry into the electricity segment, in line with its strategy of expanding its offering of energy solutions to its customers, leveraging on its capillarity, commercial strength, the Ultragaz brand and its extensive base of industrial and residential customers.

 

Founded in 2019, Stella is a technology platform that connects renewable electric power generators and customers, in form of Distributed Generation. The company has a footprint in 12 States, has more than 11 thousand active customers and offered power of approximately 75 MWp (Mega-Watt peak).

 

The total amount paid for the company was R$ 63,000, with an initial payment of R$ 7,560. The remaining amount of the acquisition will be settled in 2027, subject to adjustments relating to Stella’s performance achievement conditions ("contingent consideration” or “earnout”).

 

The Company, based on applicable accounting standards, is determining the balance sheet as of the acquisition date, the fair value of assets and liabilities and, consequently, goodwill. The purchase price allocation (”PPA”) will be completed in 2023.

 

The Company, supported by an independent appraisal firm, estimated the provisional amounts for the purchase price allocation and determined the provisional goodwill in the amount of R$ 99,679, based on the amount already paid on the transaction date, and the estimated fair value relating to the future payment of earnout.

 

The earnout is determined based on contractual goals set for revenue and the accounting net cash flow to be achieved in the year ending December 31, 2026. The Company estimated the fair value of the earnout based on the discounted cash flow method and projections of earnings as estimated by Management.


The table below summarizes the provisional balances of assets acquired and liabilities assumed on the acquisition date, subject to adjustment for purchase price allocation and goodwill determination:

 

Assets

 


Cash and cash equivalents

1,586


Receivables

17


Other receivables

119


Property, plant and equipment

515


Intangible assets

902


Goodwill based on expected future profitability

99,679


Liabilities

 


Trade payables

14


Salaries and related charges

217


Taxes payable

9


Other payables

5,378


Acquisition value

97,200





Comprised by

 


Cash

7,560


Contingent consideration to be settled

89,640


Total consideration

97,200



Net cash outflow resulting from the acquisition

 


Consideration in cash

7,560


Cash and cash equivalents acquired

(1,586

)

Total

5,974


 

The contribution of the acquired company's results to the Company's results if the business combination had occurred on January 1, 2022 is considered immaterial, as well as the contribution to the Company's results since October 1, 2022.

 

Earnout sensitivity analysis

 

The following table shows information on how the fair value of the contingent consideration was determined considering the basic assumptions used to define earnout. The following sensitivity analyses as of December 31, 2022, as shown below, were determined based on possible changes of assumptions, keeping all other assumptions constant.

 

Goals


Changes in goals


Increase in liability

 

Changes in goals


Decrease in liabilities


Accounting net cash flow and net revenue


increase by 25.0 p.p.


33,146

 

decrease by 25.0 p.p.


26,940


v3.23.1
Events after the reporting period
12 Months Ended
Dec. 31, 2022
Disclosure of non-adjusting events after reporting period [abstract]  
Events after the reporting period

 

  1. Financings raised by the subsidiary Cia Ultragaz S.A.

 

On January 19, 2023, the subsidiary Companhia Ultragaz S.A. raised foreign financing  (without financial covenants) in the amount of JPY 12,564,392 (equivalent to R$ 500,000 at the time of the transaction), with financial charges of 1.3125% p.a. and maturity on March 19, 2025. The subsidiary contracted hedging instruments for the interest rate in Japanese yen and the exchange variation, changing financial charges to 109.40% of the DI.


On March 30, 2023, the subsidiary Companhia Ultragaz S.A. raised foreign financing  (without financial covenants)  in the amount of USD 100,000 (equivalent to R$ 508,040 at the time of the transaction), with financial charges of USD + 4.5815% p.a. and maturity on July 30, 2024. The subsidiary Companhia Ultragaz S.A. contracted hedging instruments for the interest rate in Dollars and the exchange variation, changing financial charges to 110.90% of the DI.

 

b.  Conclusion (“closing”) of an agreement for the acquisition of NEOgás by Ultragaz.


On November 21, 2022, Ultrapar through its subsidiary Companhia Ultragaz S.A (“Ultragaz”), signed an agreement for the acquisition of all shares of NEOgás do Brasil Gás Natural Comprimido S.A. ("NEOgás"). The transaction was closed on February 1, 2023 after the approval of Administrative Council for Economic Defense (CADE). The acquisition value is R$ 165 million, subject to customary working capital and net debt adjustments. This acquisition marks Ultragaz's entry into the compressed natural gas distribution segment and, in addition, NEOgás is an ideal platform to enable biomethane distribution opportunities. This transaction reinforces Ultragaz’s strategy of expanding its offering of energy solutions to its industrial customers, making use of its capillarity, commercial strength and brand. 


c.  Brazilian Federal Supreme Court (“STF”)  decision of stare decisis on taxes paid


On February 8, 2023, the Brazilian Federal Supreme Court (“STF” or the “Court”) concluded its judgment on the effects of stare decisis on taxes paid on a continuous basis and declared that judicial decisions entered in decentralized constitutional control proceedings shall be immediately vacated when a new contrary judgment is entered by the Court in a direct constitutional control proceeding or in a proceeding with general repercussion. The STF’s decision also rejected to apply any modulation on the effects of its judgment and determined that any outstanding taxes shall be payable, provided that the applicable statutes of limitations are duly observed.


The Company and its subsidiaries assessed the impacts of said judgment and concluded that no relevant impact on the financial statements or use of proceeds in the relevant period shall result from said decision.


d.  Issuance of Extrafarma subscription bonus shares


On February 15, 2023, the Company’s Board of Directors confirmed the issuance of 31,211 common shares. Such issuance occurred within the limits of the authorized capital asset forth in Art. 6 of the Company's Bylaws and was made due to the partial exercise of the rights conferred by the subscription warrants (see Note 24) which were issued by the Company in connection with the acquisition of Extrafarma in 2014. As the date of this annual report, considering the issuance of such shares, the share capital of the Company is represented by 1,115,204,291 common shares, all of which are registered and with no par value. 


e.  Funding of a bank credit bill by Ipiranga


On March 30, 2023, Ipiranga raised a Bank Credit Bill (without financial covenants) in the amount of R$500 million, with financial charges of 109.40% of the DI and rate renegotiation in April 2024, with maturity on April 02, 2025. 


f. Acquisition of 50% stake in Opla by Ultracargo


On April 19, 2023, Ultracargo signed an agreement for the acquisition of a 50% stake in Opla, held by Copersucar S.A. The value of the transaction is R$237.5 million, subject to customary working capital and net debt adjustments. As of the date of this annual report, the transaction was still subject to approval by the CADE.


Opla, which was founded in 2017, is the largest independent terminal of ethanol in Brazil. Located in Paulínia (state of São Paulo), it has an installed tank capacity of 180 thousand m3 and offers integrated storage and logistics solutions through railways, pipelines and road transportation. It is jointly controlled by BP Biofuels Brazil Investments Ltd. (“BP”) and Copersucar, both with 50% stake. With the approval of the acquisition, Ultracargo and BP will be co-controllers of Opla.


The acquisition of this stake in Opla marks Ultracargo's entry into the inland liquid bulk storage and logistics segment, integrated with port terminals, in line with its growth plan. Opla is a strategic asset in the ethanol and derivatives distribution chain, with high growth potential and value creation by opening the terminal to third parties and relevant productivity gains in the use of the asset.

v3.23.1
Basis of preparation and presentation of the consolidated financial statements and significant accounting policies (Policies)
12 Months Ended
Dec. 31, 2022
Disclosure of Presentation of Financial Statements and Summary of Significant Accounting Policies [Abstract]  
Revenue recognition

a. Revenue recognition


Revenues from sales and services rendered under contracts with customers are recognized on the accrual basis when, or as, performance obligations are satisfied by transferring the control of a promised good or service to a customer in such a way that the customer obtains substantially all rewards generated, according to incoterms of each transaction, and when it is highly probable that the Company and its subsidiaries will receive the consideration in exchange for the transferred goods or services.


The Company and its subsidiaries recognize revenue under the 5-step model, in accordance with IFRS 15: (1) identification of contracts with customers, (2) identification of the performance obligations, (3) determination of the transaction price, (4) allocation of the transaction price to performance obligations under the contracts and (5) revenue recognition when (or as) the performance obligation is satisfied and the control of the goods or assets is transferred to the customer.

 

Revenue is measured and stated at the fair value of the consideration to which the Company and its subsidiaries expect to be entitled to, less returns, discounts, rebates, sales taxes, amortization of assets from contracts with customers, and other deductions, if applicable. The Company’s subsidiaries do not have obligations for return or refund in their contracts with customers and do not have significant financing component that directly impacts the determination of the expected consideration.

 

At Ipiranga, the revenue from sales of fuels and lubricants is recognized when the products are delivered to gas stations and to large consumers. Deferred revenue from loyalty program is recognized in the statement of income when the points are redeemed, on which occasion the costs incurred are also recognized in profit or loss, or when points expire. Amortization of contractual assets with customers for the exclusive rights in Ipiranga’s reseller service stations and the bonuses paid in performance obligation sales are recognized in the statement of income as a deduction of the revenue from sale according to the conditions established in the agreements which is reviewed as per the changes occurred in the agreements (see Notes 2.f and 12). At Ultragaz, revenue from sales of LPG is recognized when the products are delivered to customers at home, to independent dealers and to industrial and commercial customers. At Ultracargo, the revenue from storage services provided is recognized as services rendered or according with contractual terms. The breakdowns of revenues from sales and services are shown in Notes 26 and 31.

Cash and cash equivalents

b. Cash and cash equivalents

 

Includes cash, bank deposits, and short-term up to 90 days of maturity, highly liquid investments that are readily convertible into a known amount of cash and are subject to an insignificant risk of change in value. Cash equivalents are held for the purpose of meeting short-term cash commitments rather than for investment or other purposes. For an investment to qualify as a cash equivalent it must be readily convertible to a known amount of cash and be subject to an insignificant risk of changes in value. Therefore, an investment normally qualifies as a cash equivalent only when it has a short maturity of, say, three months or less from the date of acquisition. For further information on cash and cash equivalents of the Company and its subsidiaries, see Note 5.a.

Financial assets

c. Financial assets

 

The Company and its subsidiaries evaluated the classification and measurement of financial assets based on its business model of financial assets as follows:

 

Amortized cost: financial assets held in order to collect contractual cash flows, solely principal and interest. The interest earned and the foreign currency exchange variation are recognized in profit or loss and balances are stated at amortized cost using the effective interest rate method. The financial investments in Bank Certificates of Deposit (“CDB”) and repurchase agreements are classified substantially as measured at amortized cost.

Measured at fair value through other comprehensive income: financial assets that are acquired or originated for the purpose of collecting contractual cash flows or selling financial assets. The balances are stated at fair value, and the interest earned and the foreign currency exchange variation are recognized in profit or loss. Differences between fair value and initial amount of financial investments plus the interest earned and the exchange variation are recognized in equity in the “Valuation adjustments”, net of income taxes. Accumulated gains and losses recognized in equity are reclassified to profit or loss at the time of their settlement.

Measured at fair value through profit or loss: financial assets that were not classified as amortized cost or as measured at fair value through other comprehensive income. The balances are stated at fair value and both the interest earned and the exchange variations and changes in fair value are recognized in the statement of income. Investment funds and derivatives are classified as measured at fair value through profit or loss.

 

The Company and its subsidiaries use financial instruments for hedging purposes, applying the concepts described below:


Hedge accounting – fair value hedge: financial instruments used to hedge exposure to changes in the fair value of an item, attributable to a particular risk, which can affect the entity’s statement of income. In the initial designation of the fair value hedge, the relationship between the hedging instrument and the hedged item is documented, including the objectives of risk management, the strategy in conducting the transaction, and the methods to be used to evaluate its effectiveness. Once the fair value hedge has been qualified as effective, the hedged item is also measured at fair value. Gains and losses from hedge instruments and hedged items are recognized in the statement of income. The hedge accounting must be discontinued when the hedge becomes ineffective.

Hedge accounting – cash flow hedge: financial instruments used to hedge the exposure to variability in cash flows that is attributable to a risk associated with an asset or liability or highly probable transaction or firm commitment that may affect the statement of income. The portion of the gain or loss on the hedging instrument that is determined to be effective relating to the effects of exchange rate effect, is recognized directly in equity in accumulated other comprehensive income as “Valuation adjustments” , net of income taxes, while the ineffective portion is recognized in the statement of income. Gains or losses on the hedging instrument relating to the effective portion of this hedge that had been recognized directly in accumulated other comprehensive income shall is recognized in profit or loss in the period in which the hedged item is recognized in profit or loss or as initial cost of non-financial assets, in the same line item of the statement that the hedged item is recognized. The hedge accounting shall be discontinued when (i) the hedging relationship is canceled; (ii) the hedging instrument expires; and (iii) the hedging instrument no longer qualifies for hedge accounting. When hedge accounting is discontinued, gains and losses recognized in equity in other comprehensive income are reclassified to the statement of income in the period which the hedged item is recognized in profit or loss. If the transaction hedged is canceled or is not expected to occur, the cumulative gains and losses in equity in other comprehensive income shall be recognized immediately in profit or loss.

Hedge accounting – hedge of net investments in foreign operations: financial instruments used to hedge exposure on net investments in foreign subsidiaries due to the fact that the local functional currency is different from the functional currency of the Company. The portion of the gain or loss on the hedging instrument that is determined to be effective, referring to the exchange rate effect, is recognized directly in equity in “Cumulative translation adjustments”, net of income taxes, while the ineffective portion and the operating costs are recognized in the statement of income. The gain or loss on the hedging instrument that has been recognized directly in accumulated other comprehensive income shall be recognized in the statement of income when the disposal of the foreign subsidiary occurs.


For further information on financial instruments, see Note 31.

Trade receivables and reseller financing

d. Trade receivables and reseller financing

 

Trade receivables are recognized at the amount invoiced to the counterparty that the Company subsidiaries are entitled (see Notes 6.a and 32.d.3). The loss allowance for expected credit losses consider the expected losses for the next 12 months taking into account the deterioration or improvement of the customers’ credit quality, considering the customers’ characteristics in each business segment. The amount of the expected credit losses is deemed by Management to be sufficient to cover any loss on realization of trade receivables.


Reseller financing is provided at subsidized rate for renovation and upgrading of service stations, purchase of products and development of the automotive fuels and lubricants distribution market (see Notes 6.b and 32.d.3). The terms of reseller financing range between 12 and 60 months, with an average term of 40 months. The maximum subsidized rates are 1% per month. These financing are remeasured at a market rate for working capital loans and the remeasurement adjustment between the market rate and the subsidized rate is recognized as a reduction to the reseller’s revenue at the beginning of the contract. Throughout the contract, the interest appropriated by the market rate is recognized in the financial result.

Inventories

e. Inventories

 

Inventories are stated at the lower of acquisition cost or net realizable value (see Note 7). The cost value of inventory is measured using the weighted average cost and includes the costs of acquisition and processing directly and indirectly related to the units produced based on the normal capacity of production. Estimates of net realizable value are based on the average selling prices at the end of the reporting period, net of applicable direct selling expenses. Subsequent events related to the fluctuation of prices and costs are also considered in  these estimates, if relevant. If net realizable values are below inventory costs, a provision corresponding to this difference is recognized. Provisions are also made for obsolescence of products, materials, or supplies that (i) do not meet its subsidiaries’ specifications, (ii) have exceeded their expiration date, or (iii) are considered slow-moving inventory. This classification is made by management with the support of its industrial and operations teams.

Contractual assets with customers – exclusive rights

f. Contractual assets with customers - exclusive rights

 

Exclusive rights disbursements as provided in Ipiranga’s agreements with reseller service stations and major consumers are recognized as contractual assets when paid and amortized according to the conditions established in the agreements (see Note 12).

Assets and liabilities held for sale and discontinued operations

g. Assets and liabilities held for sale and discontinued operations

 

Non-current assets and related liabilities are classified as held for sale if it is highly probable that their book value will be recovered, primarily, through a sale transaction rather than continued use. The classification criteria are met only when the sale is highly probable, the asset or group of assets is held for immediate sale in its current condition and the sale is expected to occur within 12 months after classification as held for sale.


A line of business or subsidiary is classified as discontinued operation when the sale of a component of the company that represents an important separate line of business occurs or when the operation meets the criteria to be classified as held for sale, if such criteria is met before. The results and cash flows of discountinued operations are presented separately based on the classification of the respective assets and liabilities as held for sale.

 

Assets and liabilities held for sale and discontinued operations are measured at the lower of the book value and fair value, net of selling expenses, and presented separately in the statement of financial position.

Investments

h. Investments

 

Investments in associates and joint ventures are accounted for under the equity method of accounting in the financial statements (see Note 13). An associate is an investment in which an investor has significant influence, that is, has the power to participate in the financial and operating decisions of the investee but does not exercise control. A joint venture is an investment in which the shareholders have the right to net assets on behalf of a joint control. Joint control is the agreement which establishes that decisions about the relevant activities of the investee require the consent from the parties that share control.

 

Other investments are stated at acquisition cost less provision for losses, unless the loss is considered temporary.

Right-of-use assets and leases payable

i. Right-of-use assets and leases payable

 

The Company and its subsidiaries recognized in the statement of financial position right-of-use assets and the respective lease liabilities initially measured at the present value of future lease payments, discounted by the incremental loan rate of the Company, considering the related contract costs (see Note 14). The amortization expenses of right-of-use assets is recognized in the statement of income over the lease contract term. When the right-of-use asset is used in the construction of the property, plant, and equipment (“PP&E”), its amortization is capitalized until the asset under construction is completed. The liability is increased for interest and decreased by lease payments made. The interest is recognized in the statement of income using the effective interest rate method. The remeasurement of assets and liabilities based on the contractual index is recognized in the statement of financial position, not having an effect in the statement of income. In case of cancellation of the contract, the assets and respective liabilities are written off to the statement of income, considering, if it is the case, any penalties provided in contractual clauses. The Company and its subsidiaries have no intention in purchasing the underlying asset. The Company and its subsidiaries periodically review the existence of an indication that the right-of-use assets may be impaired (see Note 2.u).


Right-of-use assets include amounts related to area port leases grants (see Note 32.b).

 

The Company and its subsidiaries apply the recognition exemptions to short-term leases of 12 months or less and lease contracts of low value assets, which do not have purchase option at the end of the contract. In these cases, the recognition of the lease expense in the statement of income is on a straight-line basis.

Property, plant, and equipment

j. Property, plant and equipment

 

PP&E is recognized at acquisition or construction cost, including capitalization of right-of-use assets amortization and financial charges incurred on PP&E under construction, as well as qualifying maintenance costs resulting from scheduled plant outages and estimated costs to remove, to decommission, or to restore assets (see Notes 2.o and 22), less accumulated depreciation and, when applicable, less provision for impairment (see Note 15).

 

Depreciation is calculated using the straight-line method, over the periods mentioned in Note 15, taking into account the estimated useful lives of the assets, which are reviewed annually.

 

Leasehold improvements are depreciated over the shorter of the lease contract term and useful life of the property.

Intangible assets

k. Intangible assets

 

Intangible assets include assets acquired by the Company and its subsidiaries from third parties, and are recognized according to the criteria below:

 

Goodwill is shown as intangible assets corresponding to the positive difference between the amount paid or payable to the seller and the fair value of the identifiable assets and liabilities assumed of the acquired entity. Goodwill is tested for impairment annually, or more frequently when there is indication that the goodwill might be impaired. Goodwill is allocated to the business segments, which represent the lowest level that goodwill is monitored for impairment testing purposes (see Note 16.a).

Other intangible assets acquired from third parties, such as software, technology, and commercial property rights, are measured at the total acquisition cost and amortized using the straight-line method, over the periods mentioned in Note 16, taking into account their useful lives, which are reviewed annually.

The decarbonization credits (“CBIOS”) acquired are recorded at historical cost in intangible assets, being retired according decree in the year to fulfill the individual target set by the National Agency of Petroleum, Natural Gas and Biofuels (“ANP”) and are not amortized. These assets are used to settle the annual decarbonization obligation adopted by Brazilian National Biofuels Policy (“RenovaBio”), implemented by Law No. 13,576/2017, with additional regulations established by Decree No. 9,888/2019 and Ordinance No. 419 of November 20, 2019 issued by the Brazilian Ministry of Mines and Energy. On July 22, 2022, the Decree No. 11,141/2022 was published, which establish on an exceptional basis, the retirement deadline of decarbonization credits until September 2023, to comprove the goal of 2022.

 

The Company and its subsidiaries have not recognized intangible assets that were generated internally. The Company and its subsidiaries have goodwill and brands acquired in business combinations, which are evaluated as intangible assets with indefinite useful life (see Note 16.a.).

Other assets

l. Other assets

 

Other assets are stated at the lower of cost and realizable value, including, if applicable, interest earned, monetary changes and changes in exchange rates incurred, less the provisions for losses and, if applicable, adjusted to present value.

Financial liabilities

m. Financial liabilities

 

The financial liabilities include trade payables, trade payables – reverse factoring other payables, financing, loans, debentures, leases payable and derivative financial instruments used as hedging instruments. Financial liabilities are classified as “financial liabilities at fair value through profit or loss” or “financial liabilities at amortized cost”. The financial liabilities at fair value through profit or loss refer to derivative financial instruments and financial liabilities designated as hedged items in a fair value hedge relationship upon initial recognition (see Note 2.c – Fair Value Hedge). The financial liabilities at amortized cost are stated at the initial transaction amount plus accrued interest and net of amortization and transaction costs. Interest expense is recognized in the consolidated statement of income using the effective interest rate method.

 

Transaction costs incurred and directly attributable to the activities necessary for contracting loans or for issuing bonds, as well as premiums and discounts upon issuance of debentures and other debt, are allocated to the instrument and amortized in the statement of income taking into account its term, using the effective interest rate method (see Note 17.b).

Income and social contribution taxes on income

n. Income and social contribution taxes on income

 

Current and deferred income tax (“IRPJ”) and social contribution on net income tax (“CSLL”) are calculated based on their current rates. For the calculation of current IRPJ, the value of tax incentives is also considered. At the end of the fiscal year the portion of the profit corresponding to these investment grants is allocated to the constitution of a tax incentive reserve in subsidiaries’ equity and is excluded from the dividend calculation base and subsequently capitalized. Taxes are recognized based on the rates of IRPJ and CSLL provided for by the laws enacted on the last day of the financial statements. The current rates in Brazil are 25% for IRPJ and 9% for CSLL.


A provision is recognised for those matters for which the tax determination is uncertain but it is considered probable that there will be a future outflow of funds to a tax authority. The provisions are measured at the best estimate of the amount expected to become payable. The assessment is based on the judgement of tax professionals within the Company supported by previous experience in respect of such activities and in certain cases based on specialist independent tax advice.

 

Deferred tax is the tax expected to be payable or recoverable on differences between the carrying amounts of assets and liabilities in the financial statements and the corresponding tax bases used in the computation of taxable profit. Deferred tax liabilities are generally recognised for all taxable temporary differences and deferred tax assets are recognised to the extent that it is probable that taxable profits will be available against which deductible temporary differences can be utilised. Such assets and liabilities are not recognised if the temporary difference arises from the initial recognition (other than in a business combination) of other assets and liabilities in a transaction that affects neither the taxable profit nor the accounting profit. In addition, a deferred tax liability is not recognised if the temporary difference arises from the initial recognition of goodwill. The carrying amount of deferred tax assets is reviewed at each reporting date and reduced to the extent that it is no longer probable that sufficient taxable profits will be available to allow all or part of the asset to be recovered


For purposes of disclosure deferred tax assets were offset against the deferred tax liabitilies, in the same taxable entity and the same tax authority.


Current and deferred tax are recognised in profit or loss, except when they relate to items that are recognised in other comprehensive income or directly in equity, in which case the current and deferred tax are also recognised in other comprehensive income or directly in equity, respectively. Where current tax or deferred tax arises from the initial accounting for a business combination, the tax effect is included in the accounting for the business combination

 

For further information about recognition and realization of IRPJ and CSLL see Note 10.

Provision for asset retirement obligation – fuel tanks

o. Provision for asset retirement obligation - fuel tanks

 

The subsidiary Ipiranga has the legal obligation to remove the underground fuel tanks located at Ipiranga-branded service stations after a certain period. The estimated cost of the obligation to remove these fuel tanks is recognized as a liability when the tanks are installed. The estimated cost is recognized in PP&E and depreciated over the respective useful lives of the asset. The amounts recognized as a liability accrue inflation effect using the Amplified Consumer Price Index (“IPCA”) until the tank is removed (see Note 22). The estimated removal cost is reviewed and updated annually or when there is significant change in its amount and change in the estimated costs are recognized in the statement of income when they become known.

Provision for tax, civil, labor risks, contingent liabilities and contingent assets

p. Provision for tax, civil, labor risks, contingent liabilities and contingent assets

 

A provision for tax, civil and labor risks is recognized, when there is a present obligation and it is probable that the Company will be required to settle that obligation and a reliable estimate can be made of the amount of the obligation.

 

The amount recognised as a provision is the best estimate of the consideration required to settle the present obligation at the reporting date, taking into account the risks and uncertainties surrounding the obligation. The estimate is determined by Management, supoorted by the assessment of internal and external legal counsel, and the amounts are recognized based on the evaluation of the outcomes of the legal proceedings (see Note 23).

 

When the risk of a loss is classified as possible, a provision is not recogniezed, but disclosed in the notes to the financial statements.

 

An entity shall not recognize a contingent asset. Contingent assets usually arise from unplanned or other unexpected events that give rise to the possibility of an inflow of economic benefits to the entity. Contingent assets are not recognized in financial statements since this may result in the recognition of income that may never be realized. However, when the realization of income is virtually certain, then the related asset is not a contingent asset and its recognition is appropriate. A contingent asset is disclosed where an inflow of economic benefits is probable.

Post-employment benefits

q. Post-employment benefits

 

Post-employment benefits granted and to be granted to employees, retirees, and pensioners are based on an actuarial calculation prepared by an independent actuary and reviewed by management, using the projected unit credit method (see Note 21.b). The actuarial gains and losses are recognized in equity in “Accumulated other comprehensive income”, net of income taxes.

Other liabilities

r. Other liabilities

 

Other liabilities are stated at known or measurable amounts and changes in exchange rates incurred. When applicable, other liabilities are recognized at present value, based on interest rates that reflect the term, currency, and risk of each transaction.

Foreign currency transactions

s. Foreign currency transactions

 

Foreign currency transactions carried out by the Company and its subsidiaries are remeasured into their functional currency at the exchange rate prevailing at the date of each transaction. Outstanding monetary assets and liabilities of the Company and its subsidiaries are translated using the exchange rate at the date of the financial statements. The effect of the difference between those exchange rates is recognized in financial results until the conclusion of each transaction.

Basis for translation of financial statements of foreign subsidiaries

t. Basis for translation of financial statements of foreign subsidiaries

 

t.1 Subsidiaries with administrative authority

 

Assets and liabilities of the foreign subsidiaries denominated in currencies other than Brazilian Real which have administrative authority are translated using the exchange rate at the date of the financial statements. Revenues and expenses are translated using the average exchange rate of each year and equity is translated at the historical exchange rate of each transaction affecting equity. Gains and losses resulting from changes in these foreign investments are directly recognized on equity in other comprehensive income amount on the account “cumulative translation adjustments” and will be recognized in profit or loss if and when these investments are disposed of. On December 31, 2022 the Company does not have foreign subsidiaries with administrative authority. On December 31, 2021 the gains with exchange rate totaled R$ 304,645 related to the subsidiary Oxiteno, which in April 1, 2022 was saled to Indorama (see note 1.b.2 for more information). 

 

t.2 Subsidiaries without administrative authority

 

The Company has foreign subsidiaries without administrative authority. Assets and liabilities of the other foreign subsidiaries, which do not have administrative authority, are considered an extension of the activities of their parent company and are translated using the exchange rate at the date of the financial statements. Gains and losses resulting from changes in these foreign investments are directly recognized as financial result.

Critical accounting judgements and key sources of estimation uncertainty

u. Critical accounting judgements and key sources of estimation uncertainty

 

The preparation of the financial statements requires the use of estimates, assumptions, and judgments for the accounting and disclosure of certain assets, liabilities, and profit or loss. Therefore, the Company and subsidiaries’ management use the best information available at the date of preparation of the financial statements, as well as the experience of past and current events, also considering assumptions regarding future events. The estimates and assumptions are reviewed periodically.


u.1 Critical judgements in applying the Group’s accounting policies

 

The following are the critical judgements, apart from those involving estimations (which are presented separately below), that Management has made in the process of applying the Group’s accounting policies and that have the most significant effect on the amounts recognised in financial statements the determination of control in subsidiaries (Notes 2.h, 2.v., 4 and 13), the determination of joint control in joint ventures (Notes 2.h and 13), the determination of significant influence in associates (Notes 2.h and 13.c) and determination of assets and liabilities held for sale and discontinued operations (Note 4), designation of financial instruments for hedge accounting (Note 2.c), recognition of tax credits (Note 2.z), and accounting for business combinations, including the identification of intangibles, allocation of the purchase price and accounting of contingent consideration (Note 2.w).

 

u.2 Key sources of estimation uncertainty

The key assumptions concerning the future, and other key sources of estimation uncertainty at the reporting period that may have a significant risk of causing a material adjustment to the carrying amounts of assets and liabilities within the next financial year, are discussed below.

 

The estimates of realization of deferred taxes assets (Notes 2.n and 10.a), realization amount of tax recoverable (Note 8), impairment assessment of non-currrent assets, including goodwill (Notes 2.k, 2.w and 16.a), provisions for tax, civil, and labor risks (Notes 2.p and 23), and definition of fair value of assets acquiried, liabilites assumed and contingent consideration for the business combinations (Notes 2.w and 34).   The actual result of the transactions and information may differ from their estimates.

Impairment of assets

v. Impairment of assets

 

The Company and its subsidiaries review in every reporting period the existence of any indication that an asset may be impaired. To intangible assets with indefinite useful life the review is done annually or more frequently when there is indication that such assets might be impaired. If there is an indication of impairment, the Company and its subsidiaries estimate the recoverable amount of the asset. Assets that cannot be evaluated individually are grouped in the smallest group of assets that generate cash inflow from continuous use and that are largely independent of cash flows of other assets (cash generating units, “CGU”). The recoverable amount of assets or CGUs corresponds to the greater of their fair value net of applicable direct selling expenses and their value in use.

 

The fair value less costs to sell is determined by the price that would be received to sell an asset in an orderly transaction between market participants at the measurement date, net of costs of removing the asset, and direct incremental costs to bring an asset into condition for its sale, legal costs, and taxes.


To assess the value in use, the projections of future cash flows, trends, and outlooks, as well as the effects of obsolescence, demand, competition, and other economic factors were considered. Such cash flows are discounted to their present values using the discount rate before tax that reflects market conditions for the period of impairment testing and the specific risks of the asset or CGU being evaluated. In cases where the expected discounted future cash flows are less than their carrying amount, an impairment loss is recognized for the amount by which the carrying amount exceeds the fair value of these assets. Losses for impairment of assets are recognized in profit or loss. In case goodwill has been allocated to a CGU, the recognized losses are first allocated to reduce the corresponding goodwill. If the goodwill is not enough to absorb such losses, the surplus is allocated to the assets on a pro-rata basis. An impairment of goodwill cannot be reversed. For other assets, impairment losses are reversed only to the extent that the asset's carrying amount does not exceed the carrying amount that would have been determined, net of depreciation or amortization, if the impairment had not been recognized.

 

As of December 31, 2022, the Company and its subsidiaries did not record any losses with  impairment of assets. As of December 31, 2022, the recognized impairment amount was R$ 427,529 and deferred income and social contribution taxes effects amounted to R$ 145,360, resulting in a net loss of R$ 282,169. On August 31, 2022, the Company, through its subsidiary Ipiranga, sold its subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”) and wrote off the provision for impairment of assets allocated to subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A. (“Extrafarma”). See Note 4.a.

Business combinations

w. Business combinations

 

A business combination is accounted for applying the acquisition method. The cost of the acquisition is measured based on the consideration transferred and to be transferred, measured at fair value at the acquisition date. In a business combination, the assets acquired and liabilities assumed are measured in order to classify and allocate them according to the contractual terms, economic circumstances and relevant conditions on the acquisition date. The non-controlling interest in the acquired company is measured based on its interest in net assets identified in the acquired company. Goodwill is measured as the excess of the consideration transferred and to be transferred over the fair value of net assets acquired (identifiable assets and liabilities assumed, net). After the initial recognition, goodwill is measured at cost less any accumulated impairment losses. For impairment testing purposes, goodwill is allocated to the Company’s operating segments. When the cost of the acquisition is lower than the fair value of net assets acquired, a gain is recognized directly in the statement of income. Costs related to the acquisitions are recorded in the statement of income when incurred. For further details, see note 33.

 

Business combination between entities under common control

 

Business combinations between entities under common control have not been addressed under IFRS and how they should be disclosed remains unclear. IFRS 3 is the standard applicable to business combinations, but its scope explicitly excludes business combinations between entities under common control.

 

Predecessor basis of accounting

 

In accordance with IAS 8, Management has adopted the predecessor basis of accounting, which is consistent with United States Generally Accepted Accounting Principles (“USGAAP”) and United Kingdom Generally Accepted Accounting Principles (“UKGAAP”), to record the carrying amount of the asset received, as recorded by the parent company.


Under the predecessor basis of accounting, when accounting for a transfer of assets between entities under common control, the entity that receives the net assets or the equity interests (the acquirer) shall initially record the assets and liabilities transferred at their parent book value as at the transfer date. If the book value of the assets and liabilities transferred by the parent is different from the historical cost recorded by the controlling entity of the entities under common control (the ultimate parent), the financial statements of the acquirer shall reflect the assets and liabilities transferred at the same cost of the ultimate parent, as a counter-entry to shareholders' equity against the carrying value adjustments. 

Statements of cash flows

x. Statements of cash flows

 

The Company and its subsidiaries present the interest paid on loans, financing, debentures, and leases payable in financing activities and present financial investments, net of redemptions in the investing activities and received dividends in the operating activities.

Financial liabilities of customers

y. Financial liabilities of customers

 

Refers to contract obligations of payments in installments of exclusivity rights with customers of subsidiary Ipiranga, where there was the anticipation of these receivables by customers with certain financial institutions. Ipiranga as guarantor of the operation, assumes the payment of installments falling due with the financial institution in exchange for the right of exclusivity with the customers (see Note 12).


Considering that the average term of maturity of these obligations is 50 monthly installments and the amounts do not bear interest, the Company recorded an adjustment to present value ("APV"), with contrast registered at the rubric “Contractual assets with customers – exclusivity rights”. The APV reversion will occur over the contractual term with impact in financial result with an approximate average rate of 13.7% p.a..

Recognition of tax credits

z. Recognition of tax credits

 

The accounting policy applied by the Company considers relevant estimates and judgments for the tax credits recognition and for estimating its recovery. The tax credits are recorded only when management has elements that guarantee (i) that the credit is a legal right; (ii) the amount could be estimated with sufficient reliability to enable it to be compensated or refunded; and (iii) the amounts is recoverable through either offsetting with other tax credits or a tax refund. In cases where the recovery of the asset is not probable, or the amount cannot be reliably measured, the amounts are not recognized, or a provision is recorded.  

v3.23.1
Operations (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of Principles of Consolidation and Investments in Subsidiaries [Abstract]  
Investments in subsidiaries

The consolidated financial statements include the following direct and indirect subsidiaries:

 

 

 

 

% interest in the share capital


 

 

 

12/31/2022

12/31/2021


12/31/2020


 

 

 

Control  

Control


Control


 

Location

Segment

Direct

 

Indirect

 

Direct

 

Indirect


Direct


Indirect


Ipiranga Produtos de Petróleo S.A.

Brazil

Ipiranga

100

 

-

 

100

 

-


100


-


am/pm Comestíveis Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Icorban - Correspondente Bancário Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Trading Limited

British Virgin Islands

Ipiranga

-

 

100

 

-

 

100


-


100


Tropical Transportes Ipiranga Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Imobiliária Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Ipiranga Logística Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Oil Trading Importadora e Exportadora Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Iconic Lubrificantes S.A.

Brazil

Ipiranga

-

 

56

 

-

 

56


-


56


Integra Frotas Ltda.

Brazil

Ipiranga

-

 

100

 

-

 

100


-


100


Imaven Imóveis Ltda.

Brazil

Others

-

 

100

 

-

 

100


-


100


Imifarma Produtos Farmacêuticos e Cosméticos S.A.(3)

Brazil

Extrafarma

-

 

-

 

-

 

100


-


100


Ultragaz Participações Ltda (8)

Brazil

Ultragaz

100

 

-

 

-

 

-


-


-


Ultragaz Energia Ltda (10)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


-


   Stella GD Intermediação de Geração Distribuída de Energia Ltda.(9)

Brazil

Ultragaz

-

 

100

 

-

 

-


-


-


        Companhia Ultragaz S.A. (8)

Brazil

Ultragaz

-

 

99

 

-

 

99


-


99


   Nova Paraná Distribuidora de Gás Ltda. (1)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   Utingás Armazenadora S.A

Brazil

Ultragaz

-

 

57

 

-

 

57


-


57


   Bahiana Distribuidora de Gás Ltda. (7)

Brazil

Ultragaz

-

 

100

 

-

 

100


-


100


   LPG International Inc. (7)

Cayman Islands

Ultragaz

-

 

100

 

-

 

100


-


100


UVC Investimentos Ltda

Brazil

Others

100

 

-

 

-

 

99


-


99


Centro de Conveniências Millennium Ltda. and subsidiaries

Brazil

Others

100

 

-

 

100

 

-


100


-


Oxiteno S.A. Indústria e Comércio (4)

Brazil

Oxiteno

-

 

-

 

100

 

-


100


-


Oxiteno Argentina Sociedad de Responsabilidad Ltda.

Argentina

Oxiteno

-

 

-

 

-

 

100


-


100


Oleoquímica Indústria e Comércio de Produtos Químicos Ltda.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Uruguay S.A.

Uruguay

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno México S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Corporativos S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Servicios Industriales S.A. de C.V.

Mexico

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno USA LLC

United States

Oxiteno

-

 

-

 

-

 

100


-


100


Global Petroleum Products Trading Corp. (5)

British Virgin Islands

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Europe SPRL

Belgium

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Colombia S.A.S.

Colombia

Oxiteno

-

 

-

 

-

 

100


-


100


Oxiteno Shanghai LTD.

China

Oxiteno

-

 

-

 

-

 

100


-


100


Empresa Carioca de Produtos Químicos S.A.

Brazil

Oxiteno

-

 

-

 

-

 

100


-


100


Ultracargo - Operações Logísticas e Participações Ltda.

Brazil

Ultracargo

100

 

-

 

100

 

-


100


-


Ultracargo Logística S.A. (2)

Brazil

Ultracargo

-

 

99

 

-

 

99


-


99


TEAS – Terminal Exportador de Álcool de Santos Ltda.

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultracargo Vila do Conde Logística Portuária S.A. (6)

Brazil

Ultracargo

-

 

100

 

-

 

100


-


100


Ultrapar International S.A.

Luxembourg

Others

100

 

-

 

100

 

-


100


-


SERMA - Ass. dos usuários equip. proc. de dados

Brazil

Others

-

 

100

 

-

 

100


-


100


UVC - Fundo de investimento em participações multiestratégia investimento no exterior

Brazil

Others

100

 

-

 

100

 

-


100


-


Eaí Clube Automobilista S.A.

Brazil

Others

100

 

-

 

100

 

-


100


-



The percentages in the table above are rounded.


(1) Non-operating company in closing phase.
(2) In April 2021, the name of subsidiary Terminal Químico de Aratu S.A - Tequimar was changed to Ultracargo Logística S.A. (“Ultracargo Logística”).
(3) On May 18, 2021, the Company announced the signing of an agreement for the sale of all shares of Extrafarma to Pague Menos. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”, being the transaction closed on August 1, 2022 after the fulfillment of  all conditions precedent. For further details, see note 4.c.1.
(4) On August 16, 2021, the Company announced the signing of an agreement for the sale of its interest in Oxiteno S.A. to Indorama. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”. On April 1, 2022, the transaction was consummated.
(5) On January 27, 2022, the subsidiary Global Petroleum Products Trading Corp (“GPPT”) was dissolved.
(6) On April 29, 2022, the name of subsidiary Tequimar Vila do Conde Logística Portuária S.A was changed to Ultracargo Vila do Conde Logística Portuária S.A.
(7) On July 1, 2022, the indirect subsidiaries Bahiana Distribuidora de Gás Ltda. (“Bahiana”) and LPG International Inc. (“LPG”) became controlled by Ultragaz.
(8) On August 1, 2022, the subsidiary Companhia Ultragaz S.A. (“Ultragaz”) became directly controlled by Ultrapar. In November 2022, Ultragaz became an investee of Ultragaz Participações Ltda.
(9) On September 12, 2022, the Company through its subsidiary Ultragaz Energia Ltda., signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The closing of the acquisition ocurred on October 1, 2022 (see note 33.a).
(10) On November 18, 2022, the name of subsidiary Ultragaz Comercial Ltda. was changed to Ultragaz Energia Ltda.

v3.23.1
Assets and liabilities from subsidiaries held for sale and discontinued operations (Tables)
12 Months Ended
Dec. 31, 2022
Discontinued operations  
Schedule of gain (loss) on disposal of investments, net

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Extrafarma’s purchase and sale agreement

700,000


Cash/ Net debt on December 31, 2020

(99,897

)

Operation sale price

600,103


Estimated working capital and net debt adjustments

121,522


Cost of investment

(1,115,102

)

Reversal of impairment (*)

427,529


Provision for indemnities

(9,995

)

Transaction costs

(13,282

)

Gain on disposal of investments before the effect of cessation of depreciation

10,775


    Cessation of depreciation

(27,084

)

Loss on disposal of investments after the effect of depreciation

(16,309

)

    Current income and social contribution taxes

138,298


    Deferred income and social contribution taxes

(141,962

)

Loss on disposal of investments, net

(19,973

)

 

(*) For more information, see Note 2.v

On December 31, 2022, the Company calculated the result from the conclusion of the transaction, considering the sales revenue, less write-off of the investment, plus transaction costs, as shown below:

 

 

Amount


Total value of Oxiteno’s purchase and sale agreement

6,994,191


Working capital and net debt adjustments

(13,146

)

Proceeds from settlement of intercompany loan held by Oxiteno

(3,980,702

)

Adjustment to present value on transaction closing date referring to deferred installment

(81,397

)

Revenue from the sale of investments, net of adjustment to present value

2,918,946 


    Cost of write-off of investment

(2,118,949

)

Cumulative translation adjustments, net of cash flow hedging losses, reclassified to the statement of income

(277,045

)

    Transaction costs

(77,843

)

    Provision for indemnities

(136,103

)

Gain on disposal of investments before the effect of cessation of depreciation

309,006


    Cessation of depreciation

(51,372

)

Gain on disposal of investments after the effect of depreciation

257,634


    Current income and social contribution taxes

(245,478

)

    Deferred income and social contribution taxes

46,247


Gain on disposal of investments, net

58,403


 

For further information, see Note 1.b.2.

c.1 The results and cash flows from discontinued operations for the year  ended December 31, 2022 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations (*)


 

Ultrapar


 

12/31/2022


Net revenue from sales and services

 

2,039,287


 

1,235,487


 

(7,241

)

 

-


 

3,267,533


Cost of products and services sold

 

(1,580,000

)

 

(912,310

)

 

7,241


 

-


 

(2,485,069

)

Gross profit

 

459,287


 

323,177


 

-


 

-


 

782,464


Selling, marketing and administrative

 

(201,365

)

 

(438,601

)

 

-


 

-


 

(639,966

)

Other operating income (expenses), net

 

10,736


 

(5,951

)

 

-


 

241,325


 

246,110


Operating income (loss)

 

268,658


 

(121,375

)

 

-


 

241,325


 

388,608


Share of profit (loss) of subsidiaries, joint ventures and associates

 

(231

)

 

-


 

-


 

-


 

(231

)

Income (loss) before financial result and income and social contribution taxes

 

268,427


 

(121,375

)

 

-


 

241,325


 

388,377


Financial result, net

 

23,153


 

(25,059

)

 

54,431


 

-


 

52,525


Income (loss) before income and social contribution taxes

 

291,580


 

(146,434

)

 

54,431


 

241,325


 

440,902


Income and social contribution taxes

 

(16,924

)

 

20,826


 

(18,507

)

 

(202,895

)

 

(217,500

)

Net effect of cessation of depreciation (i)

 

51,372


 

27,084


 

-


 

-


 

78,456


Net income (loss) for the year

 

326,028


 

(98,524

)

 

35,924


 

38,430


 

301,858


 

(*) Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.


(i) As of January 1, 2022, the depreciation and amortization of assets classified as held for sale ceased, in compliance with item 25 of IFRS 5.

 

Oxiteno


 

Extrafarma


 

Eliminations


 

12/31/2022


Net cash (used in) provided by operating activities

(81,558

)

 

(68,370

)

 

180,478


 

30,550


Net cash (used in) provided by investing activities

1,011,736


 

(25,323

)

 

(1,206,603

)

 

(220,190

)

Net cash (used in) provided by financing activities

(1,245,754

)

 

40,585


 

1,026,144


 

(179,025

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

(19,316

)

 

-


 

-

 

(19,316

)

Increase (decrease) in cash and cash equivalents

(334,892

)

 

(53,108

)

 

19


 

(387,981

)
Schedule of classes of assets and liabilities classified as held for sale

c.2 The main classes of assets and liabilities classified as held for sale on December 31, 2021 are shown below:

 

Assets

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current assets

 


 

 


 

 


 

 


Cash and cash equivalents

334,882


 

53,099


 


 

387,981


Financial investments and derivative financial instruments

1,346,552


 


 


 

1,346,552


Trade receivables

993,960


 

35,743


 


 

1,029,703


Inventories

1,671,662


 

578,206


 


 

2,249,868


Recoverable taxes

634,718


 

62,053


 


 

696,771


Other assets

51,829


 

26,145


 

(5,035

)

 

72,939


Total current assets

5,033,603


 

755,246


 

(5,035

)

 

5,783,814


Non-current assets

 


 

 


 

 


 

 


Financial investments and derivative financial instruments

492,430


 


 


 

492,430


Related parties


 

1,674


 

(1,674

)

 


Deferred income and social contribution taxes

541,756


 

200,194


 


 

741,950


Recoverable taxes

393,723


 

17,938


 


 

411,661


Other assets

10,538


 

4,136


 


 

14,674


 

1,438,447


 

223,942


 

(1,674

)

 

1,660,715


Investments

36,207


 

5,000


 

(22,047

)

 

19,160


Right-of-use assets

31,871


 

318,183


 


 

350,054


Property, plant and equipment

2,787,241


 

154,663


 


 

2,941,904


Intangible assets

160,141


 

85,129


 


 

245,270


Total non-current assets

4,453,907


 

786,917


 

(23,721

)

 

5,217,103


Total assets held for sale

9,487,510


 

1,542,163


 

(28,756

)

 

11,000,917



Liabilities

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

302,154


 


 

(62,841

)

 

239,313


Trade payables

493,800


 

225,487


 

(1,949

)

 

717,338


Trade payables - reverse factoring

725,246


 

-


 

-


 

725,246


Salaries and related charges

176,941


 

45,843


 

-


 

222,784


Taxes payable

53,988


 

15,696


 

-


 

69,684


Income and social contribution taxes payable

12,415


 


 


 

12,415


Post-employment benefits

3,311


 

-


 

-


 

3,311


Provision for tax, civil and labor risks

2,946


 

520


 

-


 

3,466


Leases payable

11,702


 

64,312


 

-


 

76,014


Other liabilities

68,721


 

13,249


 

(13,264

)

 

68,706


Total current liabilities

1,851,224


 

365,107


 

(78,054

)

 

2,138,277


Non-current liabilities

 


 

 


 

 


 

 


Loans, financing and hedge derivative financial instruments

5,728,028


 


 

(5,725,594

)

 

2,434


Related parties

2,875


 


 

(2,875

)

 


Deferred income and social contribution taxes

12,964


 


 


 

12,964


Post-employment benefits

6,806


 

287


 

-


 

7,093


Provision for tax, civil and labor risks

33,149


 

2,370


 

-


 

35,519


Leases payable

22,786


 

314,915


 

-


 

337,701


Other liabilities

5,341


 

2,092


 

-


 

7,433


Total non-current liabilities

5,811,949


 

319,664


 

(5,728,469

)

 

403,144


Total equity

1,824,337


 

857,392


 

(2,681,729

)

 

-


Total liabilities held for sale and equity

9,487,510


 

1,542,163


 

(8,488,252

)

 

2,541,421


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

Schedule of profit (loss) for the year and cash flows from discontinued operations

c.2.1 The results and cash flows from discontinued operations for the year ended  December 31, 2021 are shown below:

 

 

 

Oxiteno


 

Extrafarma


 

Eliminations(*)


 

Total


Net revenue from sales and services

 

7,102,771


 

1,986,932


 

(23,908

)

 

9,065,795


Cost of products and services sold

 

(5,540,773

)

 

(1,384,316

)

 

23,908


 

(6,901,181

)

Gross profit

 

1,561,998


 

602,616


 


 

2,164,614


Operating income (expenses)

 

 


 

 


 

 


 

 


Selling, marketing and administrative

 

(978,221

)

 

(685,794

)

 


 

(1,664,015

)

Impairment

 


 

(427,529

)

 


 

(427,529

)

Other operating income (expenses), net

 

26,924


 

(1,109

)

 


 

25,815


Operating income (loss)

 

610,701


 

(511,816

)

 


 

98,885


Share of profit (loss) of subsidiaries, joint ventures and associates

 

48


 


 

-


 

48


Income (loss) before financial result and income and social contribution taxes

 

610,749


 

(511,816

)

 

-


 

98,933


Financial result, net

 

(431,441

)

 

(45,265

)

 

329,736


 

(146,970

)

Income (loss) before income and social contribution taxes

 

179,308


 

(557,081

)

 

329,736


 

(48,037

)

Income and social contribution taxes

 

69,995


 

155,416


 

(112,110

)

 

113,301


Net income (loss) for the year

 

249,303


 

(401,665

)

 

217,626


 

65,264


Depreciation and amortization for the year (i)

 

308,564


 

154,850


 

-


 

463,414


 

(*) Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

(i) Balances included for a complete breakdown of segment information.

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net cash provided by (used in) operating activities

1,016,580


 

(33,273

)

 

(788

)

 

982,519


Net cash used in investing activities

(122,363

)

 

(35,072

)

 

(1,298

)

 

(158,733

)

Net cash (used in) provided by financing activities

(1,054,930

)

 

35,286


 

466,677


 

(552,967

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

56,553


 


 


 

56,553


(Decrease) increase in cash and cash equivalents

(104,160

)

 

(33,059

)

 

464,591


 

327,372


 

c.2.2 In the Parent, the share of profit (loss) of investees Oxiteno and Extrafarma, net of transactions with related parties, were re-presented as discontinued operations in the total amount of R$ 65,264 in the statement of income for 2021, as per Notes 4.c.2.1 and 13.

 

c.3 The results and cash flows from discontinued operations for the year ended December 31, 2020 are shown below:

 

 

Discontinued operations


 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


Net revenue from sales and services

 

5,210,704


 

1,988,411


 

(16,069

)

 

7,183,046


Cost of products and services sold

 

(4,188,711

)

 

(1,399,125

)

 

16,069


 

(5,571,767

)

Gross profit

 

1,021,993


 

589,286


 


 

1,611,279


Operating income (expenses)  

 

 


 

 


 

 


 

 


Selling marketing and administrative

 

(831,056

)

 

(662,182

)

 

-


 

(1,493,238

)

Other operating income, net

 

153,457


 

(5,403

)

 

-


 

148,054


Operating income (loss) before finance income (expenses) and share of profit (loss) of subsidiaries, joint ventures and associates

 

344,394


 

(78,299

)

 


 

266,095


Share of profit (loss) of subsidiaries, joint ventures and associates

 

414


 


 

-


 

414


Operating income (loss) before finance income (expenses) and income and social contribution taxes

 

344,808


 

(78,299

)

 

-


 

266,509


Financial result, net

 

1,482


 

(38,938

)

 

318,430


 

280,974


Profit (loss) before income and social contribution taxes

 

346,290


 

(117,237

)

 

318,430


 

547,483


Income and social contribution taxes

 

(118,132

)

 

(40,453

)

 

(108,265

)

 

(266,850

)

Net income from continuing operations

 

-


 

-


 

-


 

-


Net income from discontinued operations

 

-


 

-


 

-


 

280,633


Profit (loss) for the year

 

228,158


 

(157,690)


 

210,165


 

280,633


Depreciation and amortization for the year (i)

 

275,063


 

153,899


 

-


 

428,962


 

(i) Balances included for complete breakdown of segment information.

 

 

 

Discontinued operations

 

 

Oxiteno


 

Extrafarma


 

Eliminations


 

Total


 

 

 


 

 


 

 


 

(B)


Net cash provided by (used in) operating activities

 

765,090


 

111,396


 

(2,380

)

 

874,106


Net cash used in investing activities

 

(159,349

)

 

(6,484

)

 

(321,557

)

 

(487,390

)

Net cash (used in) provided by financing activities

 

(1,236,490

)

 

11,272


 

305,534


 

(919,684

)

Effect of exchange rate changes on cash and cash equivalents in foreign currency

 

114,822


 


 


 

114,822


Increase (decrease) in cash and cash equivalents

 

(515,927

)

 

116,184


 

(18,403

)

 

(418,146

)

v3.23.1
Cash and cash equivalents, financial investments and derivative financial instruments (Tables)
12 Months Ended
Dec. 31, 2022
Cash and cash equivalents, financial investments and derivative financial instruments  
Cash and cash equivalents

Cash and cash equivalents of the Company and its subsidiaries are presented as follows:

 

 

12/31/2022


 

12/31/2021


Cash and bank deposits

 


 

 


In local currency

105,986


 

317,907


In foreign currency

5,811


 

16,640


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities

5,204,766


 

1,943,164


In foreign currency

 


 

 


Fixed-income securities

305,206


 

2,363


Total cash and cash equivalents

5,621,769


 

2,280,074


Financial investments

The financial investments that are not classified as cash and cash equivalents are presented as follows: 

 

 

12/31/2022


 

12/31/2021


Financial investments

 


 

 


In local currency

 


 

 


Fixed-income securities and funds

406,683


 

1,607,608


In foreign currency

 


 

 


Fixed-income securities and funds

-


 

103,239


Derivative financial instruments (a)

556,510


 

472,552


Total financial investments and derivative financial instruments

963,193


 

2,183,399


Current

520,352


 

1,804,122


Non-current

442,841


 

379,277


 

(a)  Accumulated gains, net of income tax (see Note 31.i).

v3.23.1
Trade receivables, reseller financing and other receivables (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of financial assets [line items]  
Breakdown of other receivables

The breakdown of other receivables is comprised as follows: 

 

 

12/31/2022


Sale of subsidiary Oxiteno:

 


Receivables from sale of investments (i)

782,655


(-) Adjustment to present value - sale of investments (ii)

(55,598

)

Sale of subsidiary Extrafarma:

 


Receivables from sale of investments (iii)

369,508


 

1,096,565


Current

184,754


Non-current

911,811


 

(i) Refers to the final installment of the sale of Oxiteno, in amount of USD 150 million, due in 2024. In May 2022, the Company made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Oxiteno to Ultrapar International.

 

(ii) The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.1741%. The amount as of December 31 includes present value realization and exchange variation of the transaction closing date until December 31, 2022.

 

(iii) Refer to the sale of Extrafarma, which will be paid in two installments of R$ 184,754, maturing in August 2023 and August 2024, monetarily adjusted by the DI rate + 0.5% p.a. In December 2022, the subsidiary IPP made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Extrafarma to the Company.

Trade receivables [member]  
Disclosure of financial assets [line items]  
Trade receivables

The breakdown of trade receivables is as follows:

 

 

12/31/2022


 

12/31/2021


Domestic customers

4,527,167


 

3,805,756


Domestic customers - related parties (see note 9.a.2)

64


 

57


Foreign customers

3,401


 

3,137


Foreign customers - related parties (see note 9.a.2)

2,695


 

4,400


 

4,533,327


 

3,813,350


(-) Loss allowance for expected credit losses

(322,753

)

 

(374,355

)

Total

4,210,574


 

3,438,995


Current

4,149,111


 

3,375,246


Non-current

61,463


 

63,749


Breakdown of trade receivables, gross of allowance for expected credit losses

The breakdown of trade receivables, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

4,533,327



3,930,178



20,873



18,741



21,482



46,586



495,467


12/31/2021

3,813,350



3,131,528



90,024



33,255



24,804



23,903



509,836


Breakdown of loss allowance for expected credit losses

The breakdown of the allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

322,753



21,425



1,747



1,384



4,913



15,222



278,062


12/31/2021

374,355



21,962



1,595



3,049



2,761



14,926



330,062

Trade receivables [member] | IFRS 9 [member]  
Disclosure of financial assets [line items]  
Summary of Movements in the allowance for loss allowance for expected credit losses

Movements in the allowance for expected credit losses are as follows:

 

Balance as of December 31, 2019

404,886


Additions

194,220


Reversals

(203,994

)

Write-offs

(13,016

)

Balance as of December 31, 2020

382,096


Additions

177,872


Reversals

(150,160

)

Write-offs

(18,646

)

Reclassification to assets held for sale

(16,807

)

Balance as of December 31, 2021

374,355


Additions

143,828


Reversals

(130,385

)

Write-offs

(65,045

)

Balance as of December 31, 2022

322,753



Reseller Financing Ipiranga [Member]  
Disclosure of financial assets [line items]  
Composition of reseller financing

The breakdown of reseller financing is comprised as follows:

 

 

12/31/2022


 

12/31/2021


Reseller financing – Ipiranga

1,234,634


 

1,183,312


(-) Allowance for expected credit losses

(173,287

)

 

(185,278

)

 

1,061,347


 

998,034


Current

559,825


 

582,562


Non-current

501,522


 

415,472


Breakdown of reseller financing, gross of loss allowance for expected credit losses

The breakdown of reseller financing, gross of allowance for expected credit losses, is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

1,234,634



826,210



8,944



3,892



11,040



11,943



372,605


12/31/2021

1,183,312



770,008



19,260



24,290



14,373



26,685



328,696



Breakdown of the loss allowance for expected credit losses

The breakdown of the loss allowance for expected credit losses is as follows:

 

 

 



 



Past due


 

Total



Current



less than 30 days



31-60 days



61-90 days



91-180 days



more than 180 days


12/31/2022

173,287



1,327



483



1,132



3,704



4,937



161,704


12/31/2021

185,278



1,514



6,410



8,697



6,255



9,892



152,510



Reseller Financing Ipiranga [Member] | IFRS 9 [member]  
Disclosure of financial assets [line items]  
Summary of Movements in the allowance for loss allowance for expected credit losses

Movements in the allowance for expected credit losses are as follows:


Balance as of December 31, 2019

156,006


Additions

74,745


Reversals

(29,791

)

Write-offs

(3,949

)

Balance as of December 31, 2020

197,011


Additions

65,536


Reversals

(68,982

)

Write-offs

(8,287

)

Balance as of December 31, 2021

185,278


Additions

45,987


Reversals

(52,695

)

Write-offs

(5,283

)

Balance as of December 31, 2022

173,287


v3.23.1
Inventories (Tables)
12 Months Ended
Dec. 31, 2022
Classes of current inventories [abstract]  
Breakdown of inventories

The breakdown of inventories, net of provision for losses, is shown below:

 

 

12/31/2022


 

12/31/2021


Fuels, lubricants and greases

3,782,522


 

3,038,061


Raw materials

380,993


 

293,242


Liquified petroleum gas (LPG)

143,516


 

146,070


Consumable materials and other items for resale

125,239


 

115,275


Purchase for future delivery (1)

453,817


 

301,992


Properties for resale

19,996


 

24,132


 

4,906,083


 

3,918,772



 (1) Refers substantially to ethanol, biodiesel and advances for fuel acquisition

Movements in the provision for losses

Movements in the provision for losses are as follows:

 

Balance as of December 31, 2019

40,724


Additions to net realizable value adjustment

2,245


Reversals of obsolescence and other losses

(1,976

)

Balance as of December 31, 2020

40,993


Addition to provision for adjustment to realizable value

5,974


Reversal of provision for obsolescence and other losses

(5,184

)

Reclassification to assets held for sale

(28,705

)

Balance as of December 31, 2021

13,078


Provision for obsolescence and other losses

10,028


Reversal of provision for adjustment to realizable value

(1,180

)

Balance as of December 31, 2022

21,926


v3.23.1
Recoverable taxes (Tables)
12 Months Ended
Dec. 31, 2022
Recoverable taxes  
Recoverable taxes

Recoverable taxes are substantially represented by credits of Tax on Goods and Services (“ICMS”, the Brazilian VAT), Contribution for Social Security Financing (“COFINS”) and Social Integration Program (“PIS”).

 

 

12/31/2022


 

12/31/2021


ICMS – State VAT (a.1)

1,312,990


 

893,206


PIS and COFINS – Federal VAT (a.2)

2,410,736


 

1,177,513


Valued-added tax of foreign subsidiaries

-


 

179


Others

59,545


 

37,127


Total

3,783,271


 

2,108,025


Current

1,610,312


 

1,061,227


Non-current

2,172,959


 

1,046,798


Schedule of estimated recovery of ICMS credits

The estimated recovery of ICMS credits is stated as follows:


Up to 1 year
568,748
From 1 to 2 years
278,500
From 2 to 3 years
197,252
From 3 to 5 years
268,490
Total recoverable ICMS, net of provision
1,312,990
Summary of Recoverable Income Tax and Social Contribution Taxes

Relates to IRPJ and CSLL to be recovered by the Company and its subsidiaries, arising from the tax advances of previous years, as well as referring to lawsuits on the non-levy of IRPJ and CSLL on the monetary variation (SELIC) in the repetition of undue payments, The Management estimating the realization of these credits within up to 5 years.

 

 

12/31/2022


 

12/31/2021


IRPJ and CSLL

499,517


 

447,191


Current

96,134


 

291,833


Non-current

403,383


 

155,358


v3.23.1
Related Parties (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of transactions between related parties [abstract]  
Subsidiaries and Other Related Parties

 

12/31/2022


 

Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

26,062


 

-


 

336,781


União Vopak Armazéns Gerais Ltda.

-



-


 

61


 

-


 

784


 

-


Latitude Logística Portuária S.A.

-



-


 

3


 

346


 

-


 

-


Nordeste Logistica I S.A.

-



-


 

-


 

22


 

-


 

-


Nordeste Logistica III S.A.

-



-


 

-


 

17


 

-


 

-


Chevron (Thailand) Limited (2)

-



-


 

-


 

113


 

-


 

832


Chevron Latin America Marketing LLC (2)

-



-


 

34


 

-


 

-


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

403


 

-


 

930


 

-


Chevron Marine Products (2)

-



-


 

1,950


 

-


 

14,068


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,912


 

-


 

162,006


Chevron Products Company (2)

-



-


 

-


 

178,846


 

-


 

699,154


Chevron Belgium NV (2)

-



-


 

-


 

326


 

-


 

13,053


Chevron Petroleum CO Colombia (2)

-



-


 

220


 

-


 

220


 

-


Chevron Lubricants Lanka PLC (2)

-



-


 

88


 

-


 

88


 

-


Others (1)

-



617


 

-


 

-


 

-


 

-


Total

-



3,492


 

2,759


 

259,644


 

16,090


 

1,211,826


 

(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.


 

12/31/2021


 

12/31/2021


 

 Loans (1)


 

Commercial transactions


 

Trading transactions


 

Assets



Liabilities


 

Receivables


 

Trade payables


 

Sales and services provided


 

Purchases


Química da Bahia Indústria e Comércio S.A.

-



2,875


 

-


 

-


 

-


 

-


Refinaria de Petróleo Riograndense S.A.

-



-


 

-


 

90,761


 

-


 

619,785


União Vopak Armazéns Gerais Ltda.

-



-


 

57


 

-


 

1,402


 

-


Chevron (Thailand) Limited (2)

-



-


 

204


 

-


 

675


 

1,072


Chevron Lubricants Lanka PLC (2)

-



-


 

-


 

-


 

164


 

-


Chevron Lubricants Oils S.A. (2)

-



-


 

319


 

-


 

786


 

-


Chevron Marine Products (2)

-



-


 

3,663


 

-


 

24,583


 

-


Chevron Oronite Brasil Ltda. (2)

-



-


 

-


 

53,378


 

78


 

150,878


Chevron Products Company (2)

-



-


 

-


 

158,557


 

-


 

789,452


Chevron Belgium NV (2)

-



-


 

-


 

821


 

-


 

7,520


Chevron Petroleum CO Colombia (2)

-



-


 

214


 

-


 

392


 

-


Others (1)

490



659


 

-


 

-


 

-


 

-


Total

490



3,534


 

4,457


 

303,517


 

28,080


 

1,568,707



(1) Loans contracted have indefinite terms and do not contain remuneration clauses.

(2) Non-controlling shareholders and other related parties of Iconic.

 

 

Trading transactions


 

Sales and services


 

Purchases


 

Expenses


Oxicap Indústria de Gases Ltda.

471


 

19,077


 

-


Refinaria de Petróleo Riograndense S.A.

-


 

314,587


 

-


ConectCar Soluções de Mobilidade Eletrônica S.A.

3,062


 

154


 

-


LA’7 Participações e Empreend. Imob. Ltda. (a)

-


 

-


 

1,613


Chevron (Thailand) Limited

-


 

759


 

-


Chevron Oronite Brasil LTDA.

-


 

108,198


 

-


Chevron Products Company

-


 

247,578


 

-


Chevron Belgium NV

-


 

6,707


 

-


Total as of December 31, 2020

3,533


 

697,060


 

1,613



(a) Refers to rental contracts of 15 drugstores owned by LA’7 as of December 31, 2020, a company of the former shareholders of Extrafarma that are current shareholders of Ultrapar.

Expenses for Compensation of its Key Executives

The expenses for compensation of its key executives (Company’s directors and executive officers) are shown below:

 

 

2022



2021



2020


Short-term compensation

62,285



47,003



47,936


Stock compensation

18,424



15,778



4,786


Post-employment benefits

4,035



2,737



2,866


Termination benefits

-



5,637



-


Total

84,744



71,155



55,588


Shares Granted

The table below summarizes shares granted to the management of the Company and its subsidiaries:

 

Grant date

Number of shares granted



Vesting period



Market price of shares on the grant date (in R$ per share)



Total grant costs, including taxes


 

Accumulated recognized grant costs


 

Accumulated unrecognized grant costs


March 4, 2016

66,664



2023



32.72



9,732


 

(9,644

)

 

88


Balance as of December 31, 2022

66,664



 



 



9,732


 

(9,644

)

 

88

Changes of Number of Shares Granted

The table below summarizes the changes in the number of shares granted:

 

Balance as of December 31, 2019
1,224,524
Cancellation of granted shares due to termination of executive employment
(200,000 )
Shares vested and transferred
(322,264 )

Balance as of December 31, 2020

 

702,260


Shares transferred to executives

 

(448,930

)

Reclassification to assets held for sale

 

(119,998

)

Balance as of December 31, 2021

 

133,332


Shares transferred to executives

 

(66,668

)

Balance as of December 31, 2022

 

66,664


Restricted Stock Program

The table below summarizes the restricted and performance stock programs:


Program

Grant date

Number of shares granted (Quantity)



Vesting period



Market price of shares on the grant date (in R$ per share)



Total exercisable grant costs, including taxes (in R$ thousands)


 

Accumulated recognized exercisable grant costs (in R$ thousands)


 

Accumulated unrecognized exercisable grant costs


Restricted

April 4, 2018

6,658



2023



34.35



427


 

(406

)

 

21


Restricted

September 19, 2018

80,000



2024



19.58



2,675


 

(1,895

)

 

780


Restricted

September 24, 2018

80,000



2024



18.40



2,528


 

(1,791

)

 

737


Restricted

April 3, 2019

74,916



2023 and 2024



23.25



3,264


 

(2,758

)

 

506


Performance (ii)

April 3, 2019

37,458



2024



23.25



1,619


 

(1,214

)

 

405


Restricted

September 2, 2019

320,000



2025



16.42



9,013


 

(5,007

)

 

4,006


Restricted

April 1, 2020

182,853



2023 to 2025



12.53



4,267


 

(3,064

)

 

1,203


Performance (ii)

April 1, 2020

276,580



2023 to 2025



12.53



6,440


 

(4,854

)

 

1,586


Restricted

September 16, 2020

300,000



2026



23.03



11,793


 

(4,586

)

 

7,207


Restricted

April 7, 2021

425,422



2024



21.00



16,705


 

(9,744

)

 

6,961


Performance (ii)

April 7, 2021

454,520



2024



21.00



17,824


 

(10,864

)

 

6,960


Restricted

September 22, 2021

1,000,000



2027



14.17



24,363


 

(5,543

)

 

18,820


Restricted

April 6, 2022

777,065



2025



14.16



20,573


 

(5,143

)

 

15,430


Performance (ii)

April 6, 2022

779,232



2025



14.16



20,631


 

(5,201

)

 

15,430


Restricted

September 21, 2022

2,640,000



2032



12.98



64,048


 

(2,135

)

 

61,913


Restricted

December 7, 2022

1,500,000



2032



13.47



38,125


 

(318

)

 

37,807


 

8,934,704



 



 



244,295


 

(64,523

)

 

179,772


Summarized Changes of Number of Restricted and Performance Shares Granted
Balance as of December 31, 2019
1,738,660
Shares granted on April 1, 2020
877,788
Shares granted on September 16, 2020
700,000
Cancellation of granted shares due to termination of executive employment
(353,294 )
Cancellation of performance shares
(52,992 )

Balance as of December 31, 2020

 

2,910,162


Shares granted on April 7, 2021

 

1,386,504


Shares granted on September 22, 2021

 

1,000,000


Performance shares (i)

 

(133,326

)

Cancellation of granted shares due to termination of executive employment

 

(133,186

)

Reclassification to assets held for sale

 

(614,860

)

Balance as of December 31, 2021

 

4,415,294


Shares granted during the year

 

5,702,027


Cancellation of granted shares due to termination of executive employment

 

(934,310

)

Shares transferred (vesting)

 

(484,651

)

Reclassification from assets held for sale

 

236,344


Balance as of December 31, 2022

 

8,934,704


 

(i) Refers to the reversal of the provision constituted in view of the significant probability that performance indicators will not be achieved.

(ii) The performance targets are established by grant in accordance with individual and collective business goals. 

v3.23.1
Income and Social Contribution Taxes (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of income and social contribution taxes [abstract]  
Deferred taxes

 

12/31/2022


 

12/31/2021


Assets - deferred income and social contribution taxes on:

 


 

 


Provision for losses with assets

47,436


 

57,924


Provision for tax, civil and labor risks

225,585


 

188,236


Provision for post-employment benefits

74,644


 

73,335


Provision for differences between cash and accrual basis (i)

63,330


 

24,754


Goodwill

3,561


 

4,825


Business combination – tax basis vs. accounting basis of goodwill

17,575


 

18,699


Provision for asset retirement obligation

15,737


 

16,991


Provision for suppliers

132,657


 

39,364


Provision for profit sharing and bonus

69,588


 

44,876


Leases payable

60,484


 

41,463


Change in fair value of subscription warrants

9,224


 

10,957


Provision for deferred revenue

8,121


 

15,643


Other temporary differences 

43,715


 

2,769


Tax losses and negative basis for social contribution carryforwards (10.d)

283,238


 

148,345


Total

1,054,895


 

688,181


Offset liability balance

(156,660

)

 

(116,426

)

Net balances of deferred tax assets

898,235


 

571,755


Liabilities - deferred income and social contribution taxes on:

 


 

 


Revaluation of property, plant and equipment

387


 

408


Leases payable

171


 

138


Provision for differences between cash and accrual basis (i)

9,389


 

19,664


Goodwill

27,691


 

28,676


Business combination - fair value of assets

61,521


 

66,079


Other temporary differences

57,800


 

1,743


Total

156,959


 

116,708


Offset asset balance

(156,660

)

 

(116,426

)

Net balance of deferred tax liabilities

299


 

282


 

(i) Refers, mainly, to the income tax on the exchange variation of the hedge derivative instruments.

Summary of Changes in Balances of Deferred Taxes

Changes in the net balance of deferred IRPJ and CSLL are as follows:

 

Balance as of December 31, 2019

646,163


Deferred IRPJ and CSLL recognized in income for the year

234,244


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

(146,305

)

Deferred IRPJ and CSLL recognized in other comprehensive income

210,034


Others

17,843


Balance as of December 31, 2020

961,979


Deferred IRPJ and CSLL recognized in income for the year

242,246


Deferred IRPJ and CSLL of subsidiaries classified as discontinued operations

110,821


Deferred IRPJ and CSLL recognized in other comprehensive income

(11,366

)

Reclassification to assets held for sale

(728,986

)

Others

(3,221

)

Balance as of December 31, 2021

571,473


Deferred IRPJ and CSLL recognized in income for the year

296,459


Deferred IRPJ and CSLL recognized in income for the year from discontinued operation

31,138


Deferred IRPJ and CSLL recognized in other comprehensive income

(1,134

)

Balance as of December 31, 2022

897,936


Summary of Reconciliation of Taxes

IRPJ and CSLL are reconciled to the statutory tax rates as follows:

 

 

2022


 

2021


 

2020


Income before taxes

1,879,725


 

1,006,648


 

951,581


Statutory tax rates - %

34


 

34


 

34


Income and social contribution taxes at the statutory tax rates

(639,107

)

 

(342,260

)

 

(323,538

)









Adjustment to the statutory income and social contribution taxes:

 


 

 


 

 


Nondeductible expenses (i)

(11,006

)

 

(45,569

)

 

(33,420

)

Nontaxable revenues (ii)

23,149


 

138,631


 

2,757


Adjustment to estimated income (iii)

10,136


 

3,901


 

8,850


Unrecorded deferred income and social contribution tax carryforwards (iv)

(4,602

)

 

(5,285

)

 

(3,166

)

Share of profit (loss) of subsidiaries, joint ventures and associates

4,142


 

(5,995

)

 

(14,972

)

Interest on capital

153,004


 

-


 

-


Other adjustments

29,326


 

21,414


 

12,911


Income and social contribution taxes before tax incentives

(434,958

)

 

(235,163

)

 

(350,578

)

Tax incentives – SUDENE (10.c)

93,444


 

47,129


 

46,061


Income and social contribution taxes in the statement of income

(341,514

)

 

(188,034

)

 

(304,517

)

Current 

(637,973

)

 

(430,280

)

 

(538,761

)

Deferred

296,459


 

242,246


 

234,244


Effective IRPJ and CSLL rates - %

18,2


 

18.7


 

32.0



(i) Consist of certain expenses that cannot be deducted for tax purposes under applicable tax legislation, such as expenses with fines, donations, gifts, losses of assets, negative results of foreign subsidiaries and certain provisions.
(ii) Consist of certain gains and income that are not taxable under applicable tax legislation, such as the reimbursement of taxes and the reversal of certain provisions, as well as recovery of tax credits and amounts related to non-taxation of the income and social contribution taxes on the monetary adjustment (SELIC) in the repetition of undue tax lawsuits.
(iii) Brazilian tax law allows for an alternative method of taxation for companies that generated gross revenues of up to R$ 78 million in their previous fiscal year. Certain subsidiaries of the Company adopted this alternative form of taxation, whereby income and social contribution losses are calculated on a basis equal to 32% of the operating revenues, as opposed to being calculated based on the effective taxable income of these subsidiaries. The adjustment to estimated income represents the difference between the taxation under this alternative method and the income and social contribution taxes that would have been paid based on the effective statutory rate applied to the taxable income of these subsidiaries.
(iv) See Note 10.d.
Summary of Tax Incentives

The following subsidiaries have the benefit of income tax reduction for belonging to the sectors of the economy considered priority for the subsidized areas, under the terms of the development program of the region operated by the Superintendence for the Development of the Northeast (“SUDENE”), in compliance with the current law:

 

Subsidiary

Units



Incentive - %



Expiration


Bahiana Distribuidora de Gás Ltda.

Mataripe base



75



2024


 

Caucaia base



75



2025


 

Juazeiro base



75



2026


 

Aracaju base



75



2027


 

Suape base



75



2027


Ultracargo Logística S.A.

Aratu Terminal(1)



75



2022


 

Suape Terminal



75



2030


 

Itaqui Terminal



75



2030


 

(1)     In December 2022, an application for renewal of Aratu Terminal concession term for an additional 10 years was filed with SUDENE.

Summary of deferred income and social contribution tax assets

The balances comprising deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:

 

 

12/31/2022


 

12/31/2021


Oil Trading

93,627


 

53,839


Ultrapar (i)

65,505


 

43,441


Abastece aí

66,347


 

41,065


Ipiranga

28,894


 

-


Ultracargo Vila do Conde

22,313


 

9,861


Others

6,552


 

139


 

283,238


 

148,345


 

(i) Include the amount of R$ 33,663 of deferred taxes recognized on the tax loss of subsidiary Ultrapar International as of December 31, 2022 (R$ 8,510 as of December 31, 2021).


The balances which are not constituted of deferred taxes related to income tax loss carryforwards and negative basis of social contribution are as follows:

 

 

12/31/2022


 

12/31/2021


Integra Frotas

12,394


 

11,769


Millennium

6,154


 

3,174


Others

997


 

-


 

19,545


 

14,943


v3.23.1
Prepaid Expenses (Tables)
12 Months Ended
Dec. 31, 2022
Prepayments and accrued income other than contract assets [abstract]  
Summary of Prepaid Expenses

 

12/31/2022


 

12/31/2021


Rents 

26,888


 

54,327


Advertising and publicity

49,426


 

28,410


Insurance premiums

48,584


 

26,917


Software maintenance

26,114


 

19,863


Employee benefits

6,923


 

8,362


IPVA and IPTU

1,195


 

1,553


Contribution - private pension fund (see Note 21.a)

18,204


 

19,831


Other prepaid expenses

21,178


 

10,129


 

198,512


 

169,392


Current

123,699


 

98,024


Non-current

74,813


 

71,368


v3.23.1
Contractual Assets with Customers - Exclusive Rights (Tables)
12 Months Ended
Dec. 31, 2022
Receivables from contracts with customers [abstract]  
Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes

Changes are shown below:

 

Balance as of December 31, 2019

1,465,989


Additions

549,085


Amortization

(289,436

)

Transfer

(19,307

)

Balance as of December 31, 2020

1,706,331


Additions

689,986


Amortization

(282,521

)

Transfers

(34,570

)

Balance as of December 31, 2021

2,079,226


Additions

637,502


Amortization

(504,907

)

Transfers

(6,230

)

Balance as of December 31, 2022

2,205,591


Current

614,112


Non-current

1,591,479


v3.23.1
Investments in joint controlled entities and associates (Tables)
12 Months Ended
Dec. 31, 2022
Investments in joint controlled entities and associates  
Schedule of the positions of equity and income (loss) for the year

The table below presents the positions of equity and income (loss) for the year:

 

 

Equity



Net income (loss) for the year



Interest in share capital - %


 

Investment

 


Share of profit (loss) of joint ventures and associates


 

 

12/31/2022



12/31/2021

 


12/31/2022



12/31/2021



12/31/2020


Joint ventures

 



 



 


 

 



 

 


 



 



 


União Vopak – Armazéns Gerais Ltda (1)

8,912



(7,760

)

50


 

4,456



8,336

 


(3,880

)

602



392


Refinaria de Petróleo Riograndense S.A. (2)

75,840



78,614



33


 

25,186



4,548

 


26,110



823



(21,788

)

ConectCar Soluções de Mobilidade Eletrônica S.A. (3)






 



 




(18,081

)

(21,638

)

Latitude Logística Portuária S.A (4)

15,276



(1,716

)

50


 

7,638



9,978

 


(2,339

)

593



-


Navegantes Logística Portuária S.A (4)

69,749



(19,768

)

33


 

23,250



22,289

 


(11,040

)

(3,032

)

(1,594

)

Nordeste Logística I S.A. (4)

19,021



9,098



33


 

6,340



2,416

 


2,591



1,592



(1,409

)

Nordeste Logística II S.A. (4)

58,246



(3,631

)

33


 

19,415



13,256

 


(2,007

)

(819

)

(401

)

Nordeste Logística III S.A (4)

51,113



799



33


 

17,038



10,566

 


(30

)

255



626


Química da Bahia Indústria e Comércio S.A. (i)

7,040



(15

)

50


 

3,520



3,528

 


(8

)



-


Associates

 



 



 


 

 



 

 


 



 



 


Transportadora Sulbrasileira de Gás S.A. (5)

15,593



10,733



25


 

3,898



3,204

 


2,771



552



1,846


Metalúrgica Plus S.A. (6)

(471

)

(314

)

33


 

(157

)

(53

)

(105

)

(100

)

(91

)

Plenogás Distribuidora de Gás S.A. (6)

1,844



353



33


 

615



497

 


118



(4

)

38


Other investments






 

28



28

 




(14

)

(12

)

Total investments

 



 



 


 

111,384



78,593

 


12,181



(17,634

)

(44,031

)

Total provision for equity deficit

 



 



 


 

(157

)

 


 



 



 


Total

 



 



 


 

111,227



78,593

 


 



 



 


 

The percentages in the table above are rounded.


(i) The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.


(1) The subsidiary Ultracargo Logística holds an interest in União Vopak – Armazéns Gerais Ltda. (“União Vopak”), which is primarily engaged in liquid bulk storage at the port of Paranaguá.
(2) The Company holds an interest in Refinaria de Petróleo Riograndense S.A. (“RPR”), which is primarily engaged in oil refining.
(3) The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
(4) The subsidiary IPP participates in the port concession BEL02A at the port of Miramar, in Belém (PA), through Latitude Logística Portuária S.A. (“Latitude”); for the port of Vitória (ES), it participates through Navegantes Logística Portuária S.A. (“Navegantes”); in Cabedelo (PB), it holds an interest in Nordeste Logística I S.A. ("Nordeste Logística I"), Nordeste Logística II S.A. ("Nordeste Logística II”) and Nordeste Logística III S.A. (“Nordeste Logística III”).
(5) The subsidiary IPP holds an interest in Transportadora Sulbrasileira de Gás S.A. (“TSB”), which is primarily engaged in natural gas transportation services.
(6) The subsidiary Cia. Ultragaz holds an interest in Metalúrgica Plus S.A. (“Metalplus”), which is primarily engaged in the manufacture and trading of LPG containers and has interest in Plenogás Distribuidora de Gás S.A. (“Plenogás”), which is primarily engaged in the marketing of LPG containers. Currently, the associates have their operational activities suspended.
Summary of statements of financial position and statements of income of joint ventures

The table below presents the full amounts of statements of financial position and statements of income of joint ventures:


 

12/31/2022


 

União Vopak

 


RPR

 


Química da Bahia

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

3,164

 


615,563

 


382

 


9,526

 


4,358

 


20,604

 


38,951

 


25,598


Non-current assets

7,454

 


156,788

 


9,767

 


67,774

 


179,377

 


23,146

 


40,806

 


49,800


Current liabilities

1,378

 


432,502

 


-

 


13,112

 


40,675

 


6,183

 


10,915

 


7,871


Non-current liabilities

328

 


263,999

 


3,109

 


48,912

 


73,311

 


18,546

 


10,596

 


16,414


Equity

8,912

 


75,850

 


7,040

 


15,276

 


69,749

 


19,021

 


58,246

 


51,113


Net revenue

3,408

 


3,215,987

 


-

 


12,722

 


-

 


20,631

 


3,205

 


12,799


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(13,412

)

(3,085,140

)

(15

)

(9,864

)

(11,360

)

(7,901

)

(7,367

)

(10,720

)

Finance income (costs), income and social contribution taxes

2,244

 


(52,248

)

-

 


(4,574

)

(8,408

)

(3,632

)

531

 


(1,280

)

Net income (loss) for the year

(7,760

)

78,599

 


(15

)

(1,716

)

(19,768

)

9,098

 


(3,631

)

799


Number of shares or units held

29,995

 


5,078,888

 


1,493,122

 


9,384,693

 


37,998,195

 


984,587

 


22,393,571

 


16,977,737


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33


 

 

12/31/2021


 

União Vopak

 


RPR

 


ConectCar (i)

 


Latitude Logística

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Current assets

10,068

 


273,029

 


171,894

 


18,798

 


5,393

 


52,022

 


36,958

 


17,458


Non-current assets

9,696

 


179,652

 


177,217

 


50,215

 


167,170

 


18,346

 


17,279

 


49,439


Current liabilities

2,824

 


354,001

 


174,030

 


9,151

 


256

 


46,615

 


1,418

 


13,960


Non-current liabilities

268

 


84,980

 


18,883

 


39,906

 


105,440

 


16,504

 


13,052

 


21,239


Equity

16,672

 


13,700

 


156,198

 


19,956

 


66,867

 


7,249

 


39,767

 


31,698


Net revenue

17,660

 


2,092,786

 


60,436

 


5,895

 


-

 


11,625

 


2,016

 


7,561


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(16,144

)

(2,105,544

)

(97,095

)

(2,591

)

(1,579

)

(3,260

)

(3,980

)

(5,030

)

Finance income (costs), income and social contribution taxes

(312

)

15,235

 


497

 


(2,118

)

(7,517

)

(3,589

)

(494

)

(1,765

)

Net income (loss) for the year

1,204

 


2,477

 


(36,162

)

1,186

 


(9,096

)

4,776

 


(2,458

)

766


Number of shares or units held

29,995

 


5,078,888

 


263,768,000

 


4,383,881

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


Interest in share capital - %

50

 


33

 


50

 


50

 


33

 


33

 


33

 


33



The percentages in the table above are rounded. 


(i)  The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.

 

 

12/31/2020


 

União Vopak

 


RPR

 


ConectCar

 


Navegantes Logística

 


Nordeste Logística I

 


Nordeste Logística II

 


Nordeste Logística III


Net revenue from sales and services

15,666

 


1,455,668

 


91,096

 


-

 


-

 


-

 


-


Costs, operating expenses and income

(14,408

)

(1,531,652

)

(134,961

)

(3,480

)

(4,225

)

(1,203

)

1,878


Net finance income and income and social contribution taxes

(474

)

10,361

 


589

 


(1,301

)

-

 


-

 


-


Net income (loss)

784

 


(65,623

)

(43,276

)

(4,781

)

(4,226

)

(1,203

)

1,878


Number of shares or units held

29,995

 


5,078,888

 


248,768,000

 


22,298,195

 


681,637

 


3,933,265

 


4,871,241


% of capital held

50

 


33

 


50

 


33

 


33

 


33

 


33


Summary of statements of financial position and statements of income of associates

The table below presents the statements of financial position and statements of income of associates:

 

 

12/31/2022


 

Transportadora Sulbrasileira de Gás S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

8,598

 


6

 


617


Non-current assets

10,420

 


-

 


1,949


Current liabilities

2,824

 


29

 


167


Non-current liabilities

601

 


448

 


555


Equity

15,593

 


(471

)

1,844


Net revenue

18,250

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(7,593

)

(245

)

356


Finance income (costs) and income tax

76

 


(69

)

(3

)

Net income (loss) for the year

10,733

 


(314

)

353


Number of shares or units held

20,124,996

 


3,000

 


1,384,308


Interest in share capital - %

25

 


33

 


33


 

 

12/31/2021


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Current assets

7,685

 


90,156

 


14

 


47

 


568


Non-current assets

11,611

 


70,496

 


10,151

 


126

 


1,804


Current liabilities

5,875

 


44,408

 


-

 


28

 


158


Non-current liabilities

601

 


7,562

 


3,109

 


303

 


724


Equity

12,820

 


108,682

 


7,056

 


(158)

 


1,490


Net revenue

15,126

 


69,611

 


-

 


-

 


-


Costs, operating expenses, gain (loss) on disposal of property, plant and equipment and intangibles and other operating income (expenses)

(12,691

)

(68,390

)

(28

)

(239

)

18


Finance income (costs) and income tax

(226

)

(904

)

-

 


(61

)

(31

)

Net income (loss) for the year

2,209

 


317

 


(28

)

(300

)

(13

)

Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


Interest in share capital - %

25

 


15

 


50

 


33

 


33



 

12/31/2020


 

Transportadora Sulbrasileira de Gás S.A.

 


Oxicap Indústria de Gases Ltda.

 


Química da Bahia Indústria e Comércio S.A.

 


Metalúrgica Plus S.A.

 


Plenogás Distribuidora de Gás S.A.


Net revenue from sales and services

14,295

 


58,677

 


-

 


-

 


-


Costs, operating expenses and income

(6,475

)

(54,163

)

(24

)

(212

)

396


Net finance income and income and social contribution taxes

(437

)

(1,770

)

-

 


(60

)

(39

)

Net income (loss)

7,383

 


2,744

 


(24

)

(272

)

357


Number of shares or units held

20,124,996

 


1,987

 


1,493,120

 


3,000

 


1,384,308


% of capital held

25

 


15

 


50

 


33

 


33

Schedule of the balances and changes in investments in joint ventures and associates

Balances and changes in investments in joint ventures and associates are as follows:

 

 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593


Share of profit (loss) of joint ventures and associates

 

9,397

 


2,784

 


12,181


Dividends

 

(4,298

)

(2,076

)

(6,374

)

Valuation adjustments

 

267

 


 


267


Actuarial loss ofpost-employment benefits of subsidiaries, net of income and social contribution taxes

 

(1,440

)

 


(1,440

)

Capital increase in cash

 

28,000

 


 


28,000


Shareholder transactions - changes of interest

 

3,528

 


(3,528

)


Balance as of December 31, 2022 (i)

 

106,843

 


4,384

 


111,227



 

 

Joint ventures

 


Associates

 


Total


Balance as of December 31, 2020 (i)

 

137,004

 


25,616

 


162,620


Share of profit (loss) of joint ventures and associates from continuing operations

 

(18,068

)

434

 


(17,634

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

 


48

 


48


Dividends

 

 


(998

)

(998

)

Valuation adjustments

 

99

 


 


99


Actuarial gain of post-employment benefits of subsidiaries, net of income and social contribution taxes 

 

5,723

 


 


5,723


Capital increase in cash

 

30,697

 


 


30,697


Capital decrease

 

(5,001

)

(1,500

)

(6,501

)

Shareholder transactions - changes of interest

 

(966

)

 


(966

)

Write-off of investment

 

(78,099

)

 


(78,099

)

Reclassification to assets held for sale

 

 


(16,396)

 


(16,396

)

Balance as of December 31, 2021 (i)

 

71,389

 


7,204

 


78,593



 

 

Joint ventures


 

Associates


 

Total


Balance as of December 31, 2019 (i)

 

153,076


 

25,778


 

178,854


Share of profit (loss) of joint ventures and associates from continuing operations

 

(45,812

)

 

1,781


 

(44,031

)

Share of profit (loss) of joint ventures and associates from discontinued operations

 

-


 

414


 

414


Dividends

 

-


 

(2,357

)

 

(2,357

)

Capital increase

 

29,203


 

-


 

29,203


Capital decrease (ii)

 

(363

)

 

-


 

(363

)

Other reserves

 

1,065


 

-


 

1,065


Proposed dividends

 

(165

)

 

-


 

(165

)

Balance as of December 31, 2020 (i)

 

137,004


 

25,616


 

162,620


 

(i) Investments in subsidiaries, joint ventures and associates net of provision for negative equity.

(ii) Refers to reimbursement of expenses that preceded the port area auctions and that were apportioned among the other members of the consortium.

v3.23.1
Right-of-use assets and leases payable (Tables)
12 Months Ended
Dec. 31, 2022
Right-of-use assets and leases payable  
Summary of Information About Right of Use Asset

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Amortization

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

10

1,793,473

 


366,805

 


(140,380)

 


-

 


-

 


2,019,898


Port areas

29

299,630

 


11,868

 


(324

)

-

 


-

 


311,174


Vehicles

4

146,173

 


115,666

 


(75,384

)

-

 


-

 


186,455


Equipment

5

16,740

 


9,958

 


(353

)

-

 


-

 


26,345


Others

20

27,846

 


 -

 


-

 


-

 


-

 


27,846


 

 

2,283,862

 


504,297

 


(216,441

)

-

 


-

 


2,571,718


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(489,470

)

-

 


79,003

 


(5,311

)

(218,910

)

(634,688

)

Port areas

 

(23,526

)

-

 


-

 


-

 


(13,247

)

(36,773

)

Vehicles

 

(98,867

)

-

 


66,554

 


-

 


(51,589

)

(83,902

)

Equipment

 

(1,834

)

-

 


399

 


-

 


(1,415

)

(2,850

)

Others

 

(18,870

)

-

 


-

 


-

 


(3,258

)

(22,128

)

 

 

(632,567

)

-

 


145,956

 


(5,311

)

(288,419

)

(780,341

)

Net amount

 

1,651,295

 


504,297

 


(70,485

)

(5,311

)

(288,419

)

1,791,377


 

(i) Refers to R$ 5,311 transferred to property, plant and equipment.

 

 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions and remeasurement

 


Write-offs

 


Transfers (i)

 


Exchange rate variation

 


Amortization

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

10

2,254,432

 


257,787

 


(150,718

)

-

 


1,295

 


-

 


(569,323

)

1,793,473


Port areas

20

268,534

 


31,096(*)

 


-

 


-

 


-

 


-

 


-

 


299,630


Vehicles

4

139,843

 


26,589

 


(9,315

)

-

 


103

 


-

 


(11,047

)

146,173


Equipment

6

44,936

 


19,887

 


(6,171

)

-

 


1,920

 


-

 


(43,832

)

16,740


Others

20

27,846

 


-

 


-

 


-

 


-

 


-

 


-

 


27,846


 

 

2,735,591

 


335,359

 


(166,204

)

-

 


3,318

 


-

 


(624,202

)

2,283,862


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

(481,975

)

-

 


76,954

 


-

 


(530

)

(283,882

)

199,963

 


(489,470

)

Port areas

 

(3,962

)

-

 


-

 


(11,935

)

-

 


(7,629

)

-

 


(23,526

)

Vehicles

 

(63,091

)

-

 


7,032

 


-

 


(54

)

(48,146

)

5,392

 


(98,867

)

Equipment

 

(19,619

)

-

 


6,483

 


-

 


(897

)

(17,637

)

29,836

 


(1,834

)

Others

 

(16,658

)

-

 


-

 


-

 


-

 


(2,212

)

-

 


(18,870

)

 

 

(585,305

)

-

 


90,469

 


(11,935

)

(1,481

)

(359,506

)

235,191

 


(632,567

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Real estate

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


 

 

-

 


(38,957

)

-

 


-

 


-

 


-

 


38,957

 


-


Net amount

 

2,150,286

 


296,402

 


(75,735

)

(11,935

)

1,837

 


(359,506

)

(350,054

)

1,651,295


 

(i) Refers to the amortization of right-of-use assets in the subsidiary Tequimar Vila do Conde Logística Portuária S.A. (“Tequimar Vila do Conde”), which is being capitalized as Construction in progress, starting its operation in December 2021.

(ii) For further details, see Note 4.c.2

(*) Includes balances of R$ 14,905 referring to initial direct costs of right-of-use assets.



Weighted average useful life (years)

Balance on 12/31/2019


Additions and remeasurement


Write-offs


Effect of foreign currency exchange rate variation


Amortization


Balance on 12/31/2020


Cost:







Real estate 

10

2,068,254


259,244


-78,529


5,463


-


2,254,432


Port area

20

68,007


200,527




-


268,534


Vehicles

4

91,868


55,616


-7,893


252


-


139,843


Equipment

6

31,822


7,833


-572


5,853


-


44,936


Others

20

27,846





-


27,846


2,287,797


523,22


-86,994


11,568


-


2,735,591


Accumulated amortization:







Real estate

-256,43


-


46,282


-697


-271,13


-481,975


Port area


-




-3,962


-3,962


Vehicles

-27,492


-


5,509


232


-41,34


-63,091


Equipment

-7,6


-


572


-1,996


-10,595


-19,619


Others

-15,363


-




-1,295


-16,658


-306,885


-


52,363


-2,461


-328,322


-585,305


Net amount

1,980,912


523,22


-34,631


9,107


-328,322


2,150,286


Summary of Changes in Lease Payables

The changes in leases payable are shown below:

 

Balance as of December 31, 2019

1,588,673


Interest accrued

144,655


Payments

(360,787

)

Additions and remeasurement

484,121


Write-offs

(35,381

)

Effect of foreign currency exchange rate variation

12,007


Balance as of December 31, 2020

1,833,288


Interest accrued

147,494


Payments (i)

(440,574

)

Additions and remeasurement

288,711


Write-offs

(83,157

)

Efffect of foreign currency exchange rate variation

16,264


Reclassification to liabilities held for sale (ii)

(413,715

)

Balance as of December 31, 2021

1,348,311


Interest accrued

128,069


Payments

(357,879

)

Additions and remeasurement

482,439


Write-offs

(77,171

)

Balance as of December 31, 2022

1,523,769


Current

225,034


Non-current

1,298,735


 

(i) Includes the amount of R$ 29,237 paid by subsidiary Tequimar Vila do Conde related to port concession grants.

(ii) For further details, see Note 4.c.2

Summary of Maturities of Lease Payments of Operating Lease

The future disbursements (installments) not discounted to present value are presented below:

 

 

12/31/2022

 

Up to 1 year

343,792

 

1 to 2 years

319,284

 

2 to 3 years

277,318

 

3 to 4 years

201,227

 

4 to 5 years

173,229

 

More than 5 years

1,089,255

 

Total

2,404,105

 

Schedule of weighted average discount rates for the lease payable by maturity period

The weighted nominal average discount rates for the lease contracts of the Company are: 

 

Contracts by maturity date and discount rate


Maturity date of the contracts

Discount rate (% p.a.)


From 1 to 5 years

8.00%


From 6 to 10 years

8.34%


From 11 to 15 years

9.50%


More than 15 years

9.75%


Details About Lease Contracts of Low Amount Assets

 

 

Up to 1 year



Between 1 and 5 years



More than 5 years



Total


12/31/2022

2,458



5,689



-



8,147


12/31/2021

124



994



-



1,118



v3.23.1
Property, Plant, and Equipment (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about property, plant and equipment [abstract]  
Balances and changes in property, plant, and equipment

Balance and changes in property, plant and equipment are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Acquisition of subsidiaries

 


Balance as of 12/31/2022

 

Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

610,294

 


-

 


-

 


23,539

 


(14,717

)

-

 


619,116

 

Buildings

32

1,486,721

 


20,020

 


-

 


73,744

 


(47,979

)

-

 


1,532,506

 

Leasehold improvements

13

1,056,179

 


40,685

 


-

 


82,317

 


(9,855

)

-

 


1,169,326

 

Machinery and equipment

12

3,024,577

 


99,477

 


-

 


70,150

 


(7,518

)

73

 


3,186,759

 

Automotive fuel/lubricant distribution equipment and facilities

13

3,245,586

 


96,208

 


-

 


12,680

 


(141,351

)

-

 


3,213,123

 

LPG tanks and bottles

9

840,931

 


94,356

 


-

 


-

 


(15,000

)

-

 


920,287

 

Vehicles

9

288,239

 


33,452

 


-

 


8,050

 


(4,647

)

-

 


325,094

 

Furniture and fixtures

9

168,092

 


34,905

 


-

 


5,140

 


(6,531

)

102

 


201,708

 

IT equipment

5

330,375

 


24,069

 


-

 


2,053

 


(53,863

)

389

 


303,023

 

Construction in progress

 

452,248

 


482,043

 


-

 


(239,082

)

(483

)

-

 


694,726

 

Advances to suppliers

 

14,281

 


35,887

 


-

 


(32,029

)

-

 


-

 


18,139

 

Imports in progress

 

181

 


902

 


-

 


(181

)

-

 


-

 


902

 

 

 

11,517,704

 


962,004

 


-

 


6,381

 


(301,944

)

564

 


12,184,709

 


 

 

Balance as of 12/31/2021

 


Additions

 


Depreciation

 


Transfers (i)

 


Write-offs and disposals

 


Business acquisition

 


Balance as of 12/31/2022

 

Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Buildings

 

(585,846

)

-

 


(42,195

)

-

 


36,229

 


-

 


(591,812

)

Leasehold improvements

 

(573,553

)

-

 


(58,172

)

606

 


12,863

 


-

 


(618,256

)

Machinery and equipment

 

(1,758,401

)

-

 


(175,567

)

-

 


7,024

 


(10

)

(1,926,954

)

Automotive fuel/lubricant distribution equipment and facilities

 

(2,050,533

)

-

 


(175,899

)

(3

)

112,778

 


-

 


(2,113,657

)

LPG tanks and bottles

 

(498,310

)

-

 


(69,860

)

-

 


10,910

 


-

 


(557,260

)

Vehicles

 

(133,149

)

-

 


(23,713

)

-

 


2,685

 


-

 


(154,177

)

Furniture and fixtures

 

(112,288

)

-

 


(11,496

)

(603

)

5,953

 


(4

)

(118,438

)

IT equipment

 

(269,534

)

-

 


(23,933

)

-

 


53,526

 


(37

)

(239,978

)

 

 

(5,981,614

)

-

 


(580,835

)

-

 


241,968

 


(51

)

(6,320,532

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(18

)

(12

)

-

 


-

 


-

 


-

 


(30

)

Machinery and equipment

 

(1,289

)

(27

)

-

 


-

 


(250

)

-

 


(1,566

)

Automotive fuel/lubricant distribution equipment and facilities

 

(46

)

-

 


-

 


-

 


24

 


-

 


(22

)

 

 

(1,499

)

(39

)

-

 


-

 


(226

)

-

 


(1,764

)

Net amount

 

5,534,591

 


961,965

 


(580,835

)

6,381

 


(60,202

)

513

 


5,862,413

 

 

(i) Refers to R$ 271,292 transferred from Works in progress, Advances to Suppliers and Imports in progress to the other classes of property, plant and equipment, R$ 5,311 transferred from right-of-use assets and R$ 1,070 transferred from intangible assets.

 

Construction in progress relates substantially to expansions, renovations, constructions and upgrade of terminals, service stations and distribution bases.

 

Advances to suppliers are related, basically, to manufacturing of assets for expansion of terminals and bases and acquisition of real estate.


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

687,108

 


2,424

 


-

 


-

 


(17,503

)

3,416

 


(65,151

)

610,294


Buildings

33

2,154,710

 


47,920

 


-

 


119,748

 


(34,925

)

26,997

 


(827,729

)

1,486,721


Leasehold improvements

10

1,222,822

 


21,944

 


-

 


136,206

 


(31,587

)

30

 


(293,236

)

1,056,179


Machinery and equipment

12

6,498,362

 


161,071

 


-

 


558,197

 


(13,811

)

93,412

 


(4,272,654

)

3,024,577


Automotive fuel/lubricant distribution equipment and facilities

13

3,169,320

 


88,112

 


-

 


33,794

 


(45,640

)

-

 


-

 


3,245,586


LPG tanks and bottles

9

776,479

 


91,842

 


-

 


1,567

 


(28,957

)

-

 


-

 


840,931


Vehicles

8

310,836

 


19,054

 


-

 


11,634

 


(25,949

)

82

 


(27,418

)

288,239


Furniture and fixtures

8

316,712

 


33,644

 


-

 


2,277

 


(14,614

)

1,296

 


(171,223

)

168,092


IT equipment

5

444,844

 


28,350

 


-

 


901

 


(11,998

)

705

 


(132,427

)

330,375


Construction in progress (ii)

 

580,695

 


797,674

 


-

 


(829,245

)

(301

)

3,290

 


(99,865

)

452,248


Advances to suppliers

 

34,642

 


21,985

 


-

 


(18,894

)

-

 


-

 


(23,452

)

14,281


Imports in progress

 

866

 


4,312

 


-

 


(4,631

)

-

 


38

 


(404

)

181


 

 

16,197,396

 


1,318,332

 


-

 


11,554

 


(225,285

)

129,266

 


(5,913,559

)

11,517,704



 

 

Balance as of 12/31/2020

 


Additions

 


Depreciation

 


Transfers (i) (ii)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (iii)

 


Balance as of 12/31/2021


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(851,397

)

-

 


(68,388

)

(94

)

23,031

 


(6,872

)

317,874

 


(585,846

)

Leasehold improvements

 

(689,161

)

-

 


(81,976

)

81

 


27,519

 


(37

)

170,021

 


(573,553

)

Machinery and equipment

 

(3,598,304

)

-

 


(356,637

)

-

 


11,717

 


(21,651

)

2,206,474

 


(1,758,401

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,906,953

)

-

 


(178,110

)

(311

)

34,841

 


-

 


-

 


(2,050,533

)

LPG tanks and bottles

 

(454,651

)

-

 


(62,558

)

-

 


18,899

 


-

 


-

 


(498,310

)

Vehicles

 

(143,854

)

-

 


(22,927

)

195

 


15,480

 


(20

)

17,977

 


(133,149

)

Furniture and fixtures

 

(191,713

)

-

 


(23,594

)

24

 


14,443

 


(817

)

89,369

 


(112,288

)

IT equipment

 

(352,256

)

-

 


(35,614

)

317

 


11,489

 


(435

)

106,965

 


(269,534

)

 

 

(8,188,289

)

-

 


(829,804

)

212

 


157,419

 


(29,832

)

2,908,680

 


(5,981,614

)

Provision for impairment losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(61

)

(43,666

)

-

 


-

 


-

 


(3

)

43,712

 


(18

)

Machinery and equipment

 

(2,857

)

(839

)

-

 


-

 


6

 


(45

)

2,446

 


(1,289

)

Automotive fuel/lubricant distribution equipment and facilities

 

(73

)

-

 


-

 


-

 


27

 


-

 


-

 


(46

)

Vehicles

 

-

 


(160

)

-

 


-

 


-

 


-

 


160

 


-


Furniture and fixtures

 

-

 


(14,887

)

-

 


-

 


-

 


-

 


14,887

 


-


IT equipment

 

-

 


(1,660

)

-

 


-

 


-

 


-

 


1,660

 


-


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


110

 


-


 

 

(3,247

)

(61,212

)

-

 


-

 


33

 


(48

)

62,975

 


(1,499

)

 

 

8,005,860

 


1,257,120

 


(829,804

)

11,766

 


(67,833

)

99,386

 


(2,941,904

)

5,534,591


 (i) Refers to R$ 169 transferred to intangible assets.

(ii) Includes R$ 11,935 transferred from right-of-use assets.

(iii) For further information, see Note 4.c


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i) 

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Land

 

667,865

 


21,300

 


-

 


2,113

 


(14,427

)

10,257

 


687,108


Buildings

32

1,925,946

 


25,572

 


-

 


148,527

 


(27,210

)

81,875

 


2,154,710


Leasehold improvements

9

1,121,528

 


28,374

 


-

 


89,559

 


(16,954

)

315

 


1,222,822


Machinery and equipment

13

5,707,721

 


144,089

 


-

 


378,883

 


(5,554

)

273,223

 


6,498,362


Automotive fuel/lubricant distribution equipment and facilities

13

2,991,472

 


90,279

 


-

 


133,963

 


(46,394

)

-

 


3,169,320


LPG tanks and bottles

10

755,460

 


65,230

 


-

 


289

 


(44,500

)

-

 


776,479


Vehicles

8

320,161

 


22,495

 


-

 


8,363

 


(40,517

)

334

 


310,836


Furniture and utensils

9

295,604

 


13,985

 


-

 


6,775

 


(3,694

)

4,042

 


316,712


Construction in progress

 

827,086

 


506,367

 


-

 


(765,785

)

(1,167

)

14,194

 


580,695


Advances to suppliers

 

12,544

 


28,339

 


-

 


(6,185

)

(56

)

-

 


34,642


Imports in progress

 

250

 


1,437

 


-

 


(822

)

-

 


1

 


866


IT equipment

5

412,809

 


32,134

 


-

 


539

 


(2,827

)

2,189

 


444,844


 

 

15,038,446

 


979,601

 


-

 


(3,781

)

(203,300

)

386,430

 


16,197,396



 

 

Balance on 12/31/2019

 


Additions

 


Depreciation

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Accumulated depreciation:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Buildings

 

(793,835

)

-

 


(65,318

)

2,376

 


20,021

 


(14,641

)

(851,397

)

Leasehold improvements

 

(614,379

)

-

 


(80,995

)

49

 


6,252

 


(88

)

(689,161

)

Machinery and equipment

 

(3,231,627

)

-

 


(317,694

)

59

 


4,091

 


(53,133

)

(3,598,304

)

Automotive fuel/lubricant distribution equipment and facilities

 

(1,766,878

)

-

 


(176,404

)

(6

)

36,335

 


-

 


(1,906,953

)

LPG tanks and bottles

 

(425,554

)

-

 


(56,267

)

(30

)

27,200

 


-

 


(454,651

)

Vehicles

 

(139,045

)

-

 


(24,585

)

48

 


19,997

 


(269

)

(143,854

)

Furniture and utensils

 

(171,475

)

-

 


(21,060

)

7

 


2,988

 


(2,173

)

(191,713

)

IT equipment

 

(318,063

)

-

 


(35,080

)

122

 


2,676

 


(1,911

)

(352,256

)

 

 

(7,460,856

)

-

 


(777,403

)

2,625

 


119,560

 


(72,215

)

(8,188,289

)

Provision for losses:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Advances to suppliers

 

(110

)

-

 


-

 


-

 


-

 


-

 


(110

)

Land

 

(146

)

-

 


-

 


-

 


-

 


-

 


(146

)

Leasehold improvements

 

(1,599

)

910

 


-

 


-

 


639

 


(11

)

(61

)

Machinery and equipment 

 

(2,875

)

-

 


-

 


-

 


156

 


(138

)

(2,857

)

Automotive fuel/lubricant distribution equipment and facilities

 

(98

)

-

 


-

 


-

 


25

 


-

 


(73

)

 

 

(4,828

)

910

 


-

 


-

 


820

 


(149

)

(3,247

)

Net amount

 

7,572,762

 


980,511

 


(777,403

)

(1,156

)

(82,920

)

314,066

 


8,005,860



(i) Refers to amounts transferred between items and to intangible assets.

v3.23.1
Intangible Assets (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about intangible assets [abstract]  
Balances and changes in intangible assets

Balance and changes in intangible assets are as follows:

 

 

Weighted average useful life (years)

Balance as of 12/31/2021

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Balance as of 12/31/2022


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

818,096

 


99,679

 


-

 


-

 


-

 


-

 


917,775


Software (b)

5

1,146,980

 


277,600

 


-

 


173

 


(125,665

)

-

 


1,299,088


Distribution rights

12

114,593

 


-

 


-

 


-

 


-

 


-

 


114,593


Brands (c)

 

69,198

 


-

 


-

 


-

 


-

 


(3,551

)

65,647


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

421

 


999

 


-

 


(1,243

)

-

 


-

 


177


Decarbonization credits (CBIO) (e)

 

-

 


635,130

 


-

 


-

 


(402,825

)

-

 


232,305


 

 

2,264,080

 


1,013,408

 


-

 


(1,070

)

(528,490

)

(3,551

)

2,744,377


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(679,402

)

-

 


(154,122

)

-

 


124,865

 


-

 


(708,659

)

Distribution rights

 

(101,027

)

-

 


(1,010

)

-

 


-

 


-

 


(102,037

)

Trademark rights

 

(11,993

)

-

 


(2,937

)

-

 


-

 


-

 


(14,930

)

Others

 

(402

)

-

 


-

 


-

 


-

 


-

 


(402

)

 

 

(792,824

)

-

 


(158,069

)

-

 


124,865

 


-

 


(826,028

)

 

 

-

 


-

 


-

 


-

 


-

 


-

 


-


Net amount

 

1,471,256

 


1,013,408

 


(158,069

)

(1,070

)

(403,625

)

(3,551

)

1,918,349


 (i) Refers to R$ 1,070 transferred to property, plant and equipment.


 

Weighted average useful life (years)

Balance as of 12/31/2020

 


Additions

 


Amortization

 


Transfers (i)

 


Write-offs and disposals

 


Exchange rate variation

 


Reclassification to assets held for sale (ii)

 


Balance as of 12/31/2021


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


(706,992

)

818,096


Software (b)

4

1,395,046

 


284,311

 


-

 


372

 


(19,826)

 


1,808

 


(514,731

)

1,146,980


Technology

 

32,617

 


-

 


-

 


-

 


-

 


-

 


(32,617

)

-


Distribution rights

12

133,599

 


-

 


-

 


-

 


-

 


-

 


(19,006

)

114,593


Brands (c)

 

136,962

 


-

 


-

 


-

 


-

 


4,759

 


(72,523

)

69,198


Trademark rights (c)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (d)

10

50,698

 


1,678

 


-

 


-

 


-

 


(76

)

(51,879

)

421


Decarbonization credits (e)

 

-

 


176,837

 


-

 


-

 


(176,837

)

-

 


-

 


-


 

 

3,388,802

 


462,826

 


-

 


372

 


(196,663

)

6,491

 


(1,397,748

)

2,264,080


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(825,024

)

-

 


(206,025

)

(203

)

19,329

 


(1,566

)

334,087

 


(679,402

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


32,616

 


-


Distribution rights

 

(113,326

)

-

 


(3,093

)

-

 


-

 


-

 


15,392

 


(101,027

)

Trademark rights

 

(9,056

)

-

 


(2,937

)

-

 


-

 


-

 


-

 


(11,993

)

Others

 

(32,845

)

-

 


(167

)

-

 


-

 


(2

)

32,612

 


(402

)

 

 

(1,012,867

)

-

 


(212,222

)

(203

)

19,329

 


(1,568

)

414,707

 


(792,824

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

(68,273

)

-

 


-

 


-

 


-

 


661,553

 


-


Distribution rights

 

                -

 


(76,218

)

-

 


-

 


-

 


-

 


76,218

 


-


 

 

(593,280

)

(144,491

)

-

 


-

 


-

 


-

 


737,771

 


-


Net amount

 

1,782,655

 


318,335

 


(212,222

)

169

 


(177,334

)

4,923

 


(245,270

)

1,471,256


 (i) Refers to amounts transferred from property, plant and equipment.

(ii) For further information, see Note 4.c.2


 

Weighted average useful life (years)

Balance on 12/31/2019

 


Additions

 


Amortization

 


Transfer (i)

 


Write-offs and disposals

 


Effect of foreign currency exchange rate variation

 


Balance on 12/31/2020


Cost:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

1,525,088

 


-

 


-

 


-

 


-

 


-

 


1,525,088


Software (b)

4

1,210,529

 


184,027

 


-

 


993

 


(6,633

)

6,130

 


1,395,046


Technology (c)

 

32,617

 


-

 


-

 


-

 


-

 


-

 


32,617


Commercial property rights

 

7,934

 


-

 


-

 


-

 


(7,934

)

-

 


-


Distribution rights

10

133,599

 


-

 


-

 


-

 


-

 


-

 


133,599


Brands (d)

 

122,504

 


-

 


-

 


-

 


-

 


14,458

 


136,962


Trademark rights (d)

39

114,792

 


-

 


-

 


-

 


-

 


-

 


114,792


Others (e)

10

44,900

 


1,040

 


-

 


-

 


-

 


4,758

 


50,698


Decarbonization credits (f)

 

-

 


125,345

 


-

 


(1,058

)

(124,287

)

-

 


-


 

 

3,191,963

 


310,412

 


-

 


(65

)

(138,854

)

25,346

 


3,388,802


Accumulated amortization:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Software

 

(648,861

)

-

 


(175,144

)

-

 


3,375

 


(4,394

)

(825,024

)

Technology

 

(32,616

)

-

 


-

 


-

 


-

 


-

 


(32,616

)

Commercial property rights

 

(6,384

)

-

 


(85

)

-

 


6,469

 


-

 


-


Distribution rights

 

(108,932

)

-

 


(4,394

)

-

 


-

 


-

 


(113,326

)

Trademark rights

 

(6,119

)

-

 


(2,937

)

-

 


-

 


-

 


(9,056

)

Others

 

(32,713

)

-

 


(121

)

-

 


-

 


(11

)

(32,845

)

 

 

(835,625

)

-

 


(182,681

)

-

 


9,844

 


(4,405

)

(1,012,867

)

Provision for losses and impairment:

 

 

 


 

 


 

 


 

 


 

 


 

 


 


Goodwill (a)

 

(593,280

)

-

 


-

 


-

 


-

 


-

 


(593,280

)

Commercial property rights

 

(465

)

-

 


-

 


-

 


465

 


-

 


-


 

 

(593,745

)

-

 


-

 


-

 


465

 


-

 


(593,280

)

Net amount

 

1,762,593

 


310,412

 


(182,681

)

(65

)

(128,545

)

20,941

 


1,782,655



(i) Refers to amounts transferred to property, plant and equipment and prepaid expenses.

Balance of the goodwill

The remaining net balance of goodwill on the following acquisitions are assessed for impairment annually or more frequently when there is indication that the goodwill might be impaired:

 

 

Segment

12/31/2022

 


12/31/2021


Goodwill on the acquisition of:

 

 

 


 


Extrafarma

Extrafarma

-

 


661,553


Extrafarma – impairment (i)

Extrafarma

-

 


(661,553

)

Extrafarma – net

Extrafarma

-

 


-


Ipiranga (ii)

Ipiranga

276,724

 


276,724


União Terminais

Ultracargo

211,089

 


211,089


Texaco

Ipiranga

177,759

 


177,759


Iconic (CBLSA)

Ipiranga

69,807

 


69,807


Temmar

Ultracargo

43,781

 


43,781


DNP

Ipiranga

24,736

 


24,736


Repsol

Ultragaz

13,403

 


13,403


Stella (iii)

Ultragaz

99,679

 


-


TEAS

Ultracargo

797

 


797


 

 

917,775

 


818,096


 

(i) For further information, see Note 4.a

(ii) Including R$ 246,163 presented as goodwill at the Parent.

(iii) For further information, see Note 33.a.

v3.23.1
Loans, financing, debentures and derivative financial instruments (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about borrowings [abstract]  
Summary of Compostion of loans

a. Composition

 

 

12/31/2022


 

12/31/2021


 

Index/Currency

Weighted average financial charges 2022

Maturity

Foreign currency:

 


 

 


 

 

 

 

Notes in the foreign market (d)

3,973,816


 

7,821,441


 

US$

5.3%

2026 and 2029

Foreign loan (e)

1,161,798


 

735,438


 

US$

4.2%

2023 and 2025

Foreign loan (e)

-


 

275,936


 

US$ + LIBOR (1)

-

 

Foreign loan (e)

54,542


 

-


 

EU$

2.9%

2023

Total in foreign currency

5,190,156


 

8,832,815


 

 

 

 

 

 


 

 


 

 

 

 

Brazilian Reais:

 


 

 


 

 

 

 

Debentures – CRA (g)

660,485


 

2,063,788


 

DI

97.5%

2023

Debentures - 6th issuance (g)

1,800,213


 

1,764,199


 

DI

105.3%

2023

Debentures – CRA (g)

3,011,462


 

1,940,237


 

IPCA

5.1%

2024 and 2032

Debentures – Ipiranga (g)

-


 

771,538


 

DI

 

 

Debentures - Ultracargo Logística and Tequimar Vila do Conde (g)

482,185


 

466,061


 

IPCA

4.1%

2028

Banco do Brasil floating rate (f)

-


 

204,813


 

DI

 

 

Debentures – Ultracargo Logística (g)

81,548


 

80,946


 

R$

6.5%

2024

Bank Credit Bill

-


 

51,179


 

DI

 

 

Financial institutions

-


 

4,564


 

R$

 

 

FINEP

-


 

326


 

TJLP (2)

 

 

Total in Brazilian Reais

6,035,893


 

7,347,651


 

 

 

 

Total in foreign currency and Brazilian Reais

11,226,049


 

16,180,466


 

 

 

 

Currency and interest rate hedging instruments (*)

524,312


 

197,177


 

 

 

 

Total

11,750,361


 

16,377,643


 

 

 

 

Current

3,360,677


 

2,866,051


 

 

 

 

Non-current

8,389,684


 

13,511,592


 

 

 

 

 

(*) Accumulated losses (see Note 31.i).

 

1) LIBOR = London Interbank Offered Rate.
2) TJLP (Long-term Interest Rate) = set by the National Monetary Council, TJLP is the basic financing cost of Banco Nacional de Desenvolvimento Econômico e Social (“BNDES”), the Brazilian Development Bank. On December 31, 2022, TLP was fixed at 7.20% p.a.
Summary of Changes in Loans, Debentures and Finance Leases

The changes in loans, financing, debentures and derivative financial instruments are shown below:

 

Balance as of December 31, 2019

14,392,722


New loans and debentures with cash effect

3,591,624


Interest accrued

757,161


Principal payment

(2,795,002

)

Interest payment

(740,853

)

Monetary and exchange rate variation

2,048,688


Change in fair value

34,702


Hedge result

87,174


Balance as of December 31, 2020

17,376,216


New loans and debentures with cash effect

1,462,220


Interest accrued

801,102


Principal payment

(2,922,214

)

Interest payment

(749,043

)

Monetary and exchange rate variation

800,749


Change in fair value

(229,657

)

Hedge result

80,018


Reclassification to liabilities held for sale (i)

(241,748

)

Balance as of December 31, 2021

16,377,643


New loans and debentures with cash effect

1,519,580


Interest accrued

945,023


Principal payment

(5,848,611

)

Interest payment

(914,979

)

Monetary and exchange rate variation

(587,064

)

Change in fair value

(68,366

)

Hedge result

327,135


Balance as of December 31, 2022

11,750,361



(i) For further details, see Note 4.c.1.

Summary of Principal Maturity Schedule

The long-term debt had the following principal maturity schedule:

 

 

12/31/2022


 

12/31/2021


From 1 to 2 years

817,898


 

3,092,734


From 2 to 3 years

782,965


 

774,904


From 3 to 4 years

2,268,647


 

270,401


From 4 to 5 years

-


 

3,056,499


More than 5 years

4,520,174


 

6,317,054


 

8,389,684


 

13,511,592


Summary of Transaction Costs

Transaction costs incurred in issuing debt were deducted from the value of the related contracted financing and are recognized as an expense according to the effective interest rate method as follows:

 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2021


 

Incurred costs


 

Payments


 

Balance as of 12/31/2022


Debentures

0.2


 

54,490


 

30,420


 

(16,742

)

 

68,168


Notes in the foreign market

0.1


 

28,018


 

-


 

(15,613

)

 

12,405


Banco do Brasil

0.1


 

76


 

-


 

(76

)

 

-


Total

 


 

82,584


 

30,420


 

(32,431

)

 

80,573


 

 

Effective rate of transaction costs

(% p.a.)


 

Balance as of 12/31/2020


 

Incurred costs


 

Payments


 

Reclassification to liabilities held for sale (i)


 

Balance as of 12/31/2021


Debentures

0.2


 

28,348


 

40,953


 

(14,811

)

 

-


 

54,490


Notes in the foreign market

0.1


 

37,112


 

-


 

(4,890

)

 

(4,204

)

 

28,018


Promissory notes


 

1,318


 

-


 

(1,318

)

 

-


 

-


Banco do Brasil

0.1


 

332


 

-


 

(256

)

 

-


 

76


Total

 


 

67,110


 

40,953


 

(21,275

)

 

(4,204

)

 

82,584


 

 

Effective rate of transaction costs (% p.a.)


 

Balance as of 12/31/2019


 

Incurred cost


 

Amortization


 

Balance as of 12/31/2020


Debentures

0.2


 

41,406


 

-


 

(13,058

)

 

28,348


Notes in the foreign market

0.1


 

28,114


 

13,263


 

(4,265

)

 

37,112


Notes

0.5


 

-


 

6,802


 

(5,484

)

 

1,318


Banco do Brasil

0.1


 

770


 

-


 

(438

)

 

332


Foreign loans

 


 

94


 

-


 

(94

)

 

-


Others

 


 

1,382


 

-


 

(1,382

)

 

-


Total

 


 

71,766


 

20,065


 

(24,721

)

 

67,110

Summary of Appropriated Profit or Loss in The Future

The amount to be appropriated to profit or loss in the future is as follows:

 

 

Up to 1 year


 

1 to 2 years


 

2 to 3 years


 

3 to 4 years


 

4 to 5 years


 

More than 5 years


 

Total


Debentures

14,511


 

10,363


 

9,450


 

9,272


 

9,309


 

15,263


 

68,168


Notes in the foreign market

2,289


 

2,298


 

2,294


 

2,087


 

1,412


 

2,025


 

12,405


Total

16,800


 

12,661


 

11,744


 

11,359


 

10,721


 

17,288


 

80,573


Summary Of Collateral To Financial Institutions

The subsidiary IPP issued collateral to financial institutions in connection with the amounts payable by some of its customers to such institutions as follows:

 

 

IPP


 

12/31/2022

 


12/31/2021


Maximum amount of future payments related to such collateral:

550,908

 


690,347


Maturity up to

51 months

 


49 months


Fair value of collateral

9,914

 


9,923


Summary of Foreign Loan Maturity

The foreign loans have the maturity distributed as follows:

 

Maturity

EU$ (thousands)


 

USD (thousands)


 

R$


 

Cost in % of DI


Charges(1) 

84


 

1,326


 

7,386


 

-


Mar/2023

9,709


 

-


 

54,072


 

111.6%


Sept/2023

-


 

60,000


 

313,062


 

105.0%


Sept/2023

-


 

65,000


 

339,151


 

104.8%


Sept/2025

-


 

96,339


 

502,669


 

108.5%


Total / average cost

9,793


 

222,665


 

1,216,340


 

106.7%


 (1) Includes interest, transaction costs and mark to market.

Summary of Debentures

g.1 In March 2021, the subsidiary Tequimar Vila do Conde made its first issuance of debentures, in one single series of 360,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.04%

Payment of interest:

Semiannually

Reprice:

Not applicable


Tequimar Vila do Conde contracted hedging instruments against interest rate variations, changing the fixed rate financial charges of the debentures to 111.4% of the DI. Tequimar Vila do Conde designated these hedging instruments as fair value hedges therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.2 In March 2021, the subsidiary Ultracargo Logística made its second issuance of debentures, in one single series of 100,000 simple debentures, nonconvertible into shares and unsecured, which main characteristics are as follows:

 

Unit face value:

R$ 1,000.00

Final maturity:

March 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.37%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

Ultracargo Logística contracted hedging instruments against interest rate variations, changing the debentures fixed rate for 111.4% of the DI. Ultracargo Logística designated these hedging instruments as fair value hedges; therefore debentures and hedging instruments are both measured at fair value from inception with changes in fair value recognized in profit or loss.

 

g.3 In September 2021, the subsidiary IPP made its tenth issuance of debentures in the total amount of R$ 960,000, in one single series of 960,000 simple debentures, nonconvertible into shares, nominative, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of CRA. The financial settlement occurred on September 16, 2021. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount

960,000

Unit face value:

R$ 1,000.00

Final maturity:

September 15, 2028

Payment of the face value:

Lump sum at final maturity

Interest:

IPCA + 4.8287%

Payment of interest:

Semiannually

Reprice:

Not applicable

 

IPP contracted hedging instruments subjected to IPCA variation, changing the financial debenture charges linked to IPCA to 102.75% of DI. IPP designated these hedging instruments as fair value hedges. Therefore, debentures and hedging instruments are both measured at fair value from inception, with changes in fair value recognized through profit or loss.


g.4 In June 2022, the subsidiary IPP carried out its tenth issuance of debentures in the total amount of R$ 1,000,000, in one single series of 1,000,000 simple debentures, nonconvertible into shares, registered, book-entry and unsecured, privately placed by Vert Companhia Securitizadora. The proceeds from this issuance were used exclusively for the purchase of ethanol by subsidiary IPP. The debentures were subscribed with the purpose to bind the issuance of Agribusiness Receivables Certificates (CRA). The financial settlement occurred on June 27, 2022. The debentures have an additional guarantee from Ultrapar and the main characteristics are as follows:

 

Amount:

1,000,000

Unit face value:

R$ 1,000.00

Final maturity:

June 11, 2032

Payment of the face value:

Annual from the 8th year

Interest:

IPCA + 6.0053%

Payment of interest:

Semiannually

Reprice:

Not applicable

Summary of debentures maturity dates distribution

The debentures have maturity dates distributed as shown below (includes accrued interest through December 31, 2022):
 

Maturity

 

12/31/2022


Charges(1) 

 

(77,949

)

Mar/2023

 

1,725,000


Dec/2023

 

660,000


Apr/2024

 

469,937


Oct/2024

 

282,790


Nov/2024

 

90,000


Dec/2025

 

303,845


Mar/2028

 

526,365


Sept/2028

 

1,052,762


Jun/2030

 

334,381


Jun/2031

 

334,381


Jun/2032

 

334,381


Total

 

6,035,893


 (1) Includes interest, transaction cost and mark to market.

v3.23.1
Trade Payables (Tables)
12 Months Ended
Dec. 31, 2022
Trade payables  
Summary of Trade Payables

a. Trade payables

 

 

12/31/2022


 

12/31/2021


Domestic suppliers

2,777,021


 

3,010,912


Foreign suppliers

1,674,287


 

445,805


Trade payables - related parties (see Note 9.a.2)

259,644


 

214,178


 

4,710,952


 

3,670,895


 

Some Company’s subsidiaries acquire oil-based fuels and LPG from Petrobras and its subsidiaries. These suppliers control almost all the markets for these products in Brazil.

 

b. Trade payables - reverse factoring 

 

 

12/31/2022


 

12/31/2021


Domestic suppliers - reverse factoring

2,429,497


 

1,948,033


Trade payables - reverse factoring - related parties (see Note 9.a.2)

-


 

89,339


Foreign suppliers - reverse factoring

237,397


 

81,687


 

2,666,894


 

2,119,059


v3.23.1
Salaries and related charges (Tables)
12 Months Ended
Dec. 31, 2022
Short-term employee benefits expense [abstract]  
Summary of Salaries and related charges

 

12/31/2022


 

12/31/2021

 

Provisions on salaries 

181,755


 

136,938

 

Profit sharing, bonus and premium

205,273


 

132,390

 

Social charges

70,785


 

52,739

 

Others

3,093


 

8,036

 

 

460,906


 

330,103

 

v3.23.1
Taxes Payable (Tables)
12 Months Ended
Dec. 31, 2022
Taxes Payable  
Summary of Taxes Payable

 

12/31/2022


 

12/31/2021


ICMS (State VAT)

131,587


 

146,598


IPI (Federal VAT)

4,553


 

4,163


PIS and COFINS (State VAT)

14,470


 

13,667


ISS (Municipal VAT)

23,610


 

45,533


Others

18,210


 

19,215


 

192,430


 

229,176


v3.23.1
Employee Benefits and Private Pension Plan (Tables)
12 Months Ended
Dec. 31, 2022
Employee benefits and private pension plan  
Post-employment benefits

The amounts related to such benefits are based on a valuation conducted by an independent actuary and reviewed by Management as of December 31, 2022.

 

 

12/31/2022


 

12/31/2021


Health and dental care plan (1)

164,428


 

159,867


Indemnification of FGTS

36,357


 

38,617


Seniority bonus

2,156


 

5,570


Life insurance (1)

12,615


 

11,665


Total

215,556


 

215,719


Current

21,809


 

21,082


Non-current

193,747


 

194,637


 

(1)     Applicable  to IPP, Tropical and Iconic.

Changes in provision for post-employment benefits

Changes in the present value of the post-employment benefit obligation occurred as follows:


 

12/31/2022


 

12/31/2021


Opening balance

215,719


 

284,724


Expense for the year of continuing operations

20,944


 

15,585


Expense (revenue) for the year of discontinued operations

494


 

2,951


Actuarial (gains) losses from changes in actuarial assumptions

(2,589

)

 

(58,954

)

Benefits paid directly by the Company and its subsidiaries

(19,012

)

 

(18,400

)

Exchange rates from post-employment benefits of foreign subsidiaries

-


 

217


Reclassification to liabilities held for sale (i)

-


 

(10,404

)

Closing balance

215,556


 

215,719


Post-employment benefit expense

The total expense for each year is presented below:

 

 

2022


 

2021


 

2020


Health and dental care plan

14,660


 

15,265


 

11,127


Indemnification of FGTS

4,766


 

4,409


 

6,199


Seniority bonus

563


 

(4,886

)

 

(6,821

)

Life insurance

955


 

797


 

1,117


Total

20,944


 

15,585


 

11,622


Significant actuarial assumptions adopted

The main actuarial assumptions used are:

 

Economic factors

12/31/2022


 

12/31/2021


 

% p.a.


 

% p.a.


Discount rate for the actuarial obligation at present value

9.97


 

8.93


Average projected salary growth rate

6.98


 

7.07


Inflation rate (long term)

3.50


 

3.25


Growth rate of medical services

7.64


 

7.38


Sensitivity analysis

Assumption


Change in assumptions


Decrease in liability

 

Change in assumptions


Increase in liability


Discount rate


increase by 1.0 p.p.


19,688

 

decrease by 1.0 p.p.


24,252


Wage growth rate


decrease by 1.0 p.p.


266

 

increase by 1.0 p.p.


477


Medical services growth rate


decrease by 1.0 p.p.


17,824

 

increase by 1.0 p.p.


21,847


v3.23.1
Provision for asset retirement obligation (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of other provisions [abstract]  
Changes in the provision for asset retirement obligation

Changes in the provision for asset retirement obligation are as follows:

 

Balance as of December 31, 2019

51,242


Additions (new tanks)

163


Expenditure with tanks removed

(4,306

)

Accretion expense

6,336


Balance as of December 31, 2020

53,435


Additions (new tanks)

451


Expenditure with tanks removed

(2,773

)

Accretion expense

5,598


Balance as of December 31, 2021

56,711


Additions (new tanks)

158


Expenditure with tanks removed

(9,528

)

Accretion expense

4,417


Balance as of December 31, 2022

51,758


Current

5,063


Non-current

46,695

v3.23.1
Provisions and Contingencies (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of contingent liabilities [abstract]  
Breakdown of provisions by nature

The table below shows the breakdown of provisions by nature and its movement:

 

Provisions

Balance as of 12/31/2021


 

Additions


 

Reversals


 

Payments


 

Interest


 

Balance as of 12/31/2022


IRPJ and CSLL (a.1)

552,172


 

7,154


 

(36,683

)

 

-


 

36,574


 

559,217


Tax

84,155


 

35,238


 

(14,907

)

 

(38,097

)

 

2,045


 

68,434


Civil, environmental and regulatory claims (a.2)

108,761


 

18,326


 

(9,980

)

 

(23,700

)

 

9


 

93,416


Labor litigation (a.3)

95,460


 

22,663


 

(22,387

)

 

(23,142

)

 

578


 

73,172


Provision for indemnities (a.4)

-


 

150,820


 

-


 

-


 

-


 

150,820


Others

91,637


 

4,812


 

(3,850

)

 

-


 

2,514


 

95,113


Total

932,185


 

239,013


 

(87,807

)

 

(84,939

)

 

41,720


 

1,040,172


Current

119,942


 

 


 

 


 

 


 

 


 

22,837


Non-current

812,243


 

 


 

 


 

 


 

 


 

1,017,335


Balances of escrow deposits

Balances of escrow deposits are as follows:

 

 

12/31/2022


 

12/31/2021


Tax

790,979


 

731,326


Labor

42,624


 

48,147


Civil and others

112,780


 

91,788


 

946,383


 

871,261


v3.23.1
Equity (Tables)
12 Months Ended
Dec. 31, 2022
Equity [abstract]  
Schedule of balance of treasury shares

The balance of treasury shares as of December 31, 2022 ias as follows (in number of shares):

 

 

 

12/31/2022


Balance of unrestricted shares held in treasury

 

19,974,556


Balance of treasury shares granted with right of use (see note 25.b)

 

6,184,427


Total balance of treasury shares as of December 31, 2022

 

26,158,983


Balance and changes in other reserves

Balance and changes in valuation adjustments of the Company are as follows:

 

 

Fair value of cash flow hedging instruments (i)


 

Fair value of financial investments


 

Actuarial gain/ (loss) of post-employment benefits (ii)


 

Non-controlling shareholders interest change (iii)


 

Others



Total


Balance as of December 31, 2019

(296,132

)

 

205


 

(47,759

)

 

197,369


 

-



(146,317

)

Changes in fair value of financial instruments

(477,570

)

 

64


 

-


 

-


 

-



(477,506

)

IRPJ and CSLL on fair value

164,425


 

-


 

-


 

-


 

-



164,425


Actuarial loss of post-employment benefits

-


 

-


 

(7,725

)

 

-


 

-



(7,725

)

Income and social contribution taxes on actuarial losses

-


 

-


 

2,133


 

-


 

-



2,133


Balance as at December 31, 2020

(609,277

)

 

269


 

(53,351

)

 

197,369


 

-



(464,990

)

Changes in fair value of financial instruments

12,036


 

(672

)

 

-


 

-


 



11,364


IRPJ and CSLL on fair value

(4,060

)

 

-


 

-


 

-


 



(4,060

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

49,550


 

-


 



49,550


IRPJ and CSLL on actuarial gains

-


 

-


 

(14,002

)

 

-


 



(14,002

)

Balance as of December 31, 2021

(601,301

)

 

(403

)

 

(17,803

)

 

197,369


 

-



(422,138

)

Changes in fair value of financial instruments

910,804


 

403


 

-


 

-


 

747



911,954


IRPJ and CSLL on fair value

(309,503

)

 

-


 

-


 

-


 

 



(309,503

)

Actuarial gains of post-employment benefits of subsidiaries

-


 

-


 

(610

)

 

-


 



(610

)

IRPJ and CSLL on actuarial gains

-


 

-


 

271


 

-


 



271


Balance as of December 31, 2022

-


 

-


 

(18,142

)

 

197,369


 

747



179,974



Balance and changes in cumulative translation adjustments

Balance and changes in cumulative translation adjustments of the Company are as follows:

 

 

2022


 

2021



2020


Initial balance

 

304,645


 

231,596



102,427


Currency translation adjustment of foreign subsidiaries

 

(269,482

)

 

97,113



202,277


Effect of foreign currency exchange rate variation on notes in the foreign market

 

80,057


 

(36,461

)

(110,770

)

IRPJ and CSLL on foreign currency exchange rate variation on notes in the foreign market

 

(27,219

)

 

12,397



37,662


Reclassification to income due to sale of investment

 

(88,001

)

 

-



 


Final balance

 

-


 

304,645



231,596


Summary of Balances and Changes in Consolidated Dividends Payable

Changes in dividends payable are as follows: 

Balance as of December 31, 2019 16,694
Provisions 710,206
Payments (284,767 )
Balance as of December 31, 2020 442,133
Provisions 478,366
Prescribed dividends (11,816 )
Payments (705,753 )
Reclassification to liabilities of subsidiaries held for sale (70 )

Balance as of December 31, 2021

202,860


Provisions

429,964


Prescribed dividends

(2,948

)

Payments

(581,351

)

Balance as of December 31, 2022

48,525


Dividends and Allocation of Net Income

The management's proposal for the allocation of net income for 2022 and for distribution of dividends is as follows:

Allocation of net income

12/31/2022


Net income for the year attributable to shareholders of Ultrapar

1,800,839


Legal reserve (5% of the net income)

90,042


Adjusted net income (basis for dividends)

1,710,797


 

 


Minimum mandatory dividends for the year (25% of the adjusted net income)

427,699


Total distribution

427,699


Interest on capital, net of income tax, already paid (R$ 0.35 per share) (*)

(396,314

)

Additional dividends to the minimum mandatory dividends

78,130


Balance of proposed dividends (R$ 0.10 per share)

109,515


 

 


Allocation of dividends

 


Minimum mandatory dividends for the year (25% of the adjusted net income) 

427,699


Balance of proposed dividends (R$ 0.07 per share)

78,130


 

 


Allocation of net income

 


Legal reserve (5% of the net income)

90,042


Statutory reserve

1,204,968


Minimum mandatory dividends for the year (25% of the adjusted net income)

396,314


Complementary minimum mandatory dividends for the year (25% of the adjusted net income)

31,385


Additional dividends to the minimum mandatory dividends

78,130


Total distribution of net income for the year attributable to shareholders of Ultrapar

1,800,839


(*) The gross amount of interest on capital was R$450,004

v3.23.1
Costs and expenses by nature (Tables)
12 Months Ended
Dec. 31, 2022
Expenses by nature [abstract]  
Expenses by nature

The Company presents its costs and expenses by function in the consolidated statement of income and presents below its expenses by nature:

 

 

2022



2021



2020


Raw materials and materials for use and consumption (1)

(135,651,809

)

(104,233,143

)

(68,851,960

)

Personnel expenses 

(1,657,783

)

(1,575,066

)

(1,414,567

)

Freight and storage

(1,033,718

)

(899,188

)

(1,073,971

)

Decarbonization obligation (2)

(638,542

)

(161,281

)

(124,287

)

Services provided by third parties

(442,379

)

(399,904

)

(184,532

)

Depreciation and amortization

(732,241

)

(653,118

)

(595,531

)

Amortization of right-of-use assets

(288,419

)

(260,716

)

(242,670

)

Advertising and marketing

(102,205

)

(106,352

)

(143,694

)

Extemporaneous tax credits (3)

34,247



213,183



136,561


Other expenses and income, net

45,604



(54,432

)

(102,900

)

Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

 

 



 



 


Classified as:

 



 



 


Cost of products and services sold

(136,276,257

)

(104,827,966

)

(70,056,447

)

Selling and marketing

(2,141,985

)

(1,931,666

)

(1,611,152

)

General and administrative expenses

(1,534,481

)

(1,466,551

)

(993,986

)

Other operating income (expenses), net

(514,522

)

96,166



64,034


Total

(140,467,245

)

(108,130,017

)

(72,597,551

)

(1) Includes credits of PIS and COFINS registered on 2022 that refers to Law 192. For more information, see Note 8.

 

(2) Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.

 

(3) Refers substantially to PIS and COFINS credits recorded in 2021 and 2022. On March 15, 2017, due to general repercussions, the STF decided that ICMS does not compose the PIS and COFINS calculation basis. After filing of the Federal Government's Motion for Clarification, the STF definitively ruled about the thesis on May 13, 2021, reaffirming the exclusion of the ICMS from the PIS and COFINS calculation basis and modulating the effects of the decision for the lawsuits filed after March 15, 2017. Certain subsidiaries have credits arising from favorable decisions on the exclusion of ICMS from the PIS and COFINS calculation basis, and the respective subsidies for proving the amounts to be refunded were duly confirmed by Management and recorded in Other operating income (expenses), net in the statement of income.

v3.23.1
Financial result, net (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of Finance Income (Expense) [Abstract]  
Financial result, net

 

2022



2021



2020


Financial income:

 



 



 


Interest on financial investments

388,675



101,326



93,667


Interest from customers

128,052



109,999



132,155


Changes in subscription warrants (see Note 24)

5,099



33,180



-


Selic interest on PIS/COFINS credits

35,268



201,795



121,565


Update of provisions and other income

149,595



13,854



10,279


 

706,689



460,154



357,666


 

 



 



 


Financial expenses:

 



 



 


Interest on loans and debentures

(1,465,259

)

(716,969

)

(658,980

)

Interest on leases payable

(128,069

)

(110,878

)

(109,318

)

Bank charges, financial transactions tax, and other taxes

(119,828

)

(70,801

)

(46,878

)

Exchange variations, net of gain (loss) on hedging instruments

(458,032

)

(239,106

)

(58,944

)

Changes in subscription warrants – indemnification (see Note 24)

-



-



(17,353

)

Update of provisions, net, and other expenses 

(4,709

)

(85,132

)

(16,541

)

 

(2,175,897

)

(1,222,886

)

(908,014

)

Financial result, net

(1,469,208

)

(762,732

)

(550,348

)

v3.23.1
Earnings per share (Tables)
12 Months Ended
Dec. 31, 2022
Earnings per share [abstract]  
Basic and diluted earnings per share

The table below presents a reconciliation of numerators and denominators used in computing earnings per share. The Company has a stock plan and subscription warrants, as mentioned in Notes 9.c and 24, respectively.

 

 

2022


 

2021


 

2020 


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


 

Continuing operations



Discontinued operations(i)



Total


Basic earnings per share 

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of shares outstanding (in thousands)

1,091,990



1,091,990



1,091,990


 

1,090,500



1,090,500



1,090,500


 

1,089,414



1,089,414



1,089,414


Basic earnings per share - R$

1.3727



0.2764



1.6491


 

0.7200



0.0598



0.7799


 

0.5625



0.2576



0.8201


Diluted earnings per share

 



 



 


 

 



 



 


 

 



 



 


Net income for the year of the Company

1,498,981



301,858



1,800,839


 

785,199



65,264



850,463


 

612,750



280,633



893,383


Weighted average number of outstanding shares (in thousands), including dilution effects

1,098,692



1,098,692



1,098,692


 

1,096,962



1,096,962



1,096,962


 

1,095,842



1,095,842



1,095,842


Diluted earnings per share - R$

1.3643



0.2747



1.6391


 

0.7158



0.0595



0.7753


 

0.5592



0.2561



0.8152


Weighted average number of shares (in thousands)

 



 



 


 

 



 



 


 

 



 



 


Weighted average number of shares for basic earnings per share

 



 



1,091,990


 

 



 



1,090,500


 

 



 



1,089,414


Dilution effect

 



 



 


 

 



 



 


 

 



 



 


Subscription warrants

 



 



3,445


 

 



 



3,548


 

 



 



3,570


Stock plan

 



 



3,257


 

 



 



2,914


 

 



 



2,858


Weighted average number of shares for diluted earnings per share

 



 



1,098,692


 

 



 



1,096,962


 

 



 



1,095,842



(i) For further details, see Note 4.c.1
(ii) For further details, see Note 4.c.2

v3.23.1
Segment information (Tables)
12 Months Ended
Dec. 31, 2022
Segment information  
Schedule of Financial information of segments, Results

The main financial information of each of the continuing operations of the Company’s segments is as follows. For information on the discontinued operations, see Note 4.c.2:

 

2022


Results

Ipiranga



Ultragaz



Ultracargo



Others (1) (2)



Subtotal



Eliminations



Total


 

Net revenue from sales and services

131,337,966



11,483,398



867,148



218,770



143,907,282



(272,574

)

143,634,708


Transactions with third parties

131,253,637



11,480,697



684,350



216,024



143,634,708



-



143,634,708


Intersegment transactions

84,329



2,701



182,798



2,746



272,574



(272,574

)

-


Cost of products and services sold

(126,569,490

)

(9,446,354

)

(340,621

)

(185,914

)

(136,542,379

)

266,122



(136,276,257

)

Gross profit

4,768,476



2,037,044



526,527



32,856



7,364,903



(6,452

)

7,358,451


Operating income (expenses)

 



 



 



 



 



 



 


Selling and marketing

(1,552,636

)

(576,087

)

(12,701

)

(561

)

(2,141,985

)

-



(2,141,985

)

General and administrative

(828,753

)

(257,315

)

(134,208

)

(320,657

)

(1,540,933

)

6,452



(1,534,481

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

168,709



(1,381

)

(887

)

2,848



169,289



-



169,289


Other operating income (expenses), net

(525,966

)

6,235



3,330



1,879



(514,522

)

-



(514,522

)

Operating income (loss)

2,029,830



1,208,496



382,061



(283,635

)

3,336,752



-



3,336,752


Share of profit (loss) of subsidiaries, joint ventures and associates

(10,052

)

13



(3,880

)

26,100



12,181



-



12,181


Income (loss) before financial result and income and social contribution taxes

2,019,778



1,208,509



378,181



(257,535

)

3,348,933



-



3,348,933


Depreciation of PP&E and amortization of intangible assets

353,962



239,204



94,337



44,738



732,241



-



732,241


Amortization of contractual assets with customers - exclusivity rights

503,751



1,502



-



-



505,253



(346

)

504,907


Amortization of right-of-use assets

191,178



56,177



37,124



3,940



288,419



-



288,419


Total depreciation and amortization

1,048,891



296,883



131,461



48,678



1,525,913



(346

)

1,525,567





2021



Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Subtotal



Others (1) (4)

Eliminations



Total


 

Net revenue from sales and services

99,382,617



9,744,659



713,096



84,733



109,925,105



22,452

(214,715)



109,732,842



Transactions with third parties

99,382,547



9,740,657



518,762



84,733



109,726,699



6,143

-



109,732,842



Intersegment transactions

70



4,002



194,334



-



198,406



16,309

(214,715

)

-



Cost of products and services sold

(96,110,408

)

(8,626,340

)

(285,406

)

-



(105,022,154

)
70

194,118



(104,827,966

)

Gross profit

3,272,209



1,118,319



427,690



84,733



4,902,951



22,522

(20,597

)

4,904,876



Operating income (expenses)























Selling and marketing

(1,409,350

)

(438,697

)

(9,213

)

(71,345

)

(1,928,605

)
(6,184 )

-



(1,934,789

)
Loss allowance (reversion) for expected credit losses 23,536

(20,482 )
69

-

3,123

-

-

3,123

General and administrative

(846,441)



(202,002

)

(127,117

)

(113,544

)

(1,289,104

)
(198,044 )

20,597



(1,466,551

)

Gain (loss) on disposal of property, plant and equipment and intangible assets

183,862



2,138



(1,754

)

(9

)

184,237



(48 )

-



184,189



Other operating income (expenses), net

74,574



10,976



3,876



5,159



94,585



1,581

-



96,166



Operating income (loss)

1,298,390



470,252



293,551



(95,006

)

1,967,187



(180,173 )

-



1,787,014



Share of profit (loss) of subsidiaries, joint ventures and associates

(859

)

(104

)

602



-



(361

)
(17,273 )

-



(17,634

)

Operating income before finance income (expenses) and income and social contribution taxes

1,297,531



470,148



294,153



(95,006

)

1,966,826



(197,446 )

-



1,769,380



Depreciation of PP&E and amortization of intangible assets

325,942



211,014



76,421



14,365



627,742



25,376

-



653,118



Amortization of contractual assets with customers - exclusivity rights

280,975



1,546



-



-



282,521



-

-



282,521



Amortization of right-of-use assets

182,245



46,579



25,440



267



254,531



6,185

-



260,716



Total of depreciation and amortization

789,162



259,139



101,861



14,632



1,164,794



31,561

-



1,196,355




2020 


Income

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Subtotal Segments



Others (1) (4)



Elimination



Total



Net revenue from sales and services

66,133,035



7,408,342



644,177



17,223

74,202,777



48,325



(193,046

)

74,058,056


Transactions with third parties

66,132,828



7,403,632



504,725



17,223

74,058,408



352



-



74,058,056


Intersegment transactions

207



4,710



139,452



-

144,369



48,677



(193,046

)

-


Cost of products and services sold

(63,609,871

)

(6,310,157

)

(270,010

)
-

(70,190,038

)

207



133,384



(70,056,447

)

Gross profit

2,523,164



1,098,185



374,167



17,223

4,012,739



48,532



(59,662

)

4,001,609


Operating income (expenses)

 



 



 






 



 



 



 


Selling and marketing

(1,164,779

)

(404,776

)

(7,278

)
(13,945 )

(1,590,778

)

(5,093

)

-



(1,595,871

)

Loss allowance (reversion) for expected credit losses

2,863



(18,514

)

370



-

(15,281

)

-



-



(15,281

)

General and administrative

(568,963

)

(196,883

)

(122,965

)
(33,164 )

(921,975

)

(131,673

)

59,662



(993,986

)

Gain (loss) on disposal of property, plant and equipment and intangibles

78,952



7,936



(1,433

)
-

85,455



-



-



85,455


Other operating income, net

44,195



8,265



8,898



920

62,278



1,756



-



64,034


Operating income (loss)

915,432



494,213



251,759



(28,966 )

1,632,438



(86,478

)

-



1,545,960


Share of profit (loss) of subsidiaries, joint ventures and associates

(932

)

(53

)

392



-

(593

)

(43,438

)

-



(44,031

)

Operating income before finance income (expenses) and income and social contribution taxes

914,500



494,160



252,151



(28,966 )

1,631,845



(129,916)



-



1,501,929


Depreciation of PP&E and amortization of intangible assets charges

314,511



192,241



65,838



4,053

576,643



18,888



-



595,531


Amortization of contractual assets with customers – exclusive rights

287,800



1,636



-



-

289,436



-



-



289,436


Amortization of right-of-use assets

177,039



41,015



19,482



40

237,576



5,094



-



242,670


Total of depreciation and amortization

779,350



234,892



85,320



4,093

1,103,655



23,982



-



1,127,637


 

(1) Includes in the line “General and administrative” and revenue on disposal of PP&E and intangibles the amount of R$ 157,621 in 2022 (R$ 154,640 in 2021 and R$ 87,363 in 2020) of expenses related to Ultrapar's holding structure, including the Presidency, Financial Board, Legal Board, Board of Directors and Fiscal Council, Risk, Compliance and Audit Board and Sustainability Board.
(2)

The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR. In 2022, Ultrapar has ceased to present Abastece Aí as a separate segment,due to the small relevance of this business relative to the overall results of the Company. 

Schedule of Financial information of segments, Main indicators - Cash flows

12/31/2022


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

426,861



318,750



175,984



6,641



929,236



-



929,236


Capitalized interest and other items included in property, plant and equipment and provision for ARO

32,628



-



-



-



32,628



-



32,628


Acquisition of intangible assets

194,385



38,876



9,125



35,214



277,600



-



277,600


Payments of contractual assets with customers - exclusivity rights

769,119



-



-



-



769,119



-



769,119


Decarbonization credits (note 16)

635,130



-



-



-



635,130



-



635,130


 

12/31/2021


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Eliminations



Total


Acquisition of property, plant and equipment

386,693



336,871



298,272



636

5,947



1,028,419



-



1,028,419


Capitalized interest and other items included in property, plant and equipment and provision for ARO

7,683



-



2,782






-



10,465



-



10,465


Acquisition of intangible assets

156,498



30,150



15,819



34,824

197



237,488



-



237,488


Payments of contractual assets with customers - exclusivity rights

420,261



-



-






-



420,261



-



420,261


Decarbonization credits (note 16)

176,837



-



-






-



176,837



-



176,837



  12/31/2020 


Main indicators - Cash flows

Ipiranga



Ultragaz



Ultracargo



Abastece aí



Others (3)



Subtotal Segments

Elimination



Total


 

Acquisition of property, plant, and equipment

245,980



276,470



211,287



5,149



11,732



750,618

-



750,618


Acquisition of intangible assets

85,337



32,613



5,596



10,285



20,703



154,534

-



154,534


Payments of contractual assets with customers – exclusive rights

351,233



4,812



-



-



-



356,045

-



356,045


Decarbonization credits (see Note 16)

125,345



-



-



-



-



125,345

-



125,345


Schedule of Financial information of segments, Asset reclassification

12/31/2022


Assets

Ipiranga



Ultragaz



Ultracargo



Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

23,342,826



4,281,857



3,045,407



5,770,913



36,441,003



-



36,441,003


 

12/31/2021


Assets

Ipiranga



Ultragaz



Ultracargo



Abastece aí

Others (3)



Subtotal Segments



Discontinued operations



Total


Total assets (excluding intersegment transactions)

21,050,793



3,233,736



2,675,453



152,212

897,246



28,009,440



11,000,917



39,010,357



(3)

The “Others” column comprises the parent company Ultrapar (including goodwill from certain acquisitions) and the subsidiaries Millenium, Serma, Imaven, Ultrapar International, UVC Investimentos and UVC - Fundo de investimento.

(4) The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR.
Schedule of Revenue from operations abroad

The subsidiaries generate revenue from operations in Brazil, as well as from exports of products and services to foreign customers, as disclosed below: 

 

 

2022



2021



2020


Net revenue from sales and services:

 



 



 


Brazil

140,801,146



109,598,146



73,941,162


Europe

607,416



18,876



34,460


Singapore

359,250



-



-


United States of America and Canada

1,785,413



35,279



29,935


Other Latin American countries

73,351



69,523



45,356


Others

8,132



11,018



7,143


Total

143,634,708



109,732,842



74,058,056

v3.23.1
Risks and Financial Instruments (Tables)
12 Months Ended
Dec. 31, 2022
Disclosure of detailed information about financial instruments [abstract]  
Assets and liabilities in foreign currencies

 

12/31/2022


 

12/31/2021


Assets in foreign currency

 


 

 


Cash, cash equivalents and financial investments in foreign currency (except hedging instruments)

311,017


 

122,242


Foreign trade receivables, net of allowance for expected credit losses 

6,131


 

1,324


Other receivables

727,057


 

-


Other assets of foreign subsidiaries

280,738


 

186,548


Asset exposure from subsidiaries held for sale

-


 

3,839,194


 

1,324,943


 

4,149,308


Liabilities in foreign currency

 


 

 


Financing in foreign currency, gross of transaction costs and discount

(5,213,100

)

 

(8,860,833

)

Payables arising from imports

(1,939,984

)

 

(649,107

)

Liabilities exposure of subsidiaries held for sale

-


 

(884,402

)

 

(7,153,084

)

 

(10,394,342

)

Foreign currency hedging instruments

5,274,302


 

2,933,572


Foreign currency hedging instruments from subsidiaries held for sale 

-


 

1,786,471


Net liability position - total

(553,839

)

 

(1,524,991

)

Net (liability) asset position - effect on statement of income

(553,839

)

 

(498,604

)

Net liability position - effect on equity in subsidiaries held for sale

-


 

(1,026,387

)
Sensitivity analysis of assets and liabilities in foreign currency

The table below shows the effects of the exchange rate changes on the net liability position of R$ 553,839 in foreign currency as of December 31, 2022:

 

 

Risk

Base Scenario


Effect on statement of income

Real devaluation

(26,555

)

 

Net effect

(26,555

)

Effect on statement of income

Real appreciation

26,555


 

Net effect

26,555


 

(*) Average US dollar on December 31, 2022, according to benchmark rates as published by B3.

Financial assets and liabilities exposed to floating interest rates

The financial assets and liabilities exposed to floating interest rates are demonstrated below:

 

 

Note

12/31/2022


 

12/31/2021


DI

 

 


 

 


Cash equivalents

5.a

5,204,766


 

1,943,164


Financial investments

5.b

406,683


 

1,607,608


Loans and debentures

17

(2,460,698

)

 

(4,855,517

)

Liability position of foreign exchange hedging instruments - DI

32.g

(2,651,609

)

 

(2,283,625

)

Liability position of fixed interest instruments + IPCA - DI

32.g

(3,416,868

)

 

(2,364,583

)

Net liability position in DI

 

(2,917,726

)

 

(5,952,953

)







TJLP

 

 


 

 


Loans – TJLP

17

-


 

(326

)

Net liability position in TJLP

 

-


 

(326

)







LIBOR

 

 


 

 


Asset position of foreign exchange hedging instruments - LIBOR

32.g

-


 

279,047


Loans - LIBOR

17

-


 

(275,936

)

Net liability position in LIBOR

 

-


 

3,111


Total net liability position exposed to floating interest

 

(2,917,726

)

 

(5,950,168

)
Sensitivity analysis of floating interest rate risk

The tables below show the incremental expenses and income that would be recognized in finance income, if the market curves of floating interest at the base date were applied to the average balances of the current year, due to the effect of floating interest rate.

 

 

 

12/31/2022


Exposure to interest rate risk

Risk

Probable Scenario


Interest effect on cash equivalents and financial investments

Increase in DI (i)

26,382


Interest effect on debt in DI

Increase in DI (i)

(34,907

)

Effect on income of short positions in DI of debt hedging instruments

Increase in DI (i)

(102,175

)

Incremental expenses

 

(110,700

)

Interest effect on debt in TJLP

Increase in TJLP (ii)

-


Incremental expenses

 

-



(i) Base rates used was 12.37% and sensivity rate was 13.41%.

(ii) Base rates used was 6.08% and sensivity rate was 7.20%.

Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments

The credit risk of financial institution and government related to cash, cash equivalents and financial investments is summarized below:

 

 

 

Fair value


Counterparty credit rating

 

12/31/2022


 

12/31/2021


AAA

 

5,720,996


 

3,606,000


AA

 

809,583


 

740,879


A

 

3,457


 

116,594


Others (*)

 

50,926


 

-


Total

 

6,584,962


 

4,463,473


 

(*) Refers substantially to investiments with minoritary participation of UVC, which are classificated in long term financial investments.

Loss allowance for expected credit losses balances on trade receivables

The Company’s subsidiaries request guarantees related to trade receivables and other receivables in specific situations to customers. The Company’s subsidiaries maintained the following allowances for expected credit losses:

 

 

12/31/2022

 


12/31/2021


Ipiranga

373,514

 


422,542


Ultragaz

120,076

 


135,565


Ultracargo

2,450

 


1,526


Total

496,040

 


559,633


Credit risk exposure

The table below presents information on credit risk exposure, resulting from the balances of trade receivables and reseller financing:

 

 

12/31/2022

 


12/31/2021


 

Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses

 


Weighted average rate of losses

 


Accounting balance

 


Allowance for expected credit losses


Current

0.5%

 


4,756,388

 


22,752

 


0.6%

 


3,901,536

 


23,476


Less than 30 days

7.5%

 


29,817

 


2,230

 


7.3%

 


109,284

 


8,005


31-60 days

11.1%

 


22,633

 


2,516

 


20.4%

 


57,545

 


11,746


61-90 days

26.5%

 


32,522

 


8,617

 


23.0%

 


39,177

 


9,016


91-180 days

34.4%

 


58,529

 


20,159

 


49.1%

 


50,588

 


24,818


More than 180 days

50.7%

 


868,072

 


439,766

 


57.5%

 


838,532

 


482,572


 

 

 


5,767,961

 


496,040

 


 

 


4,996,662

 


559,633


Summary of loss allowance for expected credit losses balances by geographic area

The information on allowance for expected credit losses balances by geographic area is as follows:

 

 

12/31/2022

 


12/31/2021


Brazil

495,929

 


559,532


United States of America and Canada

61

 


3


Other Latin American countries

31

 


15


Europe

5

 


66


Others

14

 


17


 

496,040

 


559,633


Positions of derivative financial instruments to hedge commodity price risk

The table below shows the positions of hedging financial instruments to hedge commodity price risk as of December 31, 2022 and December 31, 2021:

 

Derivative

 

Contract

 

Notional amount (m 3)

 


Notional amount (USD thousand)

 


Fair value (R$ thousand)

 


Possible scenario (∆ of 10% - R$ thousand)


 

 

Position

 

Product

 

Maturity

 

12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021

 


12/31/2022

 


12/31/2021


Term

 

Sold

 

Heating Oil

 

Jul-23

 

158,828

 


167,255

 


150,498

 


103,148

 


(52,214

)

2,269

 


(124,293

)

(55,066

)

Term

 

Sold

 

RBOB

 

Jan-23

 

52,466

 


29,413

 


31,382

 


17,112

 


(15,481

)

(967

)

(33,404

)

(10,613

)

 

 

 

 

 

 

 

 

 

 


 

 


 

 


 

 


(67,695

)

1,302

 


(157,697

)

(65,679

)
Contractual undiscounted cash outflows

The table below presents a summary of financial liabilities and leases payable as of December 31, 2022 by the Company and its subsidiaries, listed by maturity. The amounts disclosed in this table are the contractual undiscounted cash flows, and, therefore, these amounts may be different from the amounts disclosed in the statement of financial position.

 

 

Total



Less than 1 year



Between 1 and 3 years



Between 3 and 5 years



More than 5 years


Loans including future contractual interest (1) (2)

13,960,937



3,744,329



2,524,250



2,993,156



4,699,202


Derivative instruments (3)

2,292,609



584,748



725,668



648,202



333,991


Trade payables

7,377,846



7,377,846



-



-



-


Leases payable

2,404,105



343,792



596,602



374,456



1,089,255


Financial liabilities of customers

551,587



184,159



354,389



13,039



-


Contingent consideration 89,640

-

-

89,640

-

 

(1) The interest on loans, it was estimated based on the US dollar futures contracts and on the future yield curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022.
(2)

Includes estimated interest on short-term and long-term loans until the contractually foreseen payment date.

(3) The hedging instruments were estimated based on the US dollar futures contracts and the future curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022. In the table above, only the hedging instruments with negative results at the time of settlement were considered.
Schedule of leverage ratio at the end of the year

The leverage ratio at the end of the year is the following:

 

 

12/31/2022

 


12/31/2021


Loans and financing

13,274,130

 


17,725,954


Cash and cash equivalents, financial investments and derivative financial instruments

6,584,962

 


4,463,473


Net debt

6,689,168

 


13,262,481


Equity

12,174,968

 


10,469,240


Leverage ratio

54.94%

 


126.68%


Position of hedging instruments

The table below summarizes the gross balance of the position of hedging instruments contracted as well as of the gains (losses) that affect the equity and the statement of income of the Company and its subsidiaries:

 

Derivatives designated as hedge accounting

 

 

 

 

 

 

 

 


 

 


 

 


 


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD + 4.95 %

106.67% DI

 

Sept-25

 

32.h.1

 

221,339

 


106,550

 


(9,243

)

(121,296

)

Foreign exchange swap

 

Financing

 

USD +LIBOR-3M +1.14% 

105.00% DI

 

Jun-22

 

32.h.1

 

-

 


-

 


-

 


(21,566

)

Foreign exchange swap

 

Financing

 

EUR + 3.42%

111.60% DI 

 

Mar-23

 

32.h.1

 

9,709

 


1,954

 


-

 


2,573


Interest rate swap

 

Financing

 

 IPCA +5.03%

102.87% DI

 

Jun-32

 

32.h.1

 

3,226,054

 


173,741

 


(59,789

)

(143,762

)

Term

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,513

)

(5,069

)

NDF

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jul-23

 

32.h.1

 

181,880

 


2,936

 


(70,630

)

(944,896

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-23

 

32.h.1

 

127,233

 


4,712

 


(3,074

)

53,762


 

 

 

 

 

 

 

 

 

 

 

 

 


289,893

 


(152,249

)

(1,180,344

)

 

Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Note

 

Notional amount1

 


Fair value2 12/31/2021

 


Gains (losses) on 12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


Foreign exchange swap

 

Financing

 

USD +4.65%

104.87% DI

 

Sept-23

 

32.h.1

 

125,000

 


212,509

 


-

 


11,712


Foreign exchange swap

 

Financing

 

USD +LIBOR-3M

105.00% DI

 

Jun-22

 

32.h.1

 

50,000

 


109,332

 


-

 


10,779


Interest rate swap

 

Financing

 

4.59% + IPCA

102.00% DI

 

Sept-28

 

32.h.1

 

2,226,054

 


201,638

 


(35,170

)

(17,922

)

Interest rate swap

 

Financing

 

6.47%

99.94% DI

 

Nov-24

 

32.h.1

 

90,000

 


-

 


(9,044

)

(10,088

)

Term

 

Firm commitments

 

BRL

Heating Oil/ RBOB

 

Jan-22

 

32.h.1

 

120,260

 


3,115

 


(1,813

)

(130,773

)

NDF

 

Firm commitments

 

BRL

USD

 

Jan-22

 

32.h.1

 

68,361

 


7,048

 


(1,346

)

813


 

 

 

 

 

 

 

 

 

 

 

 

 


533,642

 


(47,373

)

(135,479

)

 

Derivatives not designated as hedge accounting

 

 

 

 

 

 


 

 


 

 


 


















Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value2 12/31/2022

 


Gains (losses) 12/31/2022


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2022

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jul-23

 

1,116,702

 


36,472

 


(54,067

)

(440,359

)

Interest rate swap

 

Financing

 

5.25%

1.36%

 

Jun-29

 

300,000

 


-

 


(308,821

)

(266,445

)

Foreign exchange swap

 

Financing

 

0.00%

52.99%

 

Jun-29

 

375,000

 


230,145

 


(9,174

)

(85,474

)

 

 

 

 

 

 

 

 

 

 

 


266,617

 


(372,062

)

(792,278

)


Product

 

Hedged object

 

Contracted rates

 

Maturity

 

Notional amount1

 


Fair value 12/31/2021

 


Gains (losses)  12/31/2021


 

 

 

 

Assets

Liabilities

 

 

 

12/31/2021

 


Assets

 


Liabilities

 


Income statement


NDF

 

Firm commitments

 

USD

BRL

 

Jun-22

 

625,762

 


26,516

 


(23,052

)

54,743


Interest rate swap

 

Financing

 

5.25%

DI - 1.36%

 

Jun-29

 

300,000

 


-

 


(126,752

)

(109,081

)

Foreign exchange swap

 

Financing

 

2.67%

100.00%

 

May-21

 

-

 


-

 


-

 


17


 

 

 

 

 

 

 

 

 

 

 


26,516

 


(149,804

)

(54,321

)

 

1 Currency as indicated.

2 Amounts, net of income tax.

Summary of foreign exchange hedging instruments designated as fair value hedge

The foreign exchange hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – US$

221,339

 


175,000


Result of hedging instruments - gain/(loss) - R$

(142,863

)

21,812


Fair value adjustment of debt - R$

28,000

 


47,064


Financial result of the debt - R$

28,291

 


(105,059

)

Average effective cost - DI %

107

 


104.90








Notional amount – EUR

9,709

 


-


Result of hedging instruments - gain/(loss) - R$

2,573

 


-


Fair value adjustment of debt - R$

(8

)

-


Average effective cost - DI %

112

 


-


For further information, see Note 17.b.1

 

 


 


 

The interest rate hedging instruments designated as fair value hedge are:

 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

3,226,054



2,226,054


Result of hedging instruments - gain/(loss) - R$

(143,762

)

(17,922

)

Fair value adjustment of debt - R$

(44,312

)

166,374


Financial result of the debt - R$

(293,955

)

(245,710

)

Average effective cost - DI %

102.9

 


102.0


 

In thousands, except the DI %

12/31/2022

 


12/31/2021


Notional amount – R$

90,000

 


90,000


Result of hedging instruments - gain/(loss) - R$

(5,069

)

(10,088

)

Fair value adjustment of debt - R$

(486

)

11,756


Financial result of the debt - R$

(6,330

)

(5,914

)

Average effective cost - DI %

99.9

 


99.9


 

The foreign exchange hedging instruments and commodities designated as fair value hedge are as described below and are concentrated in subsidiary IPP. The purpose of this relationship is to transform the cost of the imported product from fixed to variable until fuel blending, as occurs with the price adopted in its sales. IPP carries out these operations with over-the-counter derivatives that are designated in a hedge accounting relationship, as a fair value hedge in an amount equivalent to the inventories of imported product.

 

In thousands

12/31/2022

 


12/31/2021


Notional amount – US$

309,113



188,621


Result of hedging instruments - gain/(loss) - R$

(891,223

)

(129,670

)

Adjustment of inventory fair value – US$

34,126

 


(4,352

)
Fair values and the carrying values of the financial instruments

The fair values and the carrying amounts of the financial instruments, including foreign exchange and interest rate hedging instruments, are stated below:

 

 

 

Carrying value

 

Fair value


December 31, 2022

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2



Level 3


Financial assets:

 

 

 


 

 


 

 


 

 


 



 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 



 


Cash and banks

5.a

-

 


-

 


111,797

 


111,797

 


-



-


Fixed-income securities in local currency

5.a

-

 


-

 


5,204,766

 


5,204,766

 


-



-


Fixed-income securities in foreign currency

5.a

-

 


-

 


305,206

 


305,206

 


-



-


Financial investments

 

 

 


 

 


 

 


 

 


 



-


Fixed-income securities and funds in local currency

5.b

406,683

 


-

 


-

 


-

 


406,683



-


Fixed-income securities and funds in foreign currency

5.b

-

 


-

 


-

 


-

 


-



-


Foreign exchange, interest rate and commodity hedging instruments

5.b

556,510

 


-

 


-

 


-

 


556,510



-


Trade receivables

6.a

-

 


-

 


4,533,327

 


4,504,245

 


-



-


Reseller financing

6.b

-

 


-

 


1,234,634

 


1,234,613

 


-



-


Financial liabilities of customers

6.c

-

 


-

 


1,096,565

 


1,096,565

 


-



-


Total

 

963,193

 


-

 


12,486,295

 


12,457,192

 


963,193



-


Financial liabilities:

 

 

 


 

 


 

 


 

 


 



 


Financing

17.a

1,216,341

 


-

 


3,973,816

 


3,971,551

 


1,216,341



-


Debentures

17.a

3,575,195

 


-

 


2,460,698

 


-

 


5,949,028



-


Foreign exchange, interest rate and commodity hedging instruments

17.a

524,312

 


-

 


-

 


-

 


524,312



-


Trade payables

18.a

-

 


-

 


4,710,952

 


4,710,952

 


-



-


Trade payables – reverse factoring

18.b

-

 


-

 


2,666,894

 


2,666,894

 


-



-


Stock warrant – indemnification (1)

24

42,776

 


-

 


-

 


-

 


42,776



-


Financial liabilities of customers

 

450,586

 


-

 


-

 


450,586

 


-



-


Contingent consideration

34.a

89,640

 


-

 


-

 


-

 


-



89,640


Total

 

5,898,850

 


-

 


13,812,360

 


11,799,983

 


7,732,457



89,640


 

 

 

Carrying value

 


Fair value


December 31, 2021

Note

Measured at fair value through profit or loss

 


Measured at fair value through other comprehensive income

 


Measured at amortized cost

 


Level 1

 


Level 2


Financial assets:

 

 

 


 

 


 

 


 

 


 


Cash and cash equivalents

 

 

 


 

 


 

 


 

 


 


Cash and banks

5.a

-

 


-

 


334,547

 


334,547

 


-


Fixed-income securities in local currency

5.a

-

 


1,943,164

 


-

 


-

 


1,943,164


Fixed-income securities in foreign currency

5.a

2,363

 


-

 


-

 


2,363

 


-


Fixed-income securities and funds in local currency

5.b

1,607,608

 


-

 


-

 


1,607,608

 


-


Fixed-income securities and funds in foreign currency

5.b

-

 


103,239

 


-

 


-

 


103,239


Foreign exchange, interest rate and commodity hedging instruments

5.b

472,552

 


-

 


-

 


-

 


472,552


Trade receivables

6.a

-

 


-

 


3,438,995

 


3,367,012

 


-


Reseller financing

6.b

-

 


-

 


998,034

 


992,359

 


-


Total

 

2,082,523

 


2,046,403

 


4,771,576

 


6,303,889

 


2,518,955


Financial liabilities:

 

 

 


 

 


 

 


 

 


 


Financing

17.a

1,011,374

 


-

 


8,082,323

 


8,380,088

 


1,011,374


Debentures

17.a

2,487,244

 


-

 


4,599,525

 


4,529,439

 


2,487,244


Leases payable

14

-

 


-

 


1,348,311

 


1,348,311

 


-


Foreign exchange, interest rate and commodity hedging instruments

17.a

197,177

 


-

 


-

 


-

 


197,177


Trade payables

18

-

 


-

 


5,727,724

 


5,727,724

 


-


Stock warrant – indemnification (1)

24

51,296

 


-

 


-

 


-

 


51,296


Total

 

3,747,091

 


-

 


19,757,883

 


19,985,562

 


3,747,091


v3.23.1
Commitments (Tables)
12 Months Ended
Dec. 31, 2022
Commitments  
Contracts

Port

Minimum movement per year

Maturity

Aratu (*)

900,000 ton.

2022

Suape

250,000 ton.

2027

Suape

400,000 ton.

2029

Aratu

465,403 ton.

2031

Itaqui

1,468,105 m3

2049

 

(*) Contract in renovation phase with the competent organ.

v3.23.1
Business combinations (Tables)
12 Months Ended
Dec. 31, 2022
Business combinations  
Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date

The table below summarizes the provisional balances of assets acquired and liabilities assumed on the acquisition date, subject to adjustment for purchase price allocation and goodwill determination:

 

Assets

 


Cash and cash equivalents

1,586


Receivables

17


Other receivables

119


Property, plant and equipment

515


Intangible assets

902


Goodwill based on expected future profitability

99,679


Liabilities

 


Trade payables

14


Salaries and related charges

217


Taxes payable

9


Other payables

5,378


Acquisition value

97,200





Comprised by

 


Cash

7,560


Contingent consideration to be settled

89,640


Total consideration

97,200



Net cash outflow resulting from the acquisition

 


Consideration in cash

7,560


Cash and cash equivalents acquired

(1,586

)

Total

5,974


Schedule of earnout sensitivity analysis

The following table shows information on how the fair value of the contingent consideration was determined considering the basic assumptions used to define earnout. The following sensitivity analyses as of December 31, 2022, as shown below, were determined based on possible changes of assumptions, keeping all other assumptions constant.

 

Goals


Changes in goals


Increase in liability

 

Changes in goals


Decrease in liabilities


Accounting net cash flow and net revenue


increase by 25.0 p.p.


33,146

 

decrease by 25.0 p.p.


26,940


v3.23.1
Operations (Detail)
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
IPP [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ipiranga Produtos de Petróleo S.A.    
Location Brazil    
Segment Ipiranga    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
am/pm Comestveis Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary am/pm Comestíveis Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Icorban Correspondente Bancrio Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Icorban - Correspondente Bancário Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Ipiranga Trading Limited [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ipiranga Trading Limited    
Location British Virgin Islands    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Tropical Transportes Ipiranga Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Tropical Transportes Ipiranga Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Ipiranga Imobiliria Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ipiranga Imobiliária Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Ipiranga Logstica Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ipiranga Logística Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Oil Trading Importadora e Exportadora Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oil Trading Importadora e Exportadora Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Iconic Lubrificantes S.A [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Iconic Lubrificantes S.A.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 56.00% 56.00% 56.00%
Integra Frotas Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Integra Frotas Ltda.    
Location Brazil    
Segment Ipiranga    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Imaven Imoveis Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Imaven Imóveis Ltda.    
Location Brazil    
Segment Others    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Imifarma Produtos Farmaceuticos e Cosmeticos S A [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Imifarma Produtos Farmacêuticos e Cosméticos S.A.    
Location [1] Brazil    
Segment [1] Extrafarma    
Direct control [1] 0.00% 0.00% 0.00%
Indirect control [1] 0.00% 100.00% 100.00%
Ultragaz Participacoes Ltda. [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ultragaz Participações Ltda    
Location [2] Brazil    
Segment [2] Ultragaz    
Direct control [2] 100.00% 0.00% 0.00%
Indirect control [2] 0.00% 0.00% 0.00%
Ultragaz Energia Ltda. [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary [3] Ultragaz Energia Ltda    
Location [3] Brazil    
Segment [3] Ultragaz    
Direct control [3] 0.00% 0.00% 0.00%
Indirect control [3] 100.00% 100.00% 0.00%
Stella GD Intermediacao de Geracao Distribuida de Energia Ltda [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary Stella GD Intermediação de Geração Distribuída de Energia Ltda.    
Location [4] Brazil    
Segment [4] Ultragaz    
Direct control [4] 0.00% 0.00% 0.00%
Indirect control [4] 100.00% 0.00% 0.00%
Companhia Ultragaz S A [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Companhia Ultragaz S.A.    
Location [2] Brazil    
Segment [2] Ultragaz    
Direct control [2] 0.00% 0.00% 0.00%
Indirect control [2] 99.00% 99.00% 99.00%
Nova Paraná Distribuidora de Gás Ltda. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Nova Paraná Distribuidora de Gás Ltda.    
Location [5] Brazil    
Segment [5] Ultragaz    
Direct control [5] 0.00% 0.00% 0.00%
Indirect control [5] 100.00% 100.00% 100.00%
Utingas Armazenadora S.A. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Utingás Armazenadora S.A    
Location Brazil    
Segment Ultragaz    
Direct control 0.00% 0.00% 0.00%
Indirect control 57.00% 57.00% 57.00%
Bahiana Distribuidora De Gas Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Bahiana Distribuidora de Gás Ltda.    
Location [6] Brazil    
Segment [6] Ultragaz    
Direct control [6] 0.00% 0.00% 0.00%
Indirect control [6] 100.00% 100.00% 100.00%
LPG International Inc. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary LPG International Inc.    
Location [6] Cayman Islands    
Segment [6] Ultragaz    
Direct control [6] 0.00% 0.00% 0.00%
Indirect control [6] 100.00% 100.00% 100.00%
UVC Investimentos Ltda. [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary UVC Investimentos Ltda    
Location Brazil    
Segment Others    
Direct control 100.00% 0.00% 0.00%
Indirect control 0.00% 99.00% 99.00%
Centro de Conveniências Millennium Ltda. and subsidiaries [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary Centro de Conveniências Millennium Ltda. and subsidiaries    
Location Brazil    
Segment Others    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
Oxiteno S. A. Industria e Comercio [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno S.A. Indústria e Comércio    
Location [7] Brazil    
Segment [7] Oxiteno    
Direct control [7] 0.00% 100.00% 100.00%
Indirect control [7] 0.00% 0.00% 0.00%
Oxiteno Argentina Sociedad de Responsabilidad Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Argentina Sociedad de Responsabilidad Ltda.    
Location Argentina    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oleoquímica Industriae Comércio De Produtos Químicos Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oleoquímica Indústria e Comércio de Produtos Químicos Ltda.    
Location Brazil    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno Uruguay SA [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Uruguay S.A.    
Location Uruguay    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno México S.A de C.V [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno México S.A. de C.V.    
Location Mexico    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno Servicios Corporativos SA de CV [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Servicios Corporativos S.A. de C.V.    
Location Mexico    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno Servicios Industriales S.A. de C.V. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Servicios Industriales S.A. de C.V.    
Location Mexico    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno USA LLC [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno USA LLC    
Location United States    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Global petroleum products trading corporation [member]      
Disclosure of subsidiaries [line items]      
Subsidiary [8] Global Petroleum Products Trading Corp.    
Location [8] British Virgin Islands    
Segment [8] Oxiteno    
Direct control [8] 0.00% 0.00% 0.00%
Indirect control [8] 0.00% 100.00% 100.00%
Oxiteno Europe SPRL [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Europe SPRL    
Location Belgium    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno Colombia S A S [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Colombia S.A.S.    
Location Colombia    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Oxiteno Shanghai LTD [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Oxiteno Shanghai LTD.    
Location China    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Empresa Carioca de Produtos Quimicos S A [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Empresa Carioca de Produtos Químicos S.A.    
Location Brazil    
Segment Oxiteno    
Direct control 0.00% 0.00% 0.00%
Indirect control 0.00% 100.00% 100.00%
Ultracargo Operacoes Logisticas e Participacoes Ltda [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ultracargo - Operações Logísticas e Participações Ltda.    
Location Brazil    
Segment Ultracargo    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
Ultracargo Logística S.A.      
Disclosure of subsidiaries [line items]      
Subsidiary Ultracargo Logística S.A.    
Location [9] Brazil    
Segment [9] Ultracargo    
Direct control [9] 0.00% 0.00% 0.00%
Indirect control [9] 99.00% 99.00% 99.00%
TEAS Terminal Exportador de Alcool de Santos Ltda. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary TEAS – Terminal Exportador de Álcool de Santos Ltda.    
Location Brazil    
Segment Ultracargo    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
Ultracargo Vila do Conde Logística Portuária S.A. [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ultracargo Vila do Conde Logística Portuária S.A.    
Location [10] Brazil    
Segment [10] Ultracargo    
Direct control [10] 0.00% 0.00% 0.00%
Indirect control [10] 100.00% 100.00% 100.00%
Ultrapar International S.A. [member]      
Disclosure of subsidiaries [line items]      
Subsidiary Ultrapar International S.A.    
Location Luxembourg    
Segment Others    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
SERMA - Ass. dos usuários equip. proc. de dados [member]      
Disclosure of subsidiaries [line items]      
Subsidiary SERMA - Ass. dos usuários equip. proc. de dados    
Location Brazil    
Segment Others    
Direct control 0.00% 0.00% 0.00%
Indirect control 100.00% 100.00% 100.00%
UVC - Fundo de investimento em participações multiestratégia investimento no exterior [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary UVC - Fundo de investimento em participações multiestratégia investimento no exterior    
Location Brazil    
Segment Others    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
Eaí Clube Automobilista S.A. [Member]      
Disclosure of subsidiaries [line items]      
Subsidiary Eaí Clube Automobilista S.A.    
Location Brazil    
Segment Others    
Direct control 100.00% 100.00% 100.00%
Indirect control 0.00% 0.00% 0.00%
[1] On May 18, 2021, the Company announced the signing of an agreement for the sale of all shares of Extrafarma to Pague Menos. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”, being the transaction closed on August 1, 2022 after the fulfillment of  all conditions precedent. For further details, see note 4.c.1.
[2] On August 1, 2022, the subsidiary Companhia Ultragaz S.A. (“Ultragaz”) became directly controlled by Ultrapar. In November 2022, Ultragaz became an investee of Ultragaz Participações Ltda.
[3] On November 18, 2022, the name of subsidiary Ultragaz Comercial Ltda. was changed to Ultragaz Energia Ltda.
[4] On September 12, 2022, the Company through its subsidiary Ultragaz Energia Ltda., signed an agreement for the acquisition of all quotas of Stella GD Intermediação de Geração Distribuída de Energia Ltda. (“Stella”). The closing of the acquisition ocurred on October 1, 2022 (see note 33.a).
[5] Non-operating company in closing phase.
[6] On July 1, 2022, the indirect subsidiaries Bahiana Distribuidora de Gás Ltda. (“Bahiana”) and LPG International Inc. (“LPG”) became controlled by Ultragaz.
[7] On August 16, 2021, the Company announced the signing of an agreement for the sale of its interest in Oxiteno S.A. to Indorama. As of December 31, 2021, the Company reclassified the subsidiary’s balances to “assets and liabilities held for sale”. On April 1, 2022, the transaction was consummated.
[8] On January 27, 2022, the subsidiary Global Petroleum Products Trading Corp (“GPPT”) was dissolved.
[9] In April 2021, the name of subsidiary Terminal Químico de Aratu S.A - Tequimar was changed to Ultracargo Logística S.A. (“Ultracargo Logística”).
[10] On April 29, 2022, the name of subsidiary Tequimar Vila do Conde Logística Portuária S.A was changed to Ultracargo Vila do Conde Logística Portuária S.A.

v3.23.1
Operations - Operational impacts (Details Textuals)
$ in Millions
12 Months Ended
Oct. 01, 2022
BRL (R$)
Sep. 12, 2022
BRL (R$)
Aug. 01, 2022
BRL (R$)
Aug. 16, 2021
BRL (R$)
Aug. 16, 2021
USD ($)
Dec. 31, 2022
USD ($)
BRL (R$)
R$ / shares
Brazilian real per US dollar [member]            
Disclosure of operating segments [line items]            
Closing foreign exchange rate (R$ / Per_USD)           5.2177
Oxiteno S. A. Industria e Comercio [member]            
Disclosure of operating segments [line items]            
Final payment to be made in disposal group transaction | $           $ 150
Oxiteno S. A. Industria e Comercio [member] | Discontinued operations [member] | Indorama Ventures PLC            
Disclosure of operating segments [line items]            
Amount to be paid at closing date in disposal group transaction       R$ 5,448,000,000 $ 1,150  
Variations in working capital and net debt position in disposal group transaction       834,000,000 176  
Initial payment made in disposal group transaction       R$ 6,282,000,000 1,326  
Final payment to be made in disposal group transaction | $         $ 150  
Final payment due date       April 2024 April 2024  
Proportion of ownership interest in subsidiary (as a percent)       100.00% 100.00%  
Oxiteno S. A. Industria e Comercio [member] | Discontinued operations [member] | Indorama Ventures PLC | Brazilian real per US dollar [member]            
Disclosure of operating segments [line items]            
Closing foreign exchange rate (R$ / Per_USD) | R$ / shares           4.7372
Extrafarma [member]            
Disclosure of operating segments [line items]            
Borrowings, interest rate basis           DI rate + 0.5% p.a.
Extrafarma [member] | Discontinued operations [member]            
Disclosure of operating segments [line items]            
Aggregate sale price of subsidiary     R$ 700,000,000      
Amount to be paid at closing date in disposal group transaction     737,700,000      
Variations in working capital and net debt position in disposal group transaction     37,700,000      
Initial payment made in disposal group transaction     R$ 372,300,000      
Number of remaining installments     2      
Proportion of ownership interest in subsidiary (as a percent)     100.00%      
Extrafarma [member] | Discontinued operations [member] | Empreendimentos Pague Menos S.A [Member]            
Disclosure of operating segments [line items]            
Initial payment made in disposal group transaction     R$ 365,400,000      
Final payment to be made in disposal group transaction     R$ 182,700,000      
Final payment due date     August 2024      
Borrowings, interest rate basis     DI + 0,5% p.a.      
Extrafarma [member] | Discontinued operations [member] | Shareholders [Member]            
Disclosure of operating segments [line items]            
Initial payment made in disposal group transaction     R$ 6,900,000      
Ultragaz Comercial Ltda [member] | Stella GD Intermediação de Geração Distribuída de Energia Ltda [member]            
Disclosure of operating segments [line items]            
Total minimum acquisition value R$ 63,000,000 R$ 63,000,000        
Consideration in cash R$ 7,560,000 R$ 7,600,000        

v3.23.1
Basis of preparation and presentation of the consolidated financial statements and significant accounting policies - Additional Information (Detail)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Installments
Dec. 31, 2021
BRL (R$)
Dec. 31, 2020
BRL (R$)
Dec. 31, 2019
BRL (R$)
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Statutory tax rates in Brazil 34.00% 34.00% 34.00%  
Cumulative translation adjustments R$ 0 R$ 304,645 R$ 231,596 R$ 102,427
Average term of maturity of financial liabilities of customers | Installments 50      
Average rate of financial liabilities of customers 13.70%      
Extrafarma [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Impairment loss of assets before tax effect R$ 427,529      
Deferred income and social contribution tax expense (benefit) on impairment loss of assets 145,360      
Net impairment loss of assets R$ 282,169      
IRPJ [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Statutory tax rates in Brazil 25.00%      
CSLL [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Statutory tax rates in Brazil 9.00%      
Bottom of range [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Terms of reseller financing 12 months      
Top of range [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Terms of reseller financing 60 months      
Reseller financing rate per month 1.00%      
Weighted average [member]        
Basis Of Presentation And Summary Of Significant Accounting Policies [line items]        
Terms of reseller financing 40 months      

v3.23.1
Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Assets and liabilities from subsidiaries held for sale and discontinued operations    
Cash/ Net debt on December 31, 2020 R$ 6,689,168 R$ 13,262,481
Extrafarma [member] | Assets from subsidiaries held for sale    
Assets and liabilities from subsidiaries held for sale and discontinued operations    
Total value of purchase and sale agreement of subsidiary 700,000  
Cash/ Net debt on December 31, 2020 (99,897)  
Operation sale price 600,103  
Estimated working capital and net debt adjustments 121,522  
Cost of investment (1,115,102)  
Reversal of impairment (*) [1] 427,529  
Provision for indemnities (9,995)  
Transaction costs (13,282)  
Gain on disposal of investments before the effect of cessation of depreciation 10,775  
Cessation of depreciation (27,084)  
Gain (loss) on disposal of investments after the effect of depreciation (16,309)  
Current income and social contribution taxes 138,298  
Deferred income and social contribution taxes (141,962)  
Gain (loss) on disposal of investments, net R$ (19,973)  
[1] For more information, see Note .v

v3.23.1
Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details 1) - Oxiteno S. A. Industria e Comercio [member] - Assets from subsidiaries held for sale
R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Assets and liabilities from subsidiaries held for sale and discontinued operations  
Total value of purchase and sale agreement of subsidiary R$ 6,994,191
Working capital and net debt adjustments (13,146)
Proceeds from settlement of intercompany loan held by Oxiteno (3,980,702)
Adjustment to present value on transaction closing date referring to deferred installment (81,397)
Revenue from the sale of investments, net of adjustment to present value 2,918,946
Cost of investment (2,118,949)
Cumulative translation adjustments, net of cash flow hedging losses, reclassified to the statement of income (277,045)
Transaction costs (77,843)
Provision for indemnities (136,103)
Gain on disposal of investments before the effect of cessation of depreciation 309,006
Cessation of depreciation (51,372)
Gain (loss) on disposal of investments after the effect of depreciation 257,634
Current income and social contribution taxes (245,478)
Deferred income and social contribution taxes 46,247
Gain (loss) on disposal of investments, net R$ 58,403

v3.23.1
Discontinued operations (Details 1) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Current assets        
Cash and cash equivalents R$ 5,621,769 R$ 2,280,074 R$ 2,661,494 R$ 2,115,379
Financial investments and derivative financial instruments 520,352 1,804,122    
Trade receivables 4,149,111 3,375,246    
Inventories 4,906,083 3,918,772    
Recoverable taxes 1,610,312 1,061,227    
Non-current assets        
Financial investments and derivative financial instruments 442,841 379,277    
Related parties 0 490    
Deferred income and social contribution taxes 898,235 571,755    
Recoverable taxes 2,172,959 1,046,798    
Right-of-use assets 1,791,377 1,651,295    
Property, plant and equipment 5,862,413 5,534,591 8,005,860 7,572,762
Intangible assets 1,918,349 1,471,256 1,782,655 1,762,593
Total non-current assets 17,876,403 13,986,176    
Total assets held for sale 0 11,000,917    
Current liabilities        
Loans, financing and hedge derivative financial instruments 869,067 618,327    
Trade payables 4,710,952 3,670,895    
Trade payables – reverse factoring 2,666,894 2,119,059    
Salaries and related charges 460,906 330,103    
Taxes payables 192,430 229,176    
Income and social contribution taxes payable 315,053 196,348    
Post-employment benefits 21,809 21,082    
Provision for tax, civil and labor risks 22,837 119,942    
Leases payable 225,034 188,832    
Total current liabilities 12,766,252 12,640,230    
Non-current liabilities        
Loans, financing and hedge derivative financial instruments 4,845,393 8,672,547    
Related parties 3,492 3,534    
Deferred income and social contribution taxes 299 282    
Post-employment benefits 193,747 194,637    
Provision for tax, civil and labor risks 1,017,335 812,243    
Leases payable 1,298,735 1,159,479    
Total non-current liabilities 11,499,783 15,900,887    
Total equity R$ 12,174,968 10,469,240 R$ 9,910,265 R$ 9,835,175
Disposal groups classified as held for sale [member]        
Current assets        
Cash and cash equivalents   387,981    
Financial investments and derivative financial instruments   1,346,552    
Trade receivables   1,029,703    
Inventories   2,249,868    
Recoverable taxes   696,771    
Other assets   72,939    
Total current assets   5,783,814    
Non-current assets        
Financial investments and derivative financial instruments   492,430    
Related parties   0    
Deferred income and social contribution taxes   741,950    
Recoverable taxes   411,661    
Other assets   14,674    
Total non-current assets other than investments, tangible, intangible & right-of-use assets   1,660,715    
Investments   19,160    
Right-of-use assets   350,054    
Property, plant and equipment   2,941,904    
Intangible assets   245,270    
Total non-current assets   5,217,103    
Total assets held for sale   11,000,917    
Current liabilities        
Loans, financing and hedge derivative financial instruments   239,313    
Trade payables   717,338    
Trade payables – reverse factoring   725,246    
Salaries and related charges   222,784    
Taxes payables   69,684    
Income and social contribution taxes payable   12,415    
Post-employment benefits   3,311    
Provision for tax, civil and labor risks   3,466    
Leases payable   76,014    
Other liabilities   68,706    
Total current liabilities   2,138,277    
Non-current liabilities        
Loans, financing and hedge derivative financial instruments   2,434    
Related parties   0    
Deferred income and social contribution taxes   12,964    
Post-employment benefits   7,093    
Provision for tax, civil and labor risks   35,519    
Leases payable   337,701    
Other liabilities   7,433    
Total non-current liabilities   403,144    
Total equity   0    
Total liabilities held for sale and equity   2,541,421    
Eliminations | Disposal groups classified as held for sale [member]        
Current assets        
Cash and cash equivalents [1]   0    
Financial investments and derivative financial instruments [1]   0    
Trade receivables [1]   0    
Inventories [1]   0    
Recoverable taxes [1]   0    
Other assets [1]   (5,035)    
Total current assets [1]   (5,035)    
Non-current assets        
Financial investments and derivative financial instruments [1]   0    
Related parties [1]   (1,674)    
Deferred income and social contribution taxes [1]   0    
Recoverable taxes [1]   0    
Other assets [1]   0    
Total non-current assets other than investments, tangible, intangible & right-of-use assets [1]   (1,674)    
Investments [1]   (22,047)    
Right-of-use assets [1]   0    
Property, plant and equipment [1]   0    
Intangible assets [1]   0    
Total non-current assets [1]   (23,721)    
Total assets held for sale [1]   (28,756)    
Current liabilities        
Loans, financing and hedge derivative financial instruments [1]   (62,841)    
Trade payables [1]   (1,949)    
Trade payables – reverse factoring [1]   0    
Salaries and related charges [1]   0    
Taxes payables [1]   0    
Income and social contribution taxes payable [1]   0    
Post-employment benefits [1]   0    
Provision for tax, civil and labor risks [1]   0    
Leases payable [1]   0    
Other liabilities [1]   (13,264)    
Total current liabilities [1]   (78,054)    
Non-current liabilities        
Loans, financing and hedge derivative financial instruments [1]   (5,725,594)    
Related parties [1]   (2,875)    
Deferred income and social contribution taxes [1]   0    
Post-employment benefits [1]   0    
Provision for tax, civil and labor risks [1]   0    
Leases payable [1]   0    
Other liabilities [1]   0    
Total non-current liabilities [1]   (5,728,469)    
Total equity [1]   (2,681,729)    
Total liabilities held for sale and equity [1]   (8,488,252)    
Oxiteno S. A. Industria e Comercio [member] | Disposal groups classified as held for sale [member]        
Current assets        
Cash and cash equivalents   334,882    
Financial investments and derivative financial instruments   1,346,552    
Trade receivables   993,960    
Inventories   1,671,662    
Recoverable taxes   634,718    
Other assets   51,829    
Total current assets   5,033,603    
Non-current assets        
Financial investments and derivative financial instruments   492,430    
Related parties   0    
Deferred income and social contribution taxes   541,756    
Recoverable taxes   393,723    
Other assets   10,538    
Total non-current assets other than investments, tangible, intangible & right-of-use assets   1,438,447    
Investments   36,207    
Right-of-use assets   31,871    
Property, plant and equipment   2,787,241    
Intangible assets   160,141    
Total non-current assets   4,453,907    
Total assets held for sale   9,487,510    
Current liabilities        
Loans, financing and hedge derivative financial instruments   302,154    
Trade payables   493,800    
Trade payables – reverse factoring   725,246    
Salaries and related charges   176,941    
Taxes payables   53,988    
Income and social contribution taxes payable   12,415    
Post-employment benefits   3,311    
Provision for tax, civil and labor risks   2,946    
Leases payable   11,702    
Other liabilities   68,721    
Total current liabilities   1,851,224    
Non-current liabilities        
Loans, financing and hedge derivative financial instruments   5,728,028    
Related parties   2,875    
Deferred income and social contribution taxes   12,964    
Post-employment benefits   6,806    
Provision for tax, civil and labor risks   33,149    
Leases payable   22,786    
Other liabilities   5,341    
Total non-current liabilities   5,811,949    
Total equity   1,824,337    
Total liabilities held for sale and equity   9,487,510    
Extrafarma [member] | Disposal groups classified as held for sale [member]        
Current assets        
Cash and cash equivalents   53,099    
Financial investments and derivative financial instruments   0    
Trade receivables   35,743    
Inventories   578,206    
Recoverable taxes   62,053    
Other assets   26,145    
Total current assets   755,246    
Non-current assets        
Financial investments and derivative financial instruments   0    
Related parties   1,674    
Deferred income and social contribution taxes   200,194    
Recoverable taxes   17,938    
Other assets   4,136    
Total non-current assets other than investments, tangible, intangible & right-of-use assets   223,942    
Investments   5,000    
Right-of-use assets   318,183    
Property, plant and equipment   154,663    
Intangible assets   85,129    
Total non-current assets   786,917    
Total assets held for sale   1,542,163    
Current liabilities        
Loans, financing and hedge derivative financial instruments   0    
Trade payables   225,487    
Trade payables – reverse factoring   0    
Salaries and related charges   45,843    
Taxes payables   15,696    
Income and social contribution taxes payable   0    
Post-employment benefits   0    
Provision for tax, civil and labor risks   520    
Leases payable   64,312    
Other liabilities   13,249    
Total current liabilities   365,107    
Non-current liabilities        
Loans, financing and hedge derivative financial instruments   0    
Related parties   0    
Deferred income and social contribution taxes   0    
Post-employment benefits   287    
Provision for tax, civil and labor risks   2,370    
Leases payable   314,915    
Other liabilities   2,092    
Total non-current liabilities   319,664    
Total equity   857,392    
Total liabilities held for sale and equity   R$ 1,542,163    
[1] Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

v3.23.1
Discontinued operations (Details 2) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Discontinued operations      
Net revenue from sales and services R$ 143,634,708 R$ 109,732,842 R$ 74,058,056
Cost of products and services sold (136,276,257) (104,827,966) (70,056,447)
Gross profit 7,358,451 4,904,876 4,001,609
Operating income (expenses)      
Selling marketing and administrative (2,141,985) (1,931,666) (1,611,152)
Other operating income (expenses), net (514,522) 96,166 64,034
Operating income (loss) 3,336,752 1,787,014 1,545,960
Income (loss) before finance result and income and social contribution taxes 3,348,933 1,769,380 1,501,929
Financial result, net (1,469,208) (762,732) (550,348)
Income (loss) before income and social contribution taxes 1,879,725 1,006,648 951,581
Net income (loss) for the year 301,858 65,264 280,633
Depreciation and amortization for the year 1,525,567 1,196,355 1,127,637
Net cash provided by (used in) operating activities 30,550 982,519 874,106
Net cash (used in) provided by investing activities (220,190) (158,733) (487,390)
Net cash provided by (used in) financing activities (179,025) (552,967) (919,684)
Effect of exchange rate changes on cash and cash equivalents in foreign currency (19,316) 56,553 114,822
Extrafarma [member]      
Operating income (expenses)      
Impairment (427,529)    
Eliminations      
Discontinued operations      
Net revenue from sales and services (272,574) (214,715) (193,046)
Cost of products and services sold 266,122 194,118 133,384
Gross profit (6,452) (20,597) (59,662)
Operating income (expenses)      
Other operating income (expenses), net 0 0 0
Operating income (loss) 0 0 0
Income (loss) before finance result and income and social contribution taxes 0 0 0
Depreciation and amortization for the year (346) 0 0
Total Discontinued operations      
Discontinued operations      
Net revenue from sales and services 3,267,533 9,065,795 7,183,046
Cost of products and services sold (2,485,069) (6,901,181) (5,571,767)
Gross profit 782,464 2,164,614 1,611,279
Operating income (expenses)      
Selling marketing and administrative (639,966) (1,664,015)  
Impairment   (427,529)  
Other operating income (expenses), net 246,110 25,815  
Operating income (loss) 388,608 98,885 266,095
Share of profit (loss) of subsidiaries, joint ventures and associates (231) 48  
Income (loss) before finance result and income and social contribution taxes 388,377 98,933 266,509
Financial result, net 52,525 (146,970) 280,974
Income (loss) before income and social contribution taxes 440,902 (48,037) 547,483
Income and social contribution taxes (217,500) 113,301  
Net effect of cessation of depreciation [1] 78,456    
Net income (loss) for the year 301,858 65,264 280,633
Depreciation and amortization for the year   463,414 [2] 428,962 [3]
Net cash provided by (used in) operating activities 30,550 982,519  
Net cash (used in) provided by investing activities (220,190) (158,733)  
Net cash provided by (used in) financing activities (179,025) (552,967)  
Effect of exchange rate changes on cash and cash equivalents in foreign currency (19,316) 56,553  
Increase (decrease) in cash and cash equivalents (387,981) 327,372 (418,146)
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member]      
Discontinued operations      
Net revenue from sales and services 2,039,287 7,102,771 5,210,704
Cost of products and services sold (1,580,000) (5,540,773) (4,188,711)
Gross profit 459,287 1,561,998 1,021,993
Operating income (expenses)      
Selling marketing and administrative (201,365) (978,221)  
Impairment   0  
Other operating income (expenses), net 10,736 26,924  
Operating income (loss) 268,658 610,701 344,394
Share of profit (loss) of subsidiaries, joint ventures and associates (231) 48  
Income (loss) before finance result and income and social contribution taxes 268,427 610,749 344,808
Financial result, net 23,153 (431,441) 1,482
Income (loss) before income and social contribution taxes 291,580 179,308 346,290
Income and social contribution taxes (16,924) 69,995  
Net effect of cessation of depreciation [1] 51,372    
Net income (loss) for the year 326,028 249,303 0
Depreciation and amortization for the year   308,564 [2] 275,063 [3]
Net cash provided by (used in) operating activities (81,558) 1,016,580  
Net cash (used in) provided by investing activities 1,011,736 (122,363)  
Net cash provided by (used in) financing activities (1,245,754) (1,054,930)  
Effect of exchange rate changes on cash and cash equivalents in foreign currency (19,316) 56,553  
Increase (decrease) in cash and cash equivalents (334,892) (104,160) (515,927)
Total Discontinued operations | Extrafarma [member]      
Discontinued operations      
Net revenue from sales and services 1,235,487 1,986,932 1,988,411
Cost of products and services sold (912,310) (1,384,316) (1,399,125)
Gross profit 323,177 602,616 589,286
Operating income (expenses)      
Selling marketing and administrative (438,601) (685,794)  
Impairment   (427,529)  
Other operating income (expenses), net (5,951) (1,109)  
Operating income (loss) (121,375) (511,816) (78,299)
Share of profit (loss) of subsidiaries, joint ventures and associates 0 0  
Income (loss) before finance result and income and social contribution taxes (121,375) (511,816) (78,299)
Financial result, net (25,059) (45,265) (38,938)
Income (loss) before income and social contribution taxes (146,434) (557,081) (117,237)
Income and social contribution taxes 20,826 155,416  
Net effect of cessation of depreciation [1] 27,084    
Net income (loss) for the year (98,524) (401,665) 0
Depreciation and amortization for the year   154,850 [2] 153,899 [3]
Net cash provided by (used in) operating activities (68,370) (33,273)  
Net cash (used in) provided by investing activities (25,323) (35,072)  
Net cash provided by (used in) financing activities 40,585 35,286  
Effect of exchange rate changes on cash and cash equivalents in foreign currency 0 0  
Increase (decrease) in cash and cash equivalents (53,108) (33,059) 116,184
Total Discontinued operations | Ultrapar [Member]      
Discontinued operations      
Net revenue from sales and services 0    
Cost of products and services sold 0    
Gross profit 0    
Operating income (expenses)      
Selling marketing and administrative 0    
Other operating income (expenses), net 241,325    
Operating income (loss) 241,325    
Share of profit (loss) of subsidiaries, joint ventures and associates 0    
Income (loss) before finance result and income and social contribution taxes 241,325    
Financial result, net 0    
Income (loss) before income and social contribution taxes 241,325    
Income and social contribution taxes (202,895)    
Net effect of cessation of depreciation [1] 0    
Net income (loss) for the year 38,430    
Total Discontinued operations | Eliminations      
Discontinued operations      
Net revenue from sales and services (7,241) [4] (23,908) [5] (16,069)
Cost of products and services sold 7,241 [4] 23,908 [5] 16,069
Gross profit 0 [4] 0 [5] 0
Operating income (expenses)      
Selling marketing and administrative 0 [4] 0 [5]  
Impairment [5]   0  
Other operating income (expenses), net 0 [4] 0 [5]  
Operating income (loss) 0 [4] 0 [5] 0
Share of profit (loss) of subsidiaries, joint ventures and associates 0 [4] 0 [5]  
Income (loss) before finance result and income and social contribution taxes 0 [4] 0 [5] 0
Financial result, net 54,431 [4] 329,736 [5] 318,430
Income (loss) before income and social contribution taxes 54,431 [4] 329,736 [5] 318,430
Income and social contribution taxes (18,507) [4] (112,110) [5]  
Net effect of cessation of depreciation [1],[4] 0    
Net income (loss) for the year 35,924 [4] 217,626 [5] 0
Depreciation and amortization for the year   0 [2],[5] 0 [3]
Net cash provided by (used in) operating activities 180,478 (788)  
Net cash (used in) provided by investing activities (1,206,603) (1,298)  
Net cash provided by (used in) financing activities 1,026,144 466,677  
Effect of exchange rate changes on cash and cash equivalents in foreign currency 0 0  
Increase (decrease) in cash and cash equivalents R$ 19 R$ 464,591 R$ (18,403)
[1] As of January 1, 2022, the depreciation and amortization of assets classified as held for sale ceased, in compliance with item 25 of IFRS 5.
[2] Balances included for a complete breakdown of segment information.
[3] Balances included for complete breakdown of segment information.
[4] Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.
[5] Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

v3.23.1
Discontinued operations (Details 3) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Discontinued operations      
Net revenue R$ 143,634,708 R$ 109,732,842 R$ 74,058,056
Cost of products and services sold (136,276,257) (104,827,966) (70,056,447)
Gross profit 7,358,451 4,904,876 4,001,609
Operating income (expenses)      
Operating income (loss) 3,336,752 1,787,014 1,545,960
Share of profit (loss) of subsidiaries, joint ventures and associates 12,181 (17,634) (44,031)
Operating income before financial income (expenses) and income and social contribution taxes 3,348,933 1,769,380 1,501,929
Financial result, net (1,469,208) (762,732) (550,348)
Income (loss) before income and social contribution taxes 1,879,725 1,006,648 951,581
Income and social contribution taxes (341,514) (188,034) (304,517)
Net income from continuing operations 1,538,211 818,614 647,064
Net income from discontinued operations 301,858 65,264 280,633
Profit (loss) for the year 1,840,069 883,878 927,697
Depreciation and amortization for the year 1,525,567 1,196,355 1,127,637
Net cash provided by (used in) operating activities 1,974,144 1,603,441 2,264,013
Net cash used in investing activities 8,123,291 882,869 (1,649,015)
Net cash provided by (used in) financing activities (6,731,716) (2,802,574) 327,351
Elimination of intersegment amounts [member]      
Discontinued operations      
Net revenue (272,574) (214,715) (193,046)
Cost of products and services sold 266,122 194,118 133,384
Gross profit (6,452) (20,597) (59,662)
Operating income (expenses)      
Operating income (loss) 0 0 0
Share of profit (loss) of subsidiaries, joint ventures and associates 0 0 0
Operating income before financial income (expenses) and income and social contribution taxes 0 0 0
Depreciation and amortization for the year (346) 0 0
Total Discontinued operations      
Discontinued operations      
Net revenue 3,267,533 9,065,795 7,183,046
Cost of products and services sold (2,485,069) (6,901,181) (5,571,767)
Gross profit 782,464 2,164,614 1,611,279
Operating income (expenses)      
Selling marketing and administrative     (1,493,238)
Other operating income, net     148,054
Operating income (loss) 388,608 98,885 266,095
Share of profit (loss) of subsidiaries, joint ventures and associates     414
Operating income before financial income (expenses) and income and social contribution taxes 388,377 98,933 266,509
Financial result, net 52,525 (146,970) 280,974
Income (loss) before income and social contribution taxes 440,902 (48,037) 547,483
Income and social contribution taxes     (266,850)
Net income from continuing operations     0
Net income from discontinued operations 301,858 65,264 280,633
Profit (loss) for the year     280,633
Depreciation and amortization for the year   463,414 [1] 428,962 [2]
Net cash provided by (used in) operating activities     874,106
Net cash used in investing activities     (487,390)
Net cash provided by (used in) financing activities     (919,684)
Effect of exchange rate changes on cash and cash equivalents in foreign currency     114,822
Increase (decrease) in cash and cash equivalents (387,981) 327,372 (418,146)
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member]      
Discontinued operations      
Net revenue 2,039,287 7,102,771 5,210,704
Cost of products and services sold (1,580,000) (5,540,773) (4,188,711)
Gross profit 459,287 1,561,998 1,021,993
Operating income (expenses)      
Selling marketing and administrative     (831,056)
Other operating income, net     153,457
Operating income (loss) 268,658 610,701 344,394
Share of profit (loss) of subsidiaries, joint ventures and associates     414
Operating income before financial income (expenses) and income and social contribution taxes 268,427 610,749 344,808
Financial result, net 23,153 (431,441) 1,482
Income (loss) before income and social contribution taxes 291,580 179,308 346,290
Income and social contribution taxes     (118,132)
Net income from continuing operations     0
Net income from discontinued operations 326,028 249,303 0
Profit (loss) for the year     228,158
Depreciation and amortization for the year   308,564 [1] 275,063 [2]
Net cash provided by (used in) operating activities     765,090
Net cash used in investing activities     (159,349)
Net cash provided by (used in) financing activities     (1,236,490)
Effect of exchange rate changes on cash and cash equivalents in foreign currency     114,822
Increase (decrease) in cash and cash equivalents (334,892) (104,160) (515,927)
Total Discontinued operations | Extrafarma [member]      
Discontinued operations      
Net revenue 1,235,487 1,986,932 1,988,411
Cost of products and services sold (912,310) (1,384,316) (1,399,125)
Gross profit 323,177 602,616 589,286
Operating income (expenses)      
Selling marketing and administrative     (662,182)
Other operating income, net     (5,403)
Operating income (loss) (121,375) (511,816) (78,299)
Share of profit (loss) of subsidiaries, joint ventures and associates     0
Operating income before financial income (expenses) and income and social contribution taxes (121,375) (511,816) (78,299)
Financial result, net (25,059) (45,265) (38,938)
Income (loss) before income and social contribution taxes (146,434) (557,081) (117,237)
Income and social contribution taxes     (40,453)
Net income from continuing operations     0
Net income from discontinued operations (98,524) (401,665) 0
Profit (loss) for the year     (157,690)
Depreciation and amortization for the year   154,850 [1] 153,899 [2]
Net cash provided by (used in) operating activities     111,396
Net cash used in investing activities     (6,484)
Net cash provided by (used in) financing activities     11,272
Effect of exchange rate changes on cash and cash equivalents in foreign currency     0
Increase (decrease) in cash and cash equivalents (53,108) (33,059) 116,184
Total Discontinued operations | Elimination of intersegment amounts [member]      
Discontinued operations      
Net revenue (7,241) [3] (23,908) [4] (16,069)
Cost of products and services sold 7,241 [3] 23,908 [4] 16,069
Gross profit 0 [3] 0 [4] 0
Operating income (expenses)      
Selling marketing and administrative     0
Other operating income, net     0
Operating income (loss) 0 [3] 0 [4] 0
Share of profit (loss) of subsidiaries, joint ventures and associates     0
Operating income before financial income (expenses) and income and social contribution taxes 0 [3] 0 [4] 0
Financial result, net 54,431 [3] 329,736 [4] 318,430
Income (loss) before income and social contribution taxes 54,431 [3] 329,736 [4] 318,430
Income and social contribution taxes     (108,265)
Net income from continuing operations     0
Net income from discontinued operations 35,924 [3] 217,626 [4] 0
Profit (loss) for the year     210,165
Depreciation and amortization for the year   0 [1],[4] 0 [2]
Net cash provided by (used in) operating activities     (2,380)
Net cash used in investing activities     (321,557)
Net cash provided by (used in) financing activities     305,534
Effect of exchange rate changes on cash and cash equivalents in foreign currency     0
Increase (decrease) in cash and cash equivalents R$ 19 R$ 464,591 R$ (18,403)
[1] Balances included for a complete breakdown of segment information.
[2] Balances included for complete breakdown of segment information.
[3] Elimination between continuing and discontinued operations related to the interest on the intercompany loan between Ultrapar International and Oxiteno.
[4] Elimination between the continued operations and discontinued operations related to loan between Ultrapar International and Oxiteno.

v3.23.1
Discontinued operations (Details 3 - Textuals 1) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Discontinued operations      
Receipt of the intercompany loan owed by subsidiary R$ 0 R$ 2,334 R$ 0
Income from discontinued operations 301,858 65,264 280,633
Total Discontinued operations      
Discontinued operations      
Income from discontinued operations 301,858 65,264 280,633
Total Discontinued operations | Extrafarma [member]      
Discontinued operations      
Income from discontinued operations (98,524) (401,665) 0
Total Discontinued operations | Oxiteno S. A. Industria e Comercio [member]      
Discontinued operations      
Proceeds from the sale of subsidiary 6,200,000    
Sale price of subsidiary 2,300,000    
Receipt of the intercompany loan owed by subsidiary 3,900,000    
Income from discontinued operations R$ 326,028 R$ 249,303 R$ 0

v3.23.1
Cash and cash equivalents, financial investments and derivative financial instruments - Cash and cash equivalents (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Cash and cash equivalents, financial investments and derivative financial instruments        
Cash and bank deposits in local currency R$ 105,986 R$ 317,907    
Cash and bank deposits in foreign currency 5,811 16,640    
Fixed-income securities in local currency 5,204,766 1,943,164    
Fixed-income securities in foreign currency 305,206 2,363    
Total cash and cash equivalents R$ 5,621,769 R$ 2,280,074 R$ 2,661,494 R$ 2,115,379

v3.23.1
Cash and cash equivalents, financial investments and derivative financial instruments - Financial investments (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Cash and cash equivalents, financial investments and derivative financial instruments    
Financial investments in local currency, fixed-income securities and funds R$ 406,683 R$ 1,607,608
Financial investments in foreign currency, fixed-income securities and funds 0 103,239
Derivative financial instruments [1] 556,510 472,552
Total financial investments and derivative financial instruments 963,193 2,183,399
Current 520,352 1,804,122
Non-current R$ 442,841 R$ 379,277
[1] Accumulated gains, net of income tax (see Note 31.i).

v3.23.1
Trade receivables, reseller financing and other receivables - Trade receivables (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses R$ 4,533,327 R$ 3,813,350
Loss allowance for expected credit losses (173,287) (185,278)
Current 4,149,111 3,375,246
Non-current 61,463 63,749
Trade receivables [member]    
Summary of trade receivables [line items]    
Loss allowance for expected credit losses (322,753) (374,355)
Trade receivables 4,210,574 3,438,995
Current 4,149,111 3,375,246
Non-current 61,463 63,749
Trade receivables [member] | Domestic customers [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 4,527,167 3,805,756
Related parties 64 57
Trade receivables [member] | foreign customers [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 3,401 3,137
Related parties R$ 2,695 R$ 4,400

v3.23.1
Trade receivables, reseller financing and other receivables - Summary of of Trade Receivables, Gross of Loss Allowance for Expected Credit Losses (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses R$ 4,533,327 R$ 3,813,350
Current [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 3,930,178 3,131,528
Less than 30 days [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 20,873 90,024
31 to 60 days [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 18,741 33,255
61-90 days [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 21,482 24,804
91-180 days [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses 46,586 23,903
More than 180 days [member]    
Summary of trade receivables [line items]    
Trade receivables, gross of allowance for expected credit losses R$ 495,467 R$ 509,836

v3.23.1
Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Summary of trade receivables [line items]        
Allowance for expected credit losses R$ 173,287 R$ 185,278    
Trade receivables [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 322,753 374,355 R$ 382,096 R$ 404,886
Trade receivables [member] | Current [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 21,425 21,962    
Trade receivables [member] | Less than 30 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 1,747 1,595    
Trade receivables [member] | 31 to 60 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 1,384 3,049    
Trade receivables [member] | 61-90 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 4,913 2,761    
Trade receivables [member] | 91-180 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 15,222 14,926    
Trade receivables [member] | More than 180 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses R$ 278,062 R$ 330,062    

v3.23.1
Trade receivables, reseller financing and other receivables - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of financial assets [line items]      
Beginning balance R$ 185,278    
Ending balance 173,287 R$ 185,278  
Trade receivables [member]      
Disclosure of financial assets [line items]      
Beginning balance 374,355 382,096 R$ 404,886
Additions 143,828 177,872 194,220
Reversals (130,385) (150,160) (203,994)
Write-offs (65,045) (18,646) (13,016)
Reclassification to assets held for sale   (16,807)  
Ending balance 322,753 374,355 382,096
Reseller Financing - Ipiranga [member]      
Disclosure of financial assets [line items]      
Beginning balance 185,278 197,011 156,006
Additions 45,987 65,536 74,745
Reversals (52,695) (68,982) (29,791)
Write-offs (5,283) (8,287) (3,949)
Ending balance R$ 173,287 R$ 185,278 R$ 197,011

v3.23.1
Trade receivables, reseller financing and other receivables - Composition of Reseller Financing (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses R$ 1,234,634 R$ 1,183,312
Allowance for expected credit losses (173,287) (185,278)
Reseller financing 1,061,347 998,034
Current 559,825 582,562
Non-current 501,522 415,472
Reseller Financing - Ipiranga [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses R$ 1,234,634 R$ 1,183,312

v3.23.1
Trade receivables, reseller financing and other receivables - Breakdown of Reseller Financing, Gross of Loss Allowance for Expected Credit Losses (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses R$ 1,234,634 R$ 1,183,312
Current [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses 826,210 770,008
Less than 30 days [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses 8,944 19,260
31 to 60 days [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses 3,892 24,290
61-90 days [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses 11,040 14,373
91-180 days [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses 11,943 26,685
More than 180 days [member]    
Summary of trade receivables [line items]    
Reseller financing, gross of loss allowance for expected credit losses R$ 372,605 R$ 328,696

v3.23.1
Trade receivables, reseller financing and other receivables - Breakdown of Expected Losses on Doubtful Accounts (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Summary of trade receivables [line items]        
Allowance for expected credit losses R$ 173,287 R$ 185,278    
Reseller Financing - Ipiranga [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 173,287 185,278 R$ 197,011 R$ 156,006
Reseller Financing - Ipiranga [member] | Current [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 1,327 1,514    
Reseller Financing - Ipiranga [member] | Less than 30 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 483 6,410    
Reseller Financing - Ipiranga [member] | 31 to 60 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 1,132 8,697    
Reseller Financing - Ipiranga [member] | 61-90 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 3,704 6,255    
Reseller Financing - Ipiranga [member] | 91-180 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses 4,937 9,892    
Reseller Financing - Ipiranga [member] | More than 180 days [member]        
Summary of trade receivables [line items]        
Allowance for expected credit losses R$ 161,704 R$ 152,510    

v3.23.1
Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail)
R$ in Thousands, $ in Millions
12 Months Ended
Dec. 31, 2022
USD ($)
Installments
Dec. 31, 2022
BRL (R$)
Dec. 31, 2021
BRL (R$)
Summary of trade receivables [line items]      
Total sale of investments   R$ 1,096,565  
Current   184,754 R$ 0
Non-current   911,811 R$ 0
Oxiteno S. A. Industria e Comercio [member]      
Summary of trade receivables [line items]      
Receivables from sale of investments [1]   782,655  
Adjustment to present value - sale of investments [2]   (55,598)  
Final payment to be made in disposal group transaction | $ $ 150    
Discount rate 6.1741%    
Extrafarma [member]      
Summary of trade receivables [line items]      
Receivables from sale of investments [3]   369,508  
Number of installments in disposal group transaction | Installments 2    
Amount per installments in disposal group transaction   R$ 184,754  
Borrowings, interest rate basis DI rate + 0.5% p.a.    
[1] Refers to the final installment of the sale of Oxiteno, in amount of USD 150 million, due in 2024. In May 2022, the Company made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Oxiteno to Ultrapar International.
[2] The consideration for the sale of Oxiteno was recognized at present value using a discount rate of 6.1741%. The amount as of December 31 includes present value realization and exchange variation of the transaction closing date until December 31, 2022.
[3] Refer to the sale of Extrafarma, which will be paid in two installments of R$ 184,754, maturing in August 2023 and August 2024, monetarily adjusted by the DI rate + 0.5% p.a. In December 2022, the subsidiary IPP made an onerous assignment, without right of recourse and co-obligation, of the receivable from the sale of Extrafarma to the Company.

v3.23.1
Inventories - Breakdown of Inventories (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of inventories [line items]    
Inventories R$ 4,906,083 R$ 3,918,772
Fuels, lubricants and greases [member]    
Summary of inventories [line items]    
Inventories 3,782,522 3,038,061
Raw materials [member]    
Summary of inventories [line items]    
Inventories 380,993 293,242
Liquified petroleum gas [member]    
Summary of inventories [line items]    
Inventories 143,516 146,070
Consumable materials and other items for resale [member]    
Summary of inventories [line items]    
Inventories 125,239 115,275
Purchase for future delivery [member]    
Summary of inventories [line items]    
Inventories [1] 453,817 301,992
Properties for resale [member]    
Summary of inventories [line items]    
Inventories R$ 19,996 R$ 24,132
[1]  (1) Refers substantially to ethanol, biodiesel and advances for fuel acquisition

v3.23.1
Inventories - Movements in the Provision for Losses (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Classes of current inventories [abstract]      
Provisions for losses, beginning R$ 13,078 R$ 40,993 R$ 40,724
Addition to provision for adjustment to realizable value   5,974 2,245
Provision for obsolescence and other losses 10,028    
Reversal of provision for adjustment to realizable value (1,180)    
Reversal of provision for obsolescence and other losses   (5,184) (1,976)
Reclassification to assets held for sale   (28,705)  
Provisions for losses, ending R$ 21,926 R$ 13,078 R$ 40,993

v3.23.1
Recoverable taxes - Summary of Recoverable Taxes (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of recoverable taxes [line items]    
Recoverable taxes R$ 3,783,271 R$ 2,108,025
Current 1,610,312 1,061,227
Non-current 2,172,959 1,046,798
Tax [member]    
Summary of recoverable taxes [line items]    
Recoverable taxes 1,312,990 893,206
PIS and COFINS – Federal VAT [member]    
Summary of recoverable taxes [line items]    
Recoverable taxes 2,410,736 1,177,513
Value-Added Tax (IVA) of foreign subsidiaries [member]    
Summary of recoverable taxes [line items]    
Recoverable taxes 0 179
Other Taxes Receivable [member]    
Summary of recoverable taxes [line items]    
Recoverable taxes R$ 59,545 R$ 37,127

v3.23.1
Recoverable taxes - Schedule of estimated recovery of ICMS credits (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision R$ 3,783,271 R$ 2,108,025
ICMS [member]    
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision 1,312,990 R$ 893,206
ICMS [member] | Up to 1 year    
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision 568,748  
ICMS [member] | 1 to 2 years    
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision 278,500  
ICMS [member] | 2 to 3 years    
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision 197,252  
ICMS [member] | From 3 to 5 Years    
Disclosure of estimated recovery of ICMS credits [line items]    
Total recoverable ICMS, net of provision R$ 268,490  

v3.23.1
Recoverable taxes - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Current R$ 96,134 R$ 291,833
Non-current 403,383 155,358
IRPJ and CSLL [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable income and social contribution taxes 499,517 447,191
Current 96,134 291,833
Non-current R$ 403,383 R$ 155,358

v3.23.1
Recoverable taxes - Additional Information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes R$ 3,783,271 R$ 2,108,025
IRPJ and CSLL [member] | Top of range [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Realization of tax credit period 5 years  
Tax [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes R$ 1,312,990 893,206
Tax [member] | Top of range [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Realization of tax credit period 5 years  
PIS and COFINS (State VAT) [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes R$ 2,410,736 1,177,513
Subsidiaries Ipiranga Produtos de Petróleo S.A. (“IPP”), Bahiana Distribuidora de Gás Ltda. (“Bahiana”), Cia. Ultragaz, AMPM, Tropical and Iconic Lubrificantes S.A. (“Iconic”) [member] | Tax [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes R$ 1,312,990 893,206
Subsidiaries Ipiranga Produtos de Petróleo S.A. (“IPP”), Tropical Transportes Ipiranga Ltda (“Tropical”), AMPM, Iconic and Ultragaz [member] | PIS and COFINS (State VAT) [member] | Top of range [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Realization of tax credit period 5 years  
Subsidiaries [member] | Tax [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes reclassified to assets held for sale, net of provision for impairment losses R$ 59,868 R$ 48,502
Subsidiaries Ipiranga and Ultragaz [member] | PIS and COFINS (State VAT) [member]    
Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]    
Recoverable taxes R$ 971,373  

v3.23.1
Related Parties - Summary of Subsidiaries and Other Related Parties (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of transactions between related parties [line items]      
Loans assets R$ 0 R$ 490  
Loans liabilities 259,644 214,178  
Loans, Assets [1] 0 490  
Loans, Liabilities [1] 3,492 3,534  
Commercial transactions, Receivables 2,759 4,457  
Commercial transactions, Trade payables 259,644 303,517  
Trading transactions, Sales and services provided 16,090 28,080 R$ 3,533
Trading transactions, Purchases 1,211,826 1,568,707 697,060
Trading transactions, Expenses     1,613
Quimica da Bahia Industria e Comercio S.A. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0 0  
Loans, Liabilities [1] 2,875 2,875  
Commercial transactions, Receivables 0 0  
Commercial transactions, Trade payables 0 0  
Trading transactions, Sales and services provided 0 0  
Trading transactions, Purchases 0 0  
Refinaria De Petroleo Rigrandense S.A. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0 0  
Loans, Liabilities [1] 0 0  
Commercial transactions, Receivables 0 0  
Commercial transactions, Trade payables 26,062 90,761  
Trading transactions, Sales and services provided 0 0 0
Trading transactions, Purchases 336,781 619,785 314,587
Trading transactions, Expenses     0
União Vopak Armazéns Gerais Ltda. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0 0  
Loans, Liabilities [1] 0 0  
Commercial transactions, Receivables 61 57  
Commercial transactions, Trade payables 0 0  
Trading transactions, Sales and services provided 784 1,402  
Trading transactions, Purchases 0 0  
Latitude Logística Portuária S.A [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0    
Loans, Liabilities [1] 0    
Commercial transactions, Receivables 3    
Commercial transactions, Trade payables 346    
Trading transactions, Sales and services provided 0    
Trading transactions, Purchases 0    
Nordeste Logística I S.A. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0    
Loans, Liabilities [1] 0    
Commercial transactions, Receivables 0    
Commercial transactions, Trade payables 22    
Trading transactions, Sales and services provided 0    
Trading transactions, Purchases 0    
Nordeste Logística III S.A. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0    
Loans, Liabilities [1] 0    
Commercial transactions, Receivables 0    
Commercial transactions, Trade payables 17    
Trading transactions, Sales and services provided 0    
Trading transactions, Purchases 0    
Oxicap Industria de Gases Ltda. [member]      
Disclosure of transactions between related parties [line items]      
Trading transactions, Sales and services provided     471
Trading transactions, Purchases     19,077
Trading transactions, Expenses     0
ConectCar Soluções de Mobilidade Eletrônica S.A. [member]      
Disclosure of transactions between related parties [line items]      
Trading transactions, Sales and services provided     3,062
Trading transactions, Purchases     154
Trading transactions, Expenses     0
LA'7 Participaes e Empreend. Imob. Ltda. [member]      
Disclosure of transactions between related parties [line items]      
Trading transactions, Sales and services provided [2]     0
Trading transactions, Purchases [2]     0
Trading transactions, Expenses [2]     1,613
Chevron (Thailand) Limited [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 0 204  
Commercial transactions, Trade payables [3] 113 0  
Trading transactions, Sales and services provided 0 [3] 675 [3] 0
Trading transactions, Purchases 832 [3] 1,072 [3] 759
Trading transactions, Expenses     0
Chevron Latin America Marketing LLC [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0    
Loans, Liabilities [1],[3] 0    
Commercial transactions, Receivables [3] 34    
Commercial transactions, Trade payables [3] 0    
Trading transactions, Sales and services provided [3] 0    
Trading transactions, Purchases [3] 0    
Chevron Lubricants Oils S.A. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 403 319  
Commercial transactions, Trade payables [3] 0 0  
Trading transactions, Sales and services provided [3] 930 786  
Trading transactions, Purchases [3] 0 0  
Chevron Marine Products [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 1,950 3,663  
Commercial transactions, Trade payables [3] 0 0  
Trading transactions, Sales and services provided [3] 14,068 24,583  
Trading transactions, Purchases [3] 0 0  
Chevron Oronite Brasil Ltda. [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 0 0  
Commercial transactions, Trade payables [3] 53,912 53,378  
Trading transactions, Sales and services provided 0 [3] 78 [3] 0
Trading transactions, Purchases 162,006 [3] 150,878 [3] 108,198
Trading transactions, Expenses     0
Chevron Products Company [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 0 0  
Commercial transactions, Trade payables [3] 178,846 158,557  
Trading transactions, Sales and services provided 0 [3] 0 [3] 0
Trading transactions, Purchases 699,154 [3] 789,452 [3] 247,578
Trading transactions, Expenses     0
Chevron Belgium NV [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 0 0  
Commercial transactions, Trade payables [3] 326 821  
Trading transactions, Sales and services provided 0 [3] 0 [3] 0
Trading transactions, Purchases 13,053 [3] 7,520 [3] 6,707
Trading transactions, Expenses     R$ 0
Chevron Petroleum CO Colombia [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 220 214  
Commercial transactions, Trade payables [3] 0 0  
Trading transactions, Sales and services provided [3] 220 392  
Trading transactions, Purchases [3] 0 0  
Chevron Lubricants Lanka PLC [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1],[3] 0 0  
Loans, Liabilities [1],[3] 0 0  
Commercial transactions, Receivables [3] 88 0  
Commercial transactions, Trade payables [3] 0 0  
Trading transactions, Sales and services provided [3] 88 164  
Trading transactions, Purchases [3] 0 0  
Others [member]      
Disclosure of transactions between related parties [line items]      
Loans, Assets [1] 0 [3] 490  
Loans, Liabilities [1] 617 [3] 659  
Commercial transactions, Receivables [1] 0 [3] 0  
Commercial transactions, Trade payables [1] 0 [3] 0  
Trading transactions, Sales and services provided [1] 0 [3] 0  
Trading transactions, Purchases [1] R$ 0 [3] R$ 0  
[1] Loans contracted have indefinite terms and do not contain remuneration clauses.
[2] Refers to rental contracts of 15 drugstores owned by LA’7 as of December 31, 2020, a company of the former shareholders of Extrafarma that are current shareholders of Ultrapar.
[3] Non-controlling shareholders and other related parties of Iconic.

v3.23.1
Related Parties - Summary of Expenses for Compensation of Its Key Executives (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of transactions between related parties [abstract]      
Short-term compensation R$ 62,285 R$ 47,003 R$ 47,936
Stock compensation 18,424 15,778 4,786
Post-employment benefits 4,035 2,737 2,866
Termination benefit 0 5,637 0
Total R$ 84,744 R$ 71,155 R$ 55,588

v3.23.1
Related Parties - Additional Information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Apr. 19, 2017
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of transactions between related parties [line items]        
Provision for expected losses on accounts receivable or guarantees   R$ 0    
Common shares approved as incentive ownership plan 11,128,102      
General and administrative expense   1,534,481 R$ 1,466,551 R$ 993,986
Deferred stock plan [member] | Management        
Disclosure of transactions between related parties [line items]        
Amortization (reversal of amortization) of share based plans recognized as general and administrative   1,204 (1,902) (64)
Percentage of Common shares may deliver to participants to company's share capital 1.00%      
Deferred stock plan [member] | Management | Discontinued operations [member]        
Disclosure of transactions between related parties [line items]        
Amortization (reversal of amortization) of share based plans recognized as general and administrative     (1,325) (2,296)
Restricted and Performance Stock [member]        
Disclosure of transactions between related parties [line items]        
General and administrative expense   R$ 38,204 R$ 24,067 R$ 10,440
Bottom of range [member] | Management        
Disclosure of transactions between related parties [line items]        
Period of transfter of ownership shares   3 years    
Bottom of range [member] | Deferred stock plan [member]        
Disclosure of transactions between related parties [line items]        
Period of amortization from grant date   5 years    
Bottom of range [member] | Deferred stock plan [member] | Management        
Disclosure of transactions between related parties [line items]        
Period of transfter of ownership shares   5 years    
Top of range [member] | Management        
Disclosure of transactions between related parties [line items]        
Period of transfter of ownership shares   6 years    
Top of range [member] | Deferred stock plan [member]        
Disclosure of transactions between related parties [line items]        
Period of amortization from grant date   7 years    
Top of range [member] | Deferred stock plan [member] | Management        
Disclosure of transactions between related parties [line items]        
Period of transfter of ownership shares   7 years    

v3.23.1
Related Parties - Summary of Shares granted (Detail)
R$ / shares in Units, R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
shares
R$ / shares
Disclosure of transactions between related parties [line items]  
Number of shares granted (Quantity) | shares 8,934,704
Total grant costs, including taxes R$ 244,295
Accumulated recognized grant costs (64,523)
Accumulated unrecognized grant costs R$ 179,772
Management  
Disclosure of transactions between related parties [line items]  
Number of shares granted (Quantity) | shares 66,664
Total grant costs, including taxes R$ 9,732
Accumulated recognized grant costs (9,644)
Accumulated unrecognized grant costs R$ 88
Deferred stock plan [member] | Grant Date March 4 2016 [member] | Management  
Disclosure of transactions between related parties [line items]  
Grant date March 4, 2016
Number of shares granted (Quantity) | shares 66,664
Vesting period 2023
Market price of shares on the grant date | R$ / shares R$ 32.72
Total grant costs, including taxes R$ 9,732
Accumulated recognized grant costs (9,644)
Accumulated unrecognized grant costs R$ 88

v3.23.1
Related Parties - Changes of Number of Shares Granted (Detail) - shares
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of terms and conditions of share-based payment arrangement [line items]      
Share granted, beginning     1,224,524
Cancellation of granted shares due to termination of executive employment     (200,000)
Shares transferred to executives     (322,264)
Deferred stock plan [member] | Management      
Disclosure of terms and conditions of share-based payment arrangement [line items]      
Share granted, beginning 133,332 702,260  
Shares transferred to executives (66,668) (448,930)  
Reclassification to assets held for sale   (119,998)  
Share granted, ending 66,664 133,332 702,260

v3.23.1
Related Parties - Restricted Stock Program (Detail)
R$ / shares in Units, R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
shares
R$ / shares
Disclosure of transactions between related parties [line items]  
Number of shares granted (Quantity) | shares 8,934,704
Total exercisable grant costs, including taxes R$ 244,295
Accumulated recognized exercisable grant costs (64,523)
Accumulated unrecognized exercisable grant costs R$ 179,772
Restricted Stock Award [Member] | Grant Date, April 4, 2018 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 4, 2018
Number of shares granted (Quantity) | shares 6,658
Vesting period 2023
Market price of shares on the grant date | R$ / shares R$ 34.35
Total exercisable grant costs, including taxes R$ 427
Accumulated recognized exercisable grant costs (406)
Accumulated unrecognized exercisable grant costs R$ 21
Restricted Stock Award [Member] | Grant Date, September 19, 2018 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 19, 2018
Number of shares granted (Quantity) | shares 80,000
Vesting period 2024
Market price of shares on the grant date | R$ / shares R$ 19.58
Total exercisable grant costs, including taxes R$ 2,675
Accumulated recognized exercisable grant costs (1,895)
Accumulated unrecognized exercisable grant costs R$ 780
Restricted Stock Award [Member] | Grant Date, September 24, 2018 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 24, 2018
Number of shares granted (Quantity) | shares 80,000
Vesting period 2024
Market price of shares on the grant date | R$ / shares R$ 18.4
Total exercisable grant costs, including taxes R$ 2,528
Accumulated recognized exercisable grant costs (1,791)
Accumulated unrecognized exercisable grant costs R$ 737
Restricted Stock Award [Member] | Grant Date, April 3, 2019 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 3, 2019
Number of shares granted (Quantity) | shares 74,916
Vesting period 2023 and 2024
Market price of shares on the grant date | R$ / shares R$ 23.25
Total exercisable grant costs, including taxes R$ 3,264
Accumulated recognized exercisable grant costs (2,758)
Accumulated unrecognized exercisable grant costs R$ 506
Restricted Stock Award [Member] | Grant Date, September 2, 2019 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 2, 2019
Number of shares granted (Quantity) | shares 320,000
Vesting period 2025
Market price of shares on the grant date | R$ / shares R$ 16.42
Total exercisable grant costs, including taxes R$ 9,013
Accumulated recognized exercisable grant costs (5,007)
Accumulated unrecognized exercisable grant costs R$ 4,006
Restricted Stock Award [Member] | Grant Date, April 1, 2020 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 1, 2020
Number of shares granted (Quantity) | shares 182,853
Vesting period 2023 to 2025
Market price of shares on the grant date | R$ / shares R$ 12.53
Total exercisable grant costs, including taxes R$ 4,267
Accumulated recognized exercisable grant costs (3,064)
Accumulated unrecognized exercisable grant costs R$ 1,203
Restricted Stock Award [Member] | Grant Date, September 16, 2020 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 16, 2020
Number of shares granted (Quantity) | shares 300,000
Vesting period 2026
Market price of shares on the grant date | R$ / shares R$ 23.03
Total exercisable grant costs, including taxes R$ 11,793
Accumulated recognized exercisable grant costs (4,586)
Accumulated unrecognized exercisable grant costs R$ 7,207
Restricted Stock Award [Member] | Grant Date, April 7, 2021 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 7, 2021
Number of shares granted (Quantity) | shares 425,422
Vesting period 2024
Market price of shares on the grant date | R$ / shares R$ 21
Total exercisable grant costs, including taxes R$ 16,705
Accumulated recognized exercisable grant costs (9,744)
Accumulated unrecognized exercisable grant costs R$ 6,961
Restricted Stock Award [Member] | Grant Date, September 22, 2021 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 22, 2021
Number of shares granted (Quantity) | shares 1,000,000
Vesting period 2027
Market price of shares on the grant date | R$ / shares R$ 14.17
Total exercisable grant costs, including taxes R$ 24,363
Accumulated recognized exercisable grant costs (5,543)
Accumulated unrecognized exercisable grant costs R$ 18,820
Restricted Stock Award [Member] | Grant Date, April 6, 2022 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 6, 2022
Number of shares granted (Quantity) | shares 777,065
Vesting period 2025
Market price of shares on the grant date | R$ / shares R$ 14.16
Total exercisable grant costs, including taxes R$ 20,573
Accumulated recognized exercisable grant costs (5,143)
Accumulated unrecognized exercisable grant costs R$ 15,430
Restricted Stock Award [Member] | Grant Date, September 21, 2022 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date September 21, 2022
Number of shares granted (Quantity) | shares 2,640,000
Vesting period 2032
Market price of shares on the grant date | R$ / shares R$ 12.98
Total exercisable grant costs, including taxes R$ 64,048
Accumulated recognized exercisable grant costs (2,135)
Accumulated unrecognized exercisable grant costs R$ 61,913
Restricted Stock Award [Member] | Grant Date, December 7, 2022 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date December 7, 2022
Number of shares granted (Quantity) | shares 1,500,000
Vesting period 2032
Market price of shares on the grant date | R$ / shares R$ 13.47
Total exercisable grant costs, including taxes R$ 38,125
Accumulated recognized exercisable grant costs (318)
Accumulated unrecognized exercisable grant costs R$ 37,807
Performance Stock Award [Member] | Grant Date, April 3, 2019 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 3, 2019
Number of shares granted (Quantity) | shares 37,458
Vesting period 2024
Market price of shares on the grant date | R$ / shares R$ 23.25
Total exercisable grant costs, including taxes R$ 1,619
Accumulated recognized exercisable grant costs (1,214)
Accumulated unrecognized exercisable grant costs R$ 405
Performance Stock Award [Member] | Grant Date, April 1, 2020 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 1, 2020
Number of shares granted (Quantity) | shares 276,580
Vesting period 2023 to 2025
Market price of shares on the grant date | R$ / shares R$ 12.53
Total exercisable grant costs, including taxes R$ 6,440
Accumulated recognized exercisable grant costs (4,854)
Accumulated unrecognized exercisable grant costs R$ 1,586
Performance Stock Award [Member] | Grant Date, April 7, 2021 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 7, 2021
Number of shares granted (Quantity) | shares 454,520
Vesting period 2024
Market price of shares on the grant date | R$ / shares R$ 21
Total exercisable grant costs, including taxes R$ 17,824
Accumulated recognized exercisable grant costs (10,864)
Accumulated unrecognized exercisable grant costs R$ 6,960
Performance Stock Award [Member] | Grant Date, April 6, 2022 [Member]  
Disclosure of transactions between related parties [line items]  
Grant date April 6, 2022
Number of shares granted (Quantity) | shares 779,232
Vesting period 2025
Market price of shares on the grant date | R$ / shares R$ 14.16
Total exercisable grant costs, including taxes R$ 20,631
Accumulated recognized exercisable grant costs (5,201)
Accumulated unrecognized exercisable grant costs R$ 15,430

v3.23.1
Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail)
12 Months Ended
Dec. 31, 2022
shares
Dec. 31, 2021
shares
Dec. 31, 2020
shares
Disclosure of transactions between related parties [line items]      
Share granted, beginning     1,224,524
Shares granted 8,934,704    
Cancellation of granted shares due to termination of executive employment     (200,000)
Shares transferred (vesting)     (322,264)
Restricted and Performance Stock [member]      
Disclosure of transactions between related parties [line items]      
Share granted, beginning 4,415,294 2,910,162 1,738,660
Shares granted 5,702,027    
Cancellation of granted shares due to termination of executive employment (934,310) (133,186) (353,294)
Performance shares [1]   (133,326)  
Cancellation of performance shares     (52,992)
Shares transferred (vesting) (484,651)    
Reclassification from assets held for sale 236,344    
Reclassification to assets held for sale   (614,860)  
Share granted, ending 8,934,704 4,415,294 2,910,162
Restricted and Performance Stock [member] | April 1, 2020 [member]      
Disclosure of transactions between related parties [line items]      
Shares granted     877,788
Restricted and Performance Stock [member] | September 16, 2020 [member]      
Disclosure of transactions between related parties [line items]      
Shares granted     700,000
Restricted and Performance Stock [member] | April 7, 2021 [member]      
Disclosure of transactions between related parties [line items]      
Shares granted   1,386,504  
Restricted and Performance Stock [member] | September 22, 2021 [member]      
Disclosure of transactions between related parties [line items]      
Shares granted   1,000,000  
[1] Refers to the reversal of the provision constituted in view of the significant probability that performance indicators will not be achieved.

v3.23.1
Income and Social Contribution Taxes - Deferred Taxes (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Assets - deferred income and social contribution taxes on:    
Provision for losses with assets R$ 47,436 R$ 57,924
Provision for tax, civil and labor risks 225,585 188,236
Provision for post-employment benefits 74,644 73,335
Provision for differences between cash and accrual basis [1] 63,330 24,754
Goodwill 3,561 4,825
Business combination – tax basis vs. accounting basis of goodwill 17,575 18,699
Provision for asset retirement obligation 15,737 16,991
Provision for suppliers 132,657 39,364
Provision for profit sharing and bonus 69,588 44,876
Leases payable 60,484 41,463
Change in fair value of subscription warrants 9,224 10,957
Provision for deferred revenue 8,121 15,643
Other temporary differences 43,715 2,769
Tax losses and negative basis for social contribution carryforwards (10.d) 283,238 148,345
Total 1,054,895 688,181
Offset liability balance (156,660) (116,426)
Net balances of deferred tax assets 898,235 571,755
Liabilities - deferred income and social contribution taxes on:    
Revaluation of property, plant and equipment 387 408
Leases payable 171 138
Provision for differences between cash and accrual basis [1] 9,389 19,664
Goodwill 27,691 28,676
Business combination - fair value of assets 61,521 66,079
Other temporary differences 57,800 1,743
Total 156,959 116,708
Offset asset balance (156,660) (116,426)
Net balance of deferred tax liabilities R$ 299 R$ 282
[1] Refers, mainly, to the income tax on the exchange variation of the hedge derivative instruments.

v3.23.1
Income and Social Contribution Taxes - Summary of Changes in Balances of Deferred Taxes (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of income and social contribution taxes [abstract]      
Initial balance R$ 571,473 R$ 961,979 R$ 646,163
Deferred IRPJ and CSLL recognized in income for the year 296,459 242,246 234,244
Deferred IRPJ and CSLL recognized in income for the year from discontinued operation 31,138 110,821 (146,305)
Deferred IRPJ and CSLL recognized in other comprehensive income (1,134) (11,366) 210,034
Reclassification to assets held for sale   (728,986)  
Others   (3,221) 17,843
Final balance R$ 897,936 R$ 571,473 R$ 961,979

v3.23.1
Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of income and social contribution taxes [line items]    
Recovery of deferred tax assets R$ 1,054,895 R$ 688,181

v3.23.1
Income and Social Contribution Taxes - Summary of Reconciliation of Taxes (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of income and social contribution taxes [abstract]      
Income before taxes R$ 1,879,725 R$ 1,006,648 R$ 951,581
Statutory tax rates - % 34.00% 34.00% 34.00%
Income and social contribution taxes at the statutory tax rates R$ (639,107) R$ (342,260) R$ (323,538)
Adjustment to the statutory income and social contribution taxes:      
Nondeductible expenses [1] (11,006) (45,569) (33,420)
Nontaxable revenues [2] 23,149 138,631 2,757
Adjustment to estimated income [3] 10,136 3,901 8,850
Unrecorded deferred income and social contribution tax carryforwards [4] (4,602) (5,285) (3,166)
Share of profit (loss) of subsidiaries, joint ventures and associates 4,142 (5,995) (14,972)
Interest on capital 153,004 0 0
Other adjustments 29,326 21,414 12,911
Income and social contribution taxes before tax incentives (434,958) (235,163) (350,578)
Tax incentives – SUDENE (10.c) 93,444 47,129 46,061
Income and social contribution taxes in the statement of income (341,514) (188,034) (304,517)
Current (637,973) (430,280) (538,761)
Deferred R$ 296,459 R$ 242,246 R$ 234,244
Effective IRPJ and CSLL rates - % 182.00% 18.70% 32.00%
[1] Consist of certain expenses that cannot be deducted for tax purposes under applicable tax legislation, such as expenses with fines, donations, gifts, losses of assets, negative results of foreign subsidiaries and certain provisions.
[2] Consist of certain gains and income that are not taxable under applicable tax legislation, such as the reimbursement of taxes and the reversal of certain provisions, as well as recovery of tax credits and amounts related to non-taxation of the income and social contribution taxes on the monetary adjustment (SELIC) in the repetition of undue tax lawsuits.
[3] Brazilian tax law allows for an alternative method of taxation for companies that generated gross revenues of up to R$ 78 million in their previous fiscal year. Certain subsidiaries of the Company adopted this alternative form of taxation, whereby income and social contribution losses are calculated on a basis equal to 32% of the operating revenues, as opposed to being calculated based on the effective taxable income of these subsidiaries. The adjustment to estimated income represents the difference between the taxation under this alternative method and the income and social contribution taxes that would have been paid based on the effective statutory rate applied to the taxable income of these subsidiaries.
[4] See Note 10.d.

v3.23.1
Income and Social Contribution Taxes - Summary of Tax Incentives (Detail)
12 Months Ended
Dec. 31, 2022
Bahiana Distribuidora De Gas Ltda [member]  
Summary of income and social contribution taxes [line items]  
Subsidiary Bahiana Distribuidora de Gás Ltda.
Bahiana Distribuidora De Gas Ltda [member] | Mataripe Base [member]  
Summary of income and social contribution taxes [line items]  
Business Units Mataripe base
Incentive - % 75.00%
Expiration 2024
Bahiana Distribuidora De Gas Ltda [member] | Caucaia Base [member]  
Summary of income and social contribution taxes [line items]  
Business Units Caucaia base
Incentive - % 75.00%
Expiration 2025
Bahiana Distribuidora De Gas Ltda [member] | Juazeiro base [member]  
Summary of income and social contribution taxes [line items]  
Business Units Juazeiro base
Incentive - % 75.00%
Expiration 2026
Bahiana Distribuidora De Gas Ltda [member] | Aracaju Base [member]  
Summary of income and social contribution taxes [line items]  
Business Units Aracaju base
Incentive - % 75.00%
Expiration 2027
Bahiana Distribuidora De Gas Ltda [member] | Suape Base [member]  
Summary of income and social contribution taxes [line items]  
Business Units Suape base
Incentive - % 75.00%
Expiration 2027
Ultracargo Logística S.A. [member]  
Summary of income and social contribution taxes [line items]  
Subsidiary Ultracargo Logística S.A.
Ultracargo Logística S.A. [member] | Aratu Terminal [member]  
Summary of income and social contribution taxes [line items]  
Business Units Aratu Terminal [1]
Incentive - % 75.00%
Expiration 2022
Renewal of concession term filed with Superintendence for the Development of the Northeast (“SUDENE”) 10 years
Ultracargo Logística S.A. [member] | Suape Terminal [Member]  
Summary of income and social contribution taxes [line items]  
Business Units Suape Terminal
Incentive - % 75.00%
Expiration 2030
Ultracargo Logística S.A. [member] | Itaqui Terminal [member]  
Summary of income and social contribution taxes [line items]  
Business Units Itaqui Terminal
Incentive - % 75.00%
Expiration 2030
[1] In December 2022, an application for renewal of Aratu Terminal concession term for an additional 10 years was filed with SUDENE.

v3.23.1
Income and Social Contribution Taxes - Summary of deferred income and social contribution tax assets (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards R$ 283,238 R$ 148,345
Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 283,238 148,345
Tax losses and negative basis for social contribution carryforwards not constituted 19,545 14,943
Oil Trading Importadora e Exportadora Ltda [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 93,627 53,839
Ultrapar [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards [1] 65,505 43,441
Abastece Aí [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 66,347 41,065
Ipiranga [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 28,894 0
Ultracargo [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 22,313 9,861
Integra Frotas [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards not constituted 12,394 11,769
Millennium [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards not constituted 6,154 3,174
Others [member] | Onshore [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards 6,552 139
Tax losses and negative basis for social contribution carryforwards not constituted R$ 997 R$ 0
[1] Include the amount of R$ 33,663 of deferred taxes recognized on the tax loss of subsidiary Ultrapar International as of December 31, 2022 (R$ 8,510 as of December 31, 2021).

v3.23.1
Income and Social Contribution Taxes - Additional Information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Deferred income and social contribution taxes R$ 1,054,895 R$ 688,181
Threshold amount of gross revenue for calculation of alternative method of taxation for companies R$ 78,000  
Percentage of operating revenues for calculation of alternative method of taxation for companies 32.00%  
Threshold percentage of taxable income for indefinite expiration of tax loss carryforwards 30.00%  
Tax losses and negative basis for social contribution carryforwards R$ 283,238 148,345
Income and social contribution tax benefit related to monetary variation (SELIC) on repetition of tax undue payments 128,420 106,667
Ultrapar International S.A. [member]    
Disclosure of temporary difference, unused tax losses and unused tax credits [line items]    
Tax losses and negative basis for social contribution carryforwards R$ 33,663 R$ 8,510

v3.23.1
Prepaid Expenses - Summary of Prepaid Expenses (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Prepayments and accrued income other than contract assets [abstract]    
Rents R$ 26,888 R$ 54,327
Advertising and publicity 49,426 28,410
Insurance premiums 48,584 26,917
Software maintenance 26,114 19,863
Employee benefits 6,923 8,362
IPVA and IPTU 1,195 1,553
Contribution - private pension fund (see Note 21.a) 18,204 19,831
Other prepaid expenses 21,178 10,129
Prepaid expenses 198,512 169,392
Current 123,699 98,024
Non-current R$ 74,813 R$ 71,368

v3.23.1
Contractual Assets with Customers - Exclusive Rights - Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Contract assets [abstract]      
Initial balance R$ 2,079,226 R$ 1,706,331 R$ 1,465,989
Additions 637,502 689,986 549,085
Amortization (504,907) (282,521) (289,436)
Transfer (6,230) (34,570) (19,307)
Final balance 2,205,591 2,079,226 R$ 1,706,331
Current 614,112 555,052  
Non-current R$ 1,591,479 R$ 1,524,174  

v3.23.1
Investments in joint controlled entities and associates - Summary of the positions of equity and income (loss) for the year (Details) - BRL (R$)
R$ in Thousands
12 Months Ended
Feb. 01, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Disclosure of investments accounted for using equity method [line items]          
Equity   R$ 12,174,968 R$ 10,469,240 R$ 9,910,265 R$ 9,835,175
Net income (loss) for the year   1,840,069 883,878 927,697  
Total investments   111,384 78,593    
Total provision for equity deficit   (157) 0    
Total [1]   111,227 78,593 162,620 R$ 178,854
Share of profit (loss) of joint ventures and associates   12,181 (17,634) (44,031)  
Transportadora sulbrasileira de gas [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   15,593 [2] 12,820    
Net income (loss) for the year   R$ 10,733 [2] R$ 2,209 R$ 7,383  
Interest in share capital - % in associates   25.00% [2] 25.00% 25.00%  
Total investments [2]   R$ 3,898 R$ 3,204    
Share of profit (loss) of joint ventures and associates [2]   2,771 552 R$ 1,846  
Metalurgica plus [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   (471) [3] (158)    
Net income (loss) for the year   R$ (314) [3] R$ (300) R$ (272)  
Interest in share capital - % in associates   33.00% [3] 33.00% 33.00%  
Investments with negative equity [3]   R$ (157) R$ (53)    
Share of profit (loss) of joint ventures and associates [3]   (105) (100) R$ (91)  
Plenogas distribuidora de gas [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   1,844 [3] 1,490    
Net income (loss) for the year   R$ 353 [3] R$ (13) R$ 357  
Interest in share capital - % in associates   33.00% [3] 33.00% 33.00%  
Total investments [3]   R$ 615 R$ 497    
Share of profit (loss) of joint ventures and associates [3]   118 (4) R$ 38  
Other investments [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   0      
Net income (loss) for the year   R$ 0      
Interest in share capital - % in associates   0.00%      
Total investments   R$ 28 28    
Share of profit (loss) of joint ventures and associates   0 (14) (12)  
União Vopak – Armazéns Gerais Ltda [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   8,912 [4] 16,672    
Net income (loss) for the year   R$ (7,760) [4] R$ 1,204 R$ 784  
Interest in share capital - % in joint ventures   50.00% [4] 50.00% 50.00%  
Total investments [4]   R$ 4,456 R$ 8,336    
Share of profit (loss) of joint ventures and associates [4]   (3,880) 602 R$ 392  
Refinaria de Petróleo Riograndense S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   75,850 13,700    
Net income (loss) for the year   R$ 78,599 R$ 2,477 R$ (65,623)  
Interest in share capital - % in joint ventures   33.00% 33.00% 33.00%  
ConectCar Soluções de Mobilidade Eletrônica S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   R$ 0 [5] R$ 156,198 [6]    
Net income (loss) for the year   R$ 0 [5] R$ (36,162) [6] R$ (43,276)  
Interest in share capital - % in joint ventures   0.00% [5] 50.00% [6] 50.00%  
Total investments [5]   R$ 0 R$ 0    
Share of profit (loss) of joint ventures and associates [5]   0 (18,081) R$ (21,638)  
Latitude Logística Portuária S.A [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   15,276 [7] 19,956    
Net income (loss) for the year   R$ (1,716) [7] R$ 1,186    
Interest in share capital - % in joint ventures   50.00% [7] 50.00%    
Total investments [7]   R$ 7,638 R$ 9,978    
Share of profit (loss) of joint ventures and associates [7]   (2,339) 593 0  
Navegantes Logística Portuária S.A [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   69,749 [7] 66,867    
Net income (loss) for the year   R$ (19,768) [7] R$ (9,096) R$ (4,781)  
Interest in share capital - % in joint ventures   33.00% [7] 33.00% 33.00%  
Total investments [7]   R$ 23,250 R$ 22,289    
Share of profit (loss) of joint ventures and associates [7]   (11,040) (3,032) R$ (1,594)  
Nordeste Logística I S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   19,021 [7] 7,249    
Net income (loss) for the year   R$ 9,098 [7] R$ 4,776 R$ (4,226)  
Interest in share capital - % in joint ventures   33.00% [7] 33.00% 33.00%  
Total investments [7]   R$ 6,340 R$ 2,416    
Share of profit (loss) of joint ventures and associates [7]   2,591 1,592 R$ (1,409)  
Nordeste Logística II S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   58,246 [7] 39,767    
Net income (loss) for the year   R$ (3,631) [7] R$ (2,458) R$ (1,203)  
Interest in share capital - % in joint ventures   33.00% [7] 33.00% 33.00%  
Total investments [7]   R$ 19,415 R$ 13,256    
Share of profit (loss) of joint ventures and associates [7]   (2,007) (819) R$ (401)  
Nordeste Logística III S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity   51,113 [7] 31,698    
Net income (loss) for the year   R$ 799 [7] R$ 766 R$ 1,878  
Interest in share capital - % in joint ventures   33.00% [7] 33.00% 33.00%  
Total investments [7]   R$ 17,038 R$ 10,566    
Share of profit (loss) of joint ventures and associates [7]   (30) 255 R$ 626  
Quimica da Bahia Industria e Comercio S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity [8]   7,040      
Net income (loss) for the year [8]   R$ (15)      
Interest in share capital - % in joint ventures 50.00% 50.00% [8]      
Total investments [8]   R$ 3,520 3,528    
Share of profit (loss) of joint ventures and associates [8]   (8) 0 0  
Investments with positive equity [member] | Refinaria de Petróleo Riograndense S.A. [member]          
Disclosure of investments accounted for using equity method [line items]          
Equity [9]   75,840      
Net income (loss) for the year [9]   R$ 78,614      
Interest in share capital - % in joint ventures [9]   33.00%      
Total investments [9]   R$ 25,186 4,548    
Share of profit (loss) of joint ventures and associates [9]   R$ 26,110 R$ 823 R$ (21,788)  
[1] Investments in subsidiaries, joint ventures and associates net of provision for negative equity.
[2] The subsidiary IPP holds an interest in Transportadora Sulbrasileira de Gás S.A. (“TSB”), which is primarily engaged in natural gas transportation services.
[3] The subsidiary Cia. Ultragaz holds an interest in Metalúrgica Plus S.A. (“Metalplus”), which is primarily engaged in the manufacture and trading of LPG containers and has interest in Plenogás Distribuidora de Gás S.A. (“Plenogás”), which is primarily engaged in the marketing of LPG containers. Currently, the associates have their operational activities suspended.
[4] The subsidiary Ultracargo Logística holds an interest in União Vopak – Armazéns Gerais Ltda. (“União Vopak”), which is primarily engaged in liquid bulk storage at the port of Paranaguá.
[5] The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
[6] The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.
[7] The subsidiary IPP participates in the port concession BEL02A at the port of Miramar, in Belém (PA), through Latitude Logística Portuária S.A. (“Latitude”); for the port of Vitória (ES), it participates through Navegantes Logística Portuária S.A. (“Navegantes”); in Cabedelo (PB), it holds an interest in Nordeste Logística I S.A. ("Nordeste Logística I"), Nordeste Logística II S.A. ("Nordeste Logística II”) and Nordeste Logística III S.A. (“Nordeste Logística III”).
[8] The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.
[9] The Company holds an interest in Refinaria de Petróleo Riograndense S.A. (“RPR”), which is primarily engaged in oil refining.

v3.23.1
Investments in joint controlled entities and associates - Summary of statements of financial position and statements of income of joint ventures (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Feb. 01, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Disclosure of joint ventures [line items]          
Current assets   R$ 18,564,600 R$ 25,024,181    
Non-current assets   17,876,403 13,986,176    
Current liabilities   12,766,252 12,640,230    
Non-current liabilities   11,499,783 15,900,887    
Equity   12,174,968 10,469,240 R$ 9,910,265 R$ 9,835,175
Net revenue   143,634,708 109,732,842 74,058,056  
Costs, operating expenses and income   (514,522) 96,166 64,034  
Net income (loss) for the year   1,840,069 883,878 927,697  
Uniao vopak [member]          
Disclosure of joint ventures [line items]          
Current assets   3,164 10,068    
Non-current assets   7,454 9,696    
Current liabilities   1,378 2,824    
Non-current liabilities   328 268    
Equity   8,912 [1] 16,672    
Net revenue   3,408 17,660 15,666  
Costs, operating expenses and income   (13,412) (16,144) (14,408)  
Finance income (costs), income and social contribution taxes   2,244 (312) (474)  
Net income (loss) for the year   R$ (7,760) [1] R$ 1,204 R$ 784  
Number of shares or units held   29,995 29,995 29,995  
Interest in share capital - % in joint ventures   50.00% [1] 50.00% 50.00%  
Rpr [member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 615,563 R$ 273,029    
Non-current assets   156,788 179,652    
Current liabilities   432,502 354,001    
Non-current liabilities   263,999 84,980    
Equity   75,850 13,700    
Net revenue   3,215,987 2,092,786 R$ 1,455,668  
Costs, operating expenses and income   (3,085,140) (2,105,544) (1,531,652)  
Finance income (costs), income and social contribution taxes   (52,248) 15,235 10,361  
Net income (loss) for the year   R$ 78,599 R$ 2,477 R$ (65,623)  
Number of shares or units held   5,078,888 5,078,888 5,078,888  
Interest in share capital - % in joint ventures   33.00% 33.00% 33.00%  
Química da Bahia [Member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 382      
Non-current assets   9,767      
Current liabilities   0      
Non-current liabilities   3,109      
Equity [2]   7,040      
Net revenue   0      
Costs, operating expenses and income   (15)      
Finance income (costs), income and social contribution taxes   0      
Net income (loss) for the year [2]   R$ (15)      
Number of shares or units held   1,493,122      
Interest in share capital - % in joint ventures 50.00% 50.00% [2]      
Connect car [member]          
Disclosure of joint ventures [line items]          
Current assets [3]     R$ 171,894    
Non-current assets [3]     177,217    
Current liabilities [3]     174,030    
Non-current liabilities [3]     18,883    
Equity   R$ 0 [4] 156,198 [3]    
Net revenue     60,436 [3] R$ 91,096  
Costs, operating expenses and income     (97,095) (134,961)  
Finance income (costs), income and social contribution taxes     497 589  
Net income (loss) for the year   R$ 0 [4] R$ (36,162) [3] R$ (43,276)  
Number of shares or units held     263,768,000 [3] 248,768,000  
Interest in share capital - % in joint ventures   0.00% [4] 50.00% [3] 50.00%  
Latitude Logística [member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 9,526 R$ 18,798    
Non-current assets   67,774 50,215    
Current liabilities   13,112 9,151    
Non-current liabilities   48,912 39,906    
Equity   15,276 [5] 19,956    
Net revenue   12,722 5,895    
Costs, operating expenses and income   (9,864) (2,591)    
Finance income (costs), income and social contribution taxes   (4,574) (2,118)    
Net income (loss) for the year   R$ (1,716) [5] R$ 1,186    
Number of shares or units held   9,384,693 4,383,881    
Interest in share capital - % in joint ventures   50.00% [5] 50.00%    
Navegantes Logística [member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 4,358 R$ 5,393    
Non-current assets   179,377 167,170    
Current liabilities   40,675 256    
Non-current liabilities   73,311 105,440    
Equity   69,749 [5] 66,867    
Net revenue   0 0 R$ 0  
Costs, operating expenses and income   (11,360) (1,579) (3,480)  
Finance income (costs), income and social contribution taxes   (8,408) (7,517) (1,301)  
Net income (loss) for the year   R$ (19,768) [5] R$ (9,096) R$ (4,781)  
Number of shares or units held   37,998,195 22,298,195 22,298,195  
Interest in share capital - % in joint ventures   33.00% [5] 33.00% 33.00%  
Nordeste Logística I [Member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 20,604 R$ 52,022    
Non-current assets   23,146 18,346    
Current liabilities   6,183 46,615    
Non-current liabilities   18,546 16,504    
Equity   19,021 [5] 7,249    
Net revenue   20,631 11,625 R$ 0  
Costs, operating expenses and income   (7,901) (3,260) (4,225)  
Finance income (costs), income and social contribution taxes   (3,632) (3,589) 0  
Net income (loss) for the year   R$ 9,098 [5] R$ 4,776 R$ (4,226)  
Number of shares or units held   984,587 681,637 681,637  
Interest in share capital - % in joint ventures   33.00% [5] 33.00% 33.00%  
Nordeste Logística II [Member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 38,951 R$ 36,958    
Non-current assets   40,806 17,279    
Current liabilities   10,915 1,418    
Non-current liabilities   10,596 13,052    
Equity   58,246 [5] 39,767    
Net revenue   3,205 2,016 R$ 0  
Costs, operating expenses and income   (7,367) (3,980) (1,203)  
Finance income (costs), income and social contribution taxes   531 (494) 0  
Net income (loss) for the year   R$ (3,631) [5] R$ (2,458) R$ (1,203)  
Number of shares or units held   22,393,571 3,933,265 3,933,265  
Interest in share capital - % in joint ventures   33.00% [5] 33.00% 33.00%  
Nordeste Logística III [Member]          
Disclosure of joint ventures [line items]          
Current assets   R$ 25,598 R$ 17,458    
Non-current assets   49,800 49,439    
Current liabilities   7,871 13,960    
Non-current liabilities   16,414 21,239    
Equity   51,113 [5] 31,698    
Net revenue   12,799 7,561 R$ 0  
Costs, operating expenses and income   (10,720) (5,030) 1,878  
Finance income (costs), income and social contribution taxes   (1,280) (1,765) 0  
Net income (loss) for the year   R$ 799 [5] R$ 766 R$ 1,878  
Number of shares or units held   16,977,737 4,871,241 4,871,241  
Interest in share capital - % in joint ventures   33.00% [5] 33.00% 33.00%  
[1] The subsidiary Ultracargo Logística holds an interest in União Vopak – Armazéns Gerais Ltda. (“União Vopak”), which is primarily engaged in liquid bulk storage at the port of Paranaguá.
[2] The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.
[3] The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.
[4] The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
[5] The subsidiary IPP participates in the port concession BEL02A at the port of Miramar, in Belém (PA), through Latitude Logística Portuária S.A. (“Latitude”); for the port of Vitória (ES), it participates through Navegantes Logística Portuária S.A. (“Navegantes”); in Cabedelo (PB), it holds an interest in Nordeste Logística I S.A. ("Nordeste Logística I"), Nordeste Logística II S.A. ("Nordeste Logística II”) and Nordeste Logística III S.A. (“Nordeste Logística III”).

v3.23.1
Investments in joint controlled entities and associates - Summary of Amounts of Balance Sheets and Income Statements of Associates (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Disclosure of associates [line items]        
Current assets R$ 18,564,600 R$ 25,024,181    
Non-current assets 17,876,403 13,986,176    
Current liabilities 12,766,252 12,640,230    
Non-current liabilities 11,499,783 15,900,887    
Equity 12,174,968 10,469,240 R$ 9,910,265 R$ 9,835,175
Net revenue 143,634,708 109,732,842 74,058,056  
Costs, operating expenses and income (514,522) 96,166 64,034  
Net income (loss) for the year 1,840,069 883,878 927,697  
Transportadora sulbrasileira de gas [member]        
Disclosure of associates [line items]        
Current assets 8,598 7,685    
Non-current assets 10,420 11,611    
Current liabilities 2,824 5,875    
Non-current liabilities 601 601    
Equity 15,593 [1] 12,820    
Net revenue 18,250 15,126 14,295  
Costs, operating expenses and income (7,593) (12,691) (6,475)  
Net finance income and income and social contribution taxes 76 (226) (437)  
Net income (loss) for the year R$ 10,733 [1] R$ 2,209 R$ 7,383  
Number of shares or units held 20,124,996 20,124,996 20,124,996  
Interest in share capital - % in associates 25.00% [1] 25.00% 25.00%  
Oxicap Industria de Gases [member]        
Disclosure of associates [line items]        
Current assets   R$ 90,156    
Non-current assets   70,496    
Current liabilities   44,408    
Non-current liabilities   7,562    
Equity   108,682    
Net revenue   69,611 R$ 58,677  
Costs, operating expenses and income   (68,390) (54,163)  
Net finance income and income and social contribution taxes   (904) (1,770)  
Net income (loss) for the year   R$ 317 R$ 2,744  
Number of shares or units held   1,987 1,987  
Interest in share capital - % in associates   15.00% 15.00%  
Quimica da Bahia Industria e Comercio S.A. [member]        
Disclosure of associates [line items]        
Current assets   R$ 14    
Non-current assets   10,151    
Current liabilities   0    
Non-current liabilities   3,109    
Equity   7,056    
Net revenue   0 R$ 0  
Costs, operating expenses and income   (28) (24)  
Net finance income and income and social contribution taxes   0 0  
Net income (loss) for the year   R$ (28) R$ (24)  
Number of shares or units held   1,493,120 1,493,120  
Interest in share capital - % in associates   50.00% 50.00%  
Metalurgica plus [member]        
Disclosure of associates [line items]        
Current assets R$ 6 R$ 47    
Non-current assets 0 126    
Current liabilities 29 28    
Non-current liabilities 448 303    
Equity (471) [2] (158)    
Net revenue 0 0 R$ 0  
Costs, operating expenses and income (245) (239) (212)  
Net finance income and income and social contribution taxes (69) (61) (60)  
Net income (loss) for the year R$ (314) [2] R$ (300) R$ (272)  
Number of shares or units held 3,000 3,000 3,000  
Interest in share capital - % in associates 33.00% [2] 33.00% 33.00%  
Plenogas distribuidora de gas [member]        
Disclosure of associates [line items]        
Current assets R$ 617 R$ 568    
Non-current assets 1,949 1,804    
Current liabilities 167 158    
Non-current liabilities 555 724    
Equity 1,844 [2] 1,490    
Net revenue 0 0 R$ 0  
Costs, operating expenses and income 356 18 396  
Net finance income and income and social contribution taxes (3) (31) (39)  
Net income (loss) for the year R$ 353 [2] R$ (13) R$ 357  
Number of shares or units held 1,384,308 1,384,308 1,384,308  
Interest in share capital - % in associates 33.00% [2] 33.00% 33.00%  
[1] The subsidiary IPP holds an interest in Transportadora Sulbrasileira de Gás S.A. (“TSB”), which is primarily engaged in natural gas transportation services.
[2] The subsidiary Cia. Ultragaz holds an interest in Metalúrgica Plus S.A. (“Metalplus”), which is primarily engaged in the manufacture and trading of LPG containers and has interest in Plenogás Distribuidora de Gás S.A. (“Plenogás”), which is primarily engaged in the marketing of LPG containers. Currently, the associates have their operational activities suspended.

v3.23.1
Investments in joint controlled entities and associates - Summary of balances and changes in investments in joint ventures and associates (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of associates [line items]      
Investments in joint ventures and associates at beginning of period [1] R$ 78,593 R$ 162,620 R$ 178,854
Share of profit (loss) of joint ventures and associates 12,181 (17,634) (44,031)
Share of profit (loss) of associates - discontinued operations   48 414
Dividends (6,374) (998) (2,357)
Valuation adjustments 267 99  
Actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes (1,440) 5,723  
Capital increase in cash 28,000 30,697 29,203
Capital decrease [2]   (6,501) (363)
Shareholder transactions - changes of interest 0 (966)  
Write-off of investment   (78,099)  
Reclassification to assets held for sale   (16,396)  
Other reserves     1,065
Proposed dividends     (165)
Investments in joint ventures and associates at end of period [1] 111,227 78,593 162,620
Joint ventures [member]      
Disclosure of associates [line items]      
Investments in joint ventures and associates at beginning of period [1] 71,389 137,004 153,076
Share of profit (loss) of joint ventures and associates 9,397 (18,068) (45,812)
Share of profit (loss) of associates - discontinued operations   0 0
Dividends (4,298) 0 0
Valuation adjustments 267 99  
Actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes (1,440) 5,723  
Capital increase in cash 28,000 30,697 29,203
Capital decrease [2]   (5,001) (363)
Shareholder transactions - changes of interest 3,528 (966)  
Write-off of investment   (78,099)  
Reclassification to assets held for sale   0  
Other reserves     1,065
Proposed dividends     (165)
Investments in joint ventures and associates at end of period [1] 106,843 71,389 137,004
Associates [member]      
Disclosure of associates [line items]      
Investments in joint ventures and associates at beginning of period [1] 7,204 25,616 25,778
Share of profit (loss) of joint ventures and associates 2,784 434 1,781
Share of profit (loss) of associates - discontinued operations   48 414
Dividends (2,076) (998) (2,357)
Valuation adjustments 0 0  
Actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes 0 0  
Capital increase in cash 0 0 0
Capital decrease [2]   (1,500) 0
Shareholder transactions - changes of interest (3,528) 0  
Write-off of investment   0  
Reclassification to assets held for sale   (16,396)  
Other reserves     0
Proposed dividends     0
Investments in joint ventures and associates at end of period [1] R$ 4,384 R$ 7,204 R$ 25,616
[1] Investments in subsidiaries, joint ventures and associates net of provision for negative equity.
[2] Refers to reimbursement of expenses that preceded the port area auctions and that were apportioned among the other members of the consortium.

v3.23.1
Investments in joint controlled entities and associates (Details - Textuals) - BRL (R$)
R$ in Thousands
12 Months Ended
Feb. 01, 2022
Oct. 01, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of joint ventures [line items]          
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position     R$ (220,190) R$ (158,733) R$ (487,390)
Gain (loss) on disposal of Conectcar         R$ 85,455
Quimica da Bahia Industria e Comercio S.A. [member]          
Disclosure of joint ventures [line items]          
Proportion of ownership interest in joint venture 50.00%   50.00% [1]    
Connect car [member]          
Disclosure of joint ventures [line items]          
Proportion of ownership interest in joint venture     0.00% [2] 50.00% [3] 50.00%
Connect car [member] | IPP [member]          
Disclosure of joint ventures [line items]          
Proportion of ownership interest in joint venture   50.00%      
Sale value of joint venture   R$ 165,000      
Sale value of joint venture after adjustments resulting from changes in working capital and net debt position   R$ 158,000      
[1] The Company acquired a 50% interest in Química da Bahia on February 1, 2022. Until January 31, 2022, Química da Bahia was an associate of Oxiteno S.A.
[2] The subsidiary IPP held an interest in ConectCar, which is primarily engaged in automatic payment of tolls and parking. On June 25, 2021, the sale of ConectCar to Porto Seguro S.A., through its subsidiary Portoseg S.A. – Crédito, Financiamento e Investimento, was announced. The transactions were completed on October 1, 2021. The sale value of the 50% interest in the subsidiary IPP was R$ 165 million, and, after adjustments resulting from changes in working capital and net debt position, totaled R$ 158 million.
[3] The balances presented refer to September 30, 2021, due to the completion of the sale of ConectCar on October 1, 2021.

v3.23.1
Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period R$ 1,651,295    
Transfer 5,311    
Amortization of right-of-use assets 288,419 R$ 260,716 R$ 242,670
Balance at end of period R$ 1,791,377 R$ 1,651,295  
Vehicles [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 9 years 8 years 8 years
Equipment [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 12 years 12 years 13 years
Right-of-use assets [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period R$ 1,651,295 R$ 2,150,286 R$ 1,980,912
Additions and remeasurement 504,297 296,402 52,322
Write-offs (70,485) (75,735) (34,631)
Transfer (5,311) [1] (11,935) [2]  
Exchange rate variation   1,837 9,107
Amortization of right-of-use assets (288,419) (359,506) (328,322)
Reclassification to assets held for sale   (350,054)  
Balance at end of period 1,791,377 1,651,295 2,150,286
Right-of-use assets [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period 2,283,862 2,735,591 2,287,797
Additions and remeasurement 504,297 335,359 52,322
Write-offs (216,441) (166,204) (86,994)
Transfer 0 [1] 0 [2] 11,568
Exchange rate variation   3,318  
Amortization of right-of-use assets 0 0 0
Reclassification to assets held for sale   (624,202)  
Balance at end of period 2,571,718 2,283,862 2,735,591
Right-of-use assets [member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (632,567) (585,305) (306,885)
Additions and remeasurement 0 0 0
Write-offs 145,956 90,469 52,363
Transfer (5,311) [1] (11,935) [2]  
Exchange rate variation   (1,481) (2,461)
Amortization of right-of-use assets (288,419) (359,506) (328,322)
Reclassification to assets held for sale   235,191  
Balance at end of period (780,341) (632,567) (585,305)
Right-of-use assets [member] | Provision for impairment losses [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period R$ 0 0  
Additions and remeasurement   (38,957)  
Write-offs   0  
Transfer [2]   0  
Exchange rate variation   0  
Amortization of right-of-use assets   0  
Reclassification to assets held for sale   38,957  
Balance at end of period   R$ 0 R$ 0
Right-of-use assets [member] | Real Estate Property [Member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 10 years 10 years 10 years
Balance at beginning of period R$ 1,793,473 R$ 2,254,432 R$ 2,068,254
Additions and remeasurement 366,805 257,787 259,244
Write-offs (140,380) (150,718) (78,529)
Transfer 0 [1] 0 [2] 5,463
Exchange rate variation   1,295  
Amortization of right-of-use assets 0 0 0
Reclassification to assets held for sale   (569,323)  
Balance at end of period 2,019,898 1,793,473 2,254,432
Right-of-use assets [member] | Real Estate Property [Member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (489,470) (481,975) (25,643)
Additions and remeasurement 0 0 0
Write-offs 79,003 76,954 46,282
Transfer (5,311) [1] 0 [2]  
Exchange rate variation   (530) (697)
Amortization of right-of-use assets (218,910) (283,882) (27,113)
Reclassification to assets held for sale   199,963  
Balance at end of period (634,688) (489,470) (481,975)
Right-of-use assets [member] | Real Estate Property [Member] | Provision for impairment losses [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period R$ 0 0  
Additions and remeasurement   (38,957)  
Write-offs   0  
Transfer [2]   0  
Exchange rate variation   0  
Amortization of right-of-use assets   0  
Reclassification to assets held for sale   38,957  
Balance at end of period   R$ 0 R$ 0
Right-of-use assets [member] | Port Areas [Member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 29 years 20 years 20 years
Balance at beginning of period R$ 299,630 R$ 268,534 R$ 68,007
Additions and remeasurement 11,868 31,096 [3] 200,527
Write-offs (324) 0 0
Transfer 0 [1] 0 [2] 0
Exchange rate variation   0  
Amortization of right-of-use assets 0 0 0
Reclassification to assets held for sale   0  
Balance at end of period 311,174 299,630 268,534
Right-of-use assets [member] | Port Areas [Member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (23,526) (3,962) 0
Additions and remeasurement 0 0 0
Write-offs 0 0 0
Transfer 0 [1] (11,935) [2]  
Exchange rate variation   0 0
Amortization of right-of-use assets (13,247) (7,629) (3,962)
Reclassification to assets held for sale   0  
Balance at end of period R$ (36,773) R$ (23,526) R$ (3,962)
Right-of-use assets [member] | Vehicles [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 4 years 4 years 4 years
Balance at beginning of period R$ 146,173 R$ 139,843 R$ 91,868
Additions and remeasurement 115,666 26,589 55,616
Write-offs (75,384) (9,315) (7,893)
Transfer 0 [1] 0 [2] 252
Exchange rate variation   103  
Amortization of right-of-use assets 0 0 0
Reclassification to assets held for sale   (11,047)  
Balance at end of period 186,455 146,173 139,843
Right-of-use assets [member] | Vehicles [member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (98,867) (63,091) (27,492)
Additions and remeasurement 0 0 0
Write-offs 66,554 7,032 5,509
Transfer 0 [1] 0 [2]  
Exchange rate variation   (54) 232
Amortization of right-of-use assets (51,589) (48,146) (4,134)
Reclassification to assets held for sale   5,392  
Balance at end of period R$ (83,902) R$ (98,867) R$ (63,091)
Right-of-use assets [member] | Equipment [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 5 years 6 years 6 years
Balance at beginning of period R$ 16,740 R$ 44,936 R$ 31,822
Additions and remeasurement 9,958 19,887 7,833
Write-offs (353) (6,171) (572)
Transfer 0 [1] 0 [2] 5,853
Exchange rate variation   1,920  
Amortization of right-of-use assets 0 0 0
Reclassification to assets held for sale   (43,832)  
Balance at end of period 26,345 16,740 44,936
Right-of-use assets [member] | Equipment [member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (1,834) (19,619) (76)
Additions and remeasurement 0 0 0
Write-offs 399 6,483 572
Transfer 0 [1] 0 [2]  
Exchange rate variation   (897) (1,996)
Amortization of right-of-use assets (1,415) (17,637) (10,595)
Reclassification to assets held for sale   29,836  
Balance at end of period R$ (2,850) R$ (1,834) R$ (19,619)
Right-of-use assets [member] | Other assets [member] | Cost [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Weighted average useful life 20 years 20 years 20 years
Balance at beginning of period R$ 27,846 R$ 27,846 R$ 27,846
Additions and remeasurement 0 0 0
Write-offs 0 0 0
Transfer 0 [1] 0 [2] 0
Exchange rate variation   0  
Amortization of right-of-use assets   0 0
Reclassification to assets held for sale   0  
Balance at end of period 27,846 27,846 27,846
Right-of-use assets [member] | Other assets [member] | Accumulated amortization [member]      
Disclosure of quantitative information about right-of-use assets [line items]      
Balance at beginning of period (18,870) (16,658) (15,363)
Additions and remeasurement 0 0 0
Write-offs 0 0 0
Transfer 0 [1] 0 [2]  
Exchange rate variation   0 0
Amortization of right-of-use assets (3,258) (2,212) (1,295)
Reclassification to assets held for sale   0  
Balance at end of period R$ (22,128) R$ (18,870) R$ (16,658)
[1] Refers to R$ 5,311 transferred to property, plant and equipment.
[2] Refers to the amortization of right-of-use assets in the subsidiary Tequimar Vila do Conde Logística Portuária S.A. (“Tequimar Vila do Conde”), which is being capitalized as Construction in progress, starting its operation in December 2021.
[3] Includes balances of R$ 14,905 referring to initial direct costs of right-of-use assets.

v3.23.1
Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail) (Parenthetical) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
[2]
Disclosure of quantitative information about right-of-use assets [line items]    
Transfer to property, plant and equipment R$ (5,311)  
Right-of-use assets [member]    
Disclosure of quantitative information about right-of-use assets [line items]    
Transfer to property, plant and equipment 5,311 [1] R$ 11,935
Right-of-use assets [member] | Port Areas [Member]    
Disclosure of quantitative information about right-of-use assets [line items]    
Initial direct costs of right-of-use assets R$ 14,905  
[1] Refers to R$ 5,311 transferred to property, plant and equipment.
[2] Refers to the amortization of right-of-use assets in the subsidiary Tequimar Vila do Conde Logística Portuária S.A. (“Tequimar Vila do Conde”), which is being capitalized as Construction in progress, starting its operation in December 2021.

v3.23.1
Right-of-use assets and leases payable - Summary of Changes in Lease Payables (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Lease liabilities      
Beginning balance R$ 1,348,311 R$ 1,833,288 R$ 1,588,673
Interest accrued 128,069 147,494 144,655
Payments 357,879 440,574 [1] 360,787
Additions and remeasurement 482,439 288,711 484,121
Write-offs (77,171) (83,157) (35,381)
Effect of foreign currency exchange rate variation   16,264 12,007
Reclassification to liabilities held for sale [2]   (413,715)  
Ending balance 1,523,769 1,348,311 R$ 1,833,288
Current 225,034 188,832  
Non-current R$ 1,298,735 1,159,479  
Tequimar Vila do Conde [member]      
Lease liabilities      
Payments   R$ 29,237  
[1] Includes the amount of R$ 29,237 paid by subsidiary Tequimar Vila do Conde related to port concession grants.
[2] For further details, see Note 4.c.2

v3.23.1
Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail)
R$ in Thousands
Dec. 31, 2022
BRL (R$)
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements R$ 2,404,105
Up to 1 year  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements 343,792
1 to 2 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements 319,284
2 to 3 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements 277,318
3 to 4 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements 201,227
4 to 5 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements 173,229
More than 5 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Future disbursements R$ 1,089,255

v3.23.1
Right-of-use assets and leases payable - Summary of weighted average discount rates for the lease payable (Detail)
Dec. 31, 2022
From 1 to 5 years  
Disclosure of maturity analysis of operating lease payments [line items]  
Weighted average discount rates (% p.a.) 8.00%
From 6 to 10 years [member]  
Disclosure of maturity analysis of operating lease payments [line items]  
Weighted average discount rates (% p.a.) 8.34%
From 11 to 15 years [member]  
Disclosure of maturity analysis of operating lease payments [line items]  
Weighted average discount rates (% p.a.) 9.50%
More than 15 years [member]  
Disclosure of maturity analysis of operating lease payments [line items]  
Weighted average discount rates (% p.a.) 9.75%

v3.23.1
Right-of-use assets and leases payable - Details about lease contracts of low amount assets (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of maturity analysis of operating lease payments [line items]    
Lease payments to be payable R$ 8,147 R$ 1,118
Up to 1 year    
Disclosure of maturity analysis of operating lease payments [line items]    
Lease payments to be payable 2,458 124
Between 1 and 5 years    
Disclosure of maturity analysis of operating lease payments [line items]    
Lease payments to be payable 5,689 994
More than 5 years [Member]    
Disclosure of maturity analysis of operating lease payments [line items]    
Lease payments to be payable R$ 0 R$ 0

v3.23.1
Right-of-use assets and leases payable - Additional Information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Right-of-use assets and leases payable      
Expense relating to leases of low-value assets R$ 18,466 R$ 13,524 R$ 13,965

v3.23.1
Property, Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning R$ 5,534,591 R$ 8,005,860 R$ 7,572,762
Property, plant, and equipment, additions 961,965 1,257,120 980,511
Property, plant, and equipment, depreciation (580,835) (829,804) (777,403)
Property, plant, and equipment, transfer 6,381 [1] 11,766 [2],[3] (1,156) [4]
Property, plant, and equipment, write-offs and disposals (60,202) (67,833) (82,920)
Property, plant, and equipment, exchange rate variation   99,386 314,066
Property, plant, and equipment, reclassified to assets held for sale [5]   (2,941,904)  
Property, plant, and equipment, Business acquisition 513    
Property, plant, and equipment, ending 5,862,413 5,534,591 8,005,860
Right-of-use assets [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, transfer 5,311 11,935  
Intangible assets      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, transfer 1,070 169  
Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 11,517,704 16,197,396 15,038,446
Property, plant, and equipment, additions 962,004 1,318,332 979,601
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 6,381 [1] 11,554 [2],[3] (3,781) [4]
Property, plant, and equipment, write-offs and disposals (301,944) (225,285) (203,300)
Property, plant, and equipment, exchange rate variation   129,266 386,430
Property, plant, and equipment, reclassified to assets held for sale [5]   (5,913,559)  
Property, plant, and equipment, Business acquisition 564    
Property, plant, and equipment, ending 12,184,709 11,517,704 16,197,396
Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (5,981,614) (8,188,289) (7,460,856)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (580,835) (829,804) (777,403)
Property, plant, and equipment, transfer 0 [1] 212 [2],[3] 2,625 [4]
Property, plant, and equipment, write-offs and disposals 241,968 157,419 119,560
Property, plant, and equipment, exchange rate variation   (29,832) (72,215)
Property, plant, and equipment, reclassified to assets held for sale [5]   2,908,680  
Property, plant, and equipment, Business acquisition (51)    
Property, plant, and equipment, ending (6,320,532) (5,981,614) (8,188,289)
Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (1,499) (3,247) (4,828)
Property, plant, and equipment, additions (39) (61,212) 910
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals 226 33 820
Property, plant, and equipment, exchange rate variation   (48) (149)
Property, plant, and equipment, reclassified to assets held for sale [5]   62,975  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending (1,764) (1,499) (3,247)
Land [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 610,294 687,108 667,865
Property, plant, and equipment, additions 0 2,424 21,300
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 23,539 [1] 0 [2],[3] 2,113 [4]
Property, plant, and equipment, write-offs and disposals (14,717) (17,503) (14,427)
Property, plant, and equipment, exchange rate variation   3,416 10,257
Property, plant, and equipment, reclassified to assets held for sale [5]   (65,151)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 619,116 610,294 687,108
Land [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (146) (146) (146)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals 0 0 0
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (146) R$ (146) R$ (146)
Buildings [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 32 years 33 years 32 years
Property, plant, and equipment, beginning R$ 1,486,721 R$ 2,154,710 R$ 1,925,946
Property, plant, and equipment, additions 20,020 47,920 25,572
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 73,744 [1] 119,748 [2],[3] 148,527 [4]
Property, plant, and equipment, write-offs and disposals (47,979) (34,925) (27,210)
Property, plant, and equipment, exchange rate variation   26,997 81,875
Property, plant, and equipment, reclassified to assets held for sale [5]   (827,729)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 1,532,506 1,486,721 2,154,710
Buildings [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (585,846) (851,397) (793,835)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (42,195) (68,388) (65,318)
Property, plant, and equipment, transfer 0 [1] (94) [2],[3] 2,376 [4]
Property, plant, and equipment, write-offs and disposals 36,229 23,031 20,021
Property, plant, and equipment, exchange rate variation   (6,872) (14,641)
Property, plant, and equipment, reclassified to assets held for sale [5]   317,874  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (591,812) R$ (585,846) R$ (851,397)
Leasehold improvements [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 13 years 10 years 9 years
Property, plant, and equipment, beginning R$ 1,056,179 R$ 1,222,822 R$ 1,121,528
Property, plant, and equipment, additions 40,685 21,944 28,374
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 82,317 [1] 136,206 [2],[3] 89,559 [4]
Property, plant, and equipment, write-offs and disposals (9,855) (31,587) (16,954)
Property, plant, and equipment, exchange rate variation   30 315
Property, plant, and equipment, reclassified to assets held for sale [5]   (293,236)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 1,169,326 1,056,179 1,222,822
Leasehold improvements [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (573,553) (689,161) (614,379)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (58,172) (81,976) (80,995)
Property, plant, and equipment, transfer 606 [1] 81 [2],[3] 49 [4]
Property, plant, and equipment, write-offs and disposals 12,863 27,519 6,252
Property, plant, and equipment, exchange rate variation   (37) (88)
Property, plant, and equipment, reclassified to assets held for sale [5]   170,021  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending (618,256) (573,553) (689,161)
Leasehold improvements [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (18) (61) (1,599)
Property, plant, and equipment, additions (12) (43,666) 910
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals 0 0 639
Property, plant, and equipment, exchange rate variation   (3) (11)
Property, plant, and equipment, reclassified to assets held for sale [5]   43,712  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (30) R$ (18) R$ (61)
Machinery [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 12 years 12 years 13 years
Property, plant, and equipment, beginning R$ 3,024,577 R$ 6,498,362 R$ 5,707,721
Property, plant, and equipment, additions 99,477 161,071 144,089
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 70,150 [1] 558,197 [2],[3] 378,883 [4]
Property, plant, and equipment, write-offs and disposals (7,518) (13,811) (5,554)
Property, plant, and equipment, exchange rate variation   93,412 273,223
Property, plant, and equipment, reclassified to assets held for sale [5]   (4,272,654)  
Property, plant, and equipment, Business acquisition 73    
Property, plant, and equipment, ending R$ 3,186,759 R$ 3,024,577 R$ 6,498,362
Machinery [member] | Gross carrying amount [member] | Right-of-use assets [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 5 years 6 years 6 years
Machinery [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning R$ (1,758,401) R$ (3,598,304) R$ (3,231,627)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (175,567) (356,637) (317,694)
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 59 [4]
Property, plant, and equipment, write-offs and disposals 7,024 11,717 4,091
Property, plant, and equipment, exchange rate variation   (21,651) (53,133)
Property, plant, and equipment, reclassified to assets held for sale [5]   2,206,474  
Property, plant, and equipment, Business acquisition (10)    
Property, plant, and equipment, ending (1,926,954) (1,758,401) (3,598,304)
Machinery [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (1,289) (2,857) (2,875)
Property, plant, and equipment, additions (27) (839) 0
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals 250 6 156
Property, plant, and equipment, exchange rate variation   (45) (138)
Property, plant, and equipment, reclassified to assets held for sale [5]   2,446  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (1,566) R$ (1,289) R$ (2,857)
Automotive fuel/lubricant distribution equipment and facilities [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 13 years 13 years 13 years
Property, plant, and equipment, beginning R$ 3,245,586 R$ 3,169,320 R$ 2,991,472
Property, plant, and equipment, additions 96,208 88,112 90,279
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 12,680 [1] 33,794 [2],[3] 133,963 [4]
Property, plant, and equipment, write-offs and disposals (141,351) (45,640) (46,394)
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 3,213,123 3,245,586 3,169,320
Automotive fuel/lubricant distribution equipment and facilities [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (2,050,533) (1,906,953) (1,766,878)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (175,899) (178,110) (176,404)
Property, plant, and equipment, transfer (3) [1] (311) [2],[3] (6) [4]
Property, plant, and equipment, write-offs and disposals 112,778 34,841 36,335
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending (2,113,657) (2,050,533) (1,906,953)
Automotive fuel/lubricant distribution equipment and facilities [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (46) (73) (98)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals 24 27 25
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (22) R$ (46) R$ (73)
LPG tanks and bottles [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 9 years 9 years 10 years
Property, plant, and equipment, beginning R$ 840,931 R$ 776,479 R$ 755,460
Property, plant, and equipment, additions 94,356 91,842 65,230
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 0 [1] 1,567 [2],[3] 289 [4]
Property, plant, and equipment, write-offs and disposals (15,000) (28,957) (44,500)
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 920,287 840,931 776,479
LPG tanks and bottles [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (498,310) (454,651) (425,554)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (69,860) (62,558) (56,267)
Property, plant, and equipment, transfer 0 [1] 0 [2],[3] (30) [4]
Property, plant, and equipment, write-offs and disposals 10,910 18,899 27,200
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   0  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ (557,260) R$ (498,310) R$ (454,651)
Vehicles [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 9 years 8 years 8 years
Property, plant, and equipment, beginning R$ 288,239 R$ 310,836 R$ 320,161
Property, plant, and equipment, additions 33,452 19,054 22,495
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 8,050 [1] 11,634 [2],[3] 8,363 [4]
Property, plant, and equipment, write-offs and disposals (4,647) (25,949) (40,517)
Property, plant, and equipment, exchange rate variation   82 334
Property, plant, and equipment, reclassified to assets held for sale [5]   (27,418)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending R$ 325,094 R$ 288,239 R$ 310,836
Vehicles [member] | Gross carrying amount [member] | Right-of-use assets [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 4 years 4 years 4 years
Vehicles [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning R$ (133,149) R$ (143,854) R$ (139,045)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (23,713) (22,927) (24,585)
Property, plant, and equipment, transfer 0 [1] 195 [2],[3] 48 [4]
Property, plant, and equipment, write-offs and disposals 2,685 15,480 19,997
Property, plant, and equipment, exchange rate variation   (20) (269)
Property, plant, and equipment, reclassified to assets held for sale [5]   17,977  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending (154,177) (133,149) (143,854)
Vehicles [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning R$ 0 0  
Property, plant, and equipment, additions   (160)  
Property, plant, and equipment, depreciation   0  
Property, plant, and equipment, transfer [2],[3]   0  
Property, plant, and equipment, write-offs and disposals   0  
Property, plant, and equipment, exchange rate variation   0  
Property, plant, and equipment, reclassified to assets held for sale [5]   160  
Property, plant, and equipment, ending   R$ 0 R$ 0
Furniture [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 9 years 8 years 9 years
Property, plant, and equipment, beginning R$ 168,092 R$ 316,712 R$ 295,604
Property, plant, and equipment, additions 34,905 33,644 13,985
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 5,140 [1] 2,277 [2],[3] 6,775 [4]
Property, plant, and equipment, write-offs and disposals (6,531) (14,614) (3,694)
Property, plant, and equipment, exchange rate variation   1,296 4,042
Property, plant, and equipment, reclassified to assets held for sale [5]   (171,223)  
Property, plant, and equipment, Business acquisition 102    
Property, plant, and equipment, ending 201,708 168,092 316,712
Furniture [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (112,288) (191,713) (171,475)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (11,496) (23,594) (21,060)
Property, plant, and equipment, transfer (603) [1] 24 [2],[3] 7 [4]
Property, plant, and equipment, write-offs and disposals 5,953 14,443 2,988
Property, plant, and equipment, exchange rate variation   (817) (2,173)
Property, plant, and equipment, reclassified to assets held for sale [5]   89,369  
Property, plant, and equipment, Business acquisition (4)    
Property, plant, and equipment, ending (118,438) (112,288) (191,713)
Furniture [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning R$ 0 0  
Property, plant, and equipment, additions   (14,887)  
Property, plant, and equipment, depreciation   0  
Property, plant, and equipment, transfer [2],[3]   0  
Property, plant, and equipment, write-offs and disposals   0  
Property, plant, and equipment, exchange rate variation   0  
Property, plant, and equipment, reclassified to assets held for sale [5]   14,887  
Property, plant, and equipment, ending   R$ 0 R$ 0
IT equipment [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, weighted average useful life 5 years 5 years 5 years
Property, plant, and equipment, beginning R$ 330,375 R$ 444,844 R$ 412,809
Property, plant, and equipment, additions 24,069 28,350 32,134
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer 2,053 [1] 901 [2],[3] 539 [4]
Property, plant, and equipment, write-offs and disposals (53,863) (11,998) (2,827)
Property, plant, and equipment, exchange rate variation   705 2,189
Property, plant, and equipment, reclassified to assets held for sale [5]   (132,427)  
Property, plant, and equipment, Business acquisition 389    
Property, plant, and equipment, ending 303,023 330,375 444,844
IT equipment [member] | Accumulated depreciation [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning (269,534) (352,256) (318,063)
Property, plant, and equipment, additions 0 0 0
Property, plant, and equipment, depreciation (23,933) (35,614) (35,080)
Property, plant, and equipment, transfer 0 [1] 317 [2],[3] 122 [4]
Property, plant, and equipment, write-offs and disposals 53,526 11,489 2,676
Property, plant, and equipment, exchange rate variation   (435) (1,911)
Property, plant, and equipment, reclassified to assets held for sale [5]   106,965  
Property, plant, and equipment, Business acquisition (37)    
Property, plant, and equipment, ending (239,978) (269,534) (352,256)
IT equipment [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 0 0  
Property, plant, and equipment, additions   (1,660)  
Property, plant, and equipment, depreciation   0  
Property, plant, and equipment, transfer [2],[3]   0  
Property, plant, and equipment, write-offs and disposals   0  
Property, plant, and equipment, exchange rate variation   0  
Property, plant, and equipment, reclassified to assets held for sale [5]   1,660  
Property, plant, and equipment, ending   0 0
Construction in progress [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 452,248 580,695 827,086
Property, plant, and equipment, additions 482,043 797,674 506,367
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer (239,082) [1] (829,245) [2],[3] (765,785) [4]
Property, plant, and equipment, write-offs and disposals (483) (301) (1,167)
Property, plant, and equipment, exchange rate variation   3,290 14,194
Property, plant, and equipment, reclassified to assets held for sale [5]   (99,865)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 694,726 452,248 580,695
Advances to suppliers [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 14,281 34,642 12,544
Property, plant, and equipment, additions 35,887 21,985 28,339
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer (32,029) [1] (18,894) [2],[3] (6,185) [4]
Property, plant, and equipment, write-offs and disposals 0 0 (56)
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   (23,452)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 18,139 14,281 34,642
Advances to suppliers [member] | Provision for losses and impairment [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 0 (110) (110)
Property, plant, and equipment, additions   0 0
Property, plant, and equipment, depreciation   0 0
Property, plant, and equipment, transfer   0 [2],[3] 0 [4]
Property, plant, and equipment, write-offs and disposals   0 0
Property, plant, and equipment, exchange rate variation   0 0
Property, plant, and equipment, reclassified to assets held for sale [5]   110  
Property, plant, and equipment, ending   0 (110)
Imports in progress [member] | Gross carrying amount [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, beginning 181 866 250
Property, plant, and equipment, additions 902 4,312 1,437
Property, plant, and equipment, depreciation 0 0 0
Property, plant, and equipment, transfer (181) [1] (4,631) [2],[3] (822) [4]
Property, plant, and equipment, write-offs and disposals 0 0 0
Property, plant, and equipment, exchange rate variation   38 1
Property, plant, and equipment, reclassified to assets held for sale [5]   (404)  
Property, plant, and equipment, Business acquisition 0    
Property, plant, and equipment, ending 902 R$ 181 R$ 866
Works in progress, Advances to Suppliers and Imports in progress [member]      
Disclosure of detailed information about property, plant and equipment [line items]      
Property, plant, and equipment, transfer R$ 271,292    
[1] Refers to R$ 271,292 transferred from Works in progress, Advances to Suppliers and Imports in progress to the other classes of property, plant and equipment, R$ 5,311 transferred from right-of-use assets and R$ 1,070 transferred from intangible assets.
[2] Includes R$ 11,935 transferred from right-of-use assets.
[3] Refers to R$ 169 transferred to intangible assets.
[4] Refers to amounts transferred between items and to intangible assets.
[5] For further information, see Note 4.c

v3.23.1
Intangible Assets - Balance and changes in intangible assets (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning R$ 1,471,256 R$ 1,782,655 R$ 1,762,593
Intangible assets, additions 1,013,408 318,335 310,412
Intangible assets, amortization (158,069) (212,222) (182,681)
Intangible assets, transfer (1,070) [1] 169 [2] (65) [3]
Intangible assets, write-offs and disposals (403,625) (177,334) (128,545)
Intangible assets, exchange rate variation (3,551) 4,923 20,941
Intangible assets, reclassification to assets held for sale [4]   (245,270)  
Intangible assets, ending balance 1,918,349 1,471,256 1,782,655
Cost [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 2,264,080 3,388,802 3,191,963
Intangible assets, additions 1,013,408 462,826 310,412
Intangible assets, amortization 0 0 0
Intangible assets, transfer (1,070) [1] 372 [2] (65) [3]
Intangible assets, write-offs and disposals (528,490) (196,663) (138,854)
Intangible assets, exchange rate variation (3,551) 6,491 25,346
Intangible assets, reclassification to assets held for sale [4]   (1,397,748)  
Intangible assets, ending balance 2,744,377 2,264,080 3,388,802
Cost [member] | Goodwill [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 818,096 1,525,088 1,525,088
Intangible assets, additions 99,679 0 0
Intangible assets, amortization 0 0 0
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   (706,992)  
Intangible assets, ending balance R$ 917,775 R$ 818,096 R$ 1,525,088
Cost [member] | Software [member]      
Disclosure of detailed information about intangible assets [line items]      
Weighted average useful life (years) 5 years 4 years 4 years
Intangible assets, beginning R$ 1,146,980 R$ 1,395,046 R$ 1,210,529
Intangible assets, additions 277,600 284,311 184,027
Intangible assets, amortization 0 0 0
Intangible assets, transfer 173 [1] 372 [2] 993 [3]
Intangible assets, write-offs and disposals (125,665) (19,826) (6,633)
Intangible assets, exchange rate variation 0 1,808 6,130
Intangible assets, reclassification to assets held for sale [4]   (514,731)  
Intangible assets, ending balance 1,299,088 1,146,980 1,395,046
Cost [member] | Technology [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning R$ 0 32,617 32,617
Intangible assets, additions   0 0
Intangible assets, amortization   0 0
Intangible assets, transfer   0 [2] 0 [3]
Intangible assets, write-offs and disposals   0 0
Intangible assets, exchange rate variation   0 0
Intangible assets, reclassification to assets held for sale [4]   (32,617)  
Intangible assets, ending balance   0 32,617
Cost [member] | Commercial property rights [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning   R$ 0 7,934
Intangible assets, additions     0
Intangible assets, amortization     0
Intangible assets, transfer [3]     0
Intangible assets, write-offs and disposals     (7,934)
Intangible assets, exchange rate variation     0
Intangible assets, ending balance     R$ 0
Cost [member] | Distribution rights asset [member]      
Disclosure of detailed information about intangible assets [line items]      
Weighted average useful life (years) 12 years 12 years 10 years
Intangible assets, beginning R$ 114,593 R$ 133,599 R$ 133,599
Intangible assets, additions 0 0 0
Intangible assets, amortization 0 0 0
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   (19,006)  
Intangible assets, ending balance 114,593 114,593 133,599
Cost [member] | Brands [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 69,198 136,962 122,504
Intangible assets, additions 0 0 0
Intangible assets, amortization 0 0 0
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation (3,551) 4,759 14,458
Intangible assets, reclassification to assets held for sale [4]   (72,523)  
Intangible assets, ending balance R$ 65,647 R$ 69,198 R$ 136,962
Cost [member] | Trademark rights [member]      
Disclosure of detailed information about intangible assets [line items]      
Weighted average useful life (years) 39 years 39 years 39 years
Intangible assets, beginning R$ 114,792 R$ 114,792 R$ 114,792
Intangible assets, additions 0 0 0
Intangible assets, amortization 0 0 0
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   0  
Intangible assets, ending balance R$ 114,792 R$ 114,792 R$ 114,792
Cost [member] | Others [member]      
Disclosure of detailed information about intangible assets [line items]      
Weighted average useful life (years) 10 years 10 years 10 years
Intangible assets, beginning R$ 421 R$ 50,698 R$ 44,900
Intangible assets, additions 999 1,678 1,040
Intangible assets, amortization 0 0 0
Intangible assets, transfer (1,243) [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 (76) 4,758
Intangible assets, reclassification to assets held for sale [4]   (51,879)  
Intangible assets, ending balance 177 421 50,698
Cost [member] | Decarbonization credits (CBIO) [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 0 0 0
Intangible assets, additions 635,130 176,837 125,345
Intangible assets, amortization 0 0 0
Intangible assets, transfer 0 [1] 0 [2] (1,058) [3]
Intangible assets, write-offs and disposals (402,825) (176,837) (124,287)
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   0  
Intangible assets, ending balance 232,305 0 0
Accumulated amortization [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning (792,824) (1,012,867) (835,625)
Intangible assets, additions 0 0 0
Intangible assets, amortization (158,069) (212,222) (182,681)
Intangible assets, transfer 0 [1] (203) [2] 0 [3]
Intangible assets, write-offs and disposals 124,865 19,329 9,844
Intangible assets, exchange rate variation 0 (1,568) (4,405)
Intangible assets, reclassification to assets held for sale [4]   414,707  
Intangible assets, ending balance (826,028) (792,824) (1,012,867)
Accumulated amortization [member] | Software [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning (679,402) (825,024) (648,861)
Intangible assets, additions 0 0 0
Intangible assets, amortization (154,122) (206,025) (175,144)
Intangible assets, transfer 0 [1] (203) [2] 0 [3]
Intangible assets, write-offs and disposals 124,865 19,329 3,375
Intangible assets, exchange rate variation 0 (1,566) (4,394)
Intangible assets, reclassification to assets held for sale [4]   334,087  
Intangible assets, ending balance (708,659) (679,402) (825,024)
Accumulated amortization [member] | Technology [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 0 (32,616) (32,616)
Intangible assets, additions   0 0
Intangible assets, amortization   0 0
Intangible assets, transfer   0 [2] 0 [3]
Intangible assets, write-offs and disposals   0 0
Intangible assets, exchange rate variation   0 0
Intangible assets, reclassification to assets held for sale [4]   32,616  
Intangible assets, ending balance   0 (32,616)
Accumulated amortization [member] | Commercial property rights [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning   0 (6,384)
Intangible assets, additions     0
Intangible assets, amortization     (85)
Intangible assets, transfer [3]     0
Intangible assets, write-offs and disposals     6,469
Intangible assets, exchange rate variation     0
Intangible assets, ending balance     0
Accumulated amortization [member] | Distribution rights asset [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning (101,027) (113,326) (108,932)
Intangible assets, additions 0 0 0
Intangible assets, amortization (1,010) (3,093) (4,394)
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   15,392  
Intangible assets, ending balance (102,037) (101,027) (113,326)
Accumulated amortization [member] | Trademark rights [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning (11,993) (9,056) (6,119)
Intangible assets, additions 0 0 0
Intangible assets, amortization (2,937) (2,937) (2,937)
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 0 0
Intangible assets, reclassification to assets held for sale [4]   0  
Intangible assets, ending balance (14,930) (11,993) (9,056)
Accumulated amortization [member] | Others [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning (402) (32,845) (32,713)
Intangible assets, additions 0 0 0
Intangible assets, amortization 0 (167) (121)
Intangible assets, transfer 0 [1] 0 [2] 0 [3]
Intangible assets, write-offs and disposals 0 0 0
Intangible assets, exchange rate variation 0 (2) (11)
Intangible assets, reclassification to assets held for sale [4]   32,612  
Intangible assets, ending balance (402) (402) (32,845)
Provision for losses and impairment [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 0 (593,280) (593,745)
Intangible assets, additions   (144,491) 0
Intangible assets, amortization   0 0
Intangible assets, transfer   0 [2] 0 [3]
Intangible assets, write-offs and disposals   0 465
Intangible assets, exchange rate variation   0 0
Intangible assets, reclassification to assets held for sale [4]   737,771  
Intangible assets, ending balance   0 (593,280)
Provision for losses and impairment [member] | Goodwill [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning 0 (593,280) (593,280)
Intangible assets, additions   (68,273) 0
Intangible assets, amortization   0 0
Intangible assets, transfer   0 [2] 0 [3]
Intangible assets, write-offs and disposals   0 0
Intangible assets, exchange rate variation   0 0
Intangible assets, reclassification to assets held for sale [4]   661,553  
Intangible assets, ending balance   0 (593,280)
Provision for losses and impairment [member] | Commercial property rights [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning   0 (465)
Intangible assets, additions     0
Intangible assets, amortization     0
Intangible assets, transfer [3]     0
Intangible assets, write-offs and disposals     465
Intangible assets, exchange rate variation     0
Intangible assets, ending balance     0
Provision for losses and impairment [member] | Distribution rights asset [member]      
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, beginning R$ 0 0  
Intangible assets, additions   (76,218)  
Intangible assets, amortization   0  
Intangible assets, transfer [2]   0  
Intangible assets, write-offs and disposals   0  
Intangible assets, exchange rate variation   0  
Intangible assets, reclassification to assets held for sale [4]   76,218  
Intangible assets, ending balance   R$ 0 R$ 0
[1] Refers to R$ 1,070 transferred to property, plant and equipment.
[2] Refers to amounts transferred from property, plant and equipment.
[3] Refers to amounts transferred to property, plant and equipment and prepaid expenses.
[4] For further information, see Note 4.c.2

v3.23.1
Intangible Assets - Transfer to property, plant and equipment (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about intangible assets [line items]      
Intangible assets, transfer R$ 1,070 [1] R$ (169) [2] R$ 65 [3]
[1] Refers to R$ 1,070 transferred to property, plant and equipment.
[2] Refers to amounts transferred from property, plant and equipment.
[3] Refers to amounts transferred to property, plant and equipment and prepaid expenses.

v3.23.1
Intangible Assets - Balances of goodwill (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure of reconciliation of changes in goodwill [line items]    
Goodwill R$ 917,775 R$ 818,096
Extrafarma [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Extrafarma  
Goodwill acquisition gross R$ 0 661,553
Goodwill acquisition impairment [1] 0 661,553
Goodwill R$ 0 0
Ipiranga [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment [2] Ipiranga  
Goodwill [2] R$ 276,724 276,724
Uniao Terminais [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ultracargo  
Goodwill R$ 211,089 211,089
Texaco [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ipiranga  
Goodwill R$ 177,759 177,759
Iconic (CBLSA)[member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ipiranga  
Goodwill R$ 69,807 69,807
Temmar [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ultracargo  
Goodwill R$ 43,781 43,781
DNP [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ipiranga  
Goodwill R$ 24,736 24,736
Repsol [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ultragaz  
Goodwill R$ 13,403 13,403
Stella [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment [3] Ultragaz  
Goodwill [3] R$ 99,679 0
TEAS Terminal Exportador de Alcool de Santos Ltda. [member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Segment Ultracargo  
Goodwill R$ 797 R$ 797
[1] For further information, see Note 4.a
[2] Including R$ 246,163 presented as goodwill at the Parent.
[3] For further information, see Note 33.a.

v3.23.1
Intangible Assets - Balances of goodwill (Parenthetical) (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure of reconciliation of changes in goodwill [line items]    
Goodwill R$ 917,775 R$ 818,096
Parent Company [Member]    
Disclosure of reconciliation of changes in goodwill [line items]    
Goodwill R$ 246,163  

v3.23.1
Intangible Assets - Additional Information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about intangible assets [line items]      
Period of evaluation 5 years    
Software [member]      
Disclosure of detailed information about intangible assets [line items]      
Software in progress R$ 18,673 R$ 27,672 R$ 13,684
Bottom of range [member]      
Disclosure of detailed information about intangible assets [line items]      
Discount rate 10.10%    
Real growth rate 0.50%    
Top of range [member]      
Disclosure of detailed information about intangible assets [line items]      
Discount rate 11.10%    
Real growth rate 0.50%    

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Compostion of loans (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Disclosure of detailed information about borrowings [line items]        
Foreign currency - denominated loans R$ 5,190,156 R$ 8,832,815    
Brazilian Real - denominated loans 6,035,893 7,347,651    
Total foreign currency and Brazilian Reais 11,226,049 16,180,466    
Currency and interest rate hedging instruments [1] 524,312 197,177    
Total 11,750,361 16,377,643 R$ 17,376,216 R$ 14,392,722
Current 3,360,677 2,866,051    
Non-current R$ 8,389,684 13,511,592    
Loan 1 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Notes in the foreign market      
Foreign currency - denominated loans R$ 3,973,816 7,821,441    
Index/Currency US$      
Weighted average financial charges 5.30%      
Borrowings, maturity date 2026 and 2029      
Loan 2 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Foreign loan      
Foreign currency - denominated loans R$ 1,161,798 735,438    
Index/Currency US$      
Weighted average financial charges 4.20%      
Borrowings, maturity date 2023 and 2025      
Loan 3 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Foreign loan      
Foreign currency - denominated loans R$ 0 275,936    
Index/Currency [2] US$ + LIBOR      
Weighted average financial charges 0.00%      
Loan 4 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Foreign loan      
Foreign currency - denominated loans R$ 54,542 0    
Index/Currency EU$      
Weighted average financial charges 2.90%      
Borrowings, maturity date 2023      
Loan 5 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures – CRA      
Foreign currency - denominated loans R$ 660,485 2,063,788    
Index/Currency DI      
Weighted average financial charges 97.50%      
Borrowings, maturity date 2023      
Loan 6 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures - 6      
Foreign currency - denominated loans R$ 1,800,213 1,764,199    
Index/Currency DI      
Weighted average financial charges 105.30%      
Borrowings, maturity date 2023      
Loan 7 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures – CRA      
Foreign currency - denominated loans R$ 3,011,462 1,940,237    
Index/Currency IPCA      
Weighted average financial charges 5.10%      
Borrowings, maturity date 2024 and 2032      
Loan 8 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures – Ipiranga      
Foreign currency - denominated loans R$ 0 771,538    
Index/Currency DI      
Loan 9 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures - Ultracargo Logística and Tequimar Vila do Conde      
Foreign currency - denominated loans R$ 482,185 466,061    
Index/Currency IPCA      
Weighted average financial charges 4.10%      
Borrowings, maturity date 2028      
Loan 10 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Banco do Brasil floating rate      
Foreign currency - denominated loans R$ 0 204,813    
Index/Currency DI      
Loan 11 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Debentures – Ultracargo Logística      
Foreign currency - denominated loans R$ 81,548 80,946    
Index/Currency R$      
Weighted average financial charges 6.50%      
Borrowings, maturity date 2024      
Loan 12 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Bank Credit Bill      
Foreign currency - denominated loans R$ 0 51,179    
Index/Currency DI      
Loan 13 [member]        
Disclosure of detailed information about borrowings [line items]        
Description Financial institutions      
Foreign currency - denominated loans R$ 0 4,564    
Index/Currency R$      
Loan 14 [member]        
Disclosure of detailed information about borrowings [line items]        
Description FINEP      
Foreign currency - denominated loans R$ 0 R$ 326    
Index/Currency [3] TJLP      
[1] Accumulated losses (see Note 31.i).
[2] LIBOR = London Interbank Offered Rate.
[3] TJLP (Long-term Interest Rate) = set by the National Monetary Council, TJLP is the basic financing cost of Banco Nacional de Desenvolvimento Econômico e Social (“BNDES”), the Brazilian Development Bank. On December 31, 2022, TLP was fixed at 7.20% p.a.

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Changes in Loans, Debentures and Finance Leases (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about borrowings [abstract]      
Loans, debentures and finance leases, beginning R$ 16,377,643 R$ 17,376,216 R$ 14,392,722
New loans and debentures with cash effect 1,519,580 1,462,220 3,591,624
Interest accrued 945,023 801,102 757,161
Principal payment (5,848,611) (2,922,214) (2,795,002)
Interest payment (914,979) (749,043) (740,853)
Monetary and exchange rate variation (587,064) 800,749 2,048,688
Change in fair value (68,366) (229,657) 34,702
Hedge result 327,135 80,018 87,174
Reclassification to liabilities held for sale [1]   (241,748)  
Loans, debentures and finance leases, ending R$ 11,750,361 R$ 16,377,643 R$ 17,376,216
[1] For further details, see Note 4.c.1.

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Principal Maturity Schedule (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about borrowings [line items]    
Long term debt R$ 8,389,684 R$ 13,511,592
From 1 to 2 years [Member]    
Disclosure of detailed information about borrowings [line items]    
Long term debt 817,898 3,092,734
From 2 to 3 years [Member]    
Disclosure of detailed information about borrowings [line items]    
Long term debt 782,965 774,904
From 3 to 4 years [Member]    
Disclosure of detailed information about borrowings [line items]    
Long term debt 2,268,647 270,401
From 4 to 5 years [Member]    
Disclosure of detailed information about borrowings [line items]    
Long term debt 0 3,056,499
More than 5 years [Member]    
Disclosure of detailed information about borrowings [line items]    
Long term debt R$ 4,520,174 R$ 6,317,054

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Transaction Costs (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of detailed information about borrowings [line items]      
Transaction costs, beginning R$ 82,584 R$ 67,110 R$ 71,766
Incurred costs 30,420 40,953 20,065
Payments (32,431) (21,275)  
Reclassification to liabilities held for sale   (4,204)  
Amortization     (24,721)
Transaction costs, ending R$ 80,573 R$ 82,584 R$ 67,110
Debentures [member]      
Disclosure of detailed information about borrowings [line items]      
Effective rate of transaction costs 0.20% 0.20% 0.20%
Transaction costs, beginning R$ 54,490 R$ 28,348 R$ 41,406
Incurred costs 30,420 40,953 0
Payments (16,742) (14,811)  
Reclassification to liabilities held for sale   0  
Amortization     (13,058)
Transaction costs, ending R$ 68,168 R$ 54,490 R$ 28,348
Notes in the foreign market [member]      
Disclosure of detailed information about borrowings [line items]      
Effective rate of transaction costs 0.10% 0.10% 0.10%
Transaction costs, beginning R$ 28,018 R$ 37,112 R$ 28,114
Incurred costs 0 0 13,263
Payments (15,613) (4,890)  
Reclassification to liabilities held for sale   (4,204)  
Amortization     (4,265)
Transaction costs, ending 12,405 28,018 R$ 37,112
Notes [member]      
Disclosure of detailed information about borrowings [line items]      
Effective rate of transaction costs     0.50%
Transaction costs, beginning   R$ 1,318 R$ 0
Incurred costs     6,802
Amortization     (5,484)
Transaction costs, ending     1,318
Promissory notes [Member]      
Disclosure of detailed information about borrowings [line items]      
Effective rate of transaction costs   0.00%  
Transaction costs, beginning R$ 0 R$ 1,318  
Incurred costs   0  
Payments   (1,318)  
Reclassification to liabilities held for sale   0  
Transaction costs, ending   R$ 0 R$ 1,318
Banco do Brasil [member]      
Disclosure of detailed information about borrowings [line items]      
Effective rate of transaction costs 0.10% 0.10% 0.10%
Transaction costs, beginning R$ 76 R$ 332 R$ 770
Incurred costs 0 0 0
Payments (76) (256)  
Reclassification to liabilities held for sale   0  
Amortization     (438)
Transaction costs, ending R$ 0 76 332
Foreign loans [member]      
Disclosure of detailed information about borrowings [line items]      
Transaction costs, beginning   0 94
Incurred costs     0
Amortization     (94)
Transaction costs, ending     0
Othes [member]      
Disclosure of detailed information about borrowings [line items]      
Transaction costs, beginning   R$ 0 1,382
Incurred costs     0
Amortization     (1,382)
Transaction costs, ending     R$ 0

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail)
R$ in Thousands
Dec. 31, 2022
BRL (R$)
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future R$ 80,573
Up to 1 year  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 16,800
1 to 2 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 12,661
2 to 3 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 11,744
3 to 4 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 11,359
4 to 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 10,721
More than 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 17,288
Debentures [member]  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 68,168
Debentures [member] | Up to 1 year  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 14,511
Debentures [member] | 1 to 2 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 10,363
Debentures [member] | 2 to 3 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 9,450
Debentures [member] | 3 to 4 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 9,272
Debentures [member] | 4 to 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 9,309
Debentures [member] | More than 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 15,263
Notes in the foreign market [member]  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 12,405
Notes in the foreign market [member] | Up to 1 year  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 2,289
Notes in the foreign market [member] | 1 to 2 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 2,298
Notes in the foreign market [member] | 2 to 3 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 2,294
Notes in the foreign market [member] | 3 to 4 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 2,087
Notes in the foreign market [member] | 4 to 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future 1,412
Notes in the foreign market [member] | More than 5 years  
Disclosure of detailed information about borrowings [line items]  
Amount appropriated to profit or loss in the future R$ 2,025

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Collateral to Financial Institutions (Detail) - Empreendimentos Pague Menos S.A. - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about borrowings [line items]    
Maximum amount of future payments related to these collaterals R$ 550,908 R$ 690,347
Maturities of up to 51 months 49 months
Fair value of collaterals R$ 9,914 R$ 9,923

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Foreign Loan Maturity (Detail)
€ in Thousands, R$ in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
EUR (€)
Dec. 31, 2022
BRL (R$)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
BRL (R$)
Dec. 31, 2020
BRL (R$)
Dec. 31, 2019
BRL (R$)
Disclosure of detailed information about borrowings [line items]            
Loan maturity, amount   R$ 11,750,361   R$ 16,377,643 R$ 17,376,216 R$ 14,392,722
IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Loan maturity, amount € 9,793 R$ 1,216,340 $ 222,665      
Cost in percentage of DI 106.70% 106.70% 106.70%      
Charges [member] | IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Loan maturity, amount [1] € 84 R$ 7,386 $ 1,326      
Cost in percentage of DI [1] 0.00% 0.00% 0.00%      
Foreign loan one [member] | IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Borrowings, maturity date Mar/2023          
Loan maturity, amount € 9,709 R$ 54,072 $ 0      
Cost in percentage of DI 111.60% 111.60% 111.60%      
Foreign loan two [member] | IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Borrowings, maturity date Sept/2023          
Loan maturity, amount € 0 R$ 313,062 $ 60,000      
Cost in percentage of DI 105.00% 105.00% 105.00%      
Foreign loan three [member] | IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Borrowings, maturity date Sept/2023          
Loan maturity, amount € 0 R$ 339,151 $ 65,000      
Cost in percentage of DI 104.80% 104.80% 104.80%      
Foreign loan four [member] | IPP [member] | Foreign loans [member]            
Disclosure of detailed information about borrowings [line items]            
Borrowings, maturity date Sept/2025          
Loan maturity, amount € 0 R$ 502,669 $ 96,339      
Cost in percentage of DI 108.50% 108.50% 108.50%      
[1] Includes interest, transaction costs and mark to market.

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Debentures (Detail) - BRL (R$)
R$ / shares in Units, R$ in Thousands
12 Months Ended
Dec. 31, 2022
Jun. 30, 2022
Sep. 30, 2021
Debentures first issue [member] | Tequimar Vila do Conde [member]      
Summary of loans debentures and finance leases [line items]      
Interest 111.4% of the DI    
Debentures second issue [member] | Ultracargo Logística S.A.      
Summary of loans debentures and finance leases [line items]      
Interest 111.4% of the DI    
Debentures tenth issue [member] | IPP [member]      
Summary of loans debentures and finance leases [line items]      
Interest IPCA to 102.75% of DI    
Debentures eleventh issue [member] | IPP [member]      
Summary of loans debentures and finance leases [line items]      
Interest IPCA to 104.8% of DI    
Debenture eleven [member] | Debentures eleventh issue [member] | IPP [member]      
Summary of loans debentures and finance leases [line items]      
Amount: R$ 1,000,000 R$ 1,000,000  
Face value unit R$ 1,000    
Final maturity June 11, 2032    
Payment of the face value Annual from the 8th year    
Interest IPCA + 6.0053%    
Payment of interest Semiannually    
Reprice Not applicable    
Debenture twelve [member] | Debentures first issue [member] | Tequimar Vila do Conde [member]      
Summary of loans debentures and finance leases [line items]      
Face value unit R$ 1,000    
Final maturity March 15, 2028    
Payment of the face value Lump sum at final maturity    
Interest IPCA + 4.04%    
Payment of interest Semiannually    
Reprice Not applicable    
Debenture twelve [member] | Debentures second issue [member] | Ultracargo Logística S.A.      
Summary of loans debentures and finance leases [line items]      
Face value unit R$ 1,000    
Final maturity March 15, 2028    
Payment of the face value Lump sum at final maturity    
Interest IPCA + 4.37%    
Payment of interest Semiannually    
Reprice Not applicable    
Debenture thirteen [member] | Debentures tenth issue [member] | IPP [member]      
Summary of loans debentures and finance leases [line items]      
Amount: R$ 960,000   R$ 960,000
Face value unit R$ 1,000    
Final maturity September 15, 2028    
Payment of the face value Lump sum at final maturity    
Interest IPCA + 4.8287%    
Payment of interest Semiannually    
Reprice Not applicable    

v3.23.1
Loans, financing, debentures and derivative financial instruments - Narrative of Debentures (Detail)
R$ in Thousands
1 Months Ended 12 Months Ended
Jun. 30, 2022
BRL (R$)
DEBENTURES
Sep. 30, 2021
BRL (R$)
DEBENTURES
Mar. 31, 2021
DEBENTURES
Dec. 31, 2022
BRL (R$)
Dec. 31, 2021
BRL (R$)
Summary of loans debentures and finance leases [line items]          
Amount of guarantees and promissory notes | R$       R$ 9,371,295 R$ 14,151,506
Collateral guarantees to secure letters of credits | R$       R$ 115,451 R$ 118,231
Debentures first issue [member] | IPP [member]          
Summary of loans debentures and finance leases [line items]          
Number of Debenture Series Issued     1    
Debentures first issue [member] | Tequimar Vila do Conde [member]          
Summary of loans debentures and finance leases [line items]          
Interest       111.4% of the DI  
Debentures second issue [member] | Ultracargo Logística S.A.          
Summary of loans debentures and finance leases [line items]          
Number of Debenture Series Issued     1    
Interest       111.4% of the DI  
Debentures tenth issue [member] | IPP [member]          
Summary of loans debentures and finance leases [line items]          
Interest       IPCA to 102.75% of DI  
Debentures eleventh issue [member] | IPP [member]          
Summary of loans debentures and finance leases [line items]          
Number of Debenture Series Issued 1        
Interest       IPCA to 104.8% of DI  
Debenture eleven [member] | Debentures first issue [member] | Tequimar Vila do Conde [member]          
Summary of loans debentures and finance leases [line items]          
Simple nominative nonconvertible unsecured registered debentures     360,000    
Debenture eleven [member] | Debentures eleventh issue [member] | IPP [member]          
Summary of loans debentures and finance leases [line items]          
Simple nominative nonconvertible unsecured registered debentures 1,000,000        
Amount: | R$ R$ 1,000,000     R$ 1,000,000  
Interest       IPCA + 6.0053%  
Debenture twelve [member] | Debentures first issue [member] | Tequimar Vila do Conde [member]          
Summary of loans debentures and finance leases [line items]          
Interest       IPCA + 4.04%  
Debenture twelve [member] | Debentures second issue [member] | Ultracargo Logística S.A.          
Summary of loans debentures and finance leases [line items]          
Simple nominative nonconvertible unsecured registered debentures     100,000    
Interest       IPCA + 4.37%  
Debenture thirteen [member] | Debentures tenth issue [member] | IPP [member]          
Summary of loans debentures and finance leases [line items]          
Number of Debenture Series Issued   1      
Simple nominative nonconvertible unsecured registered debentures   960,000      
Amount: | R$   R$ 960,000   R$ 960,000  
Interest       IPCA + 4.8287%  

v3.23.1
Loans, financing, debentures and derivative financial instruments - Summary of Loan Maturity (Detail) - Debentures [member]
R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Disclosure of detailed information about borrowings [line items]  
Debentures R$ 6,035,893
Charges (77,949) [1]
Mar/2023  
Disclosure of detailed information about borrowings [line items]  
Debentures 1,725,000
Dec/2023  
Disclosure of detailed information about borrowings [line items]  
Debentures 660,000
Apr/2024  
Disclosure of detailed information about borrowings [line items]  
Debentures 469,937
Oct/2024  
Disclosure of detailed information about borrowings [line items]  
Debentures 282,790
Nov/2024  
Disclosure of detailed information about borrowings [line items]  
Debentures 90,000
Dec/2025  
Disclosure of detailed information about borrowings [line items]  
Debentures 303,845
Mar/2028  
Disclosure of detailed information about borrowings [line items]  
Debentures 526,365
Sep/2028  
Disclosure of detailed information about borrowings [line items]  
Debentures 1,052,762
Jun/2030  
Disclosure of detailed information about borrowings [line items]  
Debentures 334,381
Jun/2031  
Disclosure of detailed information about borrowings [line items]  
Debentures 334,381
Jun/2032  
Disclosure of detailed information about borrowings [line items]  
Debentures R$ 334,381
[1] Includes interest, transaction cost and mark to market.

v3.23.1
Loans, financing, debentures and derivative financial instruments - Additional Information (Detail)
€ in Thousands, R$ in Thousands
12 Months Ended
Dec. 19, 2022
USD ($)
Apr. 27, 2022
BRL (R$)
Apr. 18, 2022
BRL (R$)
Apr. 14, 2022
BRL (R$)
Apr. 07, 2022
USD ($)
Dec. 31, 2022
BRL (R$)
Dec. 31, 2021
BRL (R$)
Dec. 31, 2022
USD ($)
Sep. 30, 2022
EUR (€)
Apr. 27, 2022
USD ($)
Apr. 18, 2022
USD ($)
Apr. 14, 2022
USD ($)
Disclosure of detailed information about borrowings [line items]                        
Foreign currency - denominated loans           R$ 5,190,156 R$ 8,832,815          
Loan received           11,226,049 16,180,466          
Reclassification to liabilities held for sale [1]             R$ 241,748          
Restricted Assets [member]                        
Disclosure of detailed information about borrowings [line items]                        
Restriction on encumbrance of assets           R$ 782,655   $ 150,000,000        
Percent restricted consolidated tangible assets           15.00%            
Ultrapar International S.A. [member]                        
Disclosure of detailed information about borrowings [line items]                        
Notes to foreign market   R$ 2,534,064 R$ 1,043 R$ 595,490           $ 485,667,000 $ 200,000 $ 114,129,000
Borrowings, maturity date   June 2029 October 2026 October 2026                
Long term interest rate [member]                        
Disclosure of detailed information about borrowings [line items]                        
Interest rate           7.20%   7.20%        
Foreign loans [member] | Iconic Lubrificantes S.A [member]                        
Disclosure of detailed information about borrowings [line items]                        
Interest rate                 2.907%      
Foreign currency - denominated loans           R$ 54,072     € 9,708      
Borrowings, maturity date           March 29, 2023            
Borrowings, interest rate basis           111.6            
Foreign loans [member] | Companhia Ultragaz S A [member]                        
Disclosure of detailed information about borrowings [line items]                        
Interest rate 4.539%                      
Foreign currency - denominated loans $ 96,339,000         R$ 502,669            
Borrowings, interest rate basis 108.5                      
Foreign loans [member] | IPP [member]                        
Disclosure of detailed information about borrowings [line items]                        
Foreign currency - denominated loans           R$ 652,213   $ 125,000,000        
Borrowings, interest rate basis           104.9% of DI            
Notes in the foreign market [member] | Ultrapar International S.A. [member]                        
Disclosure of detailed information about borrowings [line items]                        
Maximum aggregate tender amount | $         $ 550,003,000              
Maximum aggregate tender amount available for increase | $         $ 600,000,000              
Notes in the foreign market [member] | Companhia Ultragaz S A [member]                        
Disclosure of detailed information about borrowings [line items]                        
Borrowings, maturity date September 19, 2025                      
Notes in the foreign market [member] | Senior Notes due in 2026 (“Notes 2026”) | Ultrapar International S.A. [member]                        
Disclosure of detailed information about borrowings [line items]                        
Interest rate         5.25%              
Borrowings, maturity date         due in 2026              
Notes in the foreign market [member] | Senior Notes due in 2029 (“Notes 2029”) | Ultrapar International S.A. [member]                        
Disclosure of detailed information about borrowings [line items]                        
Interest rate         5.25%              
Borrowings, maturity date         due in 2029              
[1] For further details, see Note 4.c.1.

v3.23.1
Trade Payables - Summary of Trade Payables (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Summary of trade payables [line items]    
Trade payables to related parties R$ 259,644 R$ 214,178
Trade payables 4,710,952 3,670,895
Trade payables – reverse factoring 2,666,894 2,119,059
Domestic suppliers [member]    
Summary of trade payables [line items]    
Trade payables 2,777,021 3,010,912
Foreign suppliers [member]    
Summary of trade payables [line items]    
Trade payables 1,674,287 445,805
Domestic suppliers reverse factoring [member]    
Summary of trade payables [line items]    
Trade payables 2,429,497 1,948,033
Foreign suppliers reverse factoring [member]    
Summary of trade payables [line items]    
Trade payables 237,397 81,687
Trade payables reverse factoring [member]    
Summary of trade payables [line items]    
Trade payables to related parties R$ 0 R$ 89,339

v3.23.1
Salaries and Related Charges - Summary of Salaries and Related Charges (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Short-term employee benefits expense [abstract]    
Provisions on salaries R$ 181,755 R$ 136,938
Profit sharing, bonus and premium 205,273 132,390
Social charges 70,785 52,739
Others 3,093 8,036
Salaries and related charges R$ 460,906 R$ 330,103

v3.23.1
Taxes Payable - Summary of Taxes Payable (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of taxes payable [line items]    
Taxes payable R$ 192,430 R$ 229,176
Tax [member]    
Disclosure of taxes payable [line items]    
Taxes payable 131,587 146,598
IPI (Federal VAT) [member]    
Disclosure of taxes payable [line items]    
Taxes payable 4,553 4,163
PIS and COFINS (State VAT) [member]    
Disclosure of taxes payable [line items]    
Taxes payable 14,470 13,667
ISS (Municipal VAT) [member]    
Disclosure of taxes payable [line items]    
Taxes payable 23,610 45,533
Others [member]    
Disclosure of taxes payable [line items]    
Taxes payable R$ 18,210 R$ 19,215

v3.23.1
Employee Benefits and Private Pension Plan - Additional information (Detail)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Employee
Dec. 31, 2021
BRL (R$)
Employee
Dec. 31, 2020
BRL (R$)
Disclosure of defined benefit plans [line items]      
Maximum matching contribution percentage 11.00%    
Defined contribution pension plan fund | R$ R$ 18,204 R$ 19,831  
Contribution to Ultraprev | R$ R$ 16,368 R$ 16,120 R$ 17,186
Number of active participating employees 4,097 4,381  
Number of retired participating employees 286 387  
Number of former employees receiving benefits 23    
Demographic assumption percentage of reasonably possible decrease in mortality table for other benefits 10.00%    
Bottom of range [member]      
Disclosure of defined benefit plans [line items]      
Monthly accumulated fund percentage 0.30%    
Fixed monthly accumulated fund period 5 years    
Top of range [member]      
Disclosure of defined benefit plans [line items]      
Monthly accumulated fund percentage 1.00%    
Fixed monthly accumulated fund period 35 years    
Average period 89 months    

v3.23.1
Employee Benefits and Private Pension Plan - Post-employment Benefits (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of defined benefit plans [line items]      
Total R$ 215,556 R$ 215,719 R$ 284,724
Current 21,809 21,082  
Non-current 193,747 194,637  
Health and dental care plan [member]      
Disclosure of defined benefit plans [line items]      
Total [1] 164,428 159,867  
Indemnification of FGTS [member]      
Disclosure of defined benefit plans [line items]      
Total 36,357 38,617  
Seniority bonus [member]      
Disclosure of defined benefit plans [line items]      
Total 2,156 5,570  
Life insurance [member]      
Disclosure of defined benefit plans [line items]      
Total [1] R$ 12,615 R$ 11,665  
[1] Applicable  to IPP, Tropical and Iconic.

v3.23.1
Employee Benefits and Private Pension Plan - Changes in provision for post-employment benefits (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Employee benefits and private pension plan    
Provision for post-employment benefits, opening R$ 215,719 R$ 284,724
Expense for the year of continuing operations 20,944 15,585
Expense (revenue) for the year of discontinued operations 494 2,951
Actuarial (gains) losses from changes in actuarial assumptions (2,589) (58,954)
Benefits paid directly by Company and its subsidiaries (19,012) (18,400)
Exchange rates from post-employment benefits of foreign subsidiaries 0 217
Reclassification to liabilities held for sale 0 (10,404)
Provision for post-employment benefits, ending R$ 215,556 R$ 215,719

v3.23.1
Employee Benefits and Private Pension Plan - Post-employment benefit expense (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of defined benefit plans [line items]      
Employee benefit expense R$ 20,944 R$ 15,585 R$ 11,622
Health and dental care plan [member]      
Disclosure of defined benefit plans [line items]      
Employee benefit expense 14,660 15,265 11,127
Indemnification of FGTS [member]      
Disclosure of defined benefit plans [line items]      
Employee benefit expense 4,766 4,409 6,199
Seniority bonus [member]      
Disclosure of defined benefit plans [line items]      
Employee benefit expense 563 (4,886) (6,821)
Life insurance [member]      
Disclosure of defined benefit plans [line items]      
Employee benefit expense R$ 955 R$ 797 R$ 1,117

v3.23.1
Employee Benefits and Private Pension Plan - Significant actuarial assumptions adopted (Detail)
Dec. 31, 2022
Dec. 31, 2021
Employee benefits and private pension plan    
Discount rate for the actuarial obligation at present value 9.97% 8.93%
Average projected salary growth rate 6.98% 7.07%
Inflation rate (long term) 3.50% 3.25%
Growth rate of medical services 7.64% 7.38%

v3.23.1
Employee Benefits and Private Pension Plan - Sensitivity analysis (Detail)
R$ in Thousands
Dec. 31, 2022
BRL (R$)
Discount rate [Member]  
Disclosure of defined benefit plans [line items]  
Change in assumptions 1.00%
Decrease in liability R$ 19,688
Change in assumptions 1.00%
Increase in liability R$ 24,252
Wage growth rate [member]  
Disclosure of defined benefit plans [line items]  
Change in assumptions 1.00%
Decrease in liability R$ 266
Change in assumptions 1.00%
Increase in liability R$ 477
Medical services growth rate [Member]  
Disclosure of defined benefit plans [line items]  
Change in assumptions 1.00%
Decrease in liability R$ 17,824
Change in assumptions 1.00%
Increase in liability R$ 21,847

v3.23.1
Provision for asset retirement obligation - Changes in the provision for asset retirement obligation (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of other provisions [line items]      
Beginning balance R$ 932,185    
Additions (new tanks) 239,013    
Expenditure with tanks removed (84,939)    
Accretion expense 41,720    
Ending Balance 1,040,172 R$ 932,185  
Asset Retirement Obligation [member]      
Disclosure of other provisions [line items]      
Beginning balance 56,711 53,435 R$ 51,242
Additions (new tanks) 158 451 163
Expenditure with tanks removed (9,528) (2,773) (4,306)
Accretion expense 4,417 5,598 6,336
Ending Balance 51,758 R$ 56,711 R$ 53,435
Current 5,063    
Non-current R$ 46,695    

v3.23.1
Provisions and Contingencies - Breakdown of provisions by nature (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Disclosure of other provisions [line items]    
Beginning balance R$ 932,185  
Additions 239,013  
Reversals (87,807)  
Payments (84,939)  
Interest 41,720  
Ending Balance 1,040,172 R$ 932,185
Current 22,837 119,942
Non-current 1,017,335 812,243
IRPJ and CSLL [member]    
Disclosure of other provisions [line items]    
Beginning balance 552,172  
Additions 7,154  
Reversals (36,683)  
Payments 0  
Interest 36,574  
Ending Balance 559,217 552,172
Tax [member]    
Disclosure of other provisions [line items]    
Beginning balance 84,155  
Additions 35,238  
Reversals (14,907)  
Payments (38,097)  
Interest 2,045  
Ending Balance 68,434 84,155
Civil, environmental and regulatory claims [member]    
Disclosure of other provisions [line items]    
Beginning balance 108,761  
Additions 18,326  
Reversals (9,980)  
Payments (23,700)  
Interest 9  
Ending Balance 93,416 108,761
Labor litigation [member]    
Disclosure of other provisions [line items]    
Beginning balance 95,460  
Additions 22,663  
Reversals (22,387)  
Payments (23,142)  
Interest 578  
Ending Balance 73,172 95,460
Provision for indemnities [member]    
Disclosure of other provisions [line items]    
Beginning balance 0  
Additions 150,820  
Reversals 0  
Payments 0  
Interest 0  
Ending Balance 150,820 0
Others [Member]    
Disclosure of other provisions [line items]    
Beginning balance 91,637  
Additions 4,812  
Reversals (3,850)  
Payments 0  
Interest 2,514  
Ending Balance R$ 95,113 R$ 91,637

v3.23.1
Provisions and Contingencies - Balances of escrow deposits (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of other provisions [line items]    
Total - non-current assets R$ 946,383 R$ 871,261
Tax matters [member]    
Disclosure of other provisions [line items]    
Total - non-current assets 790,979 731,326
Labor litigation [member]    
Disclosure of other provisions [line items]    
Total - non-current assets 42,624 48,147
Civil and other [member]    
Disclosure of other provisions [line items]    
Total - non-current assets R$ 112,780 R$ 91,788

v3.23.1
Provisions and Contingencies - Additional information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 01, 2022
Aug. 01, 2022
Apr. 01, 2022
Dec. 01, 2021
Dec. 01, 2017
Disclosure of contingent liabilities [line items]              
Escrow deposits made under preliminary injunction R$ 569,415 R$ 534,830          
Provisions for lawsuits and administrative proceedings 93,416 108,761          
Provisions for labor litigation filed by former employees 73,358 95,460          
Possible contingency 3,601,865 3,310,603          
Contingent liabilities for tax matters and social security 2,656,479 2,292,465          
IPIContingency 182,446 178,422          
Legal Proceedings Related To Icms 1,376,199 1,303,383          
ICMS credits 201,408 209,611          
Reversal of alleged non-payment 178,825 106,590          
Reversal of inventory differences 302,143 295,163          
Reversal of conditioned fruition of fiscal incentive 193,785 174,039          
Offset claims and credit dis-allowances 759,469 578,097          
Amortization of goodwill paid on acquisition of subsidiary 233,805 218,589          
Contingent liabilities for civil, environmental and regulatory claims 690,052 771,695          
Penalty on Ultragaz 35,617 34,162          
Contingent liabilities for labor matters 255,334 246,443          
Surcharge on non-essential products R$ 246,336 219,218          
Subsidiary IPP [member]              
Disclosure of contingent liabilities [line items]              
Surcharge rate on non-essential products 2.00%            
Subsidiary IPP [member] | Receivables Investment Fund (“FIDC”)              
Disclosure of contingent liabilities [line items]              
Percentage of receivables from an action for damages as contingent asset 90.00%            
Action for damages as a contingent asset, initial fixed amount recognized R$ 140,000            
Action for damages as a contingent asset, amount received 60,000            
Action for damages as contingent asset, remaining portion will be received 80,000            
Cia Ultragaz [member]              
Disclosure of contingent liabilities [line items]              
Contingent liabilities for civil, environmental and regulatory claims 255,290 233,426          
Discontinued operations | Oxiteno S. A. Industria e Comercio [member]              
Disclosure of contingent liabilities [line items]              
Provision for indemnities         R$ 139,693    
Provision for indemnities related to labor claims         89,649    
Provision for indemnities related to civil claims         17,575    
Provision for indemnities related to tax claims         R$ 32,469    
Discontinued operations | Extrafarma [member]              
Disclosure of contingent liabilities [line items]              
Provision for indemnities       R$ 11,126      
Provision for indemnities related to labor claims       5,864      
Provision for indemnities related to civil claims       472      
Provision for indemnities related to tax claims       R$ 4,790      
Chevron and subsidiary IPP [member]              
Disclosure of contingent liabilities [line items]              
Contingent liabilities for civil, environmental and regulatory claims 292            
Liability provisions 26,010 R$ 19,724 R$ 100,548     R$ 101,267 R$ 198,900
Contingent liabilities for labor matters 2,381            
Contingent liabilities for tax assessments on sales R$ 23,337            

v3.23.1
Subscription warrants - indemnification - Additional information (Detail) - BRL (R$)
R$ in Thousands
Jan. 31, 2014
Dec. 31, 2022
Aug. 03, 2022
Feb. 23, 2022
Dec. 31, 2021
Aug. 11, 2021
Feb. 24, 2021
Disclosure of non-adjusting events after reporting period [line items]              
Subscription warrants shares issued 7            
Maximum number of shares to be issued - subscription warrants 6,411,244            
Rights outstanding     21,472 43,925   31,032 70,939
Number of shares canceled and not issued which linked to subscription warrants – indemnification 656,121            
Subscription warrants, shares   3,392,234          
Subscription warrants - indemnification   R$ 42,776     R$ 51,296    
Major ordinary share transactions [member]              
Disclosure of non-adjusting events after reporting period [line items]              
Rights outstanding   2,472,210          

v3.23.1
Equity - Additional Information (Detail) - BRL (R$)
R$ / shares in Units, R$ in Thousands
12 Months Ended
Aug. 03, 2022
May 11, 2022
Feb. 23, 2022
Aug. 11, 2021
Feb. 24, 2021
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of classes of share capital [line items]                
Rights, preferences and restrictions attaching to class of share capital           Each common share entitles its holder to one vote at Shareholders’ Meetings.    
Increase in capital reserves           R$ 35,182    
Treasury shares           (479,674) R$ (488,425)  
Dividends payable             R$ 185,896  
Dividends per share             R$ 0.17  
Proposed dividends payable           R$ 109,515    
Proposed dividends payable per share           R$ 0.1    
Legal reserve as percentage of net income           5.00%    
Threshold Percentage of Share Capital for Legal Reserve Allocation           20.00%    
Legal reserves           R$ 882,575 R$ 792,533  
Investments statutory reserve as maximum percentage of net income           75.00%    
Threshold percentage of share capital for investments reserve allocation           100.00%    
Proposed dividends, per share             R$ 0.17 R$ 0.44
Payment of interim interest on capital, attributed to the mandatory minimum dividend, including income tax   R$ 450,000       R$ 450,004    
Payment of interim interest on capital, per share, attributed to the mandatory minimum dividend, including income tax,   R$ 0.41         R$ 0.41  
Extrafarma [member]                
Disclosure of classes of share capital [line items]                
Increase in capital reserves R$ 291   R$ 651 R$ 448 R$ 1,371      
Incurred costs directly attributable to issuing new shares           R$ 2,260    
Treasury shares                
Disclosure of classes of share capital [line items]                
Shares held in treasury           19,974,556 23,756,393 24,739,626
Average cost           R$ 24.01    
Treasury shares           R$ (479,674) R$ (488,425)  
Capital reserve | Extrafarma [member]                
Disclosure of classes of share capital [line items]                
Increase in capital reserves           498,812    
Investments statutory reserve                
Disclosure of classes of share capital [line items]                
Retention of profits and investments reserve           R$ 5,228,561 R$ 4,073,876  
Common shares [member]                
Disclosure of classes of share capital [line items]                
Subscribed and paid-in capital stock           1,115,173,080 1,115,107,683  
Par value per share           R$ 0    
Common shares outstanding           58,895,761 50,374,275 47,413,094
Common shares [member] | Treasury shares                
Disclosure of classes of share capital [line items]                
Balance of treasury shares granted with right of use           6,184,427 3,178,383  
Shares held in treasury           19,974,556    

v3.23.1
Equity - Balance of treasury shares (Detail) - Treasury shares [member] - shares
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of classes of share capital [line items]      
Number of shares in entity held by entity or by its subsidiaries or associates 19,974,556 23,756,393 24,739,626
Ordinary shares [member]      
Disclosure of classes of share capital [line items]      
Number of shares in entity held by entity or by its subsidiaries or associates 19,974,556    
Number of treasury shares granted with right of use 6,184,427 3,178,383  
Number of treasury shares outstanding 26,158,983    

v3.23.1
Equity - Balance of Other Comprehensive Income (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Valuation Adjustments      
Disclosure of classes of share capital [line items]      
Beginning balance R$ (422,138) R$ (464,990) R$ (146,317)
Changes in fair value of financial instruments 911,954 11,364 (477,506)
IRPJ and CSLL on fair value (309,503) (4,060) 164,425
Actuarial gain (loss) of post-employment benefits 610 49,550 (7,725)
IRPJ and CSLL on actuarial gains 271 (14,002) 2,133
Ending balance 179,974 (422,138) (464,990)
Fair value of cash flow hedging instruments [member]      
Disclosure of classes of share capital [line items]      
Beginning balance (601,301) (609,277) (296,132)
Changes in fair value of financial instruments 910,804 12,036 (477,570)
IRPJ and CSLL on fair value (309,503) (4,060) 164,425
Actuarial gain (loss) of post-employment benefits 0 0 0
IRPJ and CSLL on actuarial gains 0 0 0
Ending balance 0 (601,301) (609,277)
Fair value of financial instruments [member]      
Disclosure of classes of share capital [line items]      
Beginning balance (403) 269 205
Changes in fair value of financial instruments 403 (672) 64
IRPJ and CSLL on fair value 0 0 0
Actuarial gain (loss) of post-employment benefits 0 0 0
IRPJ and CSLL on actuarial gains 0 0 0
Ending balance 0 (403) 269
Actuarial gains (losses) of post-employment benefits [member]      
Disclosure of classes of share capital [line items]      
Beginning balance (17,803) (53,351) (47,759)
Changes in fair value of financial instruments 0 0 0
IRPJ and CSLL on fair value 0 0 0
Actuarial gain (loss) of post-employment benefits (610) 49,550 (7,725)
IRPJ and CSLL on actuarial gains 271 (14,002) 2,133
Ending balance (18,142) (17,803) (53,351)
Non-controlling shareholders interest change [member]      
Disclosure of classes of share capital [line items]      
Beginning balance 197,369 197,369 197,369
Changes in fair value of financial instruments 0 0 0
IRPJ and CSLL on fair value 0 0 0
Actuarial gain (loss) of post-employment benefits 0 0 0
IRPJ and CSLL on actuarial gains 0 0 0
Ending balance 197,369 197,369 197,369
Others      
Disclosure of classes of share capital [line items]      
Beginning balance 0 0 0
Changes in fair value of financial instruments 747 0 0
IRPJ and CSLL on fair value   0 0
Actuarial gain (loss) of post-employment benefits 0 0 0
IRPJ and CSLL on actuarial gains 0 0 0
Ending balance R$ 747 R$ 0 R$ 0

v3.23.1
Equity - Balance and Changes in Cumulative Translation Adjustments (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Equity [abstract]      
Beginning balance R$ 304,645 R$ 231,596 R$ 102,427
Currency translation adjustment of foreign subsidiaries (269,482) 97,113 202,277
Effect of foreign currency exchange rate variation on notes in the foreign market 80,057 (36,461) (110,770)
IRPJ and CSLL on foreign currency exchange rate variation on notes in the foreign market (27,219) 12,397 37,662
Reclassification to income due to sale of investment (88,001) 0  
Ending Balance R$ 0 R$ 304,645 R$ 231,596

v3.23.1
Equity - Dividends and Allocation of Net Income (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Allocation of net income      
Net income for the year attributable to shareholders of Ultrapar R$ 1,800,839 R$ 850,463 R$ 893,383
Legal reserve (5% of the net income) 90,042    
Adjusted net income (basis for dividends) 1,710,797    
Minimum mandatory dividends for the year (25% of the adjusted net income) 427,699    
Total of distribution 427,699    
Interest on capital, net of income tax, already paid (R$ 0.35 per share) [1] (396,314)    
Additional dividends to the minimum mandatory dividends 78,130    
Balance of proposed dividends (R$ 0.17 per share) 109,515    
Allocation of dividends      
Minimum mandatory dividends for the year (25% of the adjusted net income) 427,699    
Balance of proposed dividends (R$ 0.08 per share) 78,130    
Legal reserve (5% of the net income) 90,042    
Statutory reserve 1,204,968    
Minimum mandatory dividends for the year (25% of the adjusted net income) [1] 396,314    
Complementary minimum mandatory dividends for the year (25% of the adjusted net income) 31,385    
Additional dividends to the minimum mandatory dividends 78,130    
Total distribution of net income for the year attributable to shareholders of Ultrapar R$ 1,800,839    
[1] The gross amount of interest on capital was R$450,004

v3.23.1
Equity - Dividends and Allocation of Net Income (Parenthetical) (Detail) - BRL (R$)
R$ / shares in Units, R$ in Thousands
12 Months Ended
May 11, 2022
Dec. 31, 2022
Equity [abstract]    
Legal reserve as percentage of net income   5.00%
Statutory reserve as percentage of net income   25.00%
Interest on capital paid, net of income tax, per share   R$ 0.35
Proposed dividends payable per share   0.1
Proposed dividends, per share   R$ 0.07
Complementary minimum mandatory dividends as percentage of net income   25.00%
Gross amount of interest on capital R$ 450,000 R$ 450,004

v3.23.1
Equity - Summary of Balances and Changes in Dividends Payable (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Equity [abstract]      
Beginning balance R$ 202,860 R$ 442,133 R$ 16,694
Provisions 429,964 478,366 710,206
Prescribed dividends (2,948) (11,816)  
Payments (581,351) (705,753) (284,767)
Reclassification to liabilities of subsidiaries held for sale   (70)  
Ending balance R$ 48,525 R$ 202,860 R$ 442,133

v3.23.1
Costs and expenses by nature - Costs and expenses by nature (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Expenses by nature [abstract]      
Raw materials and materials for use and consumption [1] R$ (135,651,809) R$ (104,233,143) R$ (68,851,960)
Personnel expenses (1,657,783) (1,575,066) (1,414,567)
Freight and storage (1,033,718) (899,188) (1,073,971)
Decarbonization obligation [2] (638,542) (161,281) (124,287)
Services provided by third parties (442,379) (399,904) (184,532)
Depreciation and amortization (732,241) (653,118) (595,531)
Amortization of right-of-use assets (288,419) (260,716) (242,670)
Advertising and marketing (102,205) (106,352) (143,694)
Extemporaneous tax credits [3] 34,247 213,183 136,561
Other expenses and income, net 45,604 (54,432) (102,900)
Total (140,467,245) (108,130,017) (72,597,551)
Classified as:      
Cost of products and services sold (136,276,257) (104,827,966) (70,056,447)
Selling and marketing (2,141,985) (1,931,666) (1,611,152)
General and administrative expenses (1,534,481) (1,466,551) (993,986)
Other operating income (expenses), net (514,522) 96,166 64,034
Total R$ (140,467,245) R$ (108,130,017) R$ (72,597,551)
[1] Includes credits of PIS and COFINS registered on 2022 that refers to Law 192. For more information, see Note 8.
[2] Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.
[3] Refers substantially to PIS and COFINS credits recorded in 2021 and 2022. On March 15, 2017, due to general repercussions, the STF decided that ICMS does not compose the PIS and COFINS calculation basis. After filing of the Federal Government's Motion for Clarification, the STF definitively ruled about the thesis on May 13, 2021, reaffirming the exclusion of the ICMS from the PIS and COFINS calculation basis and modulating the effects of the decision for the lawsuits filed after March 15, 2017. Certain subsidiaries have credits arising from favorable decisions on the exclusion of ICMS from the PIS and COFINS calculation basis, and the respective subsidies for proving the amounts to be refunded were duly confirmed by Management and recorded in Other operating income (expenses), net in the statement of income.

v3.23.1
Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Gain (loss) on disposal of property, plant and equipment and intangible assets      
Gain (loss) on disposal of property, plant and equipment and intangible assets R$ 169,289 R$ 184,189 R$ 85,455
Gain (loss) on disposal of Conectcar     R$ 85,455

v3.23.1
Other operating income, net - Other operating income, net (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Other operating expenses, net:      
Decarbonization obligation [1] R$ (638,542) R$ (161,281) R$ (124,287)
Other operating income, net R$ (514,522) R$ 96,166 R$ 64,034
[1] Refers to the obligation adopted by RenovaBio to meet decarbonization targets for the gas and oil sector. The amounts are presented in Other operating income (expenses), net.

v3.23.1
Financial result, net- Financial result, net (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of Finance Income (Expense) [Abstract]      
Interest on financial investments R$ 388,675 R$ 101,326 R$ 93,667
Interest from customers 128,052 109,999 132,155
Changes in subscription warrants (see Note 24) 5,099 33,180 0
Selic interest on PIS/COFINS credits 35,268 201,795 121,565
Update of provisions and other income 149,595 13,854 10,279
Finance income 706,689 460,154 357,666
Interest on loans (1,465,259) (716,969) (658,980)
Interest on leases payable (128,069) (110,878) (109,318)
Bank charges, financial transactions tax, and other taxes (119,828) (70,801) (46,878)
Exchange variations, net of gain (loss) on hedging instruments (458,032) (239,106) (58,944)
Changes in subscription warrants – indemnification (see Note 24) 0 0 (17,353)
Update of provisions, net, and other expenses (4,709) (85,132) (16,541)
Finance expenses (2,175,897) (1,222,886) (908,014)
Financial result, net R$ (1,469,208) R$ (762,732) R$ (550,348)

v3.23.1
Earnings per share - Basic and Diluted Earnings per Share (Detail) - BRL (R$)
R$ / shares in Units, shares in Thousands, R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Earnings per share      
Net income for the year of the Company, Continuing operations R$ 1,498,981 R$ 785,199 R$ 612,750
Net income for the year of the Company, Discontinued operations [1] 301,858 65,264 280,633
Net income for the year of the Company R$ 1,800,839 R$ 850,463 R$ 893,383
Weighted average number of shares outstanding (in thousands), Continuing operations 1,091,990 1,090,500 1,089,414
Weighted average number of shares outstanding (in thousands), Discontinued operations [1] 1,091,990 1,090,500 1,089,414
Weighted average number of shares outstanding (in thousands) 1,091,990 1,090,500 1,089,414
Basic earnings per share – R$, Continuing operations R$ 1.3727 R$ 0.72 R$ 0.5625
Basic earnings per share – R$, Discontinued operations [1] 0.2764 0.0598 0.2576
Basic earnings per share -R$ R$ 1.6491 R$ 0.7799 R$ 0.8201
Diluted earnings per share      
Net income for the year of the Company, Continuing operations R$ 1,498,981 R$ 785,199 R$ 612,750
Net income for the year of the Company, Discontinued operations [1] 301,858 65,264 280,633
Net income for the year of the Company R$ 1,800,839 R$ 850,463 R$ 893,383
Weighted average number of outstanding shares (in thousands), including dilution effects, Continuing operations 1,098,692 1,096,962 1,095,842
Weighted average number of outstanding shares (in thousands), including dilution effects, Discontinued operations [1] 1,098,692 1,096,962 1,095,842
Weighted average number of outstanding shares (in thousands), including dilution effects 1,098,692 1,096,962 1,095,842
Diluted earnings per share – R$, Continuing operations R$ 1.3643 R$ 0.7158 R$ 0.5592
Diluted earnings per share – R$, Discontinued operations [1] 0.2747 0.0595 0.2561
Diluted earnings per share -R$ R$ 1.6391 R$ 0.7753 R$ 0.8152
Weighted average number of shares (in thousands)      
Weighted average number of shares for basic earnings per share 1,091,990 1,090,500 1,089,414
Subscription warrants 3,445 3,548 3,570
Stock plan 3,257 2,914 2,858
Weighted average number of shares for diluted earnings per share 1,098,692 1,096,962 1,095,842
[1] For further details, see Note 4.c.1.

v3.23.1
Earnings per share - Additional Information (Detail) - shares
Dec. 31, 2022
Aug. 03, 2022
Feb. 23, 2022
Aug. 11, 2021
Feb. 24, 2021
Disclosure of non-adjusting events after reporting period [line items]          
Rights outstanding   21,472 43,925 31,032 70,939
Major ordinary share transactions [member]          
Disclosure of non-adjusting events after reporting period [line items]          
Rights outstanding 2,472,210        

v3.23.1
Segment information - Financial Information of Segments (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Income      
Net revenue from sales and services R$ 143,634,708 R$ 109,732,842 R$ 74,058,056
Transactions with third parties 143,634,708 109,732,842 74,058,056
Cost of products and services sold (136,276,257) (104,827,966) (70,056,447)
Gross profit 7,358,451 4,904,876 4,001,609
Operating income (expenses)      
Selling and marketing (2,141,985) (1,934,789) (1,595,871)
Loss allowance (reversion) for expected credit losses   3,123 (15,281)
General and administrative expenses (1,534,481) (1,466,551) (993,986)
Gain (loss) on disposal of property, plant and equipment and intangible assets 169,289 184,189 85,455
Other operating income (expenses), net (514,522) 96,166 64,034
Operating income (loss) 3,336,752 1,787,014 1,545,960
Share of profit (loss) of subsidiaries, joint ventures and associates 12,181 (17,634) (44,031)
Income (loss) before finance result and income and social contribution taxes 3,348,933 1,769,380 1,501,929
Depreciation of PP&E and amortization of intangible assets charges 732,241 653,118 595,531
Amortization of contractual assets with customers – exclusive rights 504,907 282,521 289,436
Amortization of right-of-use assets 288,419 260,716 242,670
Total of depreciation and amortization 1,525,567 1,196,355 1,127,637
Expenses related to restructuring activities 157,621 154,640 87,363
Elimination of intersegment amounts [member]      
Income      
Net revenue from sales and services (272,574) (214,715) (193,046)
Transactions with third parties (272,574) (214,715) (193,046)
Cost of products and services sold 266,122 194,118 133,384
Gross profit (6,452) (20,597) (59,662)
Operating income (expenses)      
Selling and marketing 0 0 0
Loss allowance (reversion) for expected credit losses   0 0
General and administrative expenses 6,452 20,597 59,662
Gain (loss) on disposal of property, plant and equipment and intangible assets 0 0 0
Other operating income (expenses), net 0 0 0
Operating income (loss) 0 0 0
Share of profit (loss) of subsidiaries, joint ventures and associates 0 0 0
Income (loss) before finance result and income and social contribution taxes 0 0 0
Depreciation of PP&E and amortization of intangible assets charges 0 0 0
Amortization of contractual assets with customers – exclusive rights (346) 0 0
Amortization of right-of-use assets 0 0 0
Total of depreciation and amortization (346) 0 0
Ipiranga [member]      
Income      
Net revenue from sales and services 131,337,966 99,382,617 66,133,035
Transactions with third parties 131,253,637 99,382,547 66,132,828
Cost of products and services sold (126,569,490) (96,110,408) (63,609,871)
Gross profit 4,768,476 3,272,209 2,523,164
Operating income (expenses)      
Selling and marketing (1,552,636) (1,409,350) (1,164,779)
Loss allowance (reversion) for expected credit losses   23,536 2,863
General and administrative expenses (828,753) (846,441) (568,963)
Gain (loss) on disposal of property, plant and equipment and intangible assets 168,709 183,862 78,952
Other operating income (expenses), net (525,966) 74,574 44,195
Operating income (loss) 2,029,830 1,298,390 915,432
Share of profit (loss) of subsidiaries, joint ventures and associates (10,052) (859) (932)
Income (loss) before finance result and income and social contribution taxes 2,019,778 1,297,531 914,500
Depreciation of PP&E and amortization of intangible assets charges 353,962 325,942 314,511
Amortization of contractual assets with customers – exclusive rights 503,751 280,975 287,800
Amortization of right-of-use assets 191,178 182,245 177,039
Total of depreciation and amortization 1,048,891 789,162 779,350
Ipiranga [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties 84,329 70 207
Ultragaz [member]      
Income      
Net revenue from sales and services 11,483,398 9,744,659 7,408,342
Transactions with third parties 11,480,697 9,740,657 7,403,632
Cost of products and services sold (9,446,354) (8,626,340) (6,310,157)
Gross profit 2,037,044 1,118,319 1,098,185
Operating income (expenses)      
Selling and marketing (576,087) (438,697) (404,776)
Loss allowance (reversion) for expected credit losses   (20,482) (18,514)
General and administrative expenses (257,315) (202,002) (196,883)
Gain (loss) on disposal of property, plant and equipment and intangible assets (1,381) 2,138 7,936
Other operating income (expenses), net 6,235 10,976 8,265
Operating income (loss) 1,208,496 470,252 494,213
Share of profit (loss) of subsidiaries, joint ventures and associates 13 (104) (53)
Income (loss) before finance result and income and social contribution taxes 1,208,509 470,148 494,160
Depreciation of PP&E and amortization of intangible assets charges 239,204 211,014 192,241
Amortization of contractual assets with customers – exclusive rights 1,502 1,546 1,636
Amortization of right-of-use assets 56,177 46,579 41,015
Total of depreciation and amortization 296,883 259,139 234,892
Ultragaz [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties 2,701 4,002 4,710
Ultracargo [member]      
Income      
Net revenue from sales and services 867,148 713,096 644,177
Transactions with third parties 684,350 518,762 504,725
Cost of products and services sold (340,621) (285,406) (270,010)
Gross profit 526,527 427,690 374,167
Operating income (expenses)      
Selling and marketing (12,701) (9,213) (7,278)
Loss allowance (reversion) for expected credit losses   69 370
General and administrative expenses (134,208) (127,117) (122,965)
Gain (loss) on disposal of property, plant and equipment and intangible assets (887) (1,754) (1,433)
Other operating income (expenses), net 3,330 3,876 8,898
Operating income (loss) 382,061 293,551 251,759
Share of profit (loss) of subsidiaries, joint ventures and associates (3,880) 602 392
Income (loss) before finance result and income and social contribution taxes 378,181 294,153 252,151
Depreciation of PP&E and amortization of intangible assets charges 94,337 76,421 65,838
Amortization of contractual assets with customers – exclusive rights 0 0 0
Amortization of right-of-use assets 37,124 25,440 19,482
Total of depreciation and amortization 131,461 101,861 85,320
Ultracargo [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties 182,798 194,334 139,452
Reportable segments [member]      
Income      
Net revenue from sales and services 143,907,282 109,925,105 74,202,777
Transactions with third parties 143,634,708 109,726,699 74,058,408
Cost of products and services sold (136,542,379) (105,022,154) (70,190,038)
Gross profit 7,364,903 4,902,951 4,012,739
Operating income (expenses)      
Selling and marketing (2,141,985) (1,928,605) (1,590,778)
Loss allowance (reversion) for expected credit losses   3,123 (15,281)
General and administrative expenses (1,540,933) (1,289,104) (921,975)
Gain (loss) on disposal of property, plant and equipment and intangible assets 169,289 184,237 85,455
Other operating income (expenses), net (514,522) 94,585 62,278
Operating income (loss) 3,336,752 1,967,187 1,632,438
Share of profit (loss) of subsidiaries, joint ventures and associates 12,181 (361) (593)
Income (loss) before finance result and income and social contribution taxes 3,348,933 1,966,826 1,631,845
Depreciation of PP&E and amortization of intangible assets charges 732,241 627,742 576,643
Amortization of contractual assets with customers – exclusive rights 505,253 282,521 289,436
Amortization of right-of-use assets 288,419 254,531 237,576
Total of depreciation and amortization 1,525,913 1,164,794 1,103,655
Reportable segments [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties 272,574 198,406 144,369
Others [member]      
Income      
Net revenue from sales and services [1] 218,770 [2] 22,452 [3] 48,325 [3]
Transactions with third parties [1] 216,024 [2] 6,143 [3] 352 [3]
Cost of products and services sold [1] (185,914) [2] (70) [3] 207 [3]
Gross profit [1] 32,856 [2] 22,522 [3] 48,532 [3]
Operating income (expenses)      
Selling and marketing [1] (561) [2] (6,184) [3] (5,093) [3]
Loss allowance (reversion) for expected credit losses [1],[3]   0 0
General and administrative expenses [1] (320,657) [2] (198,044) [3] (131,673) [3]
Gain (loss) on disposal of property, plant and equipment and intangible assets [1] 2,848 [2] (48) [3] 0 [3]
Other operating income (expenses), net [1] 1,879 [2] 1,581 [3] 1,756 [3]
Operating income (loss) [1] (283,635) [2] (180,173) [3] (86,478) [3]
Share of profit (loss) of subsidiaries, joint ventures and associates [1] 26,100 [2] (17,273) [3] (43,438) [3]
Income (loss) before finance result and income and social contribution taxes [1] (257,535) [2] (197,446) [3] (129,916) [3]
Depreciation of PP&E and amortization of intangible assets charges [1] 44,738 [2] 25,376 [3] 18,888 [3]
Amortization of contractual assets with customers – exclusive rights [1] 0 [2] 0 [3] 0 [3]
Amortization of right-of-use assets [1] 3,940 [2] 6,185 [3] 5,094 [3]
Total of depreciation and amortization [1] 48,678 [2] 31,561 [3] 23,982 [3]
Others [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties [1] R$ 2,746 [2] 16,309 [3] 48,677 [3]
Abastece Aí [member]      
Income      
Net revenue from sales and services   84,733 17,223
Transactions with third parties   84,733 17,223
Cost of products and services sold   0 0
Gross profit   84,733 17,223
Operating income (expenses)      
Selling and marketing   (71,345) (13,945)
Loss allowance (reversion) for expected credit losses   0 0
General and administrative expenses   (113,544) (33,164)
Gain (loss) on disposal of property, plant and equipment and intangible assets   (9) 0
Other operating income (expenses), net   5,159 920
Operating income (loss)   (95,006) (28,966)
Share of profit (loss) of subsidiaries, joint ventures and associates   0 0
Income (loss) before finance result and income and social contribution taxes   (95,006) (28,966)
Depreciation of PP&E and amortization of intangible assets charges   14,365 4,053
Amortization of contractual assets with customers – exclusive rights   0 0
Amortization of right-of-use assets   267 40
Total of depreciation and amortization   14,632 4,093
Abastece Aí [member] | Elimination of intersegment amounts [member]      
Income      
Transactions with third parties   R$ 0 R$ 0
[1] Includes in the line “General and administrative” and revenue on disposal of PP&E and intangibles the amount of R$ 157,621 in 2022 (R$ 154,640 in 2021 and R$ 87,363 in 2020) of expenses related to Ultrapar's holding structure, including the Presidency, Financial Board, Legal Board, Board of Directors and Fiscal Council, Risk, Compliance and Audit Board and Sustainability Board.
[2] The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR. In 2022, Ultrapar has ceased to present Abastece Aí as a separate segment,due to the small relevance of this business relative to the overall results of the Company. 
[3] The “Others” column consists of financial income and expenses, income and social contribution taxes of the segments, the parent company Ultrapar and subsidiaries Abastece aí, Millenium, Serma, Imaven Imóveis Ltda. (“Imaven”), Ultrapar International, UVC Investimentos, UVC - Fundo de investimento and share of profit (loss) of joint ventures of ConectCar, until June 30, 2021, and RPR.

v3.23.1
Segment Information - Cash flow transactions and Assets (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Cash flow      
Acquisition of property, plant, and equipment R$ 929,236 R$ 1,028,419 R$ 750,618
Capitalized interest and other items included in property, plant and equipment and provision for ARO 32,628 10,465  
Acquisition of intangible assets 277,600 237,488 154,534
Payments of contractual assets with customers – exclusive rights 769,119 420,261 356,045
Decarbonization credits (see Note 16) 635,130 176,837 125,345
Assets      
Total assets (excluding intersegment transactions) 36,441,003 39,010,357  
Elimination of intersegment amounts [member]      
Cash flow      
Acquisition of property, plant, and equipment 0 0 0
Capitalized interest and other items included in property, plant and equipment and provision for ARO 0 0  
Acquisition of intangible assets 0 0 0
Payments of contractual assets with customers – exclusive rights 0 0 0
Decarbonization credits (see Note 16) 0 0 0
Discontinued operations [member]      
Assets      
Total assets (excluding intersegment transactions) 0 11,000,917  
Ipiranga [member]      
Cash flow      
Acquisition of property, plant, and equipment 426,861 386,693 245,980
Capitalized interest and other items included in property, plant and equipment and provision for ARO 32,628 7,683  
Acquisition of intangible assets 194,385 156,498 85,337
Payments of contractual assets with customers – exclusive rights 769,119 420,261 351,233
Decarbonization credits (see Note 16) 635,130 176,837 125,345
Assets      
Total assets (excluding intersegment transactions) 23,342,826 21,050,793  
Ultragaz [member]      
Cash flow      
Acquisition of property, plant, and equipment 318,750 336,871 276,470
Capitalized interest and other items included in property, plant and equipment and provision for ARO 0 0  
Acquisition of intangible assets 38,876 30,150 32,613
Payments of contractual assets with customers – exclusive rights 0 0 4,812
Decarbonization credits (see Note 16) 0 0 0
Assets      
Total assets (excluding intersegment transactions) 4,281,857 3,233,736  
Ultracargo [member]      
Cash flow      
Acquisition of property, plant, and equipment 175,984 298,272 211,287
Capitalized interest and other items included in property, plant and equipment and provision for ARO 0 2,782  
Acquisition of intangible assets 9,125 15,819 5,596
Payments of contractual assets with customers – exclusive rights 0 0 0
Decarbonization credits (see Note 16) 0 0 0
Assets      
Total assets (excluding intersegment transactions) 3,045,407 2,675,453  
Abastece Aí [member]      
Cash flow      
Acquisition of property, plant, and equipment   636 5,149
Acquisition of intangible assets   34,824 10,285
Payments of contractual assets with customers – exclusive rights     0
Decarbonization credits (see Note 16)     0
Assets      
Total assets (excluding intersegment transactions)   152,212  
Others [member]      
Cash flow      
Acquisition of property, plant, and equipment [1] 6,641 5,947 11,732
Capitalized interest and other items included in property, plant and equipment and provision for ARO [1] 0 0  
Acquisition of intangible assets [1] 35,214 197 20,703
Payments of contractual assets with customers – exclusive rights [1] 0 0 0
Decarbonization credits (see Note 16) [1] 0 0 0
Assets      
Total assets (excluding intersegment transactions) [1] 5,770,913 897,246  
Subtotal Segments [member]      
Cash flow      
Acquisition of property, plant, and equipment 929,236 1,028,419 750,618
Capitalized interest and other items included in property, plant and equipment and provision for ARO 32,628 10,465  
Acquisition of intangible assets 277,600 237,488 154,534
Payments of contractual assets with customers – exclusive rights 769,119 420,261 356,045
Decarbonization credits (see Note 16) 635,130 176,837 R$ 125,345
Assets      
Total assets (excluding intersegment transactions) R$ 36,441,003 R$ 28,009,440  
[1] The “Others” column comprises the parent company Ultrapar (including goodwill from certain acquisitions) and the subsidiaries Millenium, Serma, Imaven, Ultrapar International, UVC Investimentos and UVC - Fundo de investimento.

v3.23.1
Segment Information - Revenue from Operations Abroad (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Disclosure of operating segments [line items]      
Revenue R$ 143,634,708 R$ 109,732,842 R$ 74,058,056
Brazil [member]      
Disclosure of operating segments [line items]      
Revenue 140,801,146 109,598,146 73,941,162
Europe [member]      
Disclosure of operating segments [line items]      
Revenue 607,416 18,876 34,460
Singapore [member]      
Disclosure of operating segments [line items]      
Revenue 359,250 0 0
United States of America and Canada [member]      
Disclosure of operating segments [line items]      
Revenue 1,785,413 35,279 29,935
Other Latin American countries [member]      
Disclosure of operating segments [line items]      
Revenue 73,351 69,523 45,356
Other [member]      
Disclosure of operating segments [line items]      
Revenue R$ 8,132 R$ 11,018 R$ 7,143

v3.23.1
Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Assets in foreign currency [abstract]    
Cash, cash equivalents and financial investments in foreign currency (except hedging instruments) R$ 311,017 R$ 122,242
Foreign trade receivables, net of allowance for expected credit losses 6,131 1,324
Other receivables 727,057 0
Other assets of foreign subsidiaries 280,738 186,548
Asset exposure from subsidiaries held for sale 0 3,839,194
Assets in foreign currency 1,324,943 4,149,308
Liabilities in foreign currency    
Financing in foreign currency, gross of transaction costs and discount (5,213,100) (8,860,833)
Payables arising from imports (1,939,984) (649,107)
Liabilities exposure from subsidiaries held for sale 0 (884,402)
Liabilities in foreign currency (7,153,084) (10,394,342)
Foreign currency hedging instruments 5,274,302 2,933,572
Foreign currency hedging instruments from subsidiaries held for sale 0 1,786,471
Net liability position – total (553,839) (1,524,991)
Net (liability) asset position - effect on statement of income (553,839) (498,604)
Net liability position - effect on equity in subsidiaries held for sale R$ 0 R$ (1,026,387)

v3.23.1
Risks and Financial Instruments - Additional Information (Detail)
$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Customer
Dec. 31, 2021
BRL (R$)
Dec. 31, 2021
USD ($)
Dec. 31, 2020
BRL (R$)
Dec. 31, 2019
BRL (R$)
Disclosure of detailed information about financial instruments [line items]          
Net liability position R$ 553,839,000 R$ 1,524,991,000      
Maximum percentage of identified risk to cover by derivative financial instruments 100.00%        
Gross indebtedness R$ 11,750,361,000 16,377,643,000   R$ 17,376,216,000 R$ 14,392,722,000
Cash, cash equivalents, and short-term financial investments 6,142,121,000        
Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge, related to notes in the foreign market   386,787,000      
Unrealized gain (loss) of other comprehensive income, net of deferred income and social contribution taxes 506,375,000 7,880,000      
Balance of foreign exchange hedging instruments designated as net investments hedge in foreign entities | $     $ 95,000    
Gain (loss) recognized in other comprehensive income, net of deferred income and social contribution taxes R$ 52,837,000 R$ (24,064,000)      
Bottom of range [member]          
Disclosure of detailed information about financial instruments [line items]          
Expected percentage of hedge effectiveness in retrospective assessment to discontinue hedge accounting for hedge relationship is subject to interest rate benchmark reforms 80.00%        
Expected percentage of hedge effectiveness in retrospective assessment to continue hedge accounting for hedge relationship is not subject to interest rate benchmark reforms 80.00%        
Top of range [member]          
Disclosure of detailed information about financial instruments [line items]          
Expected percentage of hedge effectiveness in retrospective assessment to discontinue hedge accounting for hedge relationship is subject to interest rate benchmark reforms 125.00%        
Expected percentage of hedge effectiveness in retrospective assessment to continue hedge accounting for hedge relationship is not subject to interest rate benchmark reforms 125.00%        
Customer concentrations risk | Customer one | Bottom of range [member]          
Disclosure of detailed information about financial instruments [line items]          
Number of customers | Customer 0        
Percentage of entity's consolidated revenue 10.00%        
Brazilian real per US dollar [member]          
Disclosure of detailed information about financial instruments [line items]          
Average foreign exchange rate 5.4679        
Closing foreign exchange rate 5.2177        
Later than one year [member]          
Disclosure of detailed information about financial instruments [line items]          
Gross indebtedness R$ 3,744,329,000        

v3.23.1
Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail) - Probable Scenario [member]
R$ in Thousands
Dec. 31, 2022
BRL (R$)
Disclosure of detailed information about financial instruments [line items]  
Income statement effect R$ (26,555)
Total (26,555)
Income statement effect 26,555
Total R$ 26,555

v3.23.1
Risks and Financial Instruments - Financial assets and liabilities exposed to floating interest rates (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about financial instruments [line items]    
Net liability position R$ (2,917,726) R$ (5,950,168)
DI [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position (2,917,726) (5,952,953)
DI [member] | Cash equivalents [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 5,204,766 1,943,164
DI [member] | Financial investments [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 406,683 1,607,608
DI [member] | Loans and debentures [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position (2,460,698) (4,855,517)
DI [member] | Liability position foreign exchange hedging instruments [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position (2,651,609) (2,283,625)
DI [member] | Liability position of fixed interest instruments + IPCA – DI [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position (3,416,868) (2,364,583)
TJLP [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 0 (326)
TJLP [member] | Loans [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 0 (326)
LIBOR [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 0 3,111
LIBOR [member] | Asset position of foreign exchange hedging instruments [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position 0 279,047
LIBOR [member] | Loans [member]    
Disclosure of detailed information about financial instruments [line items]    
Net liability position R$ 0 R$ (275,936)

v3.23.1
Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Exposure of interest rate risk      
Interest effect on debt R$ (1,465,259) R$ (716,969) R$ (658,980)
Effect on income of short positions in DI of debt hedging instruments R$ (102,175)    
DI [member]      
Exposure of interest rate risk      
Borrowings, interest rate 12.37%    
TJLP [member]      
Exposure of interest rate risk      
Borrowings, interest rate 6.08%    
Probable Scenario [member] | DI [member]      
Exposure of interest rate risk      
Interest effect on cash equivalents and financial investments [1] R$ 26,382    
Interest effect on debt [1] (34,907)    
Incremental expenses R$ (110,700)    
Borrowings, interest rate 13.41%    
Probable Scenario [member] | TJLP [member]      
Exposure of interest rate risk      
Interest effect on debt [2] R$ 0    
Incremental expenses R$ 0    
Borrowings, interest rate 7.20%    
[1] Base rates used was 12.37% and sensivity rate was 13.41%.
[2] Base rates used was 6.08% and sensivity rate was 7.20%.

v3.23.1
Risks and Financial Instruments - Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of external credit grades [line items]    
Counterparty credit rating R$ 6,584,962 R$ 4,463,473
AAA [member]    
Disclosure of external credit grades [line items]    
Counterparty credit rating 5,720,996 3,606,000
AA [member]    
Disclosure of external credit grades [line items]    
Counterparty credit rating 809,583 740,879
A [member]    
Disclosure of external credit grades [line items]    
Counterparty credit rating 3,457 116,594
Others [member]    
Disclosure of external credit grades [line items]    
Counterparty credit rating [1] R$ 50,926 R$ 0
[1] Refers substantially to investiments with minoritary participation of UVC, which are classificated in long term financial investments.

v3.23.1
Risks and Financial Instruments - Loss allowance for expected credit losses balances on trade receivables (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about financial instruments [line items]    
Allowances for doubful accounts on trade receivable R$ 496,040 R$ 559,633
Ipiranga [member]    
Disclosure of detailed information about financial instruments [line items]    
Allowances for doubful accounts on trade receivable 373,514 422,542
Ultragaz [member]    
Disclosure of detailed information about financial instruments [line items]    
Allowances for doubful accounts on trade receivable 120,076 135,565
Ultracargo [member]    
Disclosure of detailed information about financial instruments [line items]    
Allowances for doubful accounts on trade receivable R$ 2,450 R$ 1,526

v3.23.1
Risks and Financial Instruments - Credit risk exposure (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about financial instruments [line items]    
Accounting balance R$ 5,767,961 R$ 4,996,662
Provision for losses 496,040 559,633
Current [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 4,756,388 3,901,536
Provision for losses 22,752 23,476
Less than 30 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 29,817 109,284
Provision for losses 2,230 8,005
31 to 60 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 22,633 57,545
Provision for losses 2,516 11,746
61-90 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 32,522 39,177
Provision for losses 8,617 9,016
91-180 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 58,529 50,588
Provision for losses 20,159 24,818
More than 180 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Accounting balance 868,072 838,532
Provision for losses R$ 439,766 R$ 482,572
Weighted average [member] | Current [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 0.50% 0.60%
Weighted average [member] | Less than 30 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 7.50% 7.30%
Weighted average [member] | 31 to 60 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 11.10% 20.40%
Weighted average [member] | 61-90 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 26.50% 23.00%
Weighted average [member] | 91-180 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 34.40% 49.10%
Weighted average [member] | More than 180 days [member]    
Disclosure of detailed information about financial instruments [line items]    
Expected credit loss rate 50.70% 57.50%

v3.23.1
Risks and Financial Instruments - Summary of loss allowance for expected credit losses balances by geographic area (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses R$ 496,040 R$ 559,633
Brasil [member]    
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses 495,929 559,532
United States of America and Canada [member]    
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses 61 3
Other Latin American countries [member]    
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses 31 15
Europe [member]    
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses 5 66
Others [member]    
Disclosure of detailed information about financial instruments [line items]    
Loss allowance for expected credit losses R$ 14 R$ 17

v3.23.1
Risks and Financial Instruments - Positions of derivative financial instruments to hedge commodity price risk (Detail) - Commodity price risk [member]
R$ in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Dec. 31, 2021
BRL (R$)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Disclosure of detailed information about financial instruments [line items]        
Fair value R$ (67,695) R$ 1,302    
Probable Scenario [member]        
Disclosure of detailed information about financial instruments [line items]        
Fair value R$ (157,697) R$ (65,679)    
Heating Oil [member] | Term [member]        
Disclosure of detailed information about financial instruments [line items]        
Notional amount (m3) | m³ 158,828 167,255    
Notional amount (USD thousands) | $     $ 150,498 $ 103,148
Fair value R$ (52,214) R$ 2,269    
Heating Oil [member] | Term [member] | Probable Scenario [member]        
Disclosure of detailed information about financial instruments [line items]        
Fair value R$ (124,293) R$ (55,066)    
RBOB [member] | Term [member]        
Disclosure of detailed information about financial instruments [line items]        
Notional amount (m3) | m³ 52,466 29,413    
Notional amount (USD thousands) | $     $ 31,382 $ 17,112
Fair value R$ (15,481) R$ (967)    
RBOB [member] | Term [member] | Probable Scenario [member]        
Disclosure of detailed information about financial instruments [line items]        
Fair value R$ (33,404) R$ (10,613)    

v3.23.1
Risks and Financial Instruments - Contractual undiscounted cash outflows (Detail)
R$ in Thousands
Dec. 31, 2022
BRL (R$)
Disclosure of detailed information about financial instruments [line items]  
Loans including future contractual interest R$ 13,960,937 [1],[2]
Derivative instruments 2,292,609 [3]
Trade payables 7,377,846
Leases payable 2,404,105
Financial liabilities of customers 551,587
Contingent consideration 89,640
Less than 1 year [member]  
Disclosure of detailed information about financial instruments [line items]  
Loans including future contractual interest 3,744,329 [1],[2]
Derivative instruments 584,748 [3]
Trade payables 7,377,846
Leases payable 343,792
Financial liabilities of customers 184,159
Contingent consideration 0
Between 1 and 3 years [member]  
Disclosure of detailed information about financial instruments [line items]  
Loans including future contractual interest 2,524,250 [1],[2]
Derivative instruments 725,668 [3]
Trade payables 0
Leases payable 596,602
Financial liabilities of customers 354,389
Contingent consideration 0
Between 3 and 5 years [member]  
Disclosure of detailed information about financial instruments [line items]  
Loans including future contractual interest 2,993,156 [1],[2]
Derivative instruments 648,202 [3]
Trade payables 0
Leases payable 374,456
Financial liabilities of customers 13,039
Contingent consideration 89,640
More than 5 years [Member]  
Disclosure of detailed information about financial instruments [line items]  
Loans including future contractual interest 4,699,202 [1],[2]
Derivative instruments 333,991 [3]
Trade payables 0
Leases payable 1,089,255
Financial liabilities of customers 0
Contingent consideration R$ 0
[1] The interest on loans, it was estimated based on the US dollar futures contracts and on the future yield curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022.
[2] Includes estimated interest on short-term and long-term loans until the contractually foreseen payment date.
[3] The hedging instruments were estimated based on the US dollar futures contracts and the future curves of the DI x fixed rate and DI x IPCA contracts, quoted on B3 on December 31, 2022. In the table above, only the hedging instruments with negative results at the time of settlement were considered.

v3.23.1
Risks and Financial Instruments - Schedule of leverage ratio (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Dec. 31, 2019
Disclosure of detailed information about financial instruments [abstract]        
Loans and financing R$ 13,274,130 R$ 17,725,954    
Cash and cash equivalents, financial investments and derivative financial instruments 6,584,962 4,463,473    
Net debt 6,689,168 13,262,481    
Equity R$ 12,174,968 R$ 10,469,240 R$ 9,910,265 R$ 9,835,175
Leverage ratio 54.94% 126.68%    

v3.23.1
Risks and Financial Instruments - Summary the position of hedging instruments (Detail) - BRL (R$)
R$ in Thousands
12 Months Ended
Dec. 31, 2022
Dec. 31, 2021
Derivatives designated as hedge accounting [member]    
Disclosure of detailed information about financial instruments [line items]    
Fair value, Assets R$ 289,893 R$ 533,642 [1]
Fair value, Liabilities (152,249) (47,373) [1]
Gains (losses), Results R$ (1,180,344) R$ (135,479)
Derivatives designated as hedge accounting [member] | NDF [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets BRL BRL
Contracted rates-liabilities Heating Oil/ RBOB USD
Final maturity Jul-23 Jan-22
Notional amount [2] R$ 181,880 R$ 68,361
Fair value, Assets 2,936 7,048 [1]
Fair value, Liabilities (70,630) (1,346) [1]
Gains (losses), Results R$ (944,896) R$ 813
Derivatives designated as hedge accounting [member] | Interest rate swap contract [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets IPCA +5.03% 4.59% + IPCA
Contracted rates-liabilities 102.87% DI 102.00% DI
Final maturity Jun-32 Sept-28
Notional amount [2] R$ 3,226,054 R$ 2,226,054
Fair value, Assets 173,741 201,638 [1]
Fair value, Liabilities (59,789) (35,170) [1]
Gains (losses), Results R$ (143,762) R$ (17,922)
Derivatives designated as hedge accounting [member] | Foreign exchange swap [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets USD + 4.95 % USD +4.65%
Contracted rates-liabilities 106.67% DI 104.87% DI
Final maturity Sept-25 Sept-23
Notional amount [2] R$ 221,339 R$ 125,000
Fair value, Assets 106,550 212,509 [1]
Fair value, Liabilities (9,243) 0 [1]
Gains (losses), Results R$ (121,296) R$ 11,712
Derivatives designated as hedge accounting [member] | Foreign exchange swap one [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets USD +LIBOR-3M +1.14% USD +LIBOR-3M
Contracted rates-liabilities 105.00% DI 105.00% DI
Final maturity Jun-22 Jun-22
Notional amount [2] R$ 0 R$ 50,000
Fair value, Assets 0 109,332 [1]
Fair value, Liabilities 0 0 [1]
Gains (losses), Results R$ (21,566) R$ 10,779
Derivatives designated as hedge accounting [member] | Foreign exchange swap two [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets EUR + 3.42%  
Contracted rates-liabilities 111.60% DI  
Final maturity Mar-23  
Notional amount [2] R$ 9,709  
Fair value, Assets 1,954  
Fair value, Liabilities 0  
Gains (losses), Results R$ 2,573  
Derivatives designated as hedge accounting [member] | Interest rate swap contract one [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets   6.47%
Contracted rates-liabilities   99.94% DI
Final maturity   Nov-24
Notional amount [2]   R$ 90,000
Fair value, Assets [1]   0
Fair value, Liabilities [1]   (9,044)
Gains (losses), Results   R$ (10,088)
Derivatives designated as hedge accounting [member] | Term [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets 6.47% BRL
Contracted rates-liabilities 99.94% DI Heating Oil/ RBOB
Final maturity Nov-24 Jan-22
Notional amount [2] R$ 90,000 R$ 120,260
Fair value, Assets 0 3,115 [1]
Fair value, Liabilities (9,513) (1,813) [1]
Gains (losses), Results R$ (5,069) (130,773)
Derivatives designated as hedge accounting [member] | NDF one [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets BRL  
Contracted rates-liabilities USD  
Final maturity Jan-23  
Notional amount [2] R$ 127,233  
Fair value, Assets 4,712  
Fair value, Liabilities (3,074)  
Gains (losses), Results 53,762  
Derivatives not designated as hedge accounting    
Disclosure of detailed information about financial instruments [line items]    
Fair value, Assets 266,617 [1] 26,516
Fair value, Liabilities (372,062) [1] (149,804)
Gains (losses), Results R$ (792,278) R$ (54,321)
Derivatives not designated as hedge accounting | NDF [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets USD USD
Contracted rates-liabilities BRL BRL
Final maturity Jul-23 Jun-22
Notional amount [2] R$ 1,116,702 R$ 625,762
Fair value, Assets 36,472 [1] 26,516
Fair value, Liabilities (54,067) [1] (23,052)
Gains (losses), Results R$ (440,359) R$ 54,743
Derivatives not designated as hedge accounting | Interest rate swap contract [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets 5.25% 5.25%
Contracted rates-liabilities 1.36% DI - 1.36%
Final maturity Jun-29 Jun-29
Notional amount [2] R$ 300,000 R$ 300,000
Fair value, Assets 0 [1] 0
Fair value, Liabilities (308,821) [1] (126,752)
Gains (losses), Results R$ (266,445) R$ (109,081)
Derivatives not designated as hedge accounting | Foreign exchange swap [member]    
Disclosure of detailed information about financial instruments [line items]    
Contracted rates-assets 0.00% 2.67%
Contracted rates-liabilities 52.99% 100.00%
Final maturity Jun-29 May-21
Notional amount [2] R$ 375,000 R$ 0
Fair value, Assets 230,145 [1] 0
Fair value, Liabilities (9,174) [1] 0
Gains (losses), Results R$ (85,474) R$ 17
[1] Amounts, net of income tax.
[2] Currency as indicated.

v3.23.1
Risks and Financial Instruments - Summary of foreign exchange hedging instruments designated as fair value hedge (Detail)
R$ in Thousands, $ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
BRL (R$)
Dec. 31, 2021
USD ($)
Dec. 31, 2022
USD ($)
Dec. 31, 2021
USD ($)
Ipiranga [member]            
Disclosure of detailed information about hedges [line items]            
Notional amount | $         $ 309,113 $ 188,621
Result of hedging instruments - gain/(loss) - R$ R$ (891,223)   R$ (129,670)      
Adjustment of inventory fair value - US$ | $   $ 34,126   $ (4,352)    
Foreign exchange hedging instruments [member]            
Disclosure of detailed information about hedges [line items]            
Notional amount | $         $ 221,339 $ 175,000
Result of hedging instruments - gain/(loss) - R$ (142,863)   21,812      
Fair value adjustment of debt - R$ 28,000   47,064      
Financial result of the debt - R$ R$ 28,291   R$ (105,059)      
Average effective cost - DI % 107.00% 107.00% 104.90% 104.90%    
Foreign exchange swap two [member]            
Disclosure of detailed information about hedges [line items]            
Notional amount R$ 9,709   R$ 0      
Result of hedging instruments - gain/(loss) - R$ 2,573   0      
Fair value adjustment of debt - R$ R$ (8)   R$ 0      
Average effective cost - DI % 112.00% 112.00% 0.00% 0.00%    
Interest rate hedging instruments [member]            
Disclosure of detailed information about hedges [line items]            
Notional amount R$ 3,226,054   R$ 2,226,054      
Result of hedging instruments - gain/(loss) - R$ (143,762)   (17,922)      
Fair value adjustment of debt - R$ (44,312)   166,374      
Financial result of the debt - R$ R$ (293,955)   R$ (245,710)      
Average effective cost - DI % 102.90% 102.90% 102.00% 102.00%    
Interest rate swap contract one [member]            
Disclosure of detailed information about hedges [line items]            
Notional amount R$ 90,000   R$ 90,000      
Result of hedging instruments - gain/(loss) - R$ (5,069)   (10,088)      
Fair value adjustment of debt - R$ (486)   11,756      
Financial result of the debt - R$ R$ (6,330)   R$ (5,914)      
Average effective cost - DI % 99.90% 99.90% 99.90% 99.90%    

v3.23.1
Risks and Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail) - BRL (R$)
R$ in Thousands
Dec. 31, 2022
Dec. 31, 2021
Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value R$ 12,457,192 R$ 6,303,889
Financial liabilities, fair value 11,799,983 19,985,562
Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 963,193 2,518,955
Financial liabilities, fair value 7,732,457 3,747,091
Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Financial liabilities, fair value 89,640  
Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 5,898,850 3,747,091
Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 13,812,360 19,757,883
Cash and bank [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 111,797 334,547
Cash and bank [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Cash and bank [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Cash and cash equivalents, Fixed-income securities in local currency [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 5,204,766 0
Cash and cash equivalents, Fixed-income securities in local currency [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 1,943,164
Cash and cash equivalents, Fixed-income securities in local currency [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Cash and cash equivalents, Fixed-income securities in foreign currency [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 305,206 2,363
Cash and cash equivalents, Fixed-income securities in foreign currency [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Cash and cash equivalents, Fixed-income securities in foreign currency [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Financial investments, Fixed-income securities and funds in local currency [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 1,607,608
Financial investments, Fixed-income securities and funds in local currency [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 406,683 0
Financial investments, Fixed-income securities and funds in local currency [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Financial investments, Fixed-income securities and funds in foreign currency [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Financial investments, Fixed-income securities and funds in foreign currency [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 103,239
Financial investments, Fixed-income securities and funds in foreign currency [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Foreign exchange, interest rate and commodity hedging instrument assets [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Foreign exchange, interest rate and commodity hedging instrument assets [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 556,510 472,552
Foreign exchange, interest rate and commodity hedging instrument assets [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Trade Receivables [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 4,504,245 3,367,012
Trade Receivables [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Trade Receivables [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Reseller Financing [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 1,234,613 992,359
Reseller Financing [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0 0
Reseller Financing [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Loan financing liabilities [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 3,971,551 8,380,088
Loan financing liabilities [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 1,216,341 1,011,374
Loan financing liabilities [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Loan financing liabilities [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 1,216,341 1,011,374
Loan financing liabilities [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Loan financing liabilities [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 3,973,816 8,082,323
Debentures [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0 4,529,439
Debentures [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 5,949,028 2,487,244
Debentures [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Debentures [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 3,575,195 2,487,244
Debentures [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Debentures [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 2,460,698 4,599,525
Lease payable [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value   1,348,311
Lease payable [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value   0
Lease payable [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value   0
Lease payable [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value   0
Lease payable [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value   1,348,311
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0 0
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 524,312 197,177
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 524,312 197,177
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Foreign exchange, interest rate and commodity hedging instrument liabilities [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Trade payables [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 4,710,952 5,727,724
Trade payables [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0 0
Trade payables [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Trade payables [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Trade payables [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Trade payables [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 4,710,952 5,727,724
Trade payables – reverse factoring [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 2,666,894  
Trade payables – reverse factoring [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Trade payables – reverse factoring [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Trade payables – reverse factoring [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Trade payables – reverse factoring [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Trade payables – reverse factoring [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 2,666,894  
Stock warrant – indemnification [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0 0
Stock warrant – indemnification [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 42,776 51,296
Stock warrant – indemnification [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Stock warrant – indemnification [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 42,776 51,296
Stock warrant – indemnification [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Stock warrant – indemnification [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0 0
Financial liabilities of customers [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 1,096,565  
Financial liabilities, fair value 450,586  
Financial liabilities of customers [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Financial liabilities, fair value 0  
Financial liabilities of customers [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, fair value 0  
Financial liabilities, fair value 0  
Financial liabilities of customers [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 450,586  
Financial liabilities of customers [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Financial liabilities of customers [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Contingent consideration [member] | Level 1 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Contingent consideration [member] | Level 2 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 0  
Contingent consideration [member] | Level 3 [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, fair value 89,640  
Contingent consideration [member] | Financial liabilities at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 89,640  
Contingent consideration [member] | Financial liabilities measured at fair value through other comprehensive income [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Contingent consideration [member] | Financial liabilities at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial liabilities, carrying value 0  
Financial assets at fair value through profit or loss, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 963,193 2,082,523
Financial assets at fair value through profit or loss, category [member] | Cash and bank [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through profit or loss, category [member] | Cash and cash equivalents, Fixed-income securities in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through profit or loss, category [member] | Cash and cash equivalents, Fixed-income securities in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 2,363
Financial assets at fair value through profit or loss, category [member] | Financial investments, Fixed-income securities and funds in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 406,683 1,607,608
Financial assets at fair value through profit or loss, category [member] | Financial investments, Fixed-income securities and funds in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through profit or loss, category [member] | Foreign exchange, interest rate and commodity hedging instrument assets [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 556,510 472,552
Financial assets at fair value through profit or loss, category [member] | Trade Receivables [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through profit or loss, category [member] | Reseller Financing [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through profit or loss, category [member] | Financial liabilities of customers [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0  
Financial assets at fair value through other comprehensive income, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 2,046,403
Financial assets at fair value through other comprehensive income, category [member] | Cash and bank [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Cash and cash equivalents, Fixed-income securities in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 1,943,164
Financial assets at fair value through other comprehensive income, category [member] | Cash and cash equivalents, Fixed-income securities in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Financial investments, Fixed-income securities and funds in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Financial investments, Fixed-income securities and funds in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 103,239
Financial assets at fair value through other comprehensive income, category [member] | Foreign exchange, interest rate and commodity hedging instrument assets [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Trade Receivables [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Reseller Financing [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at fair value through other comprehensive income, category [member] | Financial liabilities of customers [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0  
Financial assets at amortised cost, category [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 12,486,295 4,771,576
Financial assets at amortised cost, category [member] | Cash and bank [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 111,797 334,547
Financial assets at amortised cost, category [member] | Cash and cash equivalents, Fixed-income securities in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 5,204,766 0
Financial assets at amortised cost, category [member] | Cash and cash equivalents, Fixed-income securities in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 305,206 0
Financial assets at amortised cost, category [member] | Financial investments, Fixed-income securities and funds in local currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at amortised cost, category [member] | Financial investments, Fixed-income securities and funds in foreign currency [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at amortised cost, category [member] | Foreign exchange, interest rate and commodity hedging instrument assets [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 0 0
Financial assets at amortised cost, category [member] | Trade Receivables [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 4,533,327 3,438,995
Financial assets at amortised cost, category [member] | Reseller Financing [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value 1,234,634 R$ 998,034
Financial assets at amortised cost, category [member] | Financial liabilities of customers [member]    
Disclosure of detailed information about financial instruments [line items]    
Financial assets, carrying value R$ 1,096,565  

v3.23.1
Commitments - Contracts (Detail)
12 Months Ended
Dec. 31, 2022
Cargo contract one [member]  
Summary of contract commitments [line items]  
Port Aratu [1]
Minimum movement in tons per years 900,000
Maturity 2022
Cargo contract two [member]  
Summary of contract commitments [line items]  
Port Suape
Minimum movement in tons per years 250,000
Maturity 2027
Cargo contract three [member]  
Summary of contract commitments [line items]  
Port Suape
Minimum movement in tons per years 400,000
Maturity 2029
Cargo contract four [member]  
Summary of contract commitments [line items]  
Port Aratu
Minimum movement in tons per years 465,403
Maturity 2031
Cargo contract five [member]  
Summary of contract commitments [line items]  
Port Itaqui
Minimum movement in tons per years 1,468,105
Maturity 2049
[1] Contract in renovation phase with the competent organ.

v3.23.1
Commitments - Additional Information (Detail)
m³ in Thousands, R$ in Thousands
Apr. 09, 2021
BRL (R$)
Dec. 31, 2022
BRL (R$)
T
Disclosure of commitments and contingencies [line items]    
Obligations regarding minimum purchase limits | R$   R$ 0
Aratu [member]    
Disclosure of commitments and contingencies [line items]    
Cargo rates per ton   8.71
Suape [member]    
Disclosure of commitments and contingencies [line items]    
Cargo rates per ton   3.05
Itaqui [Member]    
Disclosure of commitments and contingencies [line items]    
Cargo rates per ton   0.94
Itaqui [Member] | Area port lease [member] | Ultracargo Logística S.A. | Area IQI13 [member]    
Disclosure of commitments and contingencies [line items]    
Minimum port storage capacity | m³ 79  
Estimated investments to port concessions | R$ R$ 310,000  
Minimum lease period of port concession 20 years  
Estimated investments, disbursement period 6 years  

v3.23.1
Business combinations - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details) - BRL (R$)
R$ in Thousands
12 Months Ended
Oct. 01, 2022
Sep. 12, 2022
Dec. 31, 2022
Dec. 31, 2021
Dec. 31, 2020
Comprised by          
Contingent consideration to be settled     R$ 89,640    
Net cash outflow resulting from the acquisition          
Total     R$ 5,985 R$ 0 R$ 0
Ultragaz Comercial Ltda [member] | Stella GD Intermediação de Geração Distribuída de Energia Ltda [member]          
Assets          
Cash and cash equivalents R$ 1,586        
Receivables 17        
Other receivables 119        
Property, plant and equipment 515        
Intangible assets 902        
Goodwill based on expected future profitability 99,679        
Liabilities          
Trade payables 14        
Salaries and related charges 217        
Taxes payable 9        
Other payables 5,378        
Acquisition value 97,200        
Comprised by          
Cash 7,560        
Contingent consideration to be settled 89,640        
Total consideration 97,200        
Net cash outflow resulting from the acquisition          
Consideration in cash 7,560 R$ 7,600      
Cash and cash equivalents acquired (1,586)        
Total R$ 5,974        

v3.23.1
Business combinations - Schedule of earnout sensitivity analysis (Details) - Ultragaz Comercial Ltda [member] - Stella GD Intermediação de Geração Distribuída de Energia Ltda [member]
R$ in Thousands
12 Months Ended
Dec. 31, 2022
BRL (R$)
Business combinations  
Goals Accounting net cash flow and net revenue
Changes in goals increase by <span style="border-left: none; border-right: none;"><span style="border-left: none; border-right: none;">25.0</span></span> p.p.
Increase in liability R$ 33,146
Changes in goals decrease by <span style="border-left: none; border-right: none;"><span style="border-left: none; border-right: none;">25.0</span></span> p.p.
Decrease in liabilities R$ 26,940
Percentage of reasonably possible increase in actuarial assumptions for earnout liability 25.00%
Percentage of reasonably possible decrease in actuarial assumptions for earnout liability 25.00%

v3.23.1
Business combinations - Additional Information (Details) - Ultragaz Comercial Ltda [member] - Stella GD Intermediação de Geração Distribuída de Energia Ltda [member]
R$ in Thousands, Customer in Thousands
Oct. 01, 2022
BRL (R$)
Customer
Sep. 12, 2022
BRL (R$)
Business combinations    
Number of states in which acquiree entity operates 12  
Number of minimum active customers in which acquiree entity offered energy solutions | Customer 11  
Renewable energy, electricity power distribution capacity offered to customers 75  
Total consideration paid R$ 63,000 R$ 63,000
Consideration in cash 7,560 R$ 7,600
Provisional goodwill R$ 99,679  

v3.23.1
Events after the reporting period - Additional Information (Detail)
R$ / shares in Units, ¥ in Thousands, m³ in Thousands, R$ in Thousands
Apr. 19, 2023
BRL (R$)
Mar. 30, 2023
BRL (R$)
Jan. 19, 2023
JPY (¥)
Dec. 19, 2022
Apr. 01, 2023
R$ / shares
shares
Mar. 30, 2023
USD ($)
Feb. 15, 2023
shares
Feb. 01, 2023
BRL (R$)
Jan. 19, 2023
BRL (R$)
Companhia Ultragaz S A [member] | Foreign loans [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Borrowings, interest rate       4.539%          
Borrowings, interest rate basis       108.5          
Major borrowings [member] | Companhia Ultragaz S A [member] | Foreign loans [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Notional amount   R$ 508,040 ¥ 12,564,392     $ 100,000     R$ 500,000
Borrowings, interest rate   4.5815% 1.3125%     4.5815%     1.3125%
Borrowings, maturity   July 30, 2024 March 19, 2025            
Borrowings, adjustment to interest rate basis   110.90% 109.40%     110.90%     109.40%
Borrowings, interest rate basis   DI DI            
Major borrowings [member] | Ipiranga [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Notional amount   R$ 500,000              
Borrowings, interest rate   109.40%       109.40%      
Borrowings, maturity   April 02, 2025              
Major business combination [member] | Companhia Ultragaz S A [member] | NEOgás do Brasil Gás Natural Comprimido S.A. ("NEOgás") [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Purchase price of acquisition               R$ 165,000  
Major business combination [member] | Ultracargo Logística S.A. | Opla Logística Avançada (“Opla”) [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Purchase price of acquisition R$ 237,500                
Percentage of voting equity interests acquired 50.00%                
Installed tank storage capacity | m³ 180                
Major business combination [member] | Ultracargo Logística S.A. | Opla Logística Avançada (“Opla”) [member] | BP Biofuels Brazil Investments Ltd. (“BP”) [Member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Interest in share capital - % in joint ventures 50.00%                
Major business combination [member] | Ultracargo Logística S.A. | Opla Logística Avançada (“Opla”) [member] | Copersucar S.A. (“Copersucar”) [Member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Interest in share capital - % in joint ventures 50.00%                
Major ordinary share transactions [member]                  
Disclosure of non-adjusting events after reporting period [line items]                  
Number of shares issued | shares         1,115,204,291   31,211    
Par value per share | R$ / shares         R$ 0        

{
 "instance": {
  "ugp-20221231.htm": {
   "axisCustom": 12,
   "axisStandard": 47,
   "baseTaxonomies": {
    "http://xbrl.sec.gov/dei/2022": 41,
    "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full": 4383
   },
   "contextCount": 1746,
   "dts": {
    "calculationLink": {
     "local": [
      "ugp-20221231_cal.xml"
     ]
    },
    "definitionLink": {
     "local": [
      "ugp-20221231_def.xml"
     ]
    },
    "inline": {
     "local": [
      "ugp-20221231.htm"
     ]
    },
    "labelLink": {
     "local": [
      "ugp-20221231_lab.xml"
     ]
    },
    "presentationLink": {
     "local": [
      "ugp-20221231_pre.xml"
     ]
    },
    "schema": {
     "local": [
      "ugp-20221231.xsd"
     ],
     "remote": [
      "http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xl-2003-12-31.xsd",
      "http://www.xbrl.org/2003/xlink-2003-12-31.xsd",
      "http://www.xbrl.org/2005/xbrldt-2005.xsd",
      "http://www.xbrl.org/2006/ref-2006-02-27.xsd",
      "http://www.xbrl.org/dtr/type/nonNumeric-2009-12-16.xsd",
      "http://www.xbrl.org/dtr/type/numeric-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd",
      "http://www.xbrl.org/lrr/role/reference-2009-12-16.xsd",
      "https://www.xbrl.org/2020/extensible-enumerations-2.0.xsd",
      "https://www.xbrl.org/dtr/type/2020-01-21/types.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-roles-2022.xsd",
      "https://xbrl.fasb.org/srt/2022/elts/srt-types-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-roles-2022.xsd",
      "https://xbrl.fasb.org/us-gaap/2022/elts/us-types-2022.xsd",
      "https://xbrl.ifrs.org/taxonomy/2022-03-24/full_ifrs/full_ifrs-cor_2022-03-24.xsd",
      "https://xbrl.sec.gov/country/2022/country-2022.xsd",
      "https://xbrl.sec.gov/dei/2022/dei-2022.xsd"
     ]
    }
   },
   "elementCount": 1949,
   "entityCount": 1,
   "hidden": {
    "http://www.ultrapar.com/20221231": 3,
    "http://xbrl.sec.gov/dei/2022": 7,
    "total": 10
   },
   "keyCustom": 496,
   "keyStandard": 447,
   "memberCustom": 292,
   "memberStandard": 89,
   "nsprefix": "ugp",
   "nsuri": "http://www.ultrapar.com/20221231",
   "report": {
    "R1": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "document",
     "isDefault": "true",
     "longName": "0000 - Document - Cover Page",
     "menuCat": "Cover",
     "order": "1",
     "role": "http://www.ultrapar.com/role/CoverPage",
     "shortName": "Cover Page",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "dei:DocumentType",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R10": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1025 - Disclosure - New accounting policies and changes in accounting policies",
     "menuCat": "Notes",
     "order": "10",
     "role": "http://www.ultrapar.com/role/Newaccountingpoliciesandchangesinaccountingpolicies",
     "shortName": "New accounting policies and changes in accounting policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R100": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4094 - Disclosure - Related Parties - Summary of Shares granted (Detail)",
     "menuCat": "Details",
     "order": "100",
     "role": "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail",
     "shortName": "Related Parties - Summary of Shares granted (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfDeferredStockPlanSharesGrantedByDateTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_KeyManagementPersonnelOfEntityOrParentMember",
      "decimals": "0",
      "lang": null,
      "name": "ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     }
    },
    "R101": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfChangesInDeferredStockPlanTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4095 - Disclosure - Related Parties - Changes of Number of Shares Granted (Detail)",
     "menuCat": "Details",
     "order": "101",
     "role": "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
     "shortName": "Related Parties - Changes of Number of Shares Granted (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfChangesInDeferredStockPlanTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_DeferredStockUnitPlanMember_KeyManagementPersonnelOfEntityOrParentMember",
      "decimals": "0",
      "lang": null,
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     }
    },
    "R102": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfInstrumentsOtherEquityInstrumentsGranted",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4096 - Disclosure - Related Parties - Restricted Stock Program (Detail)",
     "menuCat": "Details",
     "order": "102",
     "role": "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
     "shortName": "Related Parties - Restricted Stock Program (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_RestrictedStockAwardMember_GrantDateApril42018Member",
      "decimals": null,
      "lang": "en-US",
      "name": "ifrs-full:DateOfGrantOfSharebasedPaymentArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R103": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfChangesInDeferredStockPlanTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4097 - Disclosure - Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail)",
     "menuCat": "Details",
     "order": "103",
     "role": "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
     "shortName": "Related Parties - Summarized Changes of Number of Restricted and Performance Shares Granted (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231_RestrictedAndPerformanceStockMember",
      "decimals": "0",
      "lang": null,
      "name": "ifrs-full:NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     }
    },
    "R104": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4100 - Disclosure - Income and Social Contribution Taxes - Deferred Taxes (Detail)",
     "menuCat": "Details",
     "order": "104",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail",
     "shortName": "Income and Social Contribution Taxes - Deferred Taxes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R105": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:DeferredTaxLiabilityAsset",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4101 - Disclosure - Income and Social Contribution Taxes - Summary of Changes in Balances of Deferred Taxes (Detail)",
     "menuCat": "Details",
     "order": "105",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail",
     "shortName": "Income and Social Contribution Taxes - Summary of Changes in Balances of Deferred Taxes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:DeferredTaxLiabilityAsset",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R106": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4102 - Disclosure - Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail)",
     "menuCat": "Details",
     "order": "106",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
     "shortName": "Income and Social Contribution Taxes - Summary of Recovery of Deferred Tax Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R107": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossBeforeTax",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4103 - Disclosure - Income and Social Contribution Taxes - Summary of Reconciliation of Taxes (Detail)",
     "menuCat": "Details",
     "order": "107",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail",
     "shortName": "Income and Social Contribution Taxes - Summary of Reconciliation of Taxes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTaxReconciliationTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:TaxExpenseIncomeAtApplicableTaxRate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R108": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
       "div",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_BahianaDistribuidoraDeGasLtdaMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:NameOfSubsidiary",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4104 - Disclosure - Income and Social Contribution Taxes - Summary of Tax Incentives (Detail)",
     "menuCat": "Details",
     "order": "108",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
     "shortName": "Income and Social Contribution Taxes - Summary of Tax Incentives (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTaxIncentivesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_MataripeBaseMember_BahianaDistribuidoraDeGasLtdaMember",
      "decimals": null,
      "lang": "en-US",
      "name": "ugp:BusinessUnit",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R109": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4105 - Disclosure - Income and Social Contribution Taxes - Summary of deferred income and social contribution tax assets (Detail)",
     "menuCat": "Details",
     "order": "109",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
     "shortName": "Income and Social Contribution Taxes - Summary of deferred income and social contribution tax assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfDeferredIncomeAndSocialContributionTaxAssetsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_OnshoreMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R11": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1030 - Disclosure - Assets and liabilities from subsidiaries held for sale and discontinued operations",
     "menuCat": "Notes",
     "order": "11",
     "role": "http://www.ultrapar.com/role/Assetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperations",
     "shortName": "Assets and liabilities from subsidiaries held for sale and discontinued operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R110": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:DeferredIncomeAndSocialContributionTaxAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4107 - Disclosure - Income and Social Contribution Taxes - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "110",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
     "shortName": "Income and Social Contribution Taxes - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTaxReconciliationTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-6",
      "lang": null,
      "name": "ugp:ThresholdAmountOfGrossRevenueForCalculationOfAlternativeMethodOfTaxationForCompanies",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R111": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfPrepaidExpensesTableTextBlock",
       "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:PrepaidRentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4110 - Disclosure - Prepaid Expenses - Summary of Prepaid Expenses (Detail)",
     "menuCat": "Details",
     "order": "111",
     "role": "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail",
     "shortName": "Prepaid Expenses - Summary of Prepaid Expenses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfPrepaidExpensesTableTextBlock",
       "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:PrepaidRentExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R112": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ContractAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4120 - Disclosure - Contractual Assets with Customers - Exclusive Rights - Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes (Detail)",
     "menuCat": "Details",
     "order": "112",
     "role": "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail",
     "shortName": "Contractual Assets with Customers - Exclusive Rights - Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ContractAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R113": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Equity",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4130 - Disclosure - Investments in joint controlled entities and associates - Summary of the positions of equity and income (loss) for the year (Details)",
     "menuCat": "Details",
     "order": "113",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
     "shortName": "Investments in joint controlled entities and associates - Summary of the positions of equity and income (loss) for the year (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfInterestsInOtherEntitiesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R114": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4131 - Disclosure - Investments in joint controlled entities and associates - Summary of statements of financial position and statements of income of joint ventures (Detail)",
     "menuCat": "Details",
     "order": "114",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
     "shortName": "Investments in joint controlled entities and associates - Summary of statements of financial position and statements of income of joint ventures (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfJointVenturesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_UniaoVopakMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R115": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4132 - Disclosure - Investments in joint controlled entities and associates - Summary of Amounts of Balance Sheets and Income Statements of Associates (Detail)",
     "menuCat": "Details",
     "order": "115",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
     "shortName": "Investments in joint controlled entities and associates - Summary of Amounts of Balance Sheets and Income Statements of Associates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_TransportadoraSulbrasileiraDeGasMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R116": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfInterestsInOtherEntitiesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4133 - Disclosure - Investments in joint controlled entities and associates - Summary of balances and changes in investments in joint ventures and associates (Detail)",
     "menuCat": "Details",
     "order": "116",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
     "shortName": "Investments in joint controlled entities and associates - Summary of balances and changes in investments in joint ventures and associates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "ugp:ScheduleOfBalancesAndChangesInInvestmentsAccountedForUsingEquityMethodTableTextBlock",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20211231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ShareOfProfitLossOfDiscontinuedOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R117": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4134 - Disclosure - Investments in joint controlled entities and associates (Details - Textuals)",
     "menuCat": "Details",
     "order": "117",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
     "shortName": "Investments in joint controlled entities and associates (Details - Textuals)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfInterestsInOtherEntitiesExplanatory",
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20211001_ConnectCarMember_IpirangaProdutosdePetroleoSAMember",
      "decimals": "2",
      "lang": null,
      "name": "ifrs-full:ProportionOfOwnershipInterestInJointVenture",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R118": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RightofuseAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4140 - Disclosure - Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail)",
     "menuCat": "Details",
     "order": "118",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
     "shortName": "Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231_RightofuseAssetsMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:RightofuseAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R119": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "link:footnote",
       "span",
       "span",
       "p",
       "div",
       "div",
       "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:IncreaseDecreaseThroughTransferOfRightOfUseAsset",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4141 - Disclosure - Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail) (Parenthetical)",
     "menuCat": "Details",
     "order": "119",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical",
     "shortName": "Right-of-use assets and leases payable - Summary of Information About Right of Use Assets (Detail) (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "span",
       "span",
       "p",
       "div",
       "div",
       "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_RightofuseAssetsMember_PortAreasMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:IncreaseDecreaseThroughInitialDirectCostsRightOfUseAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R12": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1050 - Disclosure - Cash and cash equivalents, financial investments and derivative financial instruments",
     "menuCat": "Notes",
     "order": "12",
     "role": "http://www.ultrapar.com/role/Cashandcashequivalentsfinancialinvestmentsandderivativefinancialinstruments",
     "shortName": "Cash and cash equivalents, financial investments and derivative financial instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R120": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfAdditionalInformationAboutLeasingActivitiesForLesseeExplanatory",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LeaseLiabilities",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4143 - Disclosure - Right-of-use assets and leases payable - Summary of Changes in Lease Payables (Detail)",
     "menuCat": "Details",
     "order": "120",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail",
     "shortName": "Right-of-use assets and leases payable - Summary of Changes in Lease Payables (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfAdditionalInformationAboutLeasingActivitiesForLesseeExplanatory",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:LeaseLiabilities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R121": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:UndiscountedOperatingLeasePaymentsToBePaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4144 - Disclosure - Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail)",
     "menuCat": "Details",
     "order": "121",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
     "shortName": "Right-of-use assets and leases payable - Summary of Maturities of Lease Payments of Operating Lease (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:UndiscountedOperatingLeasePaymentsToBePaid",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R122": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_NotLaterThanFiveYearsMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "ifrs-full:WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4145 - Disclosure - Right-of-use assets and leases payable - Summary of weighted average discount rates for the lease payable (Detail)",
     "menuCat": "Details",
     "order": "122",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail",
     "shortName": "Right-of-use assets and leases payable - Summary of weighted average discount rates for the lease payable (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_NotLaterThanFiveYearsMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "ifrs-full:WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R123": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4146 - Disclosure - Right-of-use assets and leases payable - Details about lease contracts of low amount assets (Detail)",
     "menuCat": "Details",
     "order": "123",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
     "shortName": "Right-of-use assets and leases payable - Details about lease contracts of low amount assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R124": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4147 - Disclosure - Right-of-use assets and leases payable - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "124",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableAdditionalInformationDetail",
     "shortName": "Right-of-use assets and leases payable - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R125": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PropertyPlantAndEquipment",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4150 - Disclosure - Property, Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Detail)",
     "menuCat": "Details",
     "order": "125",
     "role": "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
     "shortName": "Property, Plant,and Equipment - Balances and changes in property, plant, and equipment beginning and ending (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R126": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IntangibleAssetsAndGoodwill",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4160 - Disclosure - Intangible Assets - Balance and changes in intangible assets (Detail)",
     "menuCat": "Details",
     "order": "126",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
     "shortName": "Intangible Assets - Balance and changes in intangible assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R127": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:IncreaseDecreaseThroughTransfersIntangibleAssetsAndGoodwill",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4161 - Disclosure - Intangible Assets - Transfer to property, plant and equipment (Detail)",
     "menuCat": "Details",
     "order": "127",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
     "shortName": "Intangible Assets - Transfer to property, plant and equipment (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R128": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfGoodwillExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AdditionalRecognitionGoodwill",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4162 - Disclosure - Intangible Assets - Balances of goodwill (Detail)",
     "menuCat": "Details",
     "order": "128",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
     "shortName": "Intangible Assets - Balances of goodwill (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfGoodwillExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_ExtrafarmaMember",
      "decimals": null,
      "lang": "en-US",
      "name": "ugp:GoodwillAcquisitionSegment",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R129": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfGoodwillExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AdditionalRecognitionGoodwill",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4163 - Disclosure - Intangible Assets - Balances of goodwill (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "129",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail",
     "shortName": "Intangible Assets - Balances of goodwill (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "link:footnote",
       "span",
       "span",
       "p",
       "ifrs-full:DisclosureOfGoodwillExplanatory",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_ParentCompanyMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionalRecognitionGoodwill",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R13": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1060 - Disclosure - Trade receivables, reseller financing and other receivables",
     "menuCat": "Notes",
     "order": "13",
     "role": "http://www.ultrapar.com/role/Tradereceivablesresellerfinancingandotherreceivables",
     "shortName": "Trade receivables, reseller financing and other receivables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R130": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:PeriodOfEvaluation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4164 - Disclosure - Intangible Assets - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "130",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
     "shortName": "Intangible Assets - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:PeriodOfEvaluation",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R131": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ForeignCurrencyDenominatedLoans",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4170 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Compostion of loans (Detail)",
     "menuCat": "Details",
     "order": "131",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Compostion of loans (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:BrazilianRealDenominatedLoans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R132": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Borrowings",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4172 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Changes in Loans, Debentures and Finance Leases (Detail)",
     "menuCat": "Details",
     "order": "132",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Changes in Loans, Debentures and Finance Leases (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AdditionsLoansAndDebenturesWithCashEffect",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R133": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LongtermBorrowings",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4173 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Principal Maturity Schedule (Detail)",
     "menuCat": "Details",
     "order": "133",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Principal Maturity Schedule (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfPrincipalMaturityScheduleTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_LaterThanOneYearAndNotLaterThanTwoYearsMember_1",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:LongtermBorrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R134": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTransactionCostsTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TransactionCostsFinancialInstruments",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41731 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Transaction Costs (Detail)",
     "menuCat": "Details",
     "order": "134",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Transaction Costs (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTransactionCostsTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:TransactionCostsFinancialInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R135": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AmountAppropriatedToProfitOrLossInFuture",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4174 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail)",
     "menuCat": "Details",
     "order": "135",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Appropriated Profit or Loss in The Future (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AmountAppropriatedToProfitOrLossInFuture",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R136": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCollateralExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaProdutosdePetroleoSAMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:MaximumPotentialAmountOfFuturePaymentsOnGuarantees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4175 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Collateral to Financial Institutions (Detail)",
     "menuCat": "Details",
     "order": "136",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Collateral to Financial Institutions (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCollateralExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaProdutosdePetroleoSAMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:MaximumPotentialAmountOfFuturePaymentsOnGuarantees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R137": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Borrowings",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4176 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Foreign Loan Maturity (Detail)",
     "menuCat": "Details",
     "order": "137",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Foreign Loan Maturity (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfForeignLoanMaturityTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaProdutosdePetroleoSAMember_ForeignLoansMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:Borrowings",
      "reportCount": 1,
      "unique": true,
      "unitRef": "EUR",
      "xsiNil": "false"
     }
    },
    "R138": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:SummaryOfDebenturesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_DebenturesFirstIssueMember_TequimarVilaDoCondeMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:BorrowingsInterestRateBasis",
      "reportCount": 1,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4177 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Debentures (Detail)",
     "menuCat": "Details",
     "order": "138",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Debentures (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ugp:SummaryOfDebenturesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DebentureElevenMember_DebenturesEleventhIssueMember_IpirangaProdutosdePetroleoSAMember",
      "decimals": "2",
      "lang": null,
      "name": "ugp:FaceValuePerDebtInstrument",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRLPerShare",
      "xsiNil": "false"
     }
    },
    "R139": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:GuaranteesDebtors",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4178 - Disclosure - Loans, financing, debentures and derivative financial instruments - Narrative of Debentures (Detail)",
     "menuCat": "Details",
     "order": "139",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Narrative of Debentures (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:GuaranteesDebtors",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R14": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1070 - Disclosure - Inventories",
     "menuCat": "Notes",
     "order": "14",
     "role": "http://www.ultrapar.com/role/Inventories",
     "shortName": "Inventories",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInventoriesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R140": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DebenturesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NotesAndDebenturesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4179 - Disclosure - Loans, financing, debentures and derivative financial instruments - Summary of Loan Maturity (Detail)",
     "menuCat": "Details",
     "order": "140",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Summary of Loan Maturity (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DebenturesMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NotesAndDebenturesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R141": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ForeignCurrencyDenominatedLoans",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "41792 - Disclosure - Loans, financing, debentures and derivative financial instruments - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "141",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
     "shortName": "Loans, financing, debentures and derivative financial instruments - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "li",
       "ul",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_RestrictedAssetsMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:LiabilitiesToWhichSignificantRestrictionsApply",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R142": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTradePayablesTableTextBlock",
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:TradeAndOtherPayablesToRelatedParties",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4180 - Disclosure - Trade Payables - Summary of Trade Payables (Detail)",
     "menuCat": "Details",
     "order": "142",
     "role": "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail",
     "shortName": "Trade Payables - Summary of Trade Payables (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTradePayablesTableTextBlock",
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DomesticSuppliersMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:TradeAndOtherCurrentPayablesToTradeSuppliers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R143": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSalariesAndRelatedChargesTableTextBlock",
       "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4190 - Disclosure - Salaries and Related Charges - Summary of Salaries and Related Charges (Detail)",
     "menuCat": "Details",
     "order": "143",
     "role": "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail",
     "shortName": "Salaries and Related Charges - Summary of Salaries and Related Charges (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSalariesAndRelatedChargesTableTextBlock",
       "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R144": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4200 - Disclosure - Taxes Payable - Summary of Taxes Payable (Detail)",
     "menuCat": "Details",
     "order": "144",
     "role": "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail",
     "shortName": "Taxes Payable - Summary of Taxes Payable (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTaxesPayableTableTextBlock",
       "ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ICMSStatevatMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R145": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ugp:MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4210 - Disclosure - Employee Benefits and Private Pension Plan - Additional information (Detail)",
     "menuCat": "Details",
     "order": "145",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Additional information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ugp:MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R146": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProvisionsForEmployeeBenefits",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4211 - Disclosure - Employee Benefits and Private Pension Plan - Post-employment Benefits (Detail)",
     "menuCat": "Details",
     "order": "146",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Post-employment Benefits (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_HealthAndDentalCareMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ProvisionsForEmployeeBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R147": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProvisionsForEmployeeBenefits",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4212 - Disclosure - Employee Benefits and Private Pension Plan - Changes in provision for post-employment benefits (Detail)",
     "menuCat": "Details",
     "order": "147",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Changes in provision for post-employment benefits (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:PostEmploymentBenefitExpenseInProfitOrLossFromContinuingOperationsDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R148": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfEmploymentBenefitExpenseTableTextBlock",
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PostemploymentBenefitExpenseDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4213 - Disclosure - Employee Benefits and Private Pension Plan - Post-employment benefit expense (Detail)",
     "menuCat": "Details",
     "order": "148",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Post-employment benefit expense (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfEmploymentBenefitExpenseTableTextBlock",
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PostemploymentBenefitExpenseDefinedBenefitPlans",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R149": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ActuarialAssumptionOfDiscountRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4214 - Disclosure - Employee Benefits and Private Pension Plan - Significant actuarial assumptions adopted (Detail)",
     "menuCat": "Details",
     "order": "149",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdoptedDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Significant actuarial assumptions adopted (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ActuarialAssumptionOfDiscountRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R15": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfTaxesToRecoverExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1080 - Disclosure - Recoverable taxes",
     "menuCat": "Notes",
     "order": "15",
     "role": "http://www.ultrapar.com/role/Recoverabletaxes",
     "shortName": "Recoverable taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfTaxesToRecoverExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R150": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ActuarialAssumptionOfDiscountRatesMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PercentageOfReasonablyPossibleDecreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4215 - Disclosure - Employee Benefits and Private Pension Plan - Sensitivity analysis (Detail)",
     "menuCat": "Details",
     "order": "150",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail",
     "shortName": "Employee Benefits and Private Pension Plan - Sensitivity analysis (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ActuarialAssumptionOfDiscountRatesMember",
      "decimals": "3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PercentageOfReasonablyPossibleDecreaseInActuarialAssumption",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R151": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfProvisionsExplanatory",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:OtherProvisions",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4220 - Disclosure - Provision for asset retirement obligation - Changes in the provision for asset retirement obligation (Detail)",
     "menuCat": "Details",
     "order": "151",
     "role": "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
     "shortName": "Provision for asset retirement obligation - Changes in the provision for asset retirement obligation (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfChangesInAssetRetirementObligationTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfOtherProvisionsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231_ProvisionForAssetRetirementObligationMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:OtherProvisions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R152": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfProvisionsExplanatory",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:OtherProvisions",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4230 - Disclosure - Provisions and Contingencies - Breakdown of provisions by nature (Detail)",
     "menuCat": "Details",
     "order": "152",
     "role": "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail",
     "shortName": "Provisions and Contingencies - Breakdown of provisions by nature (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfProvisionsExplanatory",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:UnusedProvisionReversedOtherProvisions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R153": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:LongtermDeposits",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4231 - Disclosure - Provisions and Contingencies - Balances of escrow deposits (Detail)",
     "menuCat": "Details",
     "order": "153",
     "role": "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
     "shortName": "Provisions and Contingencies - Balances of escrow deposits (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfBalancesOfEscrowDepositsTableTextBlock",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_TaxMattersMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:LongtermDeposits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R154": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:EscrowDepositsMadeUnderPreLiminaryInjunction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4232 - Disclosure - Provisions and Contingencies - Additional information (Detail)",
     "menuCat": "Details",
     "order": "154",
     "role": "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
     "shortName": "Provisions and Contingencies - Additional information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:EscrowDepositsMadeUnderPreLiminaryInjunction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R155": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:DisclosureOfSubscriptionWarrantsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20140131",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ugp:SubscriptionWarrantsSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4250 - Disclosure - Subscription warrants - indemnification - Additional information (Detail)",
     "menuCat": "Details",
     "order": "155",
     "role": "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail",
     "shortName": "Subscription warrants - indemnification - Additional information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:DisclosureOfSubscriptionWarrantsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20140131",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ugp:SubscriptionWarrantsSharesIssued",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     }
    },
    "R156": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:RightsPreferencesAndRestrictionsAttachingToClassOfShareCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4260 - Disclosure - Equity - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "156",
     "role": "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
     "shortName": "Equity - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:RightsPreferencesAndRestrictionsAttachingToClassOfShareCapital",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R157": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_TreasurySharesMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ifrs-full:SharesInEntityHeldByEntityOrByItsSubsidiariesOrAssociates",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "42600 - Disclosure - Equity - Balance of treasury shares (Detail)",
     "menuCat": "Details",
     "order": "157",
     "role": "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail",
     "shortName": "Equity - Balance of treasury shares (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfTreasurySharesExplanatory",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_OrdinarySharesMember_TreasurySharesMember",
      "decimals": "0",
      "lang": null,
      "name": "ugp:NumberOfTreasurySharesOutstanding",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Shares",
      "xsiNil": "false"
     }
    },
    "R158": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfAnalysisOfOtherComprehensiveIncomeByItemExplanatory",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231_ValuationAdjustmentsMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ReserveOfValuationAdjustments",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4261 - Disclosure - Equity - Balance of Other Comprehensive Income (Detail)",
     "menuCat": "Details",
     "order": "158",
     "role": "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail",
     "shortName": "Equity - Balance of Other Comprehensive Income (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfAnalysisOfOtherComprehensiveIncomeByItemExplanatory",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231_ValuationAdjustmentsMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:ReserveOfValuationAdjustments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R159": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ReserveOfExchangeDifferencesOnTranslation",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4262 - Disclosure - Equity - Balance and Changes in Cumulative Translation Adjustments (Detail)",
     "menuCat": "Details",
     "order": "159",
     "role": "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail",
     "shortName": "Equity - Balance and Changes in Cumulative Translation Adjustments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfCumulativeTranslationAdjustmentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:GainsLossesOnExchangeDifferencesOnTranslationBeforeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R16": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1090 - Disclosure - Related Parties",
     "menuCat": "Notes",
     "order": "16",
     "role": "http://www.ultrapar.com/role/RelatedParties",
     "shortName": "Related Parties",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfRelatedPartyExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R160": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossAttributableToOwnersOfParent",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4263 - Disclosure - Equity - Dividends and Allocation of Net Income (Detail)",
     "menuCat": "Details",
     "order": "160",
     "role": "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail",
     "shortName": "Equity - Dividends and Allocation of Net Income (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AdjustedNetIncomeBasisForDividends",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R161": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ugp:LegalReserveAsPercentageOfNetIncome",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4265 - Disclosure - Equity - Dividends and Allocation of Net Income (Parenthetical) (Detail)",
     "menuCat": "Details",
     "order": "161",
     "role": "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail",
     "shortName": "Equity - Dividends and Allocation of Net Income (Parenthetical) (Detail)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "lang": null,
      "name": "ugp:InterestOnCapitalPaidNetOfIncomeTaxPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRLPerShare",
      "xsiNil": "false"
     }
    },
    "R162": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentDividendPayables",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4266 - Disclosure - Equity - Summary of Balances and Changes in Dividends Payable (Detail)",
     "menuCat": "Details",
     "order": "162",
     "role": "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail",
     "shortName": "Equity - Summary of Balances and Changes in Dividends Payable (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory",
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentDividendPayables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R163": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfExpensesByNatureTableTextBlock",
       "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RawMaterialsAndConsumablesUsed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4270 - Disclosure - Costs and expenses by nature - Costs and expenses by nature (Detail)",
     "menuCat": "Details",
     "order": "163",
     "role": "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
     "shortName": "Costs and expenses by nature - Costs and expenses by nature (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfExpensesByNatureTableTextBlock",
       "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:RawMaterialsAndConsumablesUsed",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R164": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:GainsLossesOnDisposalsOfNoncurrentAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4281 - Disclosure - Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail)",
     "menuCat": "Details",
     "order": "164",
     "role": "http://www.ultrapar.com/role/GainlossondisposalofpropertyplantandequipmentandintangibleassetsAdditionalinformationDetail",
     "shortName": "Gain (loss) on disposal of property, plant and equipment and intangible assets - Additional information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R165": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfExpensesByNatureTableTextBlock",
       "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ExpensesFromDecarbonizationObligation",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4290 - Disclosure - Other operating income, net - Other operating income, net (Detail)",
     "menuCat": "Details",
     "order": "165",
     "role": "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail",
     "shortName": "Other operating income, net - Other operating income, net (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R166": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfFinancialIncomeExpenseTableTextBlock",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:FinancialInvestmentsInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4300 - Disclosure - Financial result, net- Financial result, net (Detail)",
     "menuCat": "Details",
     "order": "166",
     "role": "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail",
     "shortName": "Financial result, net- Financial result, net (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfFinancialIncomeExpenseTableTextBlock",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:FinancialInvestmentsInterest",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R167": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:EarningsPerShareExplanatory",
       "div",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4310 - Disclosure - Earnings per share - Basic and Diluted Earnings per Share (Detail)",
     "menuCat": "Details",
     "order": "167",
     "role": "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail",
     "shortName": "Earnings per share - Basic and Diluted Earnings per Share (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:EarningsPerShareExplanatory",
       "div",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R168": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:DisclosureOfSubscriptionWarrantsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20220803",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ugp:ExerciseOfWarrantsRightsOutstanding",
      "reportCount": 1,
      "unitRef": "Shares",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4320 - Disclosure - Earnings per share - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "168",
     "role": "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
     "shortName": "Earnings per share - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": null
    },
    "R169": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4322 - Disclosure - Segment information - Financial Information of Segments (Detail)",
     "menuCat": "Details",
     "order": "169",
     "role": "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail",
     "shortName": "Segment information - Financial Information of Segments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ugp:DisclosureOfFinancialInformationOfSegmentsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:RevenueFromContractsWithCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R17": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1100 - Disclosure - Income and Social Contribution Taxes",
     "menuCat": "Notes",
     "order": "17",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxes",
     "shortName": "Income and Social Contribution Taxes",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIncomeTaxExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R170": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4330 - Disclosure - Segment Information - Cash flow transactions and Assets (Detail)",
     "menuCat": "Details",
     "order": "170",
     "role": "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
     "shortName": "Segment Information - Cash flow transactions and Assets (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfFinancialInformationOfSegmentsMainIndicatorsCashFlowsTableTextBlock",
       "div",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AdjustmentsForIncreaseDecreaseInCapitalizedInterestAndOtherPropertyPlantAndEquipmentAndProvisionForARO",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R171": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4333 - Disclosure - Segment Information - Revenue from Operations Abroad (Detail)",
     "menuCat": "Details",
     "order": "171",
     "role": "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
     "shortName": "Segment Information - Revenue from Operations Abroad (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfGeographicalAreasExplanatory",
       "div",
       "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_BR",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R172": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4334 - Disclosure - Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail)",
     "menuCat": "Details",
     "order": "172",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail",
     "shortName": "Risks and Financial Instruments - Assets and liabilities in foreign currencies (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R173": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:NetAssetLiabilityPositionTotal",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4341 - Disclosure - Risks and Financial Instruments - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "173",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
     "shortName": "Risks and Financial Instruments - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "lang": null,
      "name": "ugp:MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R174": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ScenarioMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:IncomeStatementEffectDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4342 - Disclosure - Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail)",
     "menuCat": "Details",
     "order": "174",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
     "shortName": "Risks and Financial Instruments - Sensitivity analysis of assets and liabilities in foreign currency (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ScenarioMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:IncomeStatementEffectDecrease",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R175": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsByTypeOfInterestRateExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:NetAssetsLiabilitiesPositionExposedToFloatingInterestRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4343 - Disclosure - Risks and Financial Instruments - Financial assets and liabilities exposed to floating interest rates (Detail)",
     "menuCat": "Details",
     "order": "175",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
     "shortName": "Risks and Financial Instruments - Financial assets and liabilities exposed to floating interest rates (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsByTypeOfInterestRateExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:NetAssetsLiabilitiesPositionExposedToFloatingInterestRates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R176": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfFinancialIncomeExpenseTableTextBlock",
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:InterestExpenseOnBorrowings",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4344 - Disclosure - Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail)",
     "menuCat": "Details",
     "order": "176",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail",
     "shortName": "Risks and Financial Instruments - Sensitivity analysis of floating interest rate risk (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:InterestRateHedgingInstrumentsLiabilitiesInterestEffect",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R177": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfExternalCreditExposuresExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashCashEquivalentsAndFinancialInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4345 - Disclosure - Risks and Financial Instruments - Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments (Detail)",
     "menuCat": "Details",
     "order": "177",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail",
     "shortName": "Risks and Financial Instruments - Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfExternalCreditExposuresExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashCashEquivalentsAndFinancialInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R178": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4346 - Disclosure - Risks and Financial Instruments - Loss allowance for expected credit losses balances on trade receivables (Detail)",
     "menuCat": "Details",
     "order": "178",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
     "shortName": "Risks and Financial Instruments - Loss allowance for expected credit losses balances on trade receivables (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaMember_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R179": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCreditRiskExposureExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TradeAndOtherReceivablesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4347 - Disclosure - Risks and Financial Instruments - Credit risk exposure (Detail)",
     "menuCat": "Details",
     "order": "179",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
     "shortName": "Risks and Financial Instruments - Credit risk exposure (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCreditRiskExposureExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TradeAndOtherReceivablesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R18": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1110 - Disclosure - Prepaid Expenses",
     "menuCat": "Notes",
     "order": "18",
     "role": "http://www.ultrapar.com/role/PrepaidExpenses",
     "shortName": "Prepaid Expenses",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R180": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4348 - Disclosure - Risks and Financial Instruments - Summary of loss allowance for expected credit losses balances by geographic area (Detail)",
     "menuCat": "Details",
     "order": "180",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
     "shortName": "Risks and Financial Instruments - Summary of loss allowance for expected credit losses balances by geographic area (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfAllowanceForDoubtfulAccountsOnTradeReceivablesByGeographicAreaExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_BR",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R181": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfDerivativeFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CommodityPriceRiskMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4349 - Disclosure - Risks and Financial Instruments - Positions of derivative financial instruments to hedge commodity price risk (Detail)",
     "menuCat": "Details",
     "order": "181",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
     "shortName": "Risks and Financial Instruments - Positions of derivative financial instruments to hedge commodity price risk (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfDerivativeFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CommodityPriceRiskMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R182": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:MaturityAnalysisForDerivativeFinancialLiabilities",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:LoansIncludingFutureContractualInterestUndiscountedCashFlows",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43490 - Disclosure - Risks and Financial Instruments - Contractual undiscounted cash outflows (Detail)",
     "menuCat": "Details",
     "order": "182",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail",
     "shortName": "Risks and Financial Instruments - Contractual undiscounted cash outflows (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:MaturityAnalysisForDerivativeFinancialLiabilities",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:LoansIncludingFutureContractualInterestUndiscountedCashFlows",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R183": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:LoansFinancingAndLeasesPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "434910 - Disclosure - Risks and Financial Instruments - Schedule of leverage ratio (Detail)",
     "menuCat": "Details",
     "order": "183",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail",
     "shortName": "Risks and Financial Instruments - Schedule of leverage ratio (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:LoansFinancingAndLeasesPayable",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R184": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DerivativesDesignatedAsHedgeAccountingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:HedgingInstrumentAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43492 - Disclosure - Risks and Financial Instruments - Summary the position of hedging instruments (Detail)",
     "menuCat": "Details",
     "order": "184",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
     "shortName": "Risks and Financial Instruments - Summary the position of hedging instruments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_DerivativesDesignatedAsHedgeAccountingMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:HedgingInstrumentAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R185": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutHedgesExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaMember_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43493 - Disclosure - Risks and Financial Instruments - Summary of foreign exchange hedging instruments designated as fair value hedge (Detail)",
     "menuCat": "Details",
     "order": "185",
     "role": "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail",
     "shortName": "Risks and Financial Instruments - Summary of foreign exchange hedging instruments designated as fair value hedge (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutHedgesExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IpirangaMember_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "USD",
      "xsiNil": "false"
     }
    },
    "R186": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfFairValueOfFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_Level1OfFairValueHierarchyMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialAssetsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43496 - Disclosure - Risks and Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail)",
     "menuCat": "Details",
     "order": "186",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail",
     "shortName": "Risks and Financial Instruments - Summary of the financial assets and financial liabilities measured at fair value (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfFairValueOfFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_Level1OfFairValueHierarchyMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:FinancialAssetsAtFairValue",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R187": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfContractsTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_CargoContractOneMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:CargoPort",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "43498 - Disclosure - Commitments - Contracts (Detail)",
     "menuCat": "Details",
     "order": "187",
     "role": "http://www.ultrapar.com/role/CommitmentsContractsDetail",
     "shortName": "Commitments - Contracts (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfContractsTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_CargoContractOneMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:CargoPort",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R188": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ContractualCapitalCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4350 - Disclosure - Commitments - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "188",
     "role": "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
     "shortName": "Commitments - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ContractualCapitalCommitments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R189": {
     "firstAnchor": {
      "ancestors": [
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:MaturityAnalysisForDerivativeFinancialLiabilities",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ContingentConsiderationRecognisedAsOfAcquisitionDate",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4353 - Disclosure - Business combinations - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details)",
     "menuCat": "Details",
     "order": "189",
     "role": "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
     "shortName": "Business combinations - Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutBusinessCombinationsExplanatory",
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221001_UltragazComercialLtdaMember_StellaGroupMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalentsRecognisedAsOfAcquisitionDate",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R19": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1120 - Disclosure - Contractual Assets with Customers - Exclusive Rights",
     "menuCat": "Notes",
     "order": "19",
     "role": "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRights",
     "shortName": "Contractual Assets with Customers - Exclusive Rights",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R190": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfEarnoutSensitivityAnalysisTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_UltragazComercialLtdaMember_StellaGroupMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DescriptionOfGoalsInBusinessCombination",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4354 - Disclosure - Business combinations - Schedule of earnout sensitivity analysis (Details)",
     "menuCat": "Details",
     "order": "190",
     "role": "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
     "shortName": "Business combinations - Schedule of earnout sensitivity analysis (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfEarnoutSensitivityAnalysisTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_UltragazComercialLtdaMember_StellaGroupMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DescriptionOfGoalsInBusinessCombination",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R191": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221001_UltragazComercialLtdaMember_StellaGroupMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ugp:NumberOfStatesInWhichAcquireeEntityOperates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4355 - Disclosure - Business combinations - Additional Information (Details)",
     "menuCat": "Details",
     "order": "191",
     "role": "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
     "shortName": "Business combinations - Additional Information (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221001_UltragazComercialLtdaMember_StellaGroupMember",
      "decimals": "0",
      "first": true,
      "lang": null,
      "name": "ugp:NumberOfStatesInWhichAcquireeEntityOperates",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Pure",
      "xsiNil": "false"
     }
    },
    "R192": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221219_ForeignLoansMember_CompanhiaUltragazMember",
      "decimals": "5",
      "first": true,
      "lang": null,
      "name": "ifrs-full:BorrowingsInterestRate",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4360 - Disclosure - Events after the reporting period - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "192",
     "role": "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
     "shortName": "Events after the reporting period - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "span",
       "p",
       "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20230330_MajorBorrowingsMember_CompanhiaUltragazMember_ForeignLoansMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:NotionalAmount",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R2": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalents",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0010 - Statement - Consolidated Statements of Financial Position",
     "menuCat": "Statements",
     "order": "2",
     "role": "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
     "shortName": "Consolidated Statements of Financial Position",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:DividendsReceivableCurrent",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R20": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1130 - Disclosure - Investments in joint controlled entities and associates",
     "menuCat": "Notes",
     "order": "20",
     "role": "http://www.ultrapar.com/role/Investmentsinjointcontrolledentitiesandassociates",
     "shortName": "Investments in joint controlled entities and associates",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R21": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1140 - Disclosure - Right-of-use assets and leases payable",
     "menuCat": "Notes",
     "order": "21",
     "role": "http://www.ultrapar.com/role/Rightofuseassetsandleasespayable",
     "shortName": "Right-of-use assets and leases payable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfLeasesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R22": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1150 - Disclosure - Property, Plant, and Equipment",
     "menuCat": "Notes",
     "order": "22",
     "role": "http://www.ultrapar.com/role/PropertyPlantAndEquipment",
     "shortName": "Property, Plant, and Equipment",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R23": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1160 - Disclosure - Intangible Assets",
     "menuCat": "Notes",
     "order": "23",
     "role": "http://www.ultrapar.com/role/IntangibleAssets",
     "shortName": "Intangible Assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R24": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1170 - Disclosure - Loans, financing, debentures and derivative financial instruments",
     "menuCat": "Notes",
     "order": "24",
     "role": "http://www.ultrapar.com/role/Loansfinancingdebenturesandderivativefinancialinstruments",
     "shortName": "Loans, financing, debentures and derivative financial instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R25": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1180 - Disclosure - Trade Payables",
     "menuCat": "Notes",
     "order": "25",
     "role": "http://www.ultrapar.com/role/TradePayables",
     "shortName": "Trade Payables",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R26": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1190 - Disclosure - Salaries and related charges",
     "menuCat": "Notes",
     "order": "26",
     "role": "http://www.ultrapar.com/role/Salariesandrelatedcharges",
     "shortName": "Salaries and related charges",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R27": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1200 - Disclosure - Taxes Payable",
     "menuCat": "Notes",
     "order": "27",
     "role": "http://www.ultrapar.com/role/TaxesPayable",
     "shortName": "Taxes Payable",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R28": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1210 - Disclosure - Employee Benefits and Private Pension Plan",
     "menuCat": "Notes",
     "order": "28",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlan",
     "shortName": "Employee Benefits and Private Pension Plan",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R29": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherProvisionsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1220 - Disclosure - Provision for asset retirement obligation",
     "menuCat": "Notes",
     "order": "29",
     "role": "http://www.ultrapar.com/role/Provisionforassetretirementobligation",
     "shortName": "Provision for asset retirement obligation",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherProvisionsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R3": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0020 - Statement - Consolidated statement of income",
     "menuCat": "Statements",
     "order": "3",
     "role": "http://www.ultrapar.com/role/Consolidatedstatementofincome",
     "shortName": "Consolidated statement of income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ProfitLossAttributableToNoncontrollingInterests",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R30": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1230 - Disclosure - Provisions and Contingencies",
     "menuCat": "Notes",
     "order": "30",
     "role": "http://www.ultrapar.com/role/ProvisionsAndContingencies",
     "shortName": "Provisions and Contingencies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R31": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfSubscriptionWarrantsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1250 - Disclosure - Subscription warrants - indemnification",
     "menuCat": "Notes",
     "order": "31",
     "role": "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnification",
     "shortName": "Subscription warrants - indemnification",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfSubscriptionWarrantsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R32": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1260 - Disclosure - Equity",
     "menuCat": "Notes",
     "order": "32",
     "role": "http://www.ultrapar.com/role/Equity",
     "shortName": "Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R33": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1270 - Disclosure - Costs and expenses by nature",
     "menuCat": "Notes",
     "order": "33",
     "role": "http://www.ultrapar.com/role/Costsandexpensesbynature",
     "shortName": "Costs and expenses by nature",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R34": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1280 - Disclosure - Gain (loss) on disposal of property, plant and equipment and intangible assets",
     "menuCat": "Notes",
     "order": "34",
     "role": "http://www.ultrapar.com/role/Gainlossondisposalofpropertyplantandequipmentandintangibleassets",
     "shortName": "Gain (loss) on disposal of property, plant and equipment and intangible assets",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R35": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1300 - Disclosure - Financial result, net",
     "menuCat": "Notes",
     "order": "35",
     "role": "http://www.ultrapar.com/role/Financialresultnet",
     "shortName": "Financial result, net",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R36": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1310 - Disclosure - Earnings per share",
     "menuCat": "Notes",
     "order": "36",
     "role": "http://www.ultrapar.com/role/Earningspershare",
     "shortName": "Earnings per share",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R37": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1320 - Disclosure - Segment information",
     "menuCat": "Notes",
     "order": "37",
     "role": "http://www.ultrapar.com/role/Segmentinformation",
     "shortName": "Segment information",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R38": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1330 - Disclosure - Risks and Financial Instruments",
     "menuCat": "Notes",
     "order": "38",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstruments",
     "shortName": "Risks and Financial Instruments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R39": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCommitmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1340 - Disclosure - Commitments",
     "menuCat": "Notes",
     "order": "39",
     "role": "http://www.ultrapar.com/role/Commitments",
     "shortName": "Commitments",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCommitmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R4": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLoss",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0030 - Statement - Consolidated Statements of Comprehensive Income",
     "menuCat": "Statements",
     "order": "4",
     "role": "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome",
     "shortName": "Consolidated Statements of Comprehensive Income",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R40": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1345 - Disclosure - Business combinations",
     "menuCat": "Notes",
     "order": "40",
     "role": "http://www.ultrapar.com/role/Businesscombinations",
     "shortName": "Business combinations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R41": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1350 - Disclosure - Events after the reporting period",
     "menuCat": "Notes",
     "order": "41",
     "role": "http://www.ultrapar.com/role/Eventsafterthereportingperiod",
     "shortName": "Events after the reporting period",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfEventsAfterReportingPeriodExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R42": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "ugp:DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DescriptionOfAccountingPolicyForRecognitionOfRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "2020 - Disclosure - Basis of preparation and presentation of the consolidated financial statements and significant accounting policies (Policies)",
     "menuCat": "Policies",
     "order": "42",
     "role": "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies",
     "shortName": "Basis of preparation and presentation of the consolidated financial statements and significant accounting policies (Policies)",
     "subGroupType": "policies",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "ugp:DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DescriptionOfAccountingPolicyForRecognitionOfRevenue",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R43": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3010 - Disclosure - Operations (Tables)",
     "menuCat": "Tables",
     "order": "43",
     "role": "http://www.ultrapar.com/role/OperationsTables",
     "shortName": "Operations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R44": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3030 - Disclosure - Assets and liabilities from subsidiaries held for sale and discontinued operations (Tables)",
     "menuCat": "Tables",
     "order": "44",
     "role": "http://www.ultrapar.com/role/AssetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperationsTables",
     "shortName": "Assets and liabilities from subsidiaries held for sale and discontinued operations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R45": {
     "firstAnchor": {
      "ancestors": [
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3050 - Disclosure - Cash and cash equivalents, financial investments and derivative financial instruments (Tables)",
     "menuCat": "Tables",
     "order": "45",
     "role": "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsTables",
     "shortName": "Cash and cash equivalents, financial investments and derivative financial instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R46": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3060 - Disclosure - Trade receivables, reseller financing and other receivables (Tables)",
     "menuCat": "Tables",
     "order": "46",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables",
     "shortName": "Trade receivables, reseller financing and other receivables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfOtherReceivablesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R47": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfInventoriesCompositionExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3070 - Disclosure - Inventories (Tables)",
     "menuCat": "Tables",
     "order": "47",
     "role": "http://www.ultrapar.com/role/InventoriesTables",
     "shortName": "Inventories (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfInventoriesCompositionExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R48": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfRecoverableTaxesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3080 - Disclosure - Recoverable taxes (Tables)",
     "menuCat": "Tables",
     "order": "48",
     "role": "http://www.ultrapar.com/role/RecoverabletaxesTables",
     "shortName": "Recoverable taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfRecoverableTaxesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R49": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3090 - Disclosure - Related Parties (Tables)",
     "menuCat": "Tables",
     "order": "49",
     "role": "http://www.ultrapar.com/role/RelatedPartiesTables",
     "shortName": "Related Parties (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R5": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Equity",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0040 - Statement - Consolidated Statements of Changes in Equity",
     "menuCat": "Statements",
     "order": "5",
     "role": "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
     "shortName": "Consolidated Statements of Changes in Equity",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231_IssuedCapitalMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:Equity",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R50": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3100 - Disclosure - Income and Social Contribution Taxes (Tables)",
     "menuCat": "Tables",
     "order": "50",
     "role": "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables",
     "shortName": "Income and Social Contribution Taxes (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDeferredTaxesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R51": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfPrepaidExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3110 - Disclosure - Prepaid Expenses (Tables)",
     "menuCat": "Tables",
     "order": "51",
     "role": "http://www.ultrapar.com/role/PrepaidExpensesTables",
     "shortName": "Prepaid Expenses (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfPrepaidExpensesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R52": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3120 - Disclosure - Contractual Assets with Customers - Exclusive Rights (Tables)",
     "menuCat": "Tables",
     "order": "52",
     "role": "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsTables",
     "shortName": "Contractual Assets with Customers - Exclusive Rights (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R53": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInterestsInOtherEntitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3130 - Disclosure - Investments in joint controlled entities and associates (Tables)",
     "menuCat": "Tables",
     "order": "53",
     "role": "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables",
     "shortName": "Investments in joint controlled entities and associates (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfInterestsInOtherEntitiesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R54": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3140 - Disclosure - Right-of-use assets and leases payable (Tables)",
     "menuCat": "Tables",
     "order": "54",
     "role": "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables",
     "shortName": "Right-of-use assets and leases payable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ifrs-full:DisclosureOfLeasesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R55": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3150 - Disclosure - Property, Plant, and Equipment (Tables)",
     "menuCat": "Tables",
     "order": "55",
     "role": "http://www.ultrapar.com/role/PropertyPlantAndEquipmentTables",
     "shortName": "Property, Plant, and Equipment (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfPropertyPlantAndEquipmentExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R56": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3160 - Disclosure - Intangible Assets (Tables)",
     "menuCat": "Tables",
     "order": "56",
     "role": "http://www.ultrapar.com/role/IntangibleAssetsTables",
     "shortName": "Intangible Assets (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R57": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3170 - Disclosure - Loans, financing, debentures and derivative financial instruments (Tables)",
     "menuCat": "Tables",
     "order": "57",
     "role": "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables",
     "shortName": "Loans, financing, debentures and derivative financial instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfBorrowingsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R58": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfTradePayablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3180 - Disclosure - Trade Payables (Tables)",
     "menuCat": "Tables",
     "order": "58",
     "role": "http://www.ultrapar.com/role/TradePayablesTables",
     "shortName": "Trade Payables (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTradeAndOtherPayablesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfTradePayablesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R59": {
     "firstAnchor": {
      "ancestors": [
       "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfSalariesAndRelatedChargesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3190 - Disclosure - Salaries and related charges (Tables)",
     "menuCat": "Tables",
     "order": "59",
     "role": "http://www.ultrapar.com/role/SalariesandrelatedchargesTables",
     "shortName": "Salaries and related charges (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ugp:DisclosureOfSalariesAndRelatedChargesExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfSalariesAndRelatedChargesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R6": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ugp:AdditionalMinimumMandatoryDividendsRecognisedPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRLPerShare",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0041 - Statement - Consolidated Statements of Changes in Equity (Parenthetical)",
     "menuCat": "Statements",
     "order": "6",
     "role": "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical",
     "shortName": "Consolidated Statements of Changes in Equity (Parenthetical)",
     "subGroupType": "parenthetical",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ugp:AdditionalMinimumMandatoryDividendsRecognisedPerShare",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRLPerShare",
      "xsiNil": "false"
     }
    },
    "R60": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfTaxesPayableTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3200 - Disclosure - Taxes Payable (Tables)",
     "menuCat": "Tables",
     "order": "60",
     "role": "http://www.ultrapar.com/role/TaxesPayableTables",
     "shortName": "Taxes Payable (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfTaxReceivablesAndPayablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfTaxesPayableTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R61": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3210 - Disclosure - Employee Benefits and Private Pension Plan (Tables)",
     "menuCat": "Tables",
     "order": "61",
     "role": "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables",
     "shortName": "Employee Benefits and Private Pension Plan (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "ifrs-full:DisclosureOfEmployeeBenefitsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDefinedBenefitPlansExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R62": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfOtherProvisionsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfChangesInAssetRetirementObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3220 - Disclosure - Provision for asset retirement obligation (Tables)",
     "menuCat": "Tables",
     "order": "62",
     "role": "http://www.ultrapar.com/role/ProvisionforassetretirementobligationTables",
     "shortName": "Provision for asset retirement obligation (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfOtherProvisionsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfChangesInAssetRetirementObligationTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R63": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfProvisionsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3230 - Disclosure - Provisions and Contingencies (Tables)",
     "menuCat": "Tables",
     "order": "63",
     "role": "http://www.ultrapar.com/role/ProvisionsAndContingenciesTables",
     "shortName": "Provisions and Contingencies (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfProvisionsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R64": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTreasurySharesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3260 - Disclosure - Equity (Tables)",
     "menuCat": "Tables",
     "order": "64",
     "role": "http://www.ultrapar.com/role/EquityTables",
     "shortName": "Equity (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfTreasurySharesExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R65": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfExpensesByNatureTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3270 - Disclosure - Costs and expenses by nature (Tables)",
     "menuCat": "Tables",
     "order": "65",
     "role": "http://www.ultrapar.com/role/CostsandexpensesbynatureTables",
     "shortName": "Costs and expenses by nature (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfExpensesByNatureExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfExpensesByNatureTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R66": {
     "firstAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfFinancialIncomeExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3300 - Disclosure - Financial result, net (Tables)",
     "menuCat": "Tables",
     "order": "66",
     "role": "http://www.ultrapar.com/role/FinancialresultnetTables",
     "shortName": "Financial result, net (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "ifrs-full:DisclosureOfFinanceIncomeExpenseExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfFinancialIncomeExpenseTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R67": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3310 - Disclosure - Earnings per share (Tables)",
     "menuCat": "Tables",
     "order": "67",
     "role": "http://www.ultrapar.com/role/EarningspershareTables",
     "shortName": "Earnings per share (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfEarningsPerShareExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:EarningsPerShareExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R68": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfFinancialInformationOfSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3320 - Disclosure - Segment information (Tables)",
     "menuCat": "Tables",
     "order": "68",
     "role": "http://www.ultrapar.com/role/SegmentinformationTables",
     "shortName": "Segment information (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "div",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfEntitysReportableSegmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfFinancialInformationOfSegmentsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R69": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3330 - Disclosure - Risks and Financial Instruments (Tables)",
     "menuCat": "Tables",
     "order": "69",
     "role": "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables",
     "shortName": "Risks and Financial Instruments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R7": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ProfitLossFromContinuingOperations",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "statement",
     "isDefault": "false",
     "longName": "0050 - Statement - Consolidated Statements of Cash Flows-Indirect Method",
     "menuCat": "Statements",
     "order": "7",
     "role": "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
     "shortName": "Consolidated Statements of Cash Flows-Indirect Method",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdjustmentsForUndistributedProfitsOfInvestmentsAccountedForUsingEquityMethod",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R70": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfContractsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3340 - Disclosure - Commitments (Tables)",
     "menuCat": "Tables",
     "order": "70",
     "role": "http://www.ultrapar.com/role/CommitmentsTables",
     "shortName": "Commitments (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfCommitmentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:SummaryOfContractsTableTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R71": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBusinessCombinationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "3345 - Disclosure - Business combinations (Tables)",
     "menuCat": "Tables",
     "order": "71",
     "role": "http://www.ultrapar.com/role/BusinesscombinationsTables",
     "shortName": "Business combinations (Tables)",
     "subGroupType": "tables",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "ifrs-full:DisclosureOfBusinessCombinationsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:DisclosureOfDetailedInformationAboutBusinessCombinationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R72": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
       "div",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_IpirangaProdutosdePetroleoSAMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:NameOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4000 - Disclosure - Operations (Detail)",
     "menuCat": "Details",
     "order": "72",
     "role": "http://www.ultrapar.com/role/OperationsDetail",
     "shortName": "Operations (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
       "div",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_IpirangaProdutosdePetroleoSAMember",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ifrs-full:NameOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R73": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_BrazilianRealPerUSDollarMember",
      "decimals": "4",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ClosingForeignExchangeRate",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4010 - Disclosure - Operations - Operational impacts (Details Textuals)",
     "menuCat": "Details",
     "order": "73",
     "role": "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
     "shortName": "Operations - Operational impacts (Details Textuals)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "div",
       "ugp:DisclosureOfOperationsExplanatory",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20210816_OxitenoIndustriaComercioMember_DiscontinuedOperationsMember_IndoramaVenturesPlcMember",
      "decimals": "-6",
      "lang": null,
      "name": "ugp:AmountToBePaidAtClosingDateInDisposalGroupTransaction",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R74": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfTaxReconciliationTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfIncomeTaxExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "2",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ApplicableTaxRate",
      "reportCount": 1,
      "unitRef": "Pure",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4011 - Disclosure - Basis of preparation and presentation of the consolidated financial statements and significant accounting policies - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "74",
     "role": "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
     "shortName": "Basis of preparation and presentation of the consolidated financial statements and significant accounting policies - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:DescriptionOfAccountingPolicyForFinancialLiabilitiesOfCustomersPolicyTextBlock",
       "div",
       "div",
       "div",
       "ugp:DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "0",
      "lang": null,
      "name": "ugp:NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers",
      "reportCount": 1,
      "unique": true,
      "unitRef": "Installments",
      "xsiNil": "false"
     }
    },
    "R75": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
       "div",
       "div",
       "ifrs-full:DisclosureOfFinancialInstrumentsExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:NetDebt",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4030 - Disclosure - Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details)",
     "menuCat": "Details",
     "order": "75",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
     "shortName": "Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_ExtrafarmaMember_DisposalGroupsClassifiedAsHeldForSaleMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:AggregateSalePriceOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R76": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_OxitenoIndustriaComercioMember_DisposalGroupsClassifiedAsHeldForSaleMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AggregateSalePriceOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "40301 - Disclosure - Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details 1)",
     "menuCat": "Details",
     "order": "76",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1",
     "shortName": "Discontinued operations - Schedule of gain (loss) on disposal of investments, net (Details 1)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_OxitenoIndustriaComercioMember_DisposalGroupsClassifiedAsHeldForSaleMember",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:AggregateSalePriceOfSubsidiary",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R77": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalents",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4031 - Disclosure - Discontinued operations (Details 1)",
     "menuCat": "Details",
     "order": "77",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
     "shortName": "Discontinued operations (Details 1)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfAssetsAndLiabilitiesOrDisposalGroupsClassifiedAsHeldForSaleExplanatory",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231_DisposalGroupsClassifiedAsHeldForSaleMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CashAndCashEquivalents",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R78": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4032 - Disclosure - Discontinued operations (Details 2)",
     "menuCat": "Details",
     "order": "78",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
     "shortName": "Discontinued operations (Details 2)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ix:continuation",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_DiscontinuedOperationsMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:SalesAndMarketingExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R79": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Revenue",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4033 - Disclosure - Discontinued operations (Details 3)",
     "menuCat": "Details",
     "order": "79",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
     "shortName": "Discontinued operations (Details 3)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ifrs-full:DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsExplanatory",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20201231_DiscontinuedOperationsMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:SellingGeneralAndAdministrativeExpense",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R8": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfOperationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1010 - Disclosure - Operations",
     "menuCat": "Notes",
     "order": "8",
     "role": "http://www.ultrapar.com/role/Operations",
     "shortName": "Operations",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfOperationsExplanatory",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R80": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToRelatedParties",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4034 - Disclosure - Discontinued operations (Details 3 - Textuals 1)",
     "menuCat": "Details",
     "order": "80",
     "role": "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
     "shortName": "Discontinued operations (Details 3 - Textuals 1)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ifrs-full:DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_DiscontinuedOperationsMember_OxitenoIndustriaComercioMember",
      "decimals": "-8",
      "lang": null,
      "name": "ifrs-full:CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R81": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashAndBankDepositsInLocalCurrency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4051 - Disclosure - Cash and cash equivalents, financial investments and derivative financial instruments - Cash and cash equivalents (Detail)",
     "menuCat": "Details",
     "order": "81",
     "role": "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail",
     "shortName": "Cash and cash equivalents, financial investments and derivative financial instruments - Cash and cash equivalents (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfCashAndCashEquivalentsExplanatory",
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:CashAndBankDepositsInLocalCurrency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R82": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock",
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:FinancialInvestmentsInLocalCurrency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4052 - Disclosure - Cash and cash equivalents, financial investments and derivative financial instruments - Financial investments (Detail)",
     "menuCat": "Details",
     "order": "82",
     "role": "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail",
     "shortName": "Cash and cash equivalents, financial investments and derivative financial instruments - Financial investments (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock",
       "ugp:DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:FinancialInvestmentsInLocalCurrency",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R83": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfTradeReceivablesCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TradeReceivablesGross",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4053 - Disclosure - Trade receivables, reseller financing and other receivables - Trade receivables (Detail)",
     "menuCat": "Details",
     "order": "83",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Trade receivables (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfTradeReceivablesCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_TradeReceivablesMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R84": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfTradeReceivablesCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TradeReceivablesGross",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4060 - Disclosure - Trade receivables, reseller financing and other receivables - Summary of of Trade Receivables, Gross of Loss Allowance for Expected Credit Losses (Detail)",
     "menuCat": "Details",
     "order": "84",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Summary of of Trade Receivables, Gross of Loss Allowance for Expected Credit Losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfTradeReceivablesBreakdownExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CurrentMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:TradeReceivablesGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R85": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfResellerFinancingCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4061 - Disclosure - Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail)",
     "menuCat": "Details",
     "order": "85",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Breakdown of Loss Allowance for Expected Credit Losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureInBreakdownOfExpectedLossOnDoubtfulAccountsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CurrentMember_TradeReceivablesMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R86": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfResellerFinancingCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4062 - Disclosure - Trade receivables, reseller financing and other receivables - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail)",
     "menuCat": "Details",
     "order": "86",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Summary of Movements in the Allowance for Loss Allowance for Expected Credit Losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ifrs-full:DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_TradeReceivablesMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R87": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ResellerFinancingGross",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4063 - Disclosure - Trade receivables, reseller financing and other receivables - Composition of Reseller Financing (Detail)",
     "menuCat": "Details",
     "order": "87",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Composition of Reseller Financing (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfResellerFinancingCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:ResellerFinancing",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R88": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ResellerFinancingGross",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4064 - Disclosure - Trade receivables, reseller financing and other receivables - Breakdown of Reseller Financing, Gross of Loss Allowance for Expected Credit Losses (Detail)",
     "menuCat": "Details",
     "order": "88",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Breakdown of Reseller Financing, Gross of Loss Allowance for Expected Credit Losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CurrentMember",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:ResellerFinancingGross",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R89": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfResellerFinancingCompositionExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4067 - Disclosure - Trade receivables, reseller financing and other receivables - Breakdown of Expected Losses on Doubtful Accounts (Detail)",
     "menuCat": "Details",
     "order": "89",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - Breakdown of Expected Losses on Doubtful Accounts (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfBreakdownOfAllowanceForExpectedCreditLossesOnDoubtfulAccountsExplanatoryTextBlock",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_CurrentMember_ResellerFinancingIpirangaMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:AllowanceAccountForCreditLossesOfFinancialAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R9": {
     "firstAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "1020 - Disclosure - Basis of preparation and presentation of the consolidated financial statements and significant accounting policies",
     "menuCat": "Notes",
     "order": "9",
     "role": "http://www.ultrapar.com/role/Basisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpolicies",
     "shortName": "Basis of preparation and presentation of the consolidated financial statements and significant accounting policies",
     "subGroupType": "",
     "uniqueAnchor": {
      "ancestors": [
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": null,
      "first": true,
      "lang": "en-US",
      "name": "ugp:DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R90": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfOtherReceivablesExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TotalSaleOfInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4068 - Disclosure - Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail)",
     "menuCat": "Details",
     "order": "90",
     "role": "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail",
     "shortName": "Trade receivables, reseller financing and other receivables - sale of subsidiaries (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfOtherReceivablesExplanatory",
       "div",
       "ifrs-full:DisclosureOfTradeAndOtherReceivablesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:TotalSaleOfInvestments",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R91": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:Inventories",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4070 - Disclosure - Inventories - Breakdown of Inventories (Detail)",
     "menuCat": "Details",
     "order": "91",
     "role": "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail",
     "shortName": "Inventories - Breakdown of Inventories (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfInventoriesCompositionExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_FuelsLubricantsAndGreasesMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:Inventories",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R92": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfProvisionForLossesExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20211231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ProvisionForLossesInventories",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4071 - Disclosure - Inventories - Movements in the Provision for Losses (Detail)",
     "menuCat": "Details",
     "order": "92",
     "role": "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail",
     "shortName": "Inventories - Movements in the Provision for Losses (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfProvisionForLossesExplanatory",
       "ifrs-full:DisclosureOfInventoriesExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20191231",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:ProvisionForLossesInventories",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R93": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfRecoverableTaxesTableTextBlock",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ReceivablesFromTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4080 - Disclosure - Recoverable taxes - Summary of Recoverable Taxes (Detail)",
     "menuCat": "Details",
     "order": "93",
     "role": "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
     "shortName": "Recoverable taxes - Summary of Recoverable Taxes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfRecoverableTaxesTableTextBlock",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ValueAddedTaxIvaOfForeignSubsidiariesMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ReceivablesFromTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R94": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfRecoverableTaxesTableTextBlock",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ReceivablesFromTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4081 - Disclosure - Recoverable taxes - Schedule of estimated recovery of ICMS credits (Detail)",
     "menuCat": "Details",
     "order": "94",
     "role": "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
     "shortName": "Recoverable taxes - Schedule of estimated recovery of ICMS credits (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:ScheduleOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTableTextBlock",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_ICMSStatevatMember_NotLaterThanOneYearMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:ReceivablesFromTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R95": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:CurrentTaxAssetsCurrent",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4083 - Disclosure - Recoverable taxes - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail)",
     "menuCat": "Details",
     "order": "95",
     "role": "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail",
     "shortName": "Recoverable taxes - Summary of Recoverable Income Tax and Social Contribution Taxes (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory",
       "div",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231_IrpjandcsllMember",
      "decimals": "-3",
      "lang": null,
      "name": "ifrs-full:CurrentTaxAssets",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R96": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "ugp:SummaryOfRecoverableTaxesTableTextBlock",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:ReceivablesFromTaxesOtherThanIncomeTax",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4084 - Disclosure - Recoverable taxes - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "96",
     "role": "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
     "shortName": "Recoverable taxes - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "ugp:DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory",
       "div",
       "div",
       "div",
       "ugp:DisclosureOfTaxesToRecoverExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_IrpjAndCsll1Member_TopOfRangeMember",
      "decimals": null,
      "lang": "en-US",
      "name": "ugp:RealizationOfTaxCreditPeriod",
      "reportCount": 1,
      "unique": true,
      "unitRef": null,
      "xsiNil": "false"
     }
    },
    "R97": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:TradeAndOtherReceivablesDueFromRelatedParties",
      "reportCount": 1,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4090 - Disclosure - Related Parties - Summary of Subsidiaries and Other Related Parties (Detail)",
     "menuCat": "Details",
     "order": "97",
     "role": "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
     "shortName": "Related Parties - Summary of Subsidiaries and Other Related Parties (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "div",
       "div",
       "div",
       "ifrs-full:DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "lang": null,
      "name": "ugp:LoansDueFromRelatedPartiesRelatedPartyTransactions",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R98": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ugp:SummaryOfCompensationForKeyExecutivesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4092 - Disclosure - Related Parties - Summary of Expenses for Compensation of Its Key Executives (Detail)",
     "menuCat": "Details",
     "order": "98",
     "role": "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail",
     "shortName": "Related Parties - Summary of Expenses for Compensation of Its Key Executives (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "p",
       "td",
       "tr",
       "tbody",
       "table",
       "div",
       "div",
       "ugp:SummaryOfCompensationForKeyExecutivesTableTextBlock",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "D20221231_3",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ifrs-full:KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    },
    "R99": {
     "firstAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     },
     "groupType": "disclosure",
     "isDefault": "false",
     "longName": "4093 - Disclosure - Related Parties - Additional Information (Detail)",
     "menuCat": "Details",
     "order": "99",
     "role": "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
     "shortName": "Related Parties - Additional Information (Detail)",
     "subGroupType": "details",
     "uniqueAnchor": {
      "ancestors": [
       "span",
       "span",
       "p",
       "div",
       "ifrs-full:DisclosureOfRelatedPartyExplanatory",
       "div",
       "div",
       "div",
       "body",
       "html"
      ],
      "baseRef": "ugp-20221231.htm",
      "contextRef": "I20221231",
      "decimals": "-3",
      "first": true,
      "lang": null,
      "name": "ugp:ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees",
      "reportCount": 1,
      "unique": true,
      "unitRef": "BRL",
      "xsiNil": "false"
     }
    }
   },
   "segmentCount": 412,
   "tag": {
    "country_BR": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "BRAZIL",
        "terseLabel": "Brazil [member]",
        "verboseLabel": "Brasil [member]"
       }
      }
     },
     "localname": "BR",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_MX": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "MEXICO",
        "terseLabel": "Mexico [member]",
        "verboseLabel": "Mexico [member]"
       }
      }
     },
     "localname": "MX",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_SG": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "SINGAPORE",
        "terseLabel": "Singapore [member]"
       }
      }
     },
     "localname": "SG",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_US": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "UNITED STATES",
        "terseLabel": "United States [member]"
       }
      }
     },
     "localname": "US",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "country_UY": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "URUGUAY",
        "terseLabel": "Uruguay [member]",
        "verboseLabel": "Uruguay [member]"
       }
      }
     },
     "localname": "UY",
     "nsuri": "http://xbrl.sec.gov/country/2022",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AddressTypeDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity may have several addresses for different purposes and this domain represents all such types.",
        "label": "Address Type [Domain]"
       }
      }
     },
     "localname": "AddressTypeDomain",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_AmendmentFlag": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the XBRL content amends previously-filed or accepted submission.",
        "label": "Amendment Flag",
        "terseLabel": "Amendment Flag"
       }
      }
     },
     "localname": "AmendmentFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_AuditorFirmId": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "PCAOB issued Audit Firm Identifier",
        "label": "Auditor Firm ID"
       }
      }
     },
     "localname": "AuditorFirmId",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "nonemptySequenceNumberItemType"
    },
    "dei_AuditorLocation": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Location"
       }
      }
     },
     "localname": "AuditorLocation",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_AuditorName": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "Auditor Name"
       }
      }
     },
     "localname": "AuditorName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "internationalNameItemType"
    },
    "dei_BusinessContactMember": {
     "auth_ref": [
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Business contact for the entity",
        "label": "Business Contact [Member]"
       }
      }
     },
     "localname": "BusinessContactMember",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "domainItemType"
    },
    "dei_CityAreaCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Area code of city",
        "label": "City Area Code"
       }
      }
     },
     "localname": "CityAreaCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_ContactPersonnelName": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of contact personnel",
        "label": "Contact Personnel Name"
       }
      }
     },
     "localname": "ContactPersonnelName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_CoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Cover page.",
        "label": "Cover [Abstract]"
       }
      }
     },
     "localname": "CoverAbstract",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "xbrltype": "stringItemType"
    },
    "dei_CurrentFiscalYearEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "End date of current fiscal year in the format --MM-DD.",
        "label": "Current Fiscal Year End Date",
        "terseLabel": "Current Fiscal Year End Date"
       }
      }
     },
     "localname": "CurrentFiscalYearEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "gMonthDayItemType"
    },
    "dei_DocumentAccountingStandard": {
     "auth_ref": [
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis of accounting the registrant has used to prepare the financial statements included in this filing This can either be 'U.S. GAAP', 'International Financial Reporting Standards', or 'Other'.",
        "label": "Document Accounting Standard"
       }
      }
     },
     "localname": "DocumentAccountingStandard",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "accountingStandardItemType"
    },
    "dei_DocumentAnnualReport": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as an annual report.",
        "label": "Document Annual Report",
        "terseLabel": "Document Annual Report"
       }
      }
     },
     "localname": "DocumentAnnualReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentFiscalPeriodFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Fiscal period values are FY, Q1, Q2, and Q3.  1st, 2nd and 3rd quarter 10-Q or 10-QT statements have value Q1, Q2, and Q3 respectively, with 10-K, 10-KT or other fiscal year statements having FY.",
        "label": "Document Fiscal Period Focus",
        "terseLabel": "Document Fiscal Period Focus"
       }
      }
     },
     "localname": "DocumentFiscalPeriodFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "fiscalPeriodItemType"
    },
    "dei_DocumentFiscalYearFocus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This is focus fiscal year of the document report in YYYY format. For a 2006 annual report, which may also provide financial information from prior periods, fiscal 2006 should be given as the fiscal year focus. Example: 2006.",
        "label": "Document Fiscal Year Focus",
        "terseLabel": "Document Fiscal Year Focus"
       }
      }
     },
     "localname": "DocumentFiscalYearFocus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "gYearItemType"
    },
    "dei_DocumentInformationLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.",
        "label": "Document Information [Line Items]"
       }
      }
     },
     "localname": "DocumentInformationLineItems",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentInformationTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Container to support the formal attachment of each official or unofficial, public or private document as part of a submission package.",
        "label": "Document Information [Table]"
       }
      }
     },
     "localname": "DocumentInformationTable",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_DocumentPeriodEndDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "For the EDGAR submission types of Form 8-K: the date of the report, the date of the earliest event reported; for the EDGAR submission types of Form N-1A: the filing date; for all other submission types: the end of the reporting or transition period.  The format of the date is YYYY-MM-DD.",
        "label": "Document Period End Date",
        "terseLabel": "Document Period End Date"
       }
      }
     },
     "localname": "DocumentPeriodEndDate",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "dateItemType"
    },
    "dei_DocumentRegistrationStatement": {
     "auth_ref": [
      "r452"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a registration statement.",
        "label": "Document Registration Statement"
       }
      }
     },
     "localname": "DocumentRegistrationStatement",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentShellCompanyReport": {
     "auth_ref": [
      "r457"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true for a Shell Company Report pursuant to section 13 or 15(d) of the Exchange Act.",
        "label": "Document Shell Company Report",
        "terseLabel": "Document Shell Company Report"
       }
      }
     },
     "localname": "DocumentShellCompanyReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentTransitionReport": {
     "auth_ref": [
      "r459"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true only for a form used as a transition report.",
        "label": "Document Transition Report",
        "terseLabel": "Document Transition Report"
       }
      }
     },
     "localname": "DocumentTransitionReport",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_DocumentType": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The type of document being provided (such as 10-K, 10-Q, 485BPOS, etc). The document type is limited to the same value as the supporting SEC submission type, or the word 'Other'.",
        "label": "Document Type",
        "terseLabel": "Document Type"
       }
      }
     },
     "localname": "DocumentType",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "submissionTypeItemType"
    },
    "dei_EntityAddressAddressLine1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Address Line 1 such as Attn, Building Name, Street Name",
        "label": "Entity Address, Address Line One"
       }
      }
     },
     "localname": "EntityAddressAddressLine1",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCityOrTown": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the City or Town",
        "label": "Entity Address, City or Town"
       }
      }
     },
     "localname": "EntityAddressCityOrTown",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "ISO 3166-1 alpha-2 country code.",
        "label": "Entity Address, Country"
       }
      }
     },
     "localname": "EntityAddressCountry",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "countryCodeItemType"
    },
    "dei_EntityAddressPostalZipCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Code for the postal or zip code",
        "label": "Entity Address, Postal Zip Code"
       }
      }
     },
     "localname": "EntityAddressPostalZipCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityAddressesAddressTypeAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the domain members or categories in the table and the line items or concepts that complete the table.",
        "label": "Entity Addresses, Address Type [Axis]"
       }
      }
     },
     "localname": "EntityAddressesAddressTypeAxis",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "stringItemType"
    },
    "dei_EntityCentralIndexKey": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A unique 10-digit SEC-issued value to identify entities that have filed disclosures with the SEC. It is commonly abbreviated as CIK.",
        "label": "Entity Central Index Key",
        "terseLabel": "Entity Central Index Key"
       }
      }
     },
     "localname": "EntityCentralIndexKey",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "centralIndexKeyItemType"
    },
    "dei_EntityCommonStockSharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate number of shares or other units outstanding of each of registrant's classes of capital or common stock or other ownership interests, if and as stated on cover of related periodic report. Where multiple classes or units exist define each class/interest by adding class of stock items such as Common Class A [Member], Common Class B [Member] or Partnership Interest [Member] onto the Instrument [Domain] of the Entity Listings, Instrument.",
        "label": "Entity Common Stock, Shares Outstanding",
        "terseLabel": "Entity Common Stock, Shares Outstanding"
       }
      }
     },
     "localname": "EntityCommonStockSharesOutstanding",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "sharesItemType"
    },
    "dei_EntityCurrentReportingStatus": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' whether registrants (1) have filed all reports required to be filed by Section 13 or 15(d) of the Securities Exchange Act of 1934 during the preceding 12 months (or for such shorter period that registrants were required to file such reports), and (2) have been subject to such filing requirements for the past 90 days. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Current Reporting Status",
        "terseLabel": "Entity Current Reporting Status"
       }
      }
     },
     "localname": "EntityCurrentReportingStatus",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityEmergingGrowthCompany": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate if registrant meets the emerging growth company criteria.",
        "label": "Entity Emerging Growth Company",
        "terseLabel": "Entity Emerging Growth Company"
       }
      }
     },
     "localname": "EntityEmergingGrowthCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityFileNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commission file number. The field allows up to 17 characters. The prefix may contain 1-3 digits, the sequence number may contain 1-8 digits, the optional suffix may contain 1-4 characters, and the fields are separated with a hyphen.",
        "label": "Entity File Number"
       }
      }
     },
     "localname": "EntityFileNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "fileNumberItemType"
    },
    "dei_EntityFilerCategory": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate whether the registrant is one of the following: Large Accelerated Filer, Accelerated Filer, Non-accelerated Filer. Definitions of these categories are stated in Rule 12b-2 of the Exchange Act. This information should be based on the registrant's current or most recent filing containing the related disclosure.",
        "label": "Entity Filer Category",
        "terseLabel": "Entity Filer Category"
       }
      }
     },
     "localname": "EntityFilerCategory",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "filerCategoryItemType"
    },
    "dei_EntityIncorporationStateCountryCode": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Two-character EDGAR code representing the state or country of incorporation.",
        "label": "Entity Incorporation, State or Country Code"
       }
      }
     },
     "localname": "EntityIncorporationStateCountryCode",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "edgarStateCountryItemType"
    },
    "dei_EntityInteractiveDataCurrent": {
     "auth_ref": [
      "r460"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation S-T during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).",
        "label": "Entity Interactive Data Current"
       }
      }
     },
     "localname": "EntityInteractiveDataCurrent",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityRegistrantName": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exact name of the entity filing the report as specified in its charter, which is required by forms filed with the SEC.",
        "label": "Entity Registrant Name",
        "terseLabel": "Entity Registrant Name"
       }
      }
     },
     "localname": "EntityRegistrantName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_EntityShellCompany": {
     "auth_ref": [
      "r454"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Boolean flag that is true when the registrant is a shell company as defined in Rule 12b-2 of the Exchange Act.",
        "label": "Entity Shell Company",
        "terseLabel": "Entity Shell Company"
       }
      }
     },
     "localname": "EntityShellCompany",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_EntityVoluntaryFilers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is not required to file reports pursuant to Section 13 or Section 15(d) of the Act.",
        "label": "Entity Voluntary Filers",
        "terseLabel": "Entity Voluntary Filers"
       }
      }
     },
     "localname": "EntityVoluntaryFilers",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_EntityWellKnownSeasonedIssuer": {
     "auth_ref": [
      "r461"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Indicate 'Yes' or 'No' if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act. Is used on Form Type: 10-K, 10-Q, 8-K, 20-F, 6-K, 10-K/A, 10-Q/A, 20-F/A, 6-K/A, N-CSR, N-Q, N-1A.",
        "label": "Entity Well-known Seasoned Issuer",
        "terseLabel": "Entity Well-known Seasoned Issuer"
       }
      }
     },
     "localname": "EntityWellKnownSeasonedIssuer",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "yesNoItemType"
    },
    "dei_IcfrAuditorAttestationFlag": {
     "auth_ref": [
      "r456",
      "r457",
      "r458"
     ],
     "lang": {
      "en-us": {
       "role": {
        "label": "ICFR Auditor Attestation Flag"
       }
      }
     },
     "localname": "IcfrAuditorAttestationFlag",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "booleanItemType"
    },
    "dei_LocalPhoneNumber": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Local phone number for entity.",
        "label": "Local Phone Number"
       }
      }
     },
     "localname": "LocalPhoneNumber",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "normalizedStringItemType"
    },
    "dei_Security12bTitle": {
     "auth_ref": [
      "r453"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Title of a 12(b) registered security.",
        "label": "Title of 12(b) Security",
        "terseLabel": "Title of 12(b) Security"
       }
      }
     },
     "localname": "Security12bTitle",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "securityTitleItemType"
    },
    "dei_SecurityExchangeName": {
     "auth_ref": [
      "r455"
     ],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Name of the Exchange on which a security is registered.",
        "label": "Security Exchange Name"
       }
      }
     },
     "localname": "SecurityExchangeName",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "edgarExchangeCodeItemType"
    },
    "dei_TradingSymbol": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trading symbol of an instrument as listed on an exchange.",
        "label": "Trading Symbol",
        "terseLabel": "Trading Symbol"
       }
      }
     },
     "localname": "TradingSymbol",
     "nsuri": "http://xbrl.sec.gov/dei/2022",
     "presentation": [
      "http://www.ultrapar.com/role/CoverPage"
     ],
     "xbrltype": "tradingSymbolItemType"
    },
    "ifrs-full_AccumulatedDepreciationAndAmortisationMember": {
     "auth_ref": [
      "r89",
      "r477",
      "r485",
      "r492",
      "r493"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for accumulated depreciation and amortisation. [Refer: Depreciation and amortisation expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accumulated depreciation and amortisation [member]",
        "terseLabel": "Accumulated depreciation [member]",
        "verboseLabel": "Accumulated amortization [member]"
       }
      }
     },
     "localname": "AccumulatedDepreciationAndAmortisationMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AccumulatedImpairmentMember": {
     "auth_ref": [
      "r269",
      "r294",
      "r413",
      "r445",
      "r451",
      "r477",
      "r485",
      "r492",
      "r493"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for accumulated impairment. [Refer: Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accumulated impairment [member]",
        "terseLabel": "Provision for impairment losses [member]",
        "verboseLabel": "Provision for losses and impairment [member]"
       }
      }
     },
     "localname": "AccumulatedImpairmentMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AccumulatedOtherComprehensiveIncome": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 6.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of accumulated items of income and expense (including reclassification adjustments) that are not recognised in profit or loss as required or permitted by other IFRSs. [Refer: IFRSs [member]; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accumulated other comprehensive income",
        "terseLabel": "Other comprehensive income",
        "verboseLabel": "Accumulated other comprehensive income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AccumulatedOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for accumulated other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Accumulated other comprehensive income [member]",
        "terseLabel": "Accumulated other comprehensive income"
       }
      }
     },
     "localname": "AccumulatedOtherComprehensiveIncomeMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred": {
     "auth_ref": [
      "r263"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value, at acquisition date, of the consideration transferred in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Consideration transferred, acquisition-date fair value",
        "terseLabel": "Purchase price of acquisition",
        "totalLabel": "Total consideration"
       }
      }
     },
     "localname": "AcquisitiondateFairValueOfTotalConsiderationTransferred",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r486"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase in intangible assets and goodwill resulting from acquisitions through business combinations. [Refer: Business combinations [member]; Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Acquisitions through business combinations, intangible assets and goodwill",
        "terseLabel": "Intangible assets opening balance TEAS"
       }
      }
     },
     "localname": "AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AcquisitionsThroughBusinessCombinationsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r83"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase in property, plant and equipment resulting from acquisitions through business combinations. [Refer: Business combinations [member]; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Acquisitions through business combinations, property, plant and equipment",
        "terseLabel": "Property, plant, and equipment, Business acquisition"
       }
      }
     },
     "localname": "AcquisitionsThroughBusinessCombinationsPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRates": {
     "auth_ref": [
      "r480"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The discount rate used as the significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of discount rates",
        "terseLabel": "Discount rate for the actuarial obligation at present value"
       }
      }
     },
     "localname": "ActuarialAssumptionOfDiscountRates",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdoptedDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfDiscountRatesMember": {
     "auth_ref": [
      "r481"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the discount rates used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of discount rates [member]",
        "terseLabel": "Discount rate [Member]"
       }
      }
     },
     "localname": "ActuarialAssumptionOfDiscountRatesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfInflation": {
     "auth_ref": [
      "r480"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The expected rate of inflation that is used as a significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit plans [member]; Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of expected rates of inflation",
        "terseLabel": "Inflation rate (long term)"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfInflation",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdoptedDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreases": {
     "auth_ref": [
      "r480"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The expected rate of salary increases used as a significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit plans [member]; Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of expected rates of salary increases",
        "terseLabel": "Average projected salary growth rate"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreases",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdoptedDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember": {
     "auth_ref": [
      "r481"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the expected rates of salary increases used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of expected rates of salary increases [member]",
        "terseLabel": "Wage growth rate [member]"
       }
      }
     },
     "localname": "ActuarialAssumptionOfExpectedRatesOfSalaryIncreasesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionOfMedicalCostTrendRates": {
     "auth_ref": [
      "r480"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Medical cost trend rate used as significant actuarial assumption to determine the present value of a defined benefit obligation. [Refer: Defined benefit obligation, at present value; Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of medical cost trend rates",
        "terseLabel": "Growth rate of medical services"
       }
      }
     },
     "localname": "ActuarialAssumptionOfMedicalCostTrendRates",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSignificantActuarialAssumptionsAdoptedDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ActuarialAssumptionOfMedicalCostTrendRatesMember": {
     "auth_ref": [
      "r481"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the medical cost trend rates used as actuarial assumptions. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumption of medical cost trend rates [member]",
        "terseLabel": "Medical services growth rate [Member]"
       }
      }
     },
     "localname": "ActuarialAssumptionOfMedicalCostTrendRatesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialAssumptionsAxis": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumptions [axis]",
        "terseLabel": "Actuarial assumptions [axis]"
       }
      }
     },
     "localname": "ActuarialAssumptionsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ActuarialAssumptionsMember": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all actuarial assumptions. Actuarial assumptions are the entity\u2019s unbiased and mutually compatible best estimates of the demographic and financial variables that will determine the ultimate cost of providing post-employment benefits. It also represents the standard value for the 'Actuarial assumptions' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial assumptions [member]",
        "terseLabel": "Actuarial assumptions [member]"
       }
      }
     },
     "localname": "ActuarialAssumptionsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetOfTaxDefinedBenefitPlans": {
     "auth_ref": [
      "r479"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, resulting from actuarial gains (losses) arising from changes in financial assumptions that result in remeasurements of the net defined benefit liability (asset). Financial assumptions deal with items such as: (a) the discount rate; (b) benefit levels, excluding any cost of the benefits to be met by employees, and future salary; (c) in the case of medical benefits, future medical costs, including claim handling costs (ie the costs that will be incurred in processing and resolving claims, including legal and adjuster's fees); and (d) taxes payable by the plan on contributions relating to service before the reporting date or on benefits resulting from that service. [Refer: Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from actuarial gains (losses) arising from changes in financial assumptions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Actuarial gains (losses) arising from changes in financial assumptions, net of tax, defined benefit plans",
        "terseLabel": "Actuarial (gains) losses from changes in actuarial assumptions"
       }
      }
     },
     "localname": "ActuarialGainsLossesArisingFromChangesInFinancialAssumptionsNetOfTaxDefinedBenefitPlans",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additional allowance for credit losses of financial assets recognised in profit or loss. [Refer: Allowance account for credit losses of financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additional allowance recognised in profit or loss, allowance account for credit losses of financial assets",
        "terseLabel": "Additions"
       }
      }
     },
     "localname": "AdditionalAllowanceRecognisedInProfitOrLossAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionalDisclosuresForAmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAndLiabilitiesAssumedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Additional disclosures for amounts recognised as of acquisition date for each major class of assets acquired and liabilities assumed [abstract]",
        "terseLabel": "Comprised by"
       }
      }
     },
     "localname": "AdditionalDisclosuresForAmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAndLiabilitiesAssumedAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AdditionalProvisionsOtherProvisions": {
     "auth_ref": [
      "r149"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additional other provisions made. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additional provisions, other provisions",
        "terseLabel": "Additions (new tanks)",
        "verboseLabel": "Additions"
       }
      }
     },
     "localname": "AdditionalProvisionsOtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionalRecognitionGoodwill": {
     "auth_ref": [
      "r267"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additional goodwill recognised, except goodwill included in a disposal group that, on acquisition, meets the criteria to be classified as held for sale in accordance with IFRS 5. [Refer: Goodwill; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additional recognition, goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "AdditionalRecognitionGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r159"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to intangible assets other than goodwill, other than those acquired through business combinations. [Refer: Business combinations [member]; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions other than through business combinations, intangible assets other than goodwill",
        "terseLabel": "Intangible assets, additions"
       }
      }
     },
     "localname": "AdditionsOtherThanThroughBusinessCombinationsIntangibleAssetsOtherThanGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r81"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to property, plant and equipment other than those acquired through business combinations. [Refer: Business combinations [member]; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions other than through business combinations, property, plant and equipment",
        "terseLabel": "Property, plant, and equipment, additions"
       }
      }
     },
     "localname": "AdditionsOtherThanThroughBusinessCombinationsPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdditionsToRightofuseAssets": {
     "auth_ref": [
      "r245"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of additions to right-of-use assets. [Refer: Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Additions to right-of-use assets",
        "terseLabel": "Initial direct costs of right to use assets",
        "verboseLabel": "Additions and remeasurement"
       }
      }
     },
     "localname": "AdditionsToRightofuseAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustedWeightedAverageShares": {
     "auth_ref": [
      "r138"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average number of ordinary shares used in calculating diluted earnings per share",
        "terseLabel": "Weighted average number of outstanding shares (in thousands), including dilution effects",
        "totalLabel": "Weighted average number of shares for diluted earnings per share"
       }
      }
     },
     "localname": "AdjustedWeightedAverageShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInInventories": {
     "auth_ref": [
      "r497"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 2.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Inventories; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in inventories",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInInventories",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInOtherAssets": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 5.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in other assets to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other assets; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in other assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInOtherAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDecreaseIncreaseInTradeAccountReceivable": {
     "auth_ref": [
      "r497"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for decrease (increase) in trade accounts receivable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for decrease (increase) in trade accounts receivable",
        "terseLabel": "Trade receivables and reseller financing"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInTradeAccountReceivable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDeferredTaxExpense": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 7.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for deferred tax expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Deferred tax expense (income); Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for deferred tax expense",
        "terseLabel": "Deferred income and social contribution taxes"
       }
      }
     },
     "localname": "AdjustmentsForDeferredTaxExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForDepreciationAndAmortisationExpense": {
     "auth_ref": [
      "r498"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 4.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for depreciation and amortisation expense to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Depreciation and amortisation expense; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for depreciation and amortisation expense",
        "terseLabel": "Depreciation and amortization"
       }
      }
     },
     "localname": "AdjustmentsForDepreciationAndAmortisationExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 10.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for impairment loss (reversal of impairment loss) on trade and other receivables recognised in profit or loss to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Trade and other receivables; Impairment loss; Adjustments for impairment loss (reversal of impairment loss) recognised in profit or loss; Impairment loss (reversal of impairment loss) recognised in profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for impairment loss (reversal of impairment loss) recognised in profit or loss, trade and other receivables",
        "terseLabel": "Reversal (loss) allowance for expected credit losses"
       }
      }
     },
     "localname": "AdjustmentsForImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeAndOtherReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInOtherLiabilities": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 9.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in other liabilities to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Other liabilities; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in other liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInOtherLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForIncreaseDecreaseInTradeAccountPayable": {
     "auth_ref": [
      "r497"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 6.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in trade accounts payable to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for increase (decrease) in trade accounts payable",
        "terseLabel": "Trade payables and trade payables \u2013 reverse factoring"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInTradeAccountPayable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForLossesGainsOnDisposalOfNoncurrentAssets": {
     "auth_ref": [
      "r494"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 9.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for losses (gains) on disposal of non-current assets to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Non-current assets; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for losses (gains) on disposal of non-current assets",
        "terseLabel": "Loss on disposal of property, plant and equipment and intangible assets or assets write-off and other assets"
       }
      }
     },
     "localname": "AdjustmentsForLossesGainsOnDisposalOfNoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForReconcileProfitLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Adjustments to reconcile profit (loss) [abstract]",
        "terseLabel": "Adjustments to reconcile net income to cash provided by operating activities from continuing operations"
       }
      }
     },
     "localname": "AdjustmentsForReconcileProfitLossAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AdjustmentsForSharebasedPayments": {
     "auth_ref": [
      "r498"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 13.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for share-based payments to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for share-based payments",
        "terseLabel": "Equity instrument granted"
       }
      }
     },
     "localname": "AdjustmentsForSharebasedPayments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForUndistributedProfitsOfInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for undistributed profits of investments accounted for using the equity method to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Investments accounted for using equity method; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for undistributed profits of investments accounted for using equity method",
        "negatedLabel": "Share of profit (loss) of joint ventures and associates"
       }
      }
     },
     "localname": "AdjustmentsForUndistributedProfitsOfInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AdjustmentsForUnrealisedForeignExchangeLossesGains": {
     "auth_ref": [
      "r396",
      "r498"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 6.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Adjustments for unrealised foreign exchange losses (gains) to reconcile profit (loss) to net cash flow from (used in) operating activities. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Adjustments for unrealised foreign exchange losses (gains)",
        "terseLabel": "Interest and foreign exchange rate variations"
       }
      }
     },
     "localname": "AdjustmentsForUnrealisedForeignExchangeLossesGains",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AggregatedTimeBandsMember": {
     "auth_ref": [
      "r30",
      "r238",
      "r250",
      "r251",
      "r283",
      "r334",
      "r335",
      "r337",
      "r342",
      "r379",
      "r417",
      "r425"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated time bands. It also represents the standard value for the 'Maturity' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Aggregated time bands [member]",
        "terseLabel": "Aggregated time bands [member]"
       }
      }
     },
     "localname": "AggregatedTimeBandsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AllLevelsOfFairValueHierarchyMember": {
     "auth_ref": [
      "r94",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all levels of the fair value hierarchy. It also represents the standard value for the 'Levels of fair value hierarchy' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "All levels of fair value hierarchy [member]",
        "terseLabel": "All levels of fair value hierarchy [member]"
       }
      }
     },
     "localname": "AllLevelsOfFairValueHierarchyMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AllOtherSegmentsMember": {
     "auth_ref": [
      "r235",
      "r312"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for business activities and operating segments that are not reportable."
       }
      },
      "en-us": {
       "role": {
        "label": "All other segments [member]",
        "terseLabel": "All other segments [member]",
        "verboseLabel": "Others [member]"
       }
      }
     },
     "localname": "AllOtherSegmentsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r357"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/TradeReceivablesandResellerFinancingCompositionofResellerFinancingDetailCalc2": {
       "order": 1.0,
       "parentTag": "ugp_ResellerFinancing",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of an allowance account used to record impairments to financial assets due to credit losses. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Allowance account for credit losses of financial assets",
        "negatedLabel": "Allowance for expected credit losses",
        "negatedTerseLabel": "Loss allowance for expected credit losses",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Allowance for expected credit losses"
       }
      }
     },
     "localname": "AllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers": {
     "auth_ref": [
      "r239"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 2.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of amortisation for assets recognised from the costs incurred to obtain or fulfil contracts with customers. [Refer: Assets recognised from costs to obtain or fulfil contracts with customers; Amortisation expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Amortisation, assets recognised from costs incurred to obtain or fulfil contracts with customers",
        "negatedLabel": "Amortization of contractual assets with customers (see Note 12)",
        "terseLabel": "Amortization of contractual assets with customers \u2013 exclusive rights"
       }
      }
     },
     "localname": "AmortisationAssetsRecognisedFromCostsIncurredToObtainOrFulfilContractsWithCustomers",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmortisationIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r160"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of amortisation of intangible assets other than goodwill. [Refer: Depreciation and amortisation expense; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Amortisation, intangible assets other than goodwill",
        "negatedLabel": "Intangible assets, amortization",
        "totalLabel": "Amortization expense"
       }
      }
     },
     "localname": "AmortisationIntangibleAssetsOtherThanGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmountOfReclassificationsOrChangesInPresentation": {
     "auth_ref": [
      "r13"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that is reclassified when the entity changes classification or presentation in its financial statements."
       }
      },
      "en-us": {
       "role": {
        "label": "Amount of reclassifications or changes in presentation",
        "positiveLabel": "Intangible assets, IFRS 16",
        "terseLabel": "Adoption IFRS 16",
        "verboseLabel": "Adoption IFRS 16 \u2013 transfer to Note 13.b"
       }
      }
     },
     "localname": "AmountOfReclassificationsOrChangesInPresentation",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmountsPayableRelatedPartyTransactions": {
     "auth_ref": [
      "r111",
      "r118"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts payable resulting from related party transactions. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Amounts payable, related party transactions",
        "terseLabel": "Commercial transactions, Trade payables"
       }
      }
     },
     "localname": "AmountsPayableRelatedPartyTransactions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AmountsReceivableRelatedPartyTransactions": {
     "auth_ref": [
      "r111",
      "r118"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts receivable resulting from related party transactions. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Amounts receivable, related party transactions",
        "terseLabel": "Commercial transactions, Receivables"
       }
      }
     },
     "localname": "AmountsReceivableRelatedPartyTransactions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ApplicableTaxRate": {
     "auth_ref": [
      "r72"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The applicable income tax rate."
       }
      },
      "en-us": {
       "role": {
        "label": "Applicable tax rate",
        "terseLabel": "Statutory tax rates - %",
        "verboseLabel": "Statutory tax rates in Brazil"
       }
      }
     },
     "localname": "ApplicableTaxRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_Assets": {
     "auth_ref": [
      "r26",
      "r224",
      "r225",
      "r226",
      "r317",
      "r321"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits."
       }
      },
      "en-us": {
       "role": {
        "label": "Assets",
        "totalLabel": "Total assets",
        "verboseLabel": "Total assets (excluding intersegment transactions)"
       }
      }
     },
     "localname": "Assets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_AssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets [abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AssetsAndLiabilitiesClassifiedAsHeldForSaleAxis": {
     "auth_ref": [
      "r278"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Assets and liabilities classified as held for sale [axis]"
       }
      }
     },
     "localname": "AssetsAndLiabilitiesClassifiedAsHeldForSaleAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_AssetsAndLiabilitiesNotClassifiedAsHeldForSaleMember": {
     "auth_ref": [
      "r278"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for assets and liabilities that are not classified as held for sale. It also represents the standard value for the 'Assets and liabilities classified as held for sale' axis if no other member is used. [Refer: Non-current assets held for sale [member]; Liabilities included in disposal groups classified as held for sale; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Assets and liabilities not classified as held for sale [member]"
       }
      }
     },
     "localname": "AssetsAndLiabilitiesNotClassifiedAsHeldForSaleMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AssociatesMember": {
     "auth_ref": [
      "r114",
      "r128",
      "r132",
      "r223",
      "r347",
      "r354"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the entities over which the investor has significant influence."
       }
      },
      "en-us": {
       "role": {
        "label": "Associates [member]"
       }
      }
     },
     "localname": "AssociatesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_AverageEffectiveTaxRate": {
     "auth_ref": [
      "r72"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The tax expense (income) divided by the accounting profit. [Refer: Accounting profit]"
       }
      },
      "en-us": {
       "role": {
        "label": "Average effective tax rate",
        "terseLabel": "Effective IRPJ and CSLL rates - %"
       }
      }
     },
     "localname": "AverageEffectiveTaxRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_AverageForeignExchangeRate": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The average exchange rate used by the entity. Exchange rate is the ratio of exchange for two currencies."
       }
      },
      "en-us": {
       "role": {
        "label": "Average foreign exchange rate",
        "terseLabel": "Exchange rate of the Real against the U.S. dollar"
       }
      }
     },
     "localname": "AverageForeignExchangeRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_BasicEarningsLossPerShare": {
     "auth_ref": [
      "r134",
      "r135"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator) divided by the weighted average number of ordinary shares outstanding during the period (the denominator)."
       }
      },
      "en-us": {
       "role": {
        "label": "Basic earnings (loss) per share",
        "terseLabel": "Basic",
        "verboseLabel": "Basic earnings per share -R$"
       }
      }
     },
     "localname": "BasicEarningsLossPerShare",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_BasicEarningsLossPerShareFromContinuingOperations": {
     "auth_ref": [
      "r134",
      "r135"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Basic earnings (loss) per share from continuing operations. [Refer: Basic earnings (loss) per share; Continuing operations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Basic earnings (loss) per share from continuing operations",
        "terseLabel": "Basic",
        "verboseLabel": "Basic earnings per share \u2013 R$, Continuing operations"
       }
      }
     },
     "localname": "BasicEarningsLossPerShareFromContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_BasicEarningsLossPerShareFromDiscontinuedOperations": {
     "auth_ref": [
      "r135",
      "r136"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Basic earnings (loss) per share from discontinued operations. [Refer: Basic earnings (loss) per share; Discontinued operations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Basic earnings (loss) per share from discontinued operations",
        "terseLabel": "Basic",
        "verboseLabel": "Basic earnings per share \u2013 R$, Discontinued operations"
       }
      }
     },
     "localname": "BasicEarningsLossPerShareFromDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_BasicEarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Basic earnings per share [abstract]",
        "terseLabel": "Earnings per share"
       }
      }
     },
     "localname": "BasicEarningsPerShareAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BenefitsPaidOrPayable": {
     "auth_ref": [
      "r121"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of benefits paid or payable for retirement benefit plans."
       }
      },
      "en-us": {
       "role": {
        "label": "Benefits paid or payable",
        "negatedLabel": "Benefits paid directly by Company and its subsidiaries"
       }
      }
     },
     "localname": "BenefitsPaidOrPayable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_BorrowingCostsCapitalised": {
     "auth_ref": [
      "r105"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest and other costs that an entity incurs in connection with the borrowing of funds that are directly attributable to the acquisition, construction or production of a qualifying asset and which form part of the cost of that asset."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowing costs capitalised",
        "negatedLabel": "Capitalized borrowing costs",
        "terseLabel": "Capitalized borrowing costs"
       }
      }
     },
     "localname": "BorrowingCostsCapitalised",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_BorrowingCostsRecognisedAsExpense": {
     "auth_ref": [
      "r467"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest and other costs that an entity incurs in connection with the borrowing of funds that are recognised as an expense."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowing costs recognised as expense",
        "negatedLabel": "Charges"
       }
      }
     },
     "localname": "BorrowingCostsRecognisedAsExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_Borrowings": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of outstanding funds that the entity is obligated to repay."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings",
        "periodEndLabel": "Loans, debentures and finance leases, ending",
        "periodStartLabel": "Loans, debentures and finance leases, beginning",
        "positiveLabel": "Loan maturity, amount",
        "positiveTerseLabel": "Loans and financing",
        "terseLabel": "Borrowings",
        "totalLabel": "Total",
        "verboseLabel": "Gross indebtedness"
       }
      }
     },
     "localname": "Borrowings",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_BorrowingsAdjustmentToInterestRateBasis": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The adjustment to the basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings, adjustment to interest rate basis",
        "terseLabel": "Borrowings, adjustment to interest rate basis",
        "verboseLabel": "Cost in percentage of DI"
       }
      }
     },
     "localname": "BorrowingsAdjustmentToInterestRateBasis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_BorrowingsByNameAxis": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings by name [axis]",
        "terseLabel": "Borrowings by name [axis]"
       }
      }
     },
     "localname": "BorrowingsByNameAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BorrowingsByNameMember": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all borrowings when disaggregated by name. It also represents the standard value for the 'Borrowings by name' axis if no other member is used. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings by name [member]",
        "terseLabel": "Borrowings by name [member]"
       }
      }
     },
     "localname": "BorrowingsByNameMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_BorrowingsInterestRate": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The interest rate on borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings, interest rate",
        "positiveLabel": "Weighted average financial charges",
        "terseLabel": "Interest rate",
        "verboseLabel": "Borrowings, coupon rate"
       }
      }
     },
     "localname": "BorrowingsInterestRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_BorrowingsInterestRateBasis": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The basis (reference rate) used for calculation of the interest rate on borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings, interest rate basis",
        "terseLabel": "Borrowings, interest rate basis",
        "verboseLabel": "Interest"
       }
      }
     },
     "localname": "BorrowingsInterestRateBasis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BorrowingsMaturity": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The maturity of borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Borrowings, maturity",
        "terseLabel": "Borrowings, maturity date",
        "verboseLabel": "Final maturity"
       }
      }
     },
     "localname": "BorrowingsMaturity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BottomOfRangeMember": {
     "auth_ref": [
      "r230",
      "r257",
      "r337",
      "r399",
      "r400",
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the bottom of a range."
       }
      },
      "en-us": {
       "role": {
        "label": "Bottom of range [member]",
        "terseLabel": "Bottom of range [member]"
       }
      }
     },
     "localname": "BottomOfRangeMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_BrandNamesMember": {
     "auth_ref": [
      "r385"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of intangible assets representing rights to a group of complementary assets such as a trademark (or service mark) and its related trade name, formulas, recipes and technological expertise. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Brand names [member]",
        "terseLabel": "Brands [member]"
       }
      }
     },
     "localname": "BrandNamesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_BuildingsMember": {
     "auth_ref": [
      "r476"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of plant, property and equipment representing depreciable buildings and similar structures for use in operations. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Buildings [member]",
        "terseLabel": "Buildings [member]"
       }
      }
     },
     "localname": "BuildingsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_BusinessCombinationsAxis": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Business combinations [axis]",
        "terseLabel": "Business combinations [axis]"
       }
      }
     },
     "localname": "BusinessCombinationsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_BusinessCombinationsMember": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for transactions or other events in which an acquirer obtains control of one or more businesses. Transactions sometimes referred to as 'true mergers' or 'mergers of equals' are also business combinations as that term is used in IFRS 3."
       }
      },
      "en-us": {
       "role": {
        "label": "Business combinations [member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "BusinessCombinationsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CapitalCommitmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Commitments"
       }
      }
     },
     "localname": "CapitalCommitmentsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CapitalReserve": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing the capital reserves."
       }
      },
      "en-us": {
       "role": {
        "label": "Capital reserve",
        "terseLabel": "Capital reserve"
       }
      }
     },
     "localname": "CapitalReserve",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CapitalReserveMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing capital reserves."
       }
      },
      "en-us": {
       "role": {
        "label": "Capital reserve [member]",
        "terseLabel": "Capital reserve"
       }
      }
     },
     "localname": "CapitalReserveMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis": {
     "auth_ref": [
      "r80",
      "r86",
      "r158",
      "r161",
      "r165",
      "r166",
      "r167",
      "r168",
      "r169",
      "r269",
      "r294",
      "r295",
      "r511",
      "r513"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis]",
        "terseLabel": "Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount [axis]"
       }
      }
     },
     "localname": "CarryingAmountAccumulatedDepreciationAmortisationAndImpairmentAndGrossCarryingAmountAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CarryingAmountMember": {
     "auth_ref": [
      "r86",
      "r161",
      "r165",
      "r167",
      "r168",
      "r269",
      "r294",
      "r295",
      "r445",
      "r450"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised in the statement of financial position (after deducting any accumulated depreciation or amortisation and accumulated impairment losses). It also represents the standard value for the 'Carrying amount, accumulated depreciation, amortisation and impairment and gross carrying amount' axis if no other member is used. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Carrying amount [member]",
        "terseLabel": "Carrying amount [member]"
       }
      }
     },
     "localname": "CarryingAmountMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CashAndCashEquivalents": {
     "auth_ref": [
      "r19",
      "r179",
      "r214"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents",
        "periodEndLabel": "Cash and cash equivalents at the end of the year - continuing operations",
        "periodStartLabel": "Cash and cash equivalents at the beginning of the year - continuing operations",
        "terseLabel": "Cash and cash equivalents",
        "totalLabel": "Total cash and cash equivalents",
        "verboseLabel": "Cash and cash equivalents at the end of the year - continuing operations"
       }
      }
     },
     "localname": "CashAndCashEquivalents",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash and cash equivalents that are classified as a part of a disposal group held for sale. [Refer: Cash and cash equivalents; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents classified as part of disposal group held for sale",
        "periodEndLabel": "Cash and cash equivalents at the end of the year - discontinued operations",
        "periodStartLabel": "Cash and cash equivalents at the beginning of the year - discontinued operations"
       }
      }
     },
     "localname": "CashAndCashEquivalentsClassifiedAsPartOfDisposalGroupHeldForSale",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalentsIfDifferentFromStatementOfFinancialPosition": {
     "auth_ref": [
      "r500"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash and cash equivalents in the statement of cash flows when different from the amount of cash and cash equivalents in the statement of financial position. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents if different from statement of financial position",
        "periodEndLabel": "Cash and cash equivalents at the end of the year",
        "periodStartLabel": "Cash and cash equivalents at the beginning of the year"
       }
      }
     },
     "localname": "CashAndCashEquivalentsIfDifferentFromStatementOfFinancialPosition",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013": {
     "auth_ref": [
      "r178"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cash and cash equivalents in subsidiaries or other businesses over which control is obtained or lost. [Refer: Subsidiaries [member]; Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents in subsidiary or businesses acquired or disposed",
        "negatedLabel": "Cash and cash equivalents acquired"
       }
      }
     },
     "localname": "CashAndCashEquivalentsInSubsidiaryOrBusinessesAcquiredOrDisposed2013",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashAndCashEquivalentsRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 0.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for cash and cash equivalents acquired in a business combination. [Refer: Cash and cash equivalents; Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents recognised as of acquisition date",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "CashAndCashEquivalentsRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowHedgesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flow hedges [abstract]",
        "terseLabel": "Cash Flow Hedge"
       }
      }
     },
     "localname": "CashFlowHedgesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromContinuingAndDiscontinuedOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from continuing and discontinued operations [abstract]",
        "terseLabel": "Cash flow"
       }
      }
     },
     "localname": "CashFlowsFromContinuingAndDiscontinuedOperationsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r175"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The aggregate cash flows arising from losing control of subsidiaries or other businesses, classified as investing activities. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from losing control of subsidiaries or other businesses, classified as investing activities",
        "terseLabel": "Proceeds from the sale of subsidiary"
       }
      }
     },
     "localname": "CashFlowsFromLosingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivities": {
     "auth_ref": [
      "r170",
      "r181"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) financing activities, which are activities that result in changes in the size and composition of the contributed equity and borrowings of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities",
        "totalLabel": "Net cash consumed by financing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities [abstract]",
        "terseLabel": "Cash flows from financing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 2.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's financing activities, related to continuing operations. [Refer: Continuing operations [member]; Cash flows from (used in) financing activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities, continuing operations",
        "terseLabel": "Net cash provided by (used in) financing activities",
        "totalLabel": "Net cash provided (consumed) by financing activities from continuing operations"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 2.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's financing activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) financing activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) financing activities, discontinued operations",
        "terseLabel": "Net cash consumed by financing activities from discontinued operations",
        "verboseLabel": "Net cash provided by (used in) financing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInFinancingActivitiesDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivities": {
     "auth_ref": [
      "r170",
      "r181"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) investing activities, which are the acquisition and disposal of long-term assets and other investments not included in cash equivalents."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities",
        "totalLabel": "Net cash provided (consumed) by investing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities [abstract]",
        "terseLabel": "Cash flows from investing activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 1.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's investing activities, related to continuing operations. [Refer: Continuing operations [member]; Cash flows from (used in) investing activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities, continuing operations",
        "terseLabel": "Net cash used in investing activities",
        "totalLabel": "Net cash provided (consumed) by investing activities from continuing operations"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 1.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's investing activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) investing activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) investing activities, discontinued operations",
        "positiveLabel": "Net cash (used in) provided by investing activities",
        "terseLabel": "Net cash consumed by investing activities from discontinued operations",
        "verboseLabel": "Sale value of joint venture after adjustments resulting from changes in working capital and net debt position"
       }
      }
     },
     "localname": "CashFlowsFromUsedInInvestingActivitiesDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivities": {
     "auth_ref": [
      "r170",
      "r181"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) operating activities, which are the principal revenue-producing activities of the entity and other activities that are not investing or financing activities. [Refer: Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities",
        "totalLabel": "Net cash provided by operating activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities [abstract]",
        "terseLabel": "Cash flows from operating activities from continuing operations"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 0.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's operating activities, related to continuing operations. [Refer: Continuing operations [member]; Cash flows from (used in) operating activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities, continuing operations",
        "terseLabel": "Net cash provided by (used in) operating activities",
        "totalLabel": "Net cash provided by operating activities from continuing operations"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations": {
     "auth_ref": [
      "r277"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 0.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash flows from (used in) the entity's operating activities, related to discontinued operations. [Refer: Discontinued operations [member]; Cash flows from (used in) operating activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operating activities, discontinued operations",
        "terseLabel": "Net cash provided by operating activities from discontinued operations",
        "verboseLabel": "Net cash provided by (used in) operating activities"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperatingActivitiesDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital": {
     "auth_ref": [
      "r396",
      "r499"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow (outflow) from the entity's operations before changes in working capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows from (used in) operations before changes in working capital",
        "totalLabel": "Cash flows from operations before changes in working capital"
       }
      }
     },
     "localname": "CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r175"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 6.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The aggregate cash flows used in obtaining control of subsidiaries or other businesses, classified as investing activities. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash flows used in obtaining control of subsidiaries or other businesses, classified as investing activities",
        "negatedLabel": "Net cash consumed by subsidiaries acquisition",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashOutflowForLeases": {
     "auth_ref": [
      "r244"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for leases."
       }
      },
      "en-us": {
       "role": {
        "label": "Cash outflow for leases",
        "terseLabel": "Payments"
       }
      }
     },
     "localname": "CashOutflowForLeases",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToRelatedParties": {
     "auth_ref": [
      "r495"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 10.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from repayment to the entity of loans and advances made to related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash receipts from repayment of advances and loans made to related parties",
        "terseLabel": "Receipt from related parties",
        "verboseLabel": "Receipt of the intercompany loan owed by subsidiary"
       }
      }
     },
     "localname": "CashReceiptsFromRepaymentOfAdvancesAndLoansMadeToRelatedParties",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashRepaymentsOfAdvancesAndLoansFromRelatedParties": {
     "auth_ref": [
      "r496"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 9.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for repayments of advances and loans from related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash repayments of advances and loans from related parties",
        "negatedLabel": "Payment to related parties"
       }
      }
     },
     "localname": "CashRepaymentsOfAdvancesAndLoansFromRelatedParties",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CashTransferred": {
     "auth_ref": [
      "r262"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 0.0,
       "parentTag": "ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value, at acquisition date, of cash transferred as consideration in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Cash transferred",
        "terseLabel": "Cash"
       }
      }
     },
     "localname": "CashTransferred",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CategoriesOfFinancialAssetsAxis": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories of financial assets [axis]"
       }
      }
     },
     "localname": "CategoriesOfFinancialAssetsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CategoriesOfFinancialLiabilitiesAxis": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories of financial liabilities [axis]"
       }
      }
     },
     "localname": "CategoriesOfFinancialLiabilitiesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CategoriesOfRelatedPartiesAxis": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Categories of related parties [axis]",
        "terseLabel": "Categories of related parties [axis]"
       }
      }
     },
     "localname": "CategoriesOfRelatedPartiesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfAssetsAxis": {
     "auth_ref": [
      "r142",
      "r146",
      "r227",
      "r247"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of assets [axis]"
       }
      }
     },
     "localname": "ClassesOfAssetsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfAssetsMember": {
     "auth_ref": [
      "r142",
      "r227",
      "r247"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a present economic resource controlled by the entity as a result of past events. Economic resource is a right that has the potential to produce economic benefits. It also represents the standard value for the 'Classes of assets' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Assets [member]"
       }
      }
     },
     "localname": "ClassesOfAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ClassesOfFinancialAssetsAxis": {
     "auth_ref": [
      "r302",
      "r303",
      "r332",
      "r343",
      "r344",
      "r345"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of financial assets [axis]"
       }
      }
     },
     "localname": "ClassesOfFinancialAssetsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfFinancialInstrumentsAxis": {
     "auth_ref": [
      "r294",
      "r296",
      "r298",
      "r299"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of financial instruments [axis]",
        "terseLabel": "Classes of financial instruments [axis]"
       }
      }
     },
     "localname": "ClassesOfFinancialInstrumentsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfFinancialInstrumentsMember": {
     "auth_ref": [
      "r294",
      "r296",
      "r298",
      "r299"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes of financial instruments. Financial instruments are contracts that give rise to a financial asset of one entity and a financial liability or equity instrument of another entity. It also represents the standard value for the 'Classes of financial instruments' axis if no other member is used. [Refer: Financial assets; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial instruments, class [member]",
        "terseLabel": "Financial instruments, class [member]"
       }
      }
     },
     "localname": "ClassesOfFinancialInstrumentsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ClassesOfIntangibleAssetsAndGoodwillAxis": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of intangible assets and goodwill [axis]",
        "terseLabel": "Classes of intangible assets and goodwill [axis]"
       }
      }
     },
     "localname": "ClassesOfIntangibleAssetsAndGoodwillAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfInventoriesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classes of current inventories [abstract]"
       }
      }
     },
     "localname": "ClassesOfInventoriesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfLiabilitiesAxis": {
     "auth_ref": [
      "r227"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of liabilities [axis]",
        "terseLabel": "Classes of liabilities [axis]"
       }
      }
     },
     "localname": "ClassesOfLiabilitiesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfPropertyPlantAndEquipmentAxis": {
     "auth_ref": [
      "r87"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of property, plant and equipment [axis]",
        "terseLabel": "Classes of property, plant and equipment [axis]"
       }
      }
     },
     "localname": "ClassesOfPropertyPlantAndEquipmentAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfProvisionsAxis": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of other provisions [axis]",
        "terseLabel": "Classes of other provisions [axis]"
       }
      }
     },
     "localname": "ClassesOfProvisionsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfShareCapitalAxis": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Classes of share capital [axis]"
       }
      }
     },
     "localname": "ClassesOfShareCapitalAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ClassesOfShareCapitalMember": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for share capital of the entity. It also represents the standard value for the 'Classes of share capital' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Share capital [member]"
       }
      }
     },
     "localname": "ClassesOfShareCapitalMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ClosingForeignExchangeRate": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The spot exchange rate at the end of the reporting period. Exchange rate is the ratio of exchange for two currencies. Spot exchange rate is the exchange rate for immediate delivery."
       }
      },
      "en-us": {
       "role": {
        "label": "Closing foreign exchange rate",
        "terseLabel": "Closing foreign exchange rate (R$ / Per_USD)"
       }
      }
     },
     "localname": "ClosingForeignExchangeRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_CommodityPriceRiskMember": {
     "auth_ref": [
      "r414",
      "r429"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of other price risk that represents the type of risk that the fair value or future cash flows of a financial instrument will fluctuate because of changes in commodity prices. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Commodity price risk [member]"
       }
      }
     },
     "localname": "CommodityPriceRiskMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ComponentsOfEquityAxis": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Components of equity [axis]"
       }
      }
     },
     "localname": "ComponentsOfEquityAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of other comprehensive income that will be reclassified to profit or loss, net of tax [abstract]",
        "terseLabel": "Items that will be subsequently reclassified to profit or loss:"
       }
      }
     },
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Components of other comprehensive income that will not be reclassified to profit or loss, net of tax [abstract]",
        "terseLabel": "Items that will not be subsequently reclassified to profit or loss:"
       }
      }
     },
     "localname": "ComponentsOfOtherComprehensiveIncomeThatWillNotBeReclassifiedToProfitOrLossNetOfTaxAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ComprehensiveIncome": {
     "auth_ref": [
      "r2",
      "r46",
      "r188",
      "r190",
      "r209",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncomeCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of change in equity resulting from transactions and other events, other than those changes resulting from transactions with owners in their capacity as owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Comprehensive income",
        "terseLabel": "Total comprehensive income for the year",
        "totalLabel": "Total comprehensive income for the year"
       }
      }
     },
     "localname": "ComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ComprehensiveIncomeAttributableToNoncontrollingInterests": {
     "auth_ref": [
      "r2",
      "r49"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncomeCalc2": {
       "order": 1.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of comprehensive income attributable to non-controlling interests. [Refer: Comprehensive income; Non-controlling interests]"
       }
      },
      "en-us": {
       "role": {
        "label": "Comprehensive income, attributable to non-controlling interests",
        "terseLabel": "Total comprehensive income for the year attributable to non-controlling interest in subsidiaries"
       }
      }
     },
     "localname": "ComprehensiveIncomeAttributableToNoncontrollingInterests",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ComprehensiveIncomeAttributableToOwnersOfParent": {
     "auth_ref": [
      "r2",
      "r50"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncomeCalc2": {
       "order": 0.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of comprehensive income attributable to owners of the parent. [Refer: Comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Comprehensive income, attributable to owners of parent",
        "terseLabel": "Total comprehensive income for the year attributable to shareholders of the Ultrapar"
       }
      }
     },
     "localname": "ComprehensiveIncomeAttributableToOwnersOfParent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ComputerSoftwareMember": {
     "auth_ref": [
      "r386"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of intangible assets representing computer software. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Computer software [member]",
        "terseLabel": "Software [member]"
       }
      }
     },
     "localname": "ComputerSoftwareMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ConcentrationsOfRiskAxis": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Concentrations of risk [axis]"
       }
      }
     },
     "localname": "ConcentrationsOfRiskAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ConcentrationsOfRiskMember": {
     "auth_ref": [
      "r340"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the concentrations of risk. It also represents the standard value for the 'Concentrations of risk' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Concentrations of risk [member]"
       }
      }
     },
     "localname": "ConcentrationsOfRiskMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ConsiderationPaidReceived": {
     "auth_ref": [
      "r176"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of consideration paid or received in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Consideration paid (received)",
        "terseLabel": "Total consideration paid",
        "verboseLabel": "Total minimum acquisition value"
       }
      }
     },
     "localname": "ConsiderationPaidReceived",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ConstructionInProgressMember": {
     "auth_ref": [
      "r476"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for expenditure capitalised during the construction of items of property, plant and equipment that are not yet available for use (ie not yet in the location and condition necessary for it to be capable of operating in the manner intended by the management). [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Construction in progress [member]",
        "terseLabel": "Construction in progress [member]"
       }
      }
     },
     "localname": "ConstructionInProgressMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ContingentConsiderationMember": {
     "auth_ref": [
      "r501"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an obligation of the acquirer to transfer additional assets or equity interests to the former owners of an acquiree as part of the exchange for control of the acquiree if specified future events occur or conditions are met."
       }
      },
      "en-us": {
       "role": {
        "label": "Contingent consideration [member]"
       }
      }
     },
     "localname": "ContingentConsiderationMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ContingentConsiderationRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r264"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 1.0,
       "parentTag": "ifrs-full_AcquisitiondateFairValueOfTotalConsiderationTransferred",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount, at acquisition date, of contingent consideration arrangements recognised as consideration transferred in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Contingent consideration recognised as of acquisition date",
        "terseLabel": "Contingent consideration to be settled",
        "verboseLabel": "Contingent consideration"
       }
      }
     },
     "localname": "ContingentConsiderationRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContinuingAndDiscontinuedOperationsAxis": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Continuing and discontinued operations [axis]"
       }
      }
     },
     "localname": "ContinuingAndDiscontinuedOperationsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ContinuingOperationsMember": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for components of the entity that are not discontinued operations. A component of an entity comprises operations and cash flows that can be clearly distinguished, operationally and for financial reporting purposes, from the rest of the entity. This member also represents the standard value for the 'Continuing and discontinued operations' axis if no other member is used. [Refer: Discontinued operations [member]; Aggregate continuing and discontinued operations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Continuing operations [member]"
       }
      }
     },
     "localname": "ContinuingOperationsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ContractAssets": {
     "auth_ref": [
      "r232",
      "r236"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of an entity\u2019s right to consideration in exchange for goods or services that the entity has transferred to a customer, when that right is conditioned on something other than the passage of time (for example, the entity\u2019s future performance)."
       }
      },
      "en-us": {
       "role": {
        "label": "Contract assets",
        "periodEndLabel": "Final balance",
        "periodStartLabel": "Initial balance"
       }
      }
     },
     "localname": "ContractAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContractAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Contract assets [abstract]"
       }
      }
     },
     "localname": "ContractAssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ContractualCapitalCommitments": {
     "auth_ref": [
      "r467"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of capital commitments for which the entity has entered into a contract. [Refer: Capital commitments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Contractual capital commitments",
        "terseLabel": "Obligations regarding minimum purchase limits"
       }
      }
     },
     "localname": "ContractualCapitalCommitments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in net defined benefit liability (asset) resulting from contributions to a defined benefit plan by the employer. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Contributions to plan by employer, net defined benefit liability (asset)",
        "terseLabel": "Contribution to Ultraprev"
       }
      }
     },
     "localname": "ContributionsToPlanByEmployerNetDefinedBenefitLiabilityAsset",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ContributionsToPlanByPlanParticipantsNetDefinedBenefitLiabilityAsset": {
     "auth_ref": [
      "r93"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease (increase) in the net defined benefit liability (asset) resulting from contributions to a defined benefit plan by plan participants. [Refer: Net defined benefit liability (asset); Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Decrease (increase) in net defined benefit liability (asset) resulting from contributions to plan by plan participants",
        "terseLabel": "Sponsors\u2019 normal contributions"
       }
      }
     },
     "localname": "ContributionsToPlanByPlanParticipantsNetDefinedBenefitLiabilityAsset",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CostOfSales": {
     "auth_ref": [
      "r0",
      "r65"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_GrossProfit",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2": {
       "order": 0.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of all expenses directly or indirectly attributed to the goods or services sold. Attributed expenses include, but are not limited to, costs previously included in the measurement of inventory that has now been sold, such as depreciation and maintenance of factory buildings and equipment used in the production process, unallocated production overheads, and abnormal amounts of production costs of inventories."
       }
      },
      "en-us": {
       "role": {
        "label": "Cost of sales",
        "negatedLabel": "Cost of products and services sold",
        "negatedTerseLabel": "Cost of products and services sold",
        "terseLabel": "Cost of products and services sold"
       }
      }
     },
     "localname": "CostOfSales",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentAssets": {
     "auth_ref": [
      "r31",
      "r205",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that the entity (a) expects to realise or intends to sell or consume in its normal operating cycle; (b) holds primarily for the purpose of trading; (c) expects to realise within twelve months after the reporting period; or (d) classifies as cash or cash equivalents (as defined in IAS 7) unless the asset is restricted from being exchanged or used to settle a liability for at least twelve months after the reporting period. [Refer: Assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current assets",
        "terseLabel": "Current assets",
        "totalLabel": "Total current assets"
       }
      }
     },
     "localname": "CurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current assets [abstract]",
        "terseLabel": "Current assets"
       }
      }
     },
     "localname": "CurrentAssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentAssetsOtherThanAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners": {
     "auth_ref": [
      "r31"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current assets other than non-current assets or disposal groups classified as held for sale or as held for distribution to owners. [Refer: Current assets; Disposal groups classified as held for sale [member]; Non-current assets or disposal groups classified as held for sale; Non-current assets or disposal groups classified as held for distribution to owners]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current assets other than non-current assets or disposal groups classified as held for sale or as held for distribution to owners",
        "terseLabel": "Other assets",
        "totalLabel": "Total current assets other than non-current assets or disposal groups classified as held for sale",
        "verboseLabel": "Total current assets"
       }
      }
     },
     "localname": "CurrentAssetsOtherThanAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentBorrowingsAndCurrentPortionOfNoncurrentBorrowings": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current borrowings and current portion of non-current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current borrowings and current portion of non-current borrowings",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "CurrentBorrowingsAndCurrentPortionOfNoncurrentBorrowings",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentContractAssets": {
     "auth_ref": [
      "r232"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 11.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current contract assets. [Refer: Contract assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current contract assets",
        "terseLabel": "Current",
        "verboseLabel": "Contractual assets with customers - exclusivity rights"
       }
      }
     },
     "localname": "CurrentContractAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentDeferredIncomeIncludingCurrentContractLiabilities": {
     "auth_ref": [
      "r469",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current deferred income including current contract liabilities. [Refer: Deferred income including contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current deferred income including current contract liabilities",
        "terseLabel": "Deferred revenue",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "CurrentDeferredIncomeIncludingCurrentContractLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentDividendPayables": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 6.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current dividend payables. [Refer: Dividend payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current dividend payables",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Dividends payable"
       }
      }
     },
     "localname": "CurrentDividendPayables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentInvestments": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current investments."
       }
      },
      "en-us": {
       "role": {
        "label": "Current investments",
        "terseLabel": "Financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "CurrentInvestments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLeaseLiabilities": {
     "auth_ref": [
      "r241"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 11.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current lease liabilities",
        "terseLabel": "Leases payable",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "CurrentLeaseLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLiabilities": {
     "auth_ref": [
      "r32",
      "r207",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The amount of liabilities that: (a) the entity expects to settle in its normal operating cycle; (b) the entity holds primarily for the purpose of trading; (c) are due to be settled within twelve months after the reporting period; or (d) the entity does not have an unconditional right to defer settlement for at least twelve months after the reporting period.\nEffective 2023-01-01: The amount of liabilities that: (a) the entity expects to settle in its normal operating cycle; (b) the entity holds primarily for the purpose of trading; (c) are due to be settled within twelve months after the reporting period; or (d) the entity does not have the right at the end of the reporting period to defer settlement for at least twelve months after the reporting period."
       }
      },
      "en-us": {
       "role": {
        "label": "Current liabilities",
        "terseLabel": "Current liabilities",
        "totalLabel": "Total current liabilities"
       }
      }
     },
     "localname": "CurrentLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Current liabilities [abstract]",
        "terseLabel": "Current liabilities"
       }
      }
     },
     "localname": "CurrentLiabilitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_CurrentMember": {
     "auth_ref": [
      "r413",
      "r427",
      "r512"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a current time band."
       }
      },
      "en-us": {
       "role": {
        "label": "Current [member]",
        "terseLabel": "Current [member]",
        "verboseLabel": "Current [member]"
       }
      }
     },
     "localname": "CurrentMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_CurrentNotesAndDebenturesIssuedAndCurrentPortionOfNoncurrentNotesAndDebenturesIssued": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current notes and debentures issued and the current portion of non-current notes and debentures issued. [Refer: Notes and debentures issued]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current notes and debentures issued and current portion of non-current notes and debentures issued",
        "terseLabel": "Debentures"
       }
      }
     },
     "localname": "CurrentNotesAndDebenturesIssuedAndCurrentPortionOfNoncurrentNotesAndDebenturesIssued",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax": {
     "auth_ref": [
      "r472"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 5.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current payables on social security and taxes other than incomes tax. [Refer: Payables on social security and taxes other than income tax]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current payables on social security and taxes other than income tax",
        "terseLabel": "Taxes payable",
        "verboseLabel": "Taxes payables"
       }
      }
     },
     "localname": "CurrentPayablesOnSocialSecurityAndTaxesOtherThanIncomeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentPrepaidExpenses": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 10.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryofPrepaidExpensesDetailCalc2": {
       "order": 0.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised."
       }
      },
      "en-us": {
       "role": {
        "label": "Current prepaid expenses",
        "terseLabel": "Current",
        "verboseLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "CurrentPrepaidExpenses",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentProvisionsForEmployeeBenefits": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 8.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ProvisionsForEmployeeBenefits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current provisions for employee benefits. [Refer: Provisions for employee benefits]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current provisions for employee benefits",
        "terseLabel": "Current",
        "verboseLabel": "Post-employment benefits"
       }
      }
     },
     "localname": "CurrentProvisionsForEmployeeBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentReceivablesFromTaxesOtherThanIncomeTax": {
     "auth_ref": [
      "r470"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 6.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ReceivablesFromTaxesOtherThanIncomeTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current receivables from taxes other than income tax. [Refer: Receivables from taxes other than income tax]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current receivables from taxes other than income tax",
        "terseLabel": "Recoverable taxes",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "CurrentReceivablesFromTaxesOtherThanIncomeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxAssets": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The excess of amount paid for current tax in respect of current and prior periods over the amount due for those periods. Current tax is the amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period."
       }
      },
      "en-us": {
       "role": {
        "label": "Current tax assets",
        "terseLabel": "Recoverable income and social contribution taxes",
        "totalLabel": "Recoverable and social contribution taxes"
       }
      }
     },
     "localname": "CurrentTaxAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxAssetsCurrent": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 7.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_CurrentTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The current amount of current tax assets. [Refer: Current tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current tax assets, current",
        "terseLabel": "Current",
        "verboseLabel": "Recoverable income and social contribution taxes"
       }
      }
     },
     "localname": "CurrentTaxAssetsCurrent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxAssetsNoncurrent": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 7.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_CurrentTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The non-current amount of current tax assets. [Refer: Current tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current tax assets, non-current",
        "terseLabel": "Non-current",
        "verboseLabel": "Recoverable income and social contribution taxes"
       }
      }
     },
     "localname": "CurrentTaxAssetsNoncurrent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxExpenseIncome": {
     "auth_ref": [
      "r373"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income taxes payable (recoverable) in respect of the taxable profit (tax loss) for a period."
       }
      },
      "en-us": {
       "role": {
        "label": "Current tax expense (income)",
        "negatedLabel": "Current"
       }
      }
     },
     "localname": "CurrentTaxExpenseIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTaxLiabilitiesCurrent": {
     "auth_ref": [
      "r21"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 7.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The current amount of current tax liabilities. [Refer: Current tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current tax liabilities, current",
        "terseLabel": "Income and social contribution taxes payable"
       }
      }
     },
     "localname": "CurrentTaxLiabilitiesCurrent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_CurrentTradeReceivables": {
     "auth_ref": [
      "r367",
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_TradeReceivables",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current trade receivables. [Refer: Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current trade receivables",
        "terseLabel": "Current",
        "verboseLabel": "Trade receivables"
       }
      }
     },
     "localname": "CurrentTradeReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DateOfGrantOfSharebasedPaymentArrangement": {
     "auth_ref": [
      "r407",
      "r408"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The date on which share-based payment arrangements are granted. [Refer: Share-based payment arrangements [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Date of grant of share-based payment arrangement",
        "terseLabel": "Grant date"
       }
      }
     },
     "localname": "DateOfGrantOfSharebasedPaymentArrangement",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DecreaseThroughClassifiedAsHeldForSaleIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r487"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in intangible assets and goodwill resulting from classification as held for sale or inclusion in a disposal group classified as held for sale. [Refer: Disposal groups classified as held for sale [member]; Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Decrease through classified as held for sale, intangible assets and goodwill",
        "negatedLabel": "Intangible assets, reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment": {
     "auth_ref": [
      "r82"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in property, plant and equipment through classification as held for sale or inclusion in a disposal group classified as held for sale. [Refer: Disposal groups classified as held for sale [member]; Property, plant and equipment; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Decrease through classified as held for sale, property, plant and equipment",
        "negatedLabel": "Property, plant, and equipment, reclassified to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSalePropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DecreaseThroughImpairmentContractAssets": {
     "auth_ref": [
      "r402"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in contract assets resulting from impairment. [Refer: Contract assets; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Decrease through impairment, contract assets",
        "negatedLabel": "Amortization"
       }
      }
     },
     "localname": "DecreaseThroughImpairmentContractAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DecreaseThroughTransferToLiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSaleOtherProvisions": {
     "auth_ref": [
      "r484"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in other provisions resulting from the transfer of those provisions to liabilities included in disposal groups classified as held for sale. [Refer: Other provisions; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Decrease through transfer to liabilities included in disposal groups classified as held for sale, other provisions",
        "negatedLabel": "Reclassification to liabilities held for sale"
       }
      }
     },
     "localname": "DecreaseThroughTransferToLiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSaleOtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredIncomeIncludingContractLiabilities": {
     "auth_ref": [
      "r469",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities representing income that has been received (or the amount is due) but is not yet earned, including contract liabilities. [Refer: Contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred income including contract liabilities",
        "terseLabel": "Deferred income",
        "verboseLabel": "Deferred revenue"
       }
      }
     },
     "localname": "DeferredIncomeIncludingContractLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredIncomeIncludingContractLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred income including contract liabilities [abstract]"
       }
      }
     },
     "localname": "DeferredIncomeIncludingContractLiabilitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DeferredTaxAssets": {
     "auth_ref": [
      "r22",
      "r27",
      "r73"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 5.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts of income taxes recoverable in future periods in respect of: (a) deductible temporary differences; (b) the carryforward of unused tax losses; and (c) the carryforward of unused tax credits. [Refer: Temporary differences [member]; Unused tax credits [member]; Unused tax losses [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred tax assets",
        "terseLabel": "Deferred income and social contribution taxes",
        "totalLabel": "Net balances of deferred tax assets"
       }
      }
     },
     "localname": "DeferredTaxAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxExpenseIncome": {
     "auth_ref": [
      "r74"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tax expense (income) relating to changes in deferred tax liabilities and deferred tax assets. [Refer: Deferred tax assets; Deferred tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income)",
        "negatedLabel": "Deferred"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxExpenseIncomeRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r74"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tax expense or income relating to changes in deferred tax liabilities and deferred tax assets, recognised in profit or loss. [Refer: Deferred tax assets; Deferred tax expense (income); Deferred tax liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred tax expense (income) recognised in profit or loss",
        "negatedLabel": "Deferred IRPJ and CSLL recognized in income for the year"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncomeRecognisedInProfitOrLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxLiabilities": {
     "auth_ref": [
      "r22",
      "r27",
      "r73"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 3.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amounts of income taxes payable in future periods in respect of taxable temporary differences. [Refer: Temporary differences [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred tax liabilities",
        "terseLabel": "Deferred income and social contribution taxes",
        "totalLabel": "Net balance of deferred tax liabilities"
       }
      }
     },
     "localname": "DeferredTaxLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DeferredTaxLiabilityAsset": {
     "auth_ref": [
      "r73"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of deferred tax liabilities or assets. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Deferred tax liability (asset)",
        "negatedPeriodEndLabel": "Final balance",
        "negatedPeriodStartLabel": "Initial balance"
       }
      }
     },
     "localname": "DeferredTaxLiabilityAsset",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DefinedBenefitPlansAxis": {
     "auth_ref": [
      "r91"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Defined benefit plans [axis]",
        "terseLabel": "Defined benefit plans [axis]"
       }
      }
     },
     "localname": "DefinedBenefitPlansAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DefinedBenefitPlansMember": {
     "auth_ref": [
      "r91"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for post-employment benefit plans other than defined contribution plans. Defined contribution plans are post-employment benefit plans under which an entity pays fixed contributions into a separate entity (a fund) and will have no legal or constructive obligation to pay further contributions if the fund does not hold sufficient assets to pay all employee benefits relating to employee service in the current and prior periods. It also represents the standard value for the 'Defined benefit plans' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Defined benefit plans [member]",
        "terseLabel": "Defined benefit plans [member]"
       }
      }
     },
     "localname": "DefinedBenefitPlansMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of depreciation expense, amortisation expense and impairment loss (reversal of impairment loss) recognised in profit or loss. [Refer: Depreciation and amortisation expense; Impairment loss (reversal of impairment loss) recognised in profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Depreciation, amortisation and impairment loss (reversal of impairment loss) recognised in profit or loss",
        "terseLabel": "Depreciation and amortization for the year",
        "totalLabel": "Total of depreciation and amortization"
       }
      }
     },
     "localname": "DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DepreciationAndAmortisationExpense": {
     "auth_ref": [
      "r1",
      "r65",
      "r215",
      "r314",
      "r322",
      "r364"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of depreciation and amortisation expense. Depreciation and amortisation are the systematic allocations of depreciable amounts of assets over their useful lives."
       }
      },
      "en-us": {
       "role": {
        "label": "Depreciation and amortisation expense",
        "negatedLabel": "Depreciation and amortization",
        "positiveLabel": "Depreciation and amortization for the year",
        "terseLabel": "Depreciation of PP&amp;E and amortization of intangible assets charges",
        "verboseLabel": "Depreciation and amortization for the year"
       }
      }
     },
     "localname": "DepreciationAndAmortisationExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DepreciationPropertyPlantAndEquipment": {
     "auth_ref": [
      "r84",
      "r88"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of depreciation of property, plant and equipment. [Refer: Depreciation and amortisation expense; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Depreciation, property, plant and equipment",
        "negatedLabel": "Property, plant, and equipment, depreciation",
        "terseLabel": "Depreciation expense"
       }
      }
     },
     "localname": "DepreciationPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DerivativeFinancialLiabilitiesHeldForHedging": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_Borrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of derivative financial liabilities held for hedging. [Refer: Derivative financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Derivative financial liabilities held for hedging",
        "terseLabel": "Currency and interest rate hedging instruments"
       }
      }
     },
     "localname": "DerivativeFinancialLiabilitiesHeldForHedging",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForBusinessCombinationsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for business combinations. [Refer: Business combinations [member]]\nEffective 2023-01-01: The description of the entity's material accounting policy information for business combinations. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for business combinations [text block]",
        "terseLabel": "Business combinations"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForBusinessCombinationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForCashFlowsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for cash flows.\nEffective 2023-01-01: The description of the entity's material accounting policy information for cash flows."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for cash flows [text block]",
        "terseLabel": "Statements of cash flows"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForCashFlowsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForEmployeeBenefitsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for employee benefits. Employee benefits are all forms of consideration given by an entity in exchange for services rendered by employees or for the termination of employment.\nEffective 2023-01-01: The description of the entity's material accounting policy information for employee benefits. Employee benefits are all forms of consideration given by an entity in exchange for services rendered by employees or for the termination of employment."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for employee benefits [text block]",
        "terseLabel": "Post-employment benefits"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForEmployeeBenefitsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialAssetsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for financial assets. [Refer: Financial assets]\nEffective 2023-01-01: The description of the entity's material accounting policy information for financial assets. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for financial assets [text block]",
        "terseLabel": "Financial assets"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForFinancialAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForFinancialLiabilitiesExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for financial liabilities. [Refer: Financial liabilities]\nEffective 2023-01-01: The description of the entity's material accounting policy information for financial liabilities. [Refer: Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for financial liabilities [text block]",
        "terseLabel": "Financial liabilities"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForFinancialLiabilitiesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for foreign currency translation.\nEffective 2023-01-01: The description of the entity's material accounting policy information for foreign currency translation."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for foreign currency translation [text block]",
        "terseLabel": "Foreign currency transactions"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForForeignCurrencyTranslationExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for the impairment of assets.\nEffective 2023-01-01: The description of the entity's material accounting policy information for the impairment of assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for impairment of assets [text block]",
        "terseLabel": "Impairment of assets"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForImpairmentOfAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForIncomeTaxExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for income tax.\nEffective 2023-01-01: The description of the entity's material accounting policy information for income tax."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for income tax [text block]",
        "terseLabel": "Income and social contribution taxes on income"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForIncomeTaxExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForIntangibleAssetsAndGoodwillExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for intangible assets and goodwill. [Refer: Intangible assets and goodwill]\nEffective 2023-01-01: The description of the entity's material accounting policy information for intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for intangible assets and goodwill [text block]",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForIntangibleAssetsAndGoodwillExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for investment in associates and joint ventures. [Refer: Associates [member]; Joint ventures [member]]\nEffective 2023-01-01: The description of the entity's material accounting policy information for investment in associates and joint ventures. [Refer: Associates [member]; Joint ventures [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for investment in associates and joint ventures [text block]",
        "terseLabel": "Investments"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForInvestmentInAssociatesAndJointVenturesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForLeasesExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for leases. A lease is an agreement whereby the lessor conveys to the lessee in return for a payment or series of payments the right to use an asset for an agreed period of time.\nEffective 2023-01-01: The description of the entity's material accounting policy information for leases. A lease is an agreement whereby the lessor conveys to the lessee in return for a payment or series of payments the right to use an asset for an agreed period of time."
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for leases [text block]",
        "terseLabel": "Right-of-use assets and leases payable"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForLeasesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForMeasuringInventories": {
     "auth_ref": [
      "r99"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy for measuring inventories. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for measuring inventories [text block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForMeasuringInventories",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleAndDiscontinuedOperationsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for non-current assets or disposal groups classified as held for sale and discontinued operations. [Refer: Discontinued operations [member]; Non-current assets or disposal groups classified as held for sale]\nEffective 2023-01-01: The description of the entity's material accounting policy information for non-current assets or disposal groups classified as held for sale and discontinued operations. [Refer: Discontinued operations [member]; Non-current assets or disposal groups classified as held for sale]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for non-current assets or disposal groups classified as held for sale and discontinued operations [text block]",
        "terseLabel": "Assets and liabilities held for sale and discontinued operations"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleAndDiscontinuedOperationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for property, plant and equipment. [Refer: Property, plant and equipment]\nEffective 2023-01-01: The description of the entity's material accounting policy information for property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for property, plant and equipment [text block]",
        "terseLabel": "Property, plant, and equipment"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForPropertyPlantAndEquipmentExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForProvisionsExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for provisions. [Refer: Provisions]\nEffective 2023-01-01: The description of the entity's material accounting policy information for provisions. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for provisions [text block]",
        "terseLabel": "Provision for tax, civil, labor risks, contingent liabilities and contingent assets"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForProvisionsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForRecognitionOfRevenue": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for recognising revenue. [Refer: Revenue]\nEffective 2023-01-01: The description of the entity's material accounting policy information for recognising revenue. [Refer: Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for recognition of revenue [text block]",
        "terseLabel": "Revenue recognition"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForRecognitionOfRevenue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyForTradeAndOtherReceivablesExplanatory": {
     "auth_ref": [
      "r508",
      "r509"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Expiry date 2023-01-01: The description of the entity's accounting policy for trade and other receivables. [Refer: Trade and other receivables]\nEffective 2023-01-01: The description of the entity's material accounting policy information for trade and other receivables. [Refer: Trade and other receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade receivables and reseller financing",
        "terseLabel": "Trade receivables and reseller financing"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForTradeAndOtherReceivablesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfAccountingPolicyToDetermineComponentsOfCashAndCashEquivalents": {
     "auth_ref": [
      "r180"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the entity's accounting policy used to determine the components of cash and cash equivalents. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of accounting policy for determining components of cash and cash equivalents [text block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyToDetermineComponentsOfCashAndCashEquivalents",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfInitialApplicationOfStandardsOrInterpretations": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the initial application of an IFRS. [Refer: IFRSs [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of initial application of standards or interpretations [text block]",
        "terseLabel": "Summary of the effects on the initial adoption of the IFRS 16"
       }
      }
     },
     "localname": "DescriptionOfInitialApplicationOfStandardsOrInterpretations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DescriptionOfVestingRequirementsForSharebasedPaymentArrangement": {
     "auth_ref": [
      "r256"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the vesting requirements for a type of share-based payment arrangement that existed at any time during the period. An entity with substantially similar types of share-based payment arrangements may aggregate this information. [Refer: Share-based payment arrangements [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Description of vesting requirements for share-based payment arrangement",
        "terseLabel": "Vesting period"
       }
      }
     },
     "localname": "DescriptionOfVestingRequirementsForSharebasedPaymentArrangement",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DilutedEarningsLossPerShare": {
     "auth_ref": [
      "r134",
      "r135"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of profit (loss) attributable to ordinary equity holders of the parent entity (the numerator), divided by the weighted average number of ordinary shares outstanding during the period (the denominator), both adjusted for the effects of all dilutive potential ordinary shares. [Refer: Ordinary shares [member]; Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Diluted earnings (loss) per share",
        "terseLabel": "Diluted",
        "verboseLabel": "Diluted earnings per share -R$"
       }
      }
     },
     "localname": "DilutedEarningsLossPerShare",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_DilutedEarningsLossPerShareFromContinuingOperations": {
     "auth_ref": [
      "r134",
      "r135"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Diluted earnings (loss) per share from continuing operations. [Refer: Continuing operations [member]; Diluted earnings (loss) per share]"
       }
      },
      "en-us": {
       "role": {
        "label": "Diluted earnings (loss) per share from continuing operations",
        "terseLabel": "Diluted",
        "verboseLabel": "Diluted earnings per share \u2013 R$, Continuing operations"
       }
      }
     },
     "localname": "DilutedEarningsLossPerShareFromContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_DilutedEarningsLossPerShareFromDiscontinuedOperations": {
     "auth_ref": [
      "r135",
      "r136"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Diluted earnings (loss) per share from discontinued operations. [Refer: Diluted earnings (loss) per share; Discontinued operations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Diluted earnings (loss) per share from discontinued operations",
        "terseLabel": "Diluted",
        "verboseLabel": "Diluted earnings per share \u2013 R$, Discontinued operations"
       }
      }
     },
     "localname": "DilutedEarningsLossPerShareFromDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_DilutedEarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Diluted earnings per share [abstract]",
        "terseLabel": "Diluted earnings per share"
       }
      }
     },
     "localname": "DilutedEarningsPerShareAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DilutiveEffectOfConvertibleInstrumentsOnNumberOfOrdinaryShares": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of dilutive potential ordinary shares that relate to the assumed conversion of the entity's convertible instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Dilutive effect of convertible instruments on number of ordinary shares",
        "terseLabel": "Subscription warrants"
       }
      }
     },
     "localname": "DilutiveEffectOfConvertibleInstrumentsOnNumberOfOrdinaryShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_DilutiveEffectOfShareOptionsOnNumberOfOrdinaryShares": {
     "auth_ref": [
      "r483"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of dilutive potential ordinary shares that relate to the assumed exercise of the entity's share options."
       }
      },
      "en-us": {
       "role": {
        "label": "Dilutive effect of share options on number of ordinary shares",
        "terseLabel": "Stock plan"
       }
      }
     },
     "localname": "DilutiveEffectOfShareOptionsOnNumberOfOrdinaryShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_DisclosureOfAdditionalInformationAboutLeasingActivitiesForLesseeExplanatory": {
     "auth_ref": [
      "r249"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of additional information about leasing activities of a lessee."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of additional information about leasing activities for lessee [text block]",
        "terseLabel": "Summary of Changes in Lease Payables"
       }
      }
     },
     "localname": "DisclosureOfAdditionalInformationAboutLeasingActivitiesForLesseeExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAnalysisOfOtherComprehensiveIncomeByItemExplanatory": {
     "auth_ref": [
      "r9"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure of the analysis of other comprehensive income by item."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of analysis of other comprehensive income by item [text block]",
        "terseLabel": "Balance and changes in other reserves"
       }
      }
     },
     "localname": "DisclosureOfAnalysisOfOtherComprehensiveIncomeByItemExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsExplanatory": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the analysis of the single amount of discontinued operations. [Refer: Discontinued operations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of analysis of single amount of discontinued operations [text block]",
        "terseLabel": "Schedule of profit (loss) for the year and cash flows from discontinued operations"
       }
      }
     },
     "localname": "DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/AssetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of Analysis of Single Amount of Discontinued Operations [Line Items]",
        "terseLabel": "Discontinued operations"
       }
      }
     },
     "localname": "DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsTable": {
     "auth_ref": [
      "r276"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the analysis of the single amount of discontinued operations."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of analysis of single amount of discontinued operations [table]"
       }
      }
     },
     "localname": "DisclosureOfAnalysisOfSingleAmountOfDiscontinuedOperationsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfBorrowingsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of borrowings [text block]",
        "terseLabel": "Loans, financing, debentures and derivative financial instruments"
       }
      }
     },
     "localname": "DisclosureOfBorrowingsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Loansfinancingdebenturesandderivativefinancialinstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfBusinessCombinationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Business combinations"
       }
      }
     },
     "localname": "DisclosureOfBusinessCombinationsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfBusinessCombinationsExplanatory": {
     "auth_ref": [
      "r271"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for business combinations."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of business combinations [text block]",
        "terseLabel": "Business combinations"
       }
      }
     },
     "localname": "DisclosureOfBusinessCombinationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Businesscombinations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfBusinessCombinationsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about business combination [line items]",
        "terseLabel": "Business combinations"
       }
      }
     },
     "localname": "DisclosureOfBusinessCombinationsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfBusinessCombinationsTable": {
     "auth_ref": [
      "r266"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of business combinations."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about business combination [table]"
       }
      }
     },
     "localname": "DisclosureOfBusinessCombinationsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfCashAndCashEquivalentsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of cash and cash equivalents. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of cash and cash equivalents [text block]",
        "terseLabel": "Cash and cash equivalents"
       }
      }
     },
     "localname": "DisclosureOfCashAndCashEquivalentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [line items]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "DisclosureOfClassesOfShareCapitalLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfClassesOfShareCapitalTable": {
     "auth_ref": [
      "r42"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to classes of share capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of classes of share capital [table]"
       }
      }
     },
     "localname": "DisclosureOfClassesOfShareCapitalTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfCollateralExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of assets and liabilities used as collateral."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of collateral [text block]",
        "verboseLabel": "Summary Of Collateral To Financial Institutions"
       }
      }
     },
     "localname": "DisclosureOfCollateralExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfCommitmentsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of commitments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of commitments [text block]",
        "terseLabel": "Commitments"
       }
      }
     },
     "localname": "DisclosureOfCommitmentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Commitments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [abstract]"
       }
      }
     },
     "localname": "DisclosureOfContingentLiabilitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [line items]"
       }
      }
     },
     "localname": "DisclosureOfContingentLiabilitiesLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfContingentLiabilitiesTable": {
     "auth_ref": [
      "r154"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to contingent liabilities."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of contingent liabilities [table]"
       }
      }
     },
     "localname": "DisclosureOfContingentLiabilitiesTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfCreditRiskExposureExplanatory": {
     "auth_ref": [
      "r298"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the credit risk exposure. Credit risk exposure is the credit risk inherent in an entity\u2019s financial assets and commitments to extend credit."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of credit risk exposure [text block]",
        "terseLabel": "Credit risk exposure"
       }
      }
     },
     "localname": "DisclosureOfCreditRiskExposureExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDeferredTaxesExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of deferred taxes. [Refer: Deferred tax liabilities; Deferred tax assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of deferred taxes [text block]",
        "terseLabel": "Deferred taxes"
       }
      }
     },
     "localname": "DisclosureOfDeferredTaxesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansExplanatory": {
     "auth_ref": [
      "r91"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of defined benefit plans. [Refer: Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [text block]",
        "terseLabel": "Post-employment benefits"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [line items]"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDefinedBenefitPlansTable": {
     "auth_ref": [
      "r91"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to defined benefit plans."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of defined benefit plans [table]"
       }
      }
     },
     "localname": "DisclosureOfDefinedBenefitPlansTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDepreciationAndAmortisationExpenseExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of depreciation and amortisation expense. [Refer: Depreciation and amortisation expense]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of depreciation and amortisation expense [text block]",
        "terseLabel": "Summary of depreciation expenses in the financial statements"
       }
      }
     },
     "localname": "DisclosureOfDepreciationAndAmortisationExpenseExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDerivativeFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of derivative financial instruments. [Refer: Derivatives [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of derivative financial instruments [text block]",
        "terseLabel": "Positions of derivative financial instruments to hedge commodity price risk"
       }
      }
     },
     "localname": "DisclosureOfDerivativeFinancialInstrumentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [abstract]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsExplanatory": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [text block]",
        "terseLabel": "Summary of Compostion of loans"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [line items]",
        "terseLabel": "Summary of loans debentures and finance leases [line items]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBorrowingsTable": {
     "auth_ref": [
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of borrowings."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about borrowings [table]"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBorrowingsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutBusinessCombinationsExplanatory": {
     "auth_ref": [
      "r272"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about business combinations. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about business combination [text block]",
        "terseLabel": "Schedule of the provisional balances of assets acquired and liabilities assumed on the acquisition date"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutBusinessCombinationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r290",
      "r296",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about financial instruments. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [text block]",
        "terseLabel": "Summary of Movements in the allowance for loss allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutFinancialInstrumentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutHedgesExplanatory": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about hedges."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedges [text block]",
        "terseLabel": "Summary of foreign exchange hedging instruments designated as fair value hedge"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutHedgesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory": {
     "auth_ref": [
      "r286"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about hedging instruments. [Refer: Hedging instruments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedging instruments [text block]",
        "terseLabel": "Position of hedging instruments"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutHedgingInstrumentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory": {
     "auth_ref": [
      "r162"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about intangible assets. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about intangible assets [text block]",
        "terseLabel": "Balances and changes in intangible assets"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutIntangibleAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r87"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of detailed information about property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [text block]",
        "terseLabel": "Balances and changes in property, plant, and equipment"
       }
      }
     },
     "localname": "DisclosureOfDetailedInformationAboutPropertyPlantAndEquipmentExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory": {
     "auth_ref": [
      "r234"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the disaggregation of revenue from contracts with customers. [Refer: Revenue from contracts with customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of disaggregation of revenue from contracts with customers [text block]",
        "terseLabel": "Contractual Assets with Customers - Exclusive Rights"
       }
      }
     },
     "localname": "DisclosureOfDisaggregationOfRevenueFromContractsWithCustomersExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRights"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEarningsPerShareExplanatory": {
     "auth_ref": [
      "r139"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for earnings per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of earnings per share [text block]",
        "terseLabel": "Earnings per share"
       }
      }
     },
     "localname": "DisclosureOfEarningsPerShareExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Earningspershare"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory": {
     "auth_ref": [
      "r104"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for the effect of changes in foreign exchange rates."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of effect of changes in foreign exchange rates [text block]",
        "terseLabel": "Changes in exchange rate"
       }
      }
     },
     "localname": "DisclosureOfEffectOfChangesInForeignExchangeRatesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEmployeeBenefitsExplanatory": {
     "auth_ref": [
      "r98"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for employee benefits."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of employee benefits [text block]",
        "terseLabel": "Employee Benefits and Private Pension Plan"
       }
      }
     },
     "localname": "DisclosureOfEmployeeBenefitsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlan"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEntitysReportableSegmentsExplanatory": {
     "auth_ref": [
      "r329"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for operating segments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of entity's operating segments [text block]",
        "terseLabel": "Segment information"
       }
      }
     },
     "localname": "DisclosureOfEntitysReportableSegmentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Segmentinformation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfEventsAfterReportingPeriodExplanatory": {
     "auth_ref": [
      "r68"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for events after the reporting period."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of events after reporting period [text block]",
        "terseLabel": "Events after the reporting period"
       }
      }
     },
     "localname": "DisclosureOfEventsAfterReportingPeriodExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Eventsafterthereportingperiod"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfExpensesByNatureExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of expenses by nature. [Refer: Expenses, by nature]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of expenses by nature [text block]",
        "terseLabel": "Costs and expenses by nature"
       }
      }
     },
     "localname": "DisclosureOfExpensesByNatureExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Costsandexpensesbynature"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfExternalCreditExposuresExplanatory": {
     "auth_ref": [
      "r443",
      "r447"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of external credit grades. [Refer: External credit grades [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of external credit grades [text block]",
        "terseLabel": "Summary of credit risk of financial institution and government of cash, cash equivalents and financial investments"
       }
      }
     },
     "localname": "DisclosureOfExternalCreditExposuresExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfExternalCreditExposuresLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of external credit grades [line items]",
        "terseLabel": "Disclosure of external credit grades [line items]"
       }
      }
     },
     "localname": "DisclosureOfExternalCreditExposuresLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfExternalCreditExposuresTable": {
     "auth_ref": [
      "r443",
      "r447"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to external credit grades."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of external credit grades [table]",
        "terseLabel": "Disclosure of external credit grades [table]"
       }
      }
     },
     "localname": "DisclosureOfExternalCreditExposuresTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFairValueMeasurementExplanatory": {
     "auth_ref": [
      "r228"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for fair value measurement."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of fair value measurement [text block]",
        "terseLabel": "Summary of the financial assets and financial liabilities measured at fair value"
       }
      }
     },
     "localname": "DisclosureOfFairValueMeasurementExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFairValueOfFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the fair value of financial instruments. [Refer: Financial instruments, class [member]; At fair value [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of fair value of financial instruments [text block]",
        "terseLabel": "Fair values and the carrying values of the financial instruments"
       }
      }
     },
     "localname": "DisclosureOfFairValueOfFinancialInstrumentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinanceIncomeExpenseExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of finance income (cost). [Refer: Finance income (cost)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of finance income (cost) [text block]",
        "terseLabel": "Financial result, net"
       }
      }
     },
     "localname": "DisclosureOfFinanceIncomeExpenseExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Financialresultnet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinancialAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets [line items]"
       }
      }
     },
     "localname": "DisclosureOfFinancialAssetsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialAssetsTable": {
     "auth_ref": [
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to financial assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of financial assets [table]"
       }
      }
     },
     "localname": "DisclosureOfFinancialAssetsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [abstract]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsByTypeOfInterestRateExplanatory": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of financial instruments by type of interest rate. [Refer: Financial instruments, class [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments by type of interest rate [text block]",
        "terseLabel": "Financial assets and liabilities exposed to floating interest rates"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsByTypeOfInterestRateExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsExplanatory": {
     "auth_ref": [
      "r311"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for financial instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of financial instruments [text block]",
        "terseLabel": "Risks and Financial Instruments"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [line items]",
        "terseLabel": "Disclosure of detailed information about financial instruments [line items]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfFinancialInstrumentsTable": {
     "auth_ref": [
      "r290",
      "r296",
      "r304"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of financial instruments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about financial instruments [table]",
        "terseLabel": "Disclosure of detailed information about financial instruments [table]"
       }
      }
     },
     "localname": "DisclosureOfFinancialInstrumentsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfGeographicalAreasExplanatory": {
     "auth_ref": [
      "r327"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of geographical information."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of geographical areas [text block]",
        "terseLabel": "Schedule of Revenue from operations abroad"
       }
      }
     },
     "localname": "DisclosureOfGeographicalAreasExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfGoodwillExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of goodwill. [Refer: Goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of goodwill [text block]",
        "terseLabel": "Balance of the goodwill"
       }
      }
     },
     "localname": "DisclosureOfGoodwillExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfHedgeAccountingLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedges [line items]",
        "terseLabel": "Disclosure of detailed information about hedges [line items]"
       }
      }
     },
     "localname": "DisclosureOfHedgeAccountingLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfHedgeAccountingTable": {
     "auth_ref": [
      "r360"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of hedges."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about hedges [table]",
        "terseLabel": "Disclosure of detailed information about hedges [table]"
       }
      }
     },
     "localname": "DisclosureOfHedgeAccountingTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfImpairmentLossAndReversalOfImpairmentLossLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of impairment loss and reversal of impairment loss [line items]",
        "terseLabel": "Assets and liabilities from subsidiaries held for sale and discontinued operations"
       }
      }
     },
     "localname": "DisclosureOfImpairmentLossAndReversalOfImpairmentLossLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfImpairmentLossAndReversalOfImpairmentLossTable": {
     "auth_ref": [
      "r142"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to impairment loss and the reversal of impairment loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of impairment loss and reversal of impairment loss [table]"
       }
      }
     },
     "localname": "DisclosureOfImpairmentLossAndReversalOfImpairmentLossTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIncomeTaxExplanatory": {
     "auth_ref": [
      "r77"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for income taxes."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of income tax [text block]",
        "terseLabel": "Income and Social Contribution Taxes"
       }
      }
     },
     "localname": "DisclosureOfIncomeTaxExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfInformationAboutDefinedBenefitPlansAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Employee benefits and private pension plan"
       }
      }
     },
     "localname": "DisclosureOfInformationAboutDefinedBenefitPlansAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about intangible assets [abstract]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsAndGoodwillExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of intangible assets and goodwill. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of intangible assets and goodwill [text block]",
        "terseLabel": "Intangible Assets"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsAndGoodwillExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about intangible assets [line items]",
        "terseLabel": "Disclosure of detailed information about intangible assets [line items]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfIntangibleAssetsTable": {
     "auth_ref": [
      "r162"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of intangible assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about intangible assets [table]",
        "terseLabel": "Disclosure of detailed information about intangible assets [table]"
       }
      }
     },
     "localname": "DisclosureOfIntangibleAssetsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfInterestsInOtherEntitiesExplanatory": {
     "auth_ref": [
      "r193"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for interests in other entities."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of interests in other entities [text block]",
        "terseLabel": "Schedule of the positions of equity and income (loss) for the year"
       }
      }
     },
     "localname": "DisclosureOfInterestsInOtherEntitiesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfInventoriesExplanatory": {
     "auth_ref": [
      "r101"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for inventories."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of inventories [text block]",
        "terseLabel": "Inventories"
       }
      }
     },
     "localname": "DisclosureOfInventoriesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Inventories"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of investments accounted for using the equity method. [Refer: Investments accounted for using equity method]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of investments accounted for using equity method [text block]",
        "terseLabel": "Investments in joint controlled entities and associates"
       }
      }
     },
     "localname": "DisclosureOfInvestmentsAccountedForUsingEquityMethodExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Investmentsinjointcontrolledentitiesandassociates"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfJointVenturesExplanatory": {
     "auth_ref": [
      "r128",
      "r132",
      "r222"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of joint ventures. [Refer: Joint ventures [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of joint ventures [text block]",
        "terseLabel": "Summary of statements of financial position and statements of income of joint ventures"
       }
      }
     },
     "localname": "DisclosureOfJointVenturesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfJointVenturesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of joint ventures [line items]",
        "terseLabel": "Disclosure of joint ventures [line items]"
       }
      }
     },
     "localname": "DisclosureOfJointVenturesLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfJointVenturesTable": {
     "auth_ref": [
      "r128",
      "r132",
      "r222"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to joint ventures."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of joint ventures [table]",
        "terseLabel": "Disclosure of joint ventures [table]"
       }
      }
     },
     "localname": "DisclosureOfJointVenturesTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfLeasesExplanatory": {
     "auth_ref": [
      "r254",
      "r255"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for leases."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of leases [text block]",
        "terseLabel": "Right-of-use assets and leases payable"
       }
      }
     },
     "localname": "DisclosureOfLeasesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Rightofuseassetsandleasespayable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsExplanatory": {
     "auth_ref": [
      "r251"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a maturity analysis of operating lease payments. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of maturity analysis of operating lease payments [text block]",
        "terseLabel": "Summary of Maturities of Lease Payments of Operating Lease"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of maturity analysis of operating lease payments [line items]"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable": {
     "auth_ref": [
      "r251"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the maturity analysis of operating lease payments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of maturity analysis of operating lease payments [table]",
        "terseLabel": "Disclosure of maturity analysis of operating lease payments [table]"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisOfOperatingLeasePaymentsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory": {
     "auth_ref": [
      "r92"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a net defined benefit liability (asset). [Refer: Net defined benefit liability (asset)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of net defined benefit liability (asset) [text block]",
        "terseLabel": "Changes in provision for post-employment benefits"
       }
      }
     },
     "localname": "DisclosureOfNetDefinedBenefitLiabilityAssetExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [abstract]",
        "terseLabel": "Disclosure of non-adjusting events after reporting period [abstract]"
       }
      }
     },
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [line items]",
        "terseLabel": "Disclosure of non-adjusting events after reporting period [line items]"
       }
      }
     },
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfNonadjustingEventsAfterReportingPeriodTable": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to non-adjusting events after the reporting period."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of non-adjusting events after reporting period [table]",
        "terseLabel": "Disclosure of non-adjusting events after reporting period [table]"
       }
      }
     },
     "localname": "DisclosureOfNonadjustingEventsAfterReportingPeriodTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for non-current assets held for sale and discontinued operations."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of non-current assets held for sale and discontinued operations [text block]",
        "terseLabel": "Discontinued operations"
       }
      }
     },
     "localname": "DisclosureOfNoncurrentAssetsHeldForSaleAndDiscontinuedOperationsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Assetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory": {
     "auth_ref": [
      "r11"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of information that enables users of financial statements to evaluate the entity's objectives, policies and processes for managing capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of objectives, policies and processes for managing capital [text block]",
        "terseLabel": "Schedule of leverage ratio at the end of the year"
       }
      }
     },
     "localname": "DisclosureOfObjectivesPoliciesAndProcessesForManagingCapitalExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Segment information"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsExplanatory": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of operating segments. [Refer: Operating segments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of operating segments [text block]",
        "terseLabel": "Financial information of segments"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of operating segments [line items]",
        "terseLabel": "Disclosure of operating segments [line items]"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOperatingSegmentsTable": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to operating segments."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of operating segments [table]",
        "terseLabel": "Disclosure of operating segments [table]"
       }
      }
     },
     "localname": "DisclosureOfOperatingSegmentsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOtherOperatingIncomeExpenseExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of other operating income or expense. [Refer: Other operating income (expense)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of other operating income (expense) [text block]",
        "terseLabel": "Other operating income, net"
       }
      }
     },
     "localname": "DisclosureOfOtherOperatingIncomeExpenseExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Otheroperatingincomenet"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOtherProvisionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of other provisions [abstract]"
       }
      }
     },
     "localname": "DisclosureOfOtherProvisionsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory": {
     "auth_ref": [
      "r156"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for other provisions, contingent liabilities and contingent assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of other provisions, contingent liabilities and contingent assets [text block]",
        "terseLabel": "Provisions and Contingencies"
       }
      }
     },
     "localname": "DisclosureOfOtherProvisionsContingentLiabilitiesAndContingentAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingencies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOtherProvisionsExplanatory": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of other provisions. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of other provisions [text block]",
        "terseLabel": "Provision for asset retirement obligation"
       }
      }
     },
     "localname": "DisclosureOfOtherProvisionsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Provisionforassetretirementobligation"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfOtherProvisionsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of other provisions [line items]"
       }
      }
     },
     "localname": "DisclosureOfOtherProvisionsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfOtherProvisionsTable": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to other provisions."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of other provisions [table]"
       }
      }
     },
     "localname": "DisclosureOfOtherProvisionsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPrepaymentsAndOtherAssetsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of prepayments and other assets. [Refer: Other assets; Prepayments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of prepayments and other assets [text block]",
        "terseLabel": "Prepaid Expenses"
       }
      }
     },
     "localname": "DisclosureOfPrepaymentsAndOtherAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpenses"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [abstract]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentExplanatory": {
     "auth_ref": [
      "r90"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for property, plant and equipment."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of property, plant and equipment [text block]",
        "terseLabel": "Property, Plant, and Equipment"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipment"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [line items]",
        "terseLabel": "Disclosure of detailed information about property, plant and equipment [line items]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfPropertyPlantAndEquipmentTable": {
     "auth_ref": [
      "r87"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to details of property, plant and equipment."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of detailed information about property, plant and equipment [table]",
        "terseLabel": "Disclosure of detailed information about property, plant and equipment [table]"
       }
      }
     },
     "localname": "DisclosureOfPropertyPlantAndEquipmentTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfProvisionsExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of provisions. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of provisions [text block]",
        "terseLabel": "Breakdown of provisions by nature"
       }
      }
     },
     "localname": "DisclosureOfProvisionsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory": {
     "auth_ref": [
      "r247"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of quantitative information about right-of-use assets. [Refer: Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [text block]",
        "terseLabel": "Summary of Information About Right of Use Asset"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [line items]",
        "terseLabel": "Disclosure of quantitative information about right-of-use assets [line items]"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable": {
     "auth_ref": [
      "r247"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to right-of-use assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of quantitative information about right-of-use assets [table]",
        "terseLabel": "Disclosure of quantitative information about right-of-use assets [table]"
       }
      }
     },
     "localname": "DisclosureOfQuantitativeInformationAboutRightofuseAssetsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInGoodwillLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in goodwill [line items]"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfChangesInGoodwillLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfReconciliationOfChangesInGoodwillTable": {
     "auth_ref": [
      "r269"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to the reconciliation of changes in goodwill."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of changes in goodwill [table]"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfChangesInGoodwillTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfReconciliationOfSummarisedFinancialInformationOfAssociateAccountedForUsingEquityMethodToCarryingAmountOfInterestInAssociateExplanatory": {
     "auth_ref": [
      "r217"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the reconciliation of the summarised financial information of an associate accounted for using the equity method to the carrying amount of the reporting entity's interest in the associate. [Refer: Carrying amount [member]; Associates [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of summarised financial information of associate accounted for using equity method to carrying amount of interest in associate [text block]",
        "terseLabel": "Summary of Balances and Changes in Associates"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfSummarisedFinancialInformationOfAssociateAccountedForUsingEquityMethodToCarryingAmountOfInterestInAssociateExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory": {
     "auth_ref": [
      "r217"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of the reconciliation of the summarised financial information of a joint venture accounted for using the equity method to the carrying amount of the reporting entity's interest in the joint venture. [Refer: Carrying amount [member]; Joint ventures [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of reconciliation of summarised financial information of joint venture accounted for using equity method to carrying amount of interest in joint venture [text block]",
        "terseLabel": "Summary of Balances and Changes in Joint Ventures"
       }
      }
     },
     "localname": "DisclosureOfReconciliationOfSummarisedFinancialInformationOfJointVentureAccountedForUsingEquityMethodToCarryingAmountOfInterestInJointVentureExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfRelatedPartyExplanatory": {
     "auth_ref": [
      "r119"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for related parties."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of related party [text block]",
        "terseLabel": "Related Parties"
       }
      }
     },
     "localname": "DisclosureOfRelatedPartyExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedParties"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory": {
     "auth_ref": [
      "r96"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a sensitivity analysis for significant actuarial assumptions used to determine the present value of a defined benefit obligation. [Refer: Actuarial assumptions [member]; Defined benefit obligation, at present value]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of sensitivity analysis for actuarial assumptions [text block]",
        "terseLabel": "Sensitivity analysis"
       }
      }
     },
     "localname": "DisclosureOfSensitivityAnalysisForActuarialAssumptionsExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory": {
     "auth_ref": [
      "r43"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The entire disclosure for share capital, reserves and other equity interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of share capital, reserves and other equity interest [text block]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "DisclosureOfShareCapitalReservesAndOtherEquityInterestExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Equity"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesExplanatory": {
     "auth_ref": [
      "r128",
      "r132",
      "r223"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of associates. [Refer: Associates [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of associates [text block]",
        "terseLabel": "Summary of statements of financial position and statements of income of associates"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of associates [line items]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInAssociatesTable": {
     "auth_ref": [
      "r128",
      "r132",
      "r223"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to associates."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of associates [table]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInAssociatesTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory": {
     "auth_ref": [
      "r128",
      "r132",
      "r221"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [text block]",
        "terseLabel": "Investments in subsidiaries"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [line items]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfSignificantInvestmentsInSubsidiariesTable": {
     "auth_ref": [
      "r128",
      "r132",
      "r221"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to subsidiaries."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of subsidiaries [table]"
       }
      }
     },
     "localname": "DisclosureOfSignificantInvestmentsInSubsidiariesTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTaxReceivablesAndPayablesExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of tax receivables and payables."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of tax receivables and payables [text block]",
        "terseLabel": "Taxes Payable"
       }
      }
     },
     "localname": "DisclosureOfTaxReceivablesAndPayablesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayable"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of temporary difference, unused tax losses and unused tax credits [line items]"
       }
      }
     },
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable": {
     "auth_ref": [
      "r75"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to temporary differences, unused tax losses and unused tax credits."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of temporary difference, unused tax losses and unused tax credits [table]"
       }
      }
     },
     "localname": "DisclosureOfTemporaryDifferenceUnusedTaxLossesAndUnusedTaxCreditsTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [line items]"
       }
      }
     },
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable": {
     "auth_ref": [
      "r258"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to terms and conditions of share-based payment arrangements."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of terms and conditions of share-based payment arrangement [table]"
       }
      }
     },
     "localname": "DisclosureOfTermsAndConditionsOfSharebasedPaymentArrangementTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTradeAndOtherPayablesExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of trade and other payables. [Refer: Trade and other payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of trade and other payables [text block]",
        "terseLabel": "Trade Payables"
       }
      }
     },
     "localname": "DisclosureOfTradeAndOtherPayablesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTradeAndOtherReceivablesExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of trade and other receivables. [Refer: Trade and other receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of trade and other receivables [text block]",
        "terseLabel": "Trade receivables, reseller financing and other receivables"
       }
      }
     },
     "localname": "DisclosureOfTradeAndOtherReceivablesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Tradereceivablesresellerfinancingandotherreceivables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [abstract]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesExplanatory": {
     "auth_ref": [
      "r112"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of transactions between the entity and its related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [text block]",
        "terseLabel": "Subsidiaries and Other Related Parties"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [line items]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTransactionsBetweenRelatedPartiesTable": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to transactions between related parties."
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of transactions between related parties [table]"
       }
      }
     },
     "localname": "DisclosureOfTransactionsBetweenRelatedPartiesTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_DisclosureOfTreasurySharesExplanatory": {
     "auth_ref": [
      "r462"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of treasury shares. [Refer: Treasury shares]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of treasury shares [text block]",
        "terseLabel": "Schedule of balance of treasury shares"
       }
      }
     },
     "localname": "DisclosureOfTreasurySharesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_DiscontinuedOperationsMember": {
     "auth_ref": [
      "r279"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of an entity that either has been disposed of or is classified as held for sale, and that: (a) represents a separate major line of business or geographical area of operations; (b) is part of a single co-ordinated plan to dispose of a separate major line of business or geographical area of operations; or (c) is a subsidiary acquired exclusively with a view to resale. A component of an entity comprises operations and cash flows that can be clearly distinguished, operationally and for financial reporting purposes, from the rest of the entity. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Discontinued operations [member]",
        "terseLabel": "Total Discontinued operations",
        "verboseLabel": "Discontinued operations"
       }
      }
     },
     "localname": "DiscontinuedOperationsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_DisposalGroupsClassifiedAsHeldForSaleMember": {
     "auth_ref": [
      "r279",
      "r504"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for groups of assets, which are to be disposed of together as a group in a single transaction, and the liabilities directly associated with those assets that will be transferred in the transaction."
       }
      },
      "en-us": {
       "role": {
        "label": "Disposal groups classified as held for sale [member]",
        "terseLabel": "Assets from subsidiaries held for sale"
       }
      }
     },
     "localname": "DisposalGroupsClassifiedAsHeldForSaleMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_DisposalsIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r487"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in intangible assets and goodwill resulting from disposals. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disposals, intangible assets and goodwill",
        "negatedLabel": "Intangible assets, write-offs and disposals"
       }
      }
     },
     "localname": "DisposalsIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DisposalsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r82"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in property, plant and equipment resulting from disposals. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disposals, property, plant and equipment",
        "negatedLabel": "Property, plant, and equipment, write-offs and disposals"
       }
      }
     },
     "localname": "DisposalsPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsPaid": {
     "auth_ref": [
      "r10"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as distributions to owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners",
        "negatedLabel": "Approval of additional dividends by the Shareholders' Meeting",
        "negatedTerseLabel": "Prescribed dividends",
        "terseLabel": "Provisions"
       }
      }
     },
     "localname": "DividendsPaid",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsPaidClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 5.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for dividends paid by the entity, classified as financing activities."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends paid, classified as financing activities",
        "negatedLabel": "Dividends paid",
        "negatedTerseLabel": "Payments",
        "verboseLabel": "Payments"
       }
      }
     },
     "localname": "DividendsPaidClassifiedAsFinancingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsPayable": {
     "auth_ref": [
      "r186"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends payable by means of the distribution of non-cash assets to owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends payable, non-cash assets distributions",
        "terseLabel": "Dividends payable"
       }
      }
     },
     "localname": "DividendsPayable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwners": {
     "auth_ref": [
      "r12",
      "r66"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends proposed or declared after the reporting period but before financial statements are authorised for issue. Such dividends are not recognised as a liability at the end of the reporting period because no obligation exists at that time."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends proposed or declared before financial statements authorised for issue but not recognised as distribution to owners",
        "positiveLabel": "Balance of proposed dividends (R$ 0.17 per share)",
        "terseLabel": "Proposed dividends payable",
        "totalLabel": "Balance of proposed dividends (R$ 0.17 per share)",
        "verboseLabel": "Minimum mandatory dividends for the year (25% of the adjusted net income)"
       }
      }
     },
     "localname": "DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwners",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwnersPerShare": {
     "auth_ref": [
      "r12"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount, per share, of dividends proposed or declared before financial statements were authorised for issue but not recognised as distribution to owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends proposed or declared before financial statements authorised for issue but not recognised as distribution to owners per share",
        "terseLabel": "Proposed dividends payable per share",
        "verboseLabel": "Total allocation per share"
       }
      }
     },
     "localname": "DividendsProposedOrDeclaredBeforeFinancialStatementsAuthorisedForIssueButNotRecognisedAsDistributionToOwnersPerShare",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_DividendsReceived": {
     "auth_ref": [
      "r204"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends received."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends received",
        "negatedLabel": "Proposed dividends",
        "negatedTerseLabel": "Dividends"
       }
      }
     },
     "localname": "DividendsReceived",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsReceivedClassifiedAsOperatingActivities": {
     "auth_ref": [
      "r174"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 4.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from dividends received, classified as operating activities. [Refer: Dividends received]"
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends received, classified as operating activities",
        "terseLabel": "Dividends received from joint ventures"
       }
      }
     },
     "localname": "DividendsReceivedClassifiedAsOperatingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToNoncontrollingInterests": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as distributions to non-controlling interests. [Refer: Non-controlling interests]"
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to non-controlling interests",
        "negatedLabel": "Dividends attributable to non-controlling interests"
       }
      }
     },
     "localname": "DividendsRecognisedAsDistributionsToNoncontrollingInterests",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToOwnersOfParent": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends recognised as distributions to owners of the parent. [Refer: Parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners of parent",
        "negatedLabel": "Approval of additional dividends by the Ordinary General Meeting"
       }
      }
     },
     "localname": "DividendsRecognisedAsDistributionsToOwnersOfParent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToOwnersOfParentRelatingToCurrentYear": {
     "auth_ref": [
      "r465"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of dividends relating to the current year, recognised as distributions to owners of the parent. [Refer: Parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners of parent, relating to current year",
        "totalLabel": "Total of distribution"
       }
      }
     },
     "localname": "DividendsRecognisedAsDistributionsToOwnersOfParentRelatingToCurrentYear",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_DividendsRecognisedAsDistributionsToOwnersPerShare": {
     "auth_ref": [
      "r10"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount, per share, of dividends recognised as distributions to owners."
       }
      },
      "en-us": {
       "role": {
        "label": "Dividends recognised as distributions to owners per share",
        "terseLabel": "Dividends per share"
       }
      }
     },
     "localname": "DividendsRecognisedAsDistributionsToOwnersPerShare",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_EarningsPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Earnings per share [abstract]",
        "label": "Earnings per share [abstract]",
        "terseLabel": "Earnings per share (based on weighted average number of shares outstanding) \u2013 R$"
       }
      }
     },
     "localname": "EarningsPerShareAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EarningsPerShareExplanatory": {
     "auth_ref": [
      "r134"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of earnings per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Earnings per share [text block]",
        "terseLabel": "Basic and diluted earnings per share"
       }
      }
     },
     "localname": "EarningsPerShareExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_EffectOfExchangeRateChangesOnCashAndCashEquivalents": {
     "auth_ref": [
      "r172",
      "r173"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The effect of exchange rate changes on cash and cash equivalents held or due in a foreign currency. [Refer: Cash and cash equivalents]"
       }
      },
      "en-us": {
       "role": {
        "label": "Effect of exchange rate changes on cash and cash equivalents",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents in foreign currency",
        "verboseLabel": "Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations"
       }
      }
     },
     "localname": "EffectOfExchangeRateChangesOnCashAndCashEquivalents",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EliminationOfIntersegmentAmountsMember": {
     "auth_ref": [
      "r432",
      "r433"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the elimination of intersegment amounts in the reconciliations of total segment amounts to amounts recognised in the entity's financial statements."
       }
      },
      "en-us": {
       "role": {
        "label": "Elimination of intersegment amounts [member]",
        "terseLabel": "Elimination of intersegment amounts [member]",
        "verboseLabel": "Eliminations"
       }
      }
     },
     "localname": "EliminationOfIntersegmentAmountsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EmployeeBenefitsExpense": {
     "auth_ref": [
      "r1",
      "r65",
      "r364"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The expense of all forms of consideration given by an entity in exchange for a service rendered by employees or for the termination of employment."
       }
      },
      "en-us": {
       "role": {
        "label": "Employee benefits expense",
        "negatedLabel": "Personnel expenses",
        "terseLabel": "Employee benefit expense",
        "totalLabel": "Expense for the year",
        "verboseLabel": "Expense for the year"
       }
      }
     },
     "localname": "EmployeeBenefitsExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EntitysTotalForAssociatesMember": {
     "auth_ref": [
      "r128",
      "r132",
      "r223",
      "r349",
      "r355"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Associates' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for associates [member]",
        "terseLabel": "Entity's total for associates [member]"
       }
      }
     },
     "localname": "EntitysTotalForAssociatesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForBusinessCombinationsMember": {
     "auth_ref": [
      "r266",
      "r270"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Business combinations' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for business combinations [member]",
        "terseLabel": "Entity's total for business combinations [member]"
       }
      }
     },
     "localname": "EntitysTotalForBusinessCombinationsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForExternalCreditGradesMember": {
     "auth_ref": [
      "r353",
      "r412",
      "r426",
      "r443",
      "r446"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'External credit grades' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for external credit grades [member]",
        "terseLabel": "Entity's total for external credit grades [member]"
       }
      }
     },
     "localname": "EntitysTotalForExternalCreditGradesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Individual assets or cash-generating units' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for individual assets or cash-generating units [member]",
        "terseLabel": "Entity's total for individual assets or cash-generating units [member]"
       }
      }
     },
     "localname": "EntitysTotalForIndividualAssetsOrCashgeneratingUnitsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForJointVenturesMember": {
     "auth_ref": [
      "r128",
      "r132",
      "r222",
      "r349",
      "r355"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Joint ventures' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for joint ventures [member]",
        "terseLabel": "Entity's total for joint ventures [member]"
       }
      }
     },
     "localname": "EntitysTotalForJointVenturesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForRelatedPartiesMember": {
     "auth_ref": [
      "r117"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Categories of related parties' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for related parties [member]",
        "terseLabel": "Entity's total for related parties [member]"
       }
      }
     },
     "localname": "EntitysTotalForRelatedPartiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForSegmentConsolidationItemsMember": {
     "auth_ref": [
      "r323"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Segment consolidation items' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for segment consolidation items [member]",
        "terseLabel": "Entity's total for segment consolidation items [member]"
       }
      }
     },
     "localname": "EntitysTotalForSegmentConsolidationItemsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EntitysTotalForSubsidiariesMember": {
     "auth_ref": [
      "r128",
      "r132",
      "r221"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the standard value for the 'Subsidiaries' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Entity's total for subsidiaries [member]",
        "terseLabel": "Entity's total for subsidiaries [member]"
       }
      }
     },
     "localname": "EntitysTotalForSubsidiariesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/OperationsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Equity": {
     "auth_ref": [
      "r26",
      "r36",
      "r187",
      "r189",
      "r224",
      "r225",
      "r226"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of residual interest in the assets of the entity after deducting all its liabilities."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity",
        "negatedLabel": "Equity",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Equity",
        "totalLabel": "Total equity",
        "verboseLabel": "Total equity"
       }
      }
     },
     "localname": "Equity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Equity [abstract]",
        "terseLabel": "Equity"
       }
      }
     },
     "localname": "EquityAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_EquityAndLiabilities": {
     "auth_ref": [
      "r26"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the entity's equity and liabilities. [Refer: Equity; Liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Equity and liabilities",
        "totalLabel": "Total liabilities and equity"
       }
      }
     },
     "localname": "EquityAndLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EquityAttributableToOwnersOfParent": {
     "auth_ref": [
      "r25"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of equity attributable to the owners of the parent. This specifically excludes non-controlling interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity attributable to owners of parent",
        "totalLabel": "Shareholders of the Company"
       }
      }
     },
     "localname": "EquityAttributableToOwnersOfParent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_EquityAttributableToOwnersOfParentMember": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for equity attributable to the owners of the parent."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity attributable to owners of parent [member]",
        "terseLabel": "Shareholders of the Company"
       }
      }
     },
     "localname": "EquityAttributableToOwnersOfParentMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EquityMember": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the residual interest in the assets of the entity after deducting all its liabilities. It also represents the standard value for the 'Components of equity' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Equity [member]"
       }
      }
     },
     "localname": "EquityMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_EstimatedFinancialEffectOfContingentAssets": {
     "auth_ref": [
      "r155"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the estimated financial effect of possible assets that arise from past events and whose existence will be confirmed only by the occurrence or non-occurrence of one or more uncertain future events not wholly within control of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Estimated financial effect of contingent assets",
        "terseLabel": "Action for damages as contingent asset, remaining portion will be received"
       }
      }
     },
     "localname": "EstimatedFinancialEffectOfContingentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExpectedCreditLossRate": {
     "auth_ref": [
      "r413",
      "r427"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The rate of expected credit losses, calculated as percentage of the gross carrying amount. Expected credit losses are the weighted average of credit losses with the respective risks of a default occurring as the weights."
       }
      },
      "en-us": {
       "role": {
        "label": "Expected credit loss rate",
        "terseLabel": "Expected credit loss rate"
       }
      }
     },
     "localname": "ExpectedCreditLossRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ExpenseByNature": {
     "auth_ref": [
      "r65"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expenses aggregated according to their nature (for example, depreciation, purchases of materials, transport costs, employee benefits and advertising costs), and not reallocated among functions within the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Expenses, by nature",
        "negatedTerseLabel": "Total",
        "negatedTotalLabel": "Total",
        "terseLabel": "Total"
       }
      }
     },
     "localname": "ExpenseByNature",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExpenseByNatureAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Expenses by nature [abstract]"
       }
      }
     },
     "localname": "ExpenseByNatureAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets": {
     "auth_ref": [
      "r260"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense arising from share-based payment transactions in which the goods or services received did not qualify for recognition as assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Expense from share-based payment transactions",
        "terseLabel": "Total exercisable grant costs, including taxes",
        "verboseLabel": "Total grant costs, including taxes"
       }
      }
     },
     "localname": "ExpenseFromSharebasedPaymentTransactionsInWhichGoodsOrServicesReceivedDidNotQualifyForRecognitionAsAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExpenseOfRestructuringActivities": {
     "auth_ref": [
      "r62"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to restructuring. Restructuring is a programme that is planned and controlled by management and materially changes either the scope of a business undertaken by an entity or the manner in which that business is conducted. Such programmes include: (a) the sale or termination of a line of business; (b) closure of business locations in a country or region or the relocation of activities from one country or region to another; (c) changes in management structure; and (d) fundamental reorganisations that have a material effect on the nature and focus of the entity's operations."
       }
      },
      "en-us": {
       "role": {
        "label": "Expense of restructuring activities",
        "terseLabel": "Expenses related to restructuring activities"
       }
      }
     },
     "localname": "ExpenseOfRestructuringActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed": {
     "auth_ref": [
      "r243"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of the expense relating to leases of low-value assets accounted for applying paragraph 6 of IFRS 16. This expense shall not include the expense relating to short-term leases of low-value assets."
       }
      },
      "en-us": {
       "role": {
        "label": "Expense relating to leases of low-value assets for which recognition exemption has been used",
        "verboseLabel": "Expense relating to leases of low-value assets"
       }
      }
     },
     "localname": "ExpenseRelatingToLeasesOfLowvalueAssetsForWhichRecognitionExemptionHasBeenUsed",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ExplanationOfDifferenceBetweenOperatingLeaseCommitmentsDisclosedApplyingIAS17AndLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16Explanatory": {
     "auth_ref": [
      "r253"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The explanation of the difference between: (a) operating lease commitments disclosed applying IAS 17 at the end of the annual reporting period immediately preceding the date of initial application of IFRS 16, discounted using the incremental borrowing rate at the date of initial application; and (b) lease liabilities recognised in the statement of financial position at the date of initial application of IFRS 16. The incremental borrowing rate is the rate of interest that a lessee would have to pay to borrow over a similar term, and with a similar security, the funds necessary to obtain an asset of a similar value to the right-of-use asset in a similar economic environment."
       }
      },
      "en-us": {
       "role": {
        "label": "Explanation of difference between operating lease commitments disclosed applying IAS 17 and lease liabilities recognised at date of initial application of IFRS 16 [text block]",
        "terseLabel": "Summary of the reconciliation of the operating lease commitments to leases payable"
       }
      }
     },
     "localname": "ExplanationOfDifferenceBetweenOperatingLeaseCommitmentsDisclosedApplyingIAS17AndLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16Explanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory": {
     "auth_ref": [
      "r237"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The explanation of the significant changes in the contract assets and the contract liabilities. [Refer: Contract assets; Contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Explanation of significant changes in contract assets and contract liabilities [text block]",
        "terseLabel": "Summary of Contractual Assets with Customers Exclusive Rights Balance and Changes"
       }
      }
     },
     "localname": "ExplanationOfSignificantChangesInContractAssetsAndContractLiabilitiesExplanatory",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_ExternalCreditGradesAxis": {
     "auth_ref": [
      "r353",
      "r412",
      "r426",
      "r443",
      "r446"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "External credit grades [axis]",
        "terseLabel": "External credit grades [axis]"
       }
      }
     },
     "localname": "ExternalCreditGradesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_FairValueOfAcquiredReceivables": {
     "auth_ref": [
      "r265"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 1.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of receivables acquired in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Fair value of acquired receivables",
        "terseLabel": "Receivables"
       }
      }
     },
     "localname": "FairValueOfAcquiredReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinanceCosts": {
     "auth_ref": [
      "r52"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of costs associated with financing activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Finance costs",
        "negatedLabel": "Finance expenses",
        "negatedTotalLabel": "Finance expenses"
       }
      }
     },
     "localname": "FinanceCosts",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinanceIncome": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_FinanceIncomeCost",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income associated with interest and other financing activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Finance income",
        "terseLabel": "Finance income",
        "totalLabel": "Finance income"
       }
      }
     },
     "localname": "FinanceIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinanceIncomeCost": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income or cost associated with interest and other financing activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Finance income (cost)",
        "terseLabel": "Financial result, net",
        "totalLabel": "Financial result, net",
        "verboseLabel": "Financial income (expense)"
       }
      }
     },
     "localname": "FinanceIncomeCost",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialAssets": {
     "auth_ref": [
      "r289",
      "r294",
      "r295",
      "r298",
      "r413"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that are: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favourable to the entity; or (d) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to receive a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose the entity\u2019s own equity instruments do not include puttable financial instruments classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. [Refer: Financial instruments, class [member]; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets",
        "verboseLabel": "Financial assets, carrying value"
       }
      }
     },
     "localname": "FinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialAssetsAtAmortisedCostCategoryMember": {
     "auth_ref": [
      "r307"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at amortised cost category. [Refer: Financial assets at amortised cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets at amortised cost, category [member]"
       }
      }
     },
     "localname": "FinancialAssetsAtAmortisedCostCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialAssetsAtFairValue": {
     "auth_ref": [
      "r289"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of financial assets. [Refer: At fair value [member]; Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets, at fair value",
        "positiveLabel": "Financial assets, fair value",
        "terseLabel": "Financial assets, fair value"
       }
      }
     },
     "localname": "FinancialAssetsAtFairValue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember": {
     "auth_ref": [
      "r309"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at fair value through other comprehensive income category. [Refer: Financial assets at fair value through other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through other comprehensive income, category [member]"
       }
      }
     },
     "localname": "FinancialAssetsAtFairValueThroughOtherComprehensiveIncomeCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember": {
     "auth_ref": [
      "r305"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial assets at fair value through profit or loss category. [Refer: Financial assets at fair value through profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets at fair value through profit or loss, category [member]"
       }
      }
     },
     "localname": "FinancialAssetsAtFairValueThroughProfitOrLossCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialAssetsCategoryMember": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial assets. It also represents the standard value for the 'Categories of financial assets' axis if no other member is used. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets, category [member]"
       }
      }
     },
     "localname": "FinancialAssetsCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialAssetsMember": {
     "auth_ref": [
      "r302",
      "r303",
      "r332",
      "r343",
      "r344",
      "r345"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated classes of financial assets. It also represents the standard value for the 'Classes of financial assets' axis if no other member is used. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial assets, class [member]"
       }
      }
     },
     "localname": "FinancialAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue": {
     "auth_ref": [
      "r359"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of financial instruments designated as hedging instruments. Hedging instruments are designated derivatives or (for a hedge of the risk of changes in foreign currency exchange rates only) designated non-derivative financial assets or non-derivative financial liabilities whose fair value or cash flows are expected to offset changes in the fair value or cash flows of a designated hedged item. [Refer: At fair value [member]; Derivatives [member]; Derivative financial assets; Derivative financial liabilities; Financial instruments, class [member]; Financial assets; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial instruments designated as hedging instruments, at fair value",
        "terseLabel": "Fair value"
       }
      }
     },
     "localname": "FinancialInstrumentsDesignatedAsHedgingInstrumentsAtFairValue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialLiabilities": {
     "auth_ref": [
      "r289"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities that are: (a) a contractual obligation: (i) to deliver cash or another financial asset to another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially unfavourable to the entity; or (b) a contract that will, or may be, settled in the entity\u2019s own equity instruments and is: (i) a non-derivative for which the entity is, or may be, obliged to deliver a variable number of the entity\u2019s own equity instruments; or (ii) a derivative that will, or may be, settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity\u2019s own equity instruments. For this purpose, rights, options or warrants to acquire a fixed number of the entity\u2019s own equity instruments for a fixed amount of any currency are equity instruments if the entity offers the rights, options or warrants pro rata to all of its existing owners of the same class of its own non-derivative equity instruments. Also, for those purposes the entity\u2019s own equity instruments do not include puttable financial instruments that are classified as equity instruments in accordance with paragraphs 16A-16B of IAS 32, instruments that impose on the entity an obligation to deliver to another party a pro rata share of the net assets of the entity only on liquidation and are classified as equity instruments in accordance with paragraphs 16C-16D of IAS 32, or instruments that are contracts for the future receipt or delivery of the entity\u2019s own equity instruments. As an exception, an instrument that meets the definition of a financial liability is classified as an equity instrument if it has all the features and meets the conditions in paragraphs 16A-16B or paragraphs 16C-16D of IAS 32. [Refer: Financial instruments, class [member]; Financial assets; Derivatives [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial liabilities",
        "terseLabel": "Financial liabilities, carrying value"
       }
      }
     },
     "localname": "FinancialLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtAmortisedCostCategoryMember": {
     "auth_ref": [
      "r308",
      "r363"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities at amortised cost category. [Refer: Financial liabilities at amortised cost]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial liabilities at amortised cost, category [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtAmortisedCostCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtFairValue": {
     "auth_ref": [
      "r289"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The fair value of financial liabilities. [Refer: At fair value [member]; Financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial liabilities, at fair value",
        "terseLabel": "Financial liabilities, fair value"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtFairValue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember": {
     "auth_ref": [
      "r306"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the financial liabilities at fair value through profit or loss category. [Refer: Financial liabilities at fair value through profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial liabilities at fair value through profit or loss, category [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesAtFairValueThroughProfitOrLossCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FinancialLiabilitiesCategoryMember": {
     "auth_ref": [
      "r310"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated categories of financial liabilities. It also represents the standard value for the 'Categories of financial liabilities' axis if no other member is used. [Refer: Financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Financial liabilities, category [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesCategoryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FixedInterestRateMember": {
     "auth_ref": [
      "r505"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a fixed interest rate. [Refer: Interest rate risk [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Fixed interest rate [member]",
        "terseLabel": "Long term interest rate [member]"
       }
      }
     },
     "localname": "FixedInterestRateMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_FixturesAndFittingsMember": {
     "auth_ref": [
      "r376"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing fixtures and fittings that are not permanently attached to real property. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Fixtures and fittings [member]",
        "terseLabel": "Furniture [member]"
       }
      }
     },
     "localname": "FixturesAndFittingsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GainLossOnChangeInFairValueOfHedgingInstrumentUsedAsBasisForRecognisingHedgeIneffectiveness": {
     "auth_ref": [
      "r285"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gain (loss) on the change in fair value of the hedging instrument used as a basis for recognising hedge ineffectiveness. Hedge ineffectiveness is the extent to which the changes in the fair value or the cash flows of the hedging instrument are greater or less than those on the hedged item."
       }
      },
      "en-us": {
       "role": {
        "label": "Gain (loss) on change in fair value of hedging instrument used as basis for recognising hedge ineffectiveness",
        "terseLabel": "Result of hedging instruments - gain/(loss) - R$",
        "verboseLabel": "Gains (losses), Results"
       }
      }
     },
     "localname": "GainLossOnChangeInFairValueOfHedgingInstrumentUsedAsBasisForRecognisingHedgeIneffectiveness",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesOnDisposalsOfInvestments": {
     "auth_ref": [
      "r63"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) on disposals of investments."
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) on disposals of investments",
        "terseLabel": "Gain (loss) on disposal of Conectcar"
       }
      }
     },
     "localname": "GainsLossesOnDisposalsOfInvestments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/GainlossondisposalofpropertyplantandequipmentandintangibleassetsAdditionalinformationDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesOnDisposalsOfNoncurrentAssets": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 4.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) on disposals of non-current assets. [Refer: Non-current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) on disposals of non-current assets",
        "positiveLabel": "Gain on disposal of property, plant and equipment and intangible assets",
        "terseLabel": "Gain (loss) on disposal of property, plant and equipment and intangibles",
        "verboseLabel": "Gain (loss) on disposal of property, plant and equipment and intangible assets"
       }
      }
     },
     "localname": "GainsLossesOnDisposalsOfNoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/GainlossondisposalofpropertyplantandequipmentandintangibleassetsAdditionalinformationDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesOnExchangeDifferencesOnTranslationBeforeTax": {
     "auth_ref": [
      "r59"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) recognised in other comprehensive income on exchange differences on the translation of financial statements of foreign operations, before tax, before reclassification adjustments. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) on exchange differences on translation of foreign operations, before tax",
        "terseLabel": "Currency translation adjustment of foreign subsidiaries"
       }
      }
     },
     "localname": "GainsLossesOnExchangeDifferencesOnTranslationBeforeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesOnHedgesOfNetInvestmentsInForeignOperationsBeforeTax": {
     "auth_ref": [
      "r59",
      "r164",
      "r331"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) recognised in other comprehensive income on hedges of net investments in foreign operations, before tax, before reclassification adjustments. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) on hedges of net investments in foreign operations, before tax",
        "terseLabel": "Gains and losses from changes in foreign investments"
       }
      }
     },
     "localname": "GainsLossesOnHedgesOfNetInvestmentsInForeignOperationsBeforeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesOnHedgingInstrument": {
     "auth_ref": [
      "r362"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) on hedging instruments in fair value hedges. [Refer: Fair value hedges [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) on hedging instrument, fair value hedges",
        "terseLabel": "Gains (losses) on hedging instruments"
       }
      }
     },
     "localname": "GainsLossesOnHedgingInstrument",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GainsLossesRecognisedWhenControlInSubsidiaryIsLost": {
     "auth_ref": [
      "r199"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) recognised in association with the loss of control over a subsidiary, which are attributable to the former controlling interest."
       }
      },
      "en-us": {
       "role": {
        "label": "Gains (losses) recognised when control of subsidiary is lost",
        "terseLabel": "Gain (loss) on disposal of investments, net"
       }
      }
     },
     "localname": "GainsLossesRecognisedWhenControlInSubsidiaryIsLost",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 2.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2": {
       "order": 2.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 3.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to general and administrative activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "General and administrative expense",
        "negatedLabel": "General and administrative expenses",
        "negatedTerseLabel": "General and administrative",
        "terseLabel": "General and administrative expense",
        "verboseLabel": "General and administrative"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GeographicalAreasAxis": {
     "auth_ref": [
      "r327",
      "r377",
      "r404",
      "r436"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Geographical areas [axis]",
        "terseLabel": "Geographical areas [axis]"
       }
      }
     },
     "localname": "GeographicalAreasAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_GeographicalAreasMember": {
     "auth_ref": [
      "r327",
      "r377",
      "r404",
      "r436"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregated geographical areas. It also represents the standard value for the 'Geographical areas' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Geographical areas [member]",
        "terseLabel": "Geographical areas [member]"
       }
      }
     },
     "localname": "GeographicalAreasMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GoodwillMember": {
     "auth_ref": [
      "r382"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for goodwill. [Refer: Goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Goodwill [member]",
        "terseLabel": "Goodwill [member]",
        "verboseLabel": "Goodwill"
       }
      }
     },
     "localname": "GoodwillMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GoodwillRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r410",
      "r411"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 5.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the business combination's acquisition date for goodwill. [Refer: Goodwill; Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Goodwill recognised as of acquisition date",
        "terseLabel": "Goodwill based on expected future profitability",
        "verboseLabel": "Provisional goodwill"
       }
      }
     },
     "localname": "GoodwillRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GrossCarryingAmountMember": {
     "auth_ref": [
      "r80",
      "r158",
      "r166",
      "r169",
      "r269",
      "r295",
      "r298",
      "r413",
      "r511",
      "r513"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the amount at which an asset is recognised before deducting any accumulated depreciation (amortisation) and accumulated impairment losses thereon. [Refer: Depreciation and amortisation expense; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross carrying amount [member]",
        "terseLabel": "Gross carrying amount [member]",
        "verboseLabel": "Cost [member]"
       }
      }
     },
     "localname": "GrossCarryingAmountMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_GrossLeaseLiabilities": {
     "auth_ref": [
      "r248",
      "r418"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to lease liabilities before deducting finance charges. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross lease liabilities",
        "terseLabel": "Leases payable"
       }
      }
     },
     "localname": "GrossLeaseLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_GrossProfit": {
     "auth_ref": [
      "r365"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 0.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue less cost of sales. [Refer: Cost of sales; Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Gross profit",
        "terseLabel": "Gross profit",
        "totalLabel": "Gross profit"
       }
      }
     },
     "localname": "GrossProfit",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_HedgesOfNetInvestmentsInForeignOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Hedges of net investment in foreign operations [abstract]",
        "terseLabel": "Net Investment hedge in foreign entities"
       }
      }
     },
     "localname": "HedgesOfNetInvestmentsInForeignOperationsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_HedgingInstrumentAssets": {
     "auth_ref": [
      "r284"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of a hedging instrument, recognised as an asset. [Refer: Hedging instruments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Hedging instrument, assets",
        "terseLabel": "Fair value, Assets"
       }
      }
     },
     "localname": "HedgingInstrumentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_HedgingInstrumentLiabilities": {
     "auth_ref": [
      "r284"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of a hedging instrument, recognised as a liability. [Refer: Hedging instruments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Hedging instrument, liabilities",
        "terseLabel": "Fair value, Liabilities"
       }
      }
     },
     "localname": "HedgingInstrumentLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_HedgingInstrumentsAxis": {
     "auth_ref": [
      "r282",
      "r286"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Hedging instruments [axis]",
        "terseLabel": "Hedging instruments [axis]"
       }
      }
     },
     "localname": "HedgingInstrumentsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_HedgingInstrumentsMember": {
     "auth_ref": [
      "r282",
      "r286"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for hedging instruments. A hedging instrument can be a designated: (a) derivative measured at fair value through profit or loss, except for some written options (see paragraph B6.2.4 of IFRS 9); (b) non-derivative financial asset or non-derivative financial liability measured at fair value through profit or loss, unless it is a financial liability designated as at fair value through profit or loss for which the amount of its change in fair value that is attributable to changes in the credit risk of that liability is presented in other comprehensive income in accordance with paragraph 5.7.7 of IFRS 9. For a hedge of foreign currency risk, the foreign currency risk component of a non-derivative financial asset or a non-derivative financial liability may be designated as a hedging instrument provided that it is not an investment in an equity instrument for which an entity has elected to present changes in fair value in other comprehensive income in accordance with paragraph 5.7.5 of IFRS 9. This member also represents the standard value for the 'Hedging instruments' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Hedging instruments [member]",
        "terseLabel": "Hedging instruments [member]"
       }
      }
     },
     "localname": "HedgingInstrumentsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed": {
     "auth_ref": [
      "r409",
      "r411"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for net identifiable assets acquired or liabilities assumed in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Identifiable assets acquired (liabilities assumed)",
        "totalLabel": "Acquisition value"
       }
      }
     },
     "localname": "IdentifiableAssetsAcquiredLiabilitiesAssumed",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IdentifiableIntangibleAssetsRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r409",
      "r411"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 4.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for identifiable intangible assets acquired in a business combination. [Refer: Intangible assets other than goodwill; Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Identifiable intangible assets recognised as of acquisition date",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "IdentifiableIntangibleAssetsRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLoss": {
     "auth_ref": [
      "r145",
      "r146"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as a reduction of the carrying amount of an asset or cash-generating unit to its recoverable amount. [Refer: Carrying amount [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment loss",
        "negatedLabel": "Impairment",
        "terseLabel": "Net impairment loss of assets",
        "totalLabel": "Net impairment",
        "verboseLabel": "Net impairment"
       }
      }
     },
     "localname": "ImpairmentLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLossOnFinancialAssets": {
     "auth_ref": [
      "r358"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of impairment loss on financial assets. [Refer: Financial assets; Impairment loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment loss on financial assets",
        "negatedLabel": "Write-offs",
        "terseLabel": "Write-offs"
       }
      }
     },
     "localname": "ImpairmentLossOnFinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLossRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r140",
      "r143"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 6.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of impairment loss recognised in profit or loss. [Refer: Impairment loss; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment loss recognised in profit or loss",
        "negatedLabel": "Impairment",
        "terseLabel": "Impairment loss of assets before tax effect",
        "verboseLabel": "Impairment"
       }
      }
     },
     "localname": "ImpairmentLossRecognisedInProfitOrLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLossRecognisedInProfitOrLossGoodwill": {
     "auth_ref": [
      "r268"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of impairment loss recognised in profit or loss for goodwill. [Refer: Impairment loss recognised in profit or loss; Goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment loss recognised in profit or loss, goodwill",
        "positiveLabel": "Impairment loss",
        "terseLabel": "Goodwill impairment loss",
        "verboseLabel": "Goodwill acquisition impairment"
       }
      }
     },
     "localname": "ImpairmentLossRecognisedInProfitOrLossGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeReceivables": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 2.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of impairment loss or reversal of impairment loss recognised in profit or loss for trade receivables. [Refer: Impairment loss recognised in profit or loss; Reversal of impairment loss recognised in profit or loss; Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Impairment loss (reversal of impairment loss) recognised in profit or loss, trade receivables",
        "negatedLabel": "Reversion (loss) allowance for expected credit losses",
        "negatedTerseLabel": "Loss allowance (reversion) for expected credit losses",
        "terseLabel": "Loss allowance (reversion) for expected credit losses",
        "verboseLabel": "Reversal of impairment (*)"
       }
      }
     },
     "localname": "ImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLossTradeReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InAccordanceWithIFRS9Member": {
     "auth_ref": [
      "r346"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the information reported in accordance with IFRS 9."
       }
      },
      "en-us": {
       "role": {
        "label": "In accordance with IFRS 9 [member]",
        "terseLabel": "IFRS 9 [member]"
       }
      }
     },
     "localname": "InAccordanceWithIFRS9Member",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IncomeArisingFromInsuranceContracts": {
     "auth_ref": [
      "r351"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income arising from insurance contracts. [Refer: Types of insurance contracts [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income arising from insurance contracts",
        "terseLabel": "Maximum compensation value"
       }
      }
     },
     "localname": "IncomeArisingFromInsuranceContracts",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeStatementAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated statement of income"
       }
      }
     },
     "localname": "IncomeStatementAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_IncomeTaxExpenseContinuingOperations": {
     "auth_ref": [
      "r54",
      "r69",
      "r71",
      "r72",
      "r123",
      "r216",
      "r316"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_ProfitLossFromContinuingOperations",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The aggregate amount included in the determination of profit (loss) for the period in respect of current tax and deferred tax. [Refer: Current tax expense (income); Deferred tax expense (income)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax expense (income)",
        "negatedLabel": "Income and social contribution taxes",
        "negatedTotalLabel": "Income and social contribution taxes in the statement of income"
       }
      }
     },
     "localname": "IncomeTaxExpenseContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome": {
     "auth_ref": [
      "r57",
      "r70"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income tax relating to components of other comprehensive income",
        "negatedLabel": "Deferred IRPJ and CSLL recognized in other comprehensive income"
       }
      }
     },
     "localname": "IncomeTaxRelatingToComponentsOfOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxRelatingToExchangeDifferencesOnTranslationOfOtherComprehensiveIncome": {
     "auth_ref": [
      "r57",
      "r70"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income in relation to exchange differences on the translation of financial statements of foreign operations. [Refer: Other comprehensive income; Reserve of exchange differences on translation]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income tax relating to exchange differences on translation of foreign operations included in other comprehensive income",
        "terseLabel": "IRPJ and CSLL on foreign currency exchange rate variation on notes in the foreign market"
       }
      }
     },
     "localname": "IncomeTaxRelatingToExchangeDifferencesOnTranslationOfOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxRelatingToFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "auth_ref": [
      "r57",
      "r70"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income in relation to financial assets measured at fair value through other comprehensive income applying paragraph 4.1.2A of IFRS 9. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Income tax relating to financial assets measured at fair value through other comprehensive income included in other comprehensive income",
        "negatedLabel": "IRPJ and CSLL on fair value"
       }
      }
     },
     "localname": "IncomeTaxRelatingToFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome": {
     "auth_ref": [
      "r57",
      "r70"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income tax relating to amounts recognised in other comprehensive income in relation to remeasurements of defined benefit plans. [Refer: Other comprehensive income; Reserve of remeasurements of defined benefit plans; Defined benefit plans [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "IRPJ and CSLL on actuarial (gains)",
        "negatedLabel": "IRPJ and CSLL on actuarial gains"
       }
      }
     },
     "localname": "IncomeTaxRelatingToRemeasurementsOfDefinedBenefitPlansOfOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) in defined benefit obligation due to reasonably possible decrease in actuarial assumption",
        "terseLabel": "Decrease in liability"
       }
      }
     },
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleDecreaseInActuarialAssumption",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption": {
     "auth_ref": [
      "r95"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in a defined benefit obligation that would have been caused by an increase in a significant actuarial assumption that was reasonably possible at the end of the reporting period. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) in defined benefit obligation due to reasonably possible increase in actuarial assumption",
        "terseLabel": "Increase in liability"
       }
      }
     },
     "localname": "IncreaseDecreaseInDefinedBenefitObligationDueToReasonablyPossibleIncreaseInActuarialAssumption",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughAcquisitionOfSubsidiary": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the acquisition of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through acquisition of subsidiary, equity",
        "terseLabel": "Capital increase attributable to non-controlling interests",
        "verboseLabel": "Increase in capital reserves"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughAcquisitionOfSubsidiary",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughChangeInEquityOfSubsidiaries": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in the entity's equity resulting from the change in the equity of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through change in equity of subsidiaries, equity",
        "terseLabel": "Equity instrument granted of subsidiaries"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughChangeInEquityOfSubsidiaries",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControl": {
     "auth_ref": [
      "r6"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity through changes in ownership interests in subsidiaries that do not result in loss of control. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through changes in ownership interests in subsidiaries that do not result in loss of control, equity",
        "terseLabel": "Changes in ownership interests in subsidiaries"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughChangesInOwnershipInterestsInSubsidiariesThatDoNotResultInLossOfControl",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughCumulativeCatchupAdjustmentsToRevenueContractAssets": {
     "auth_ref": [
      "r401"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in contract assets resulting from cumulative catch-up adjustments to revenue. [Refer: Contract assets; Revenue from contracts with customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through cumulative catch-up adjustments to revenue, contract assets",
        "terseLabel": "Additions",
        "verboseLabel": "Addition on contractual assets with customers \u2013 exclusive rights"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughCumulativeCatchupAdjustmentsToRevenueContractAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughDisposalOfSubsidiary": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from the disposal of subsidiaries. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through disposal of subsidiary, equity",
        "terseLabel": "Redemption of non-controlling shares of Oxiteno Nordeste"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughDisposalOfSubsidiary",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r488"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in intangible assets and goodwill resulting from the net exchange differences arising when the financial statements are translated from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, intangible assets and goodwill",
        "terseLabel": "Intangible assets, exchange rate variation"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment": {
     "auth_ref": [
      "r85"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through net exchange differences, property, plant and equipment",
        "terseLabel": "Property, plant, and equipment, exchange rate variation"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions": {
     "auth_ref": [
      "r152"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase in other provisions through adjustments arising from the passage of time. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase through adjustments arising from passage of time, other provisions",
        "terseLabel": "Accretion expense",
        "verboseLabel": "Interest"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTimeValueOfMoneyAdjustmentOtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughTransferToStatutoryReserve": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from transfers to a statutory reserve. [Refer: Statutory reserve]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through transfer to statutory reserve, equity",
        "terseLabel": "Transfer to investments reserve",
        "verboseLabel": "Transfer to statutory reserve"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransferToStatutoryReserve",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughTransfersAndOtherChangesEquity": {
     "auth_ref": [
      "r7"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from changes that the entity does not separately disclose in the same statement or note. [Refer: Equity]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through other changes, equity",
        "terseLabel": "Legal reserve"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransfersAndOtherChangesEquity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughTransfersIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r489"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in intangible assets and goodwill resulting from transfers. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through transfers, intangible assets and goodwill",
        "negatedLabel": "Intangible assets, transfer",
        "terseLabel": "Intangible assets, transfer"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransfersIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IncreaseDecreaseThroughTransfersPropertyPlantAndEquipment": {
     "auth_ref": [
      "r478"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The increase (decrease) in property, plant and equipment resulting from transfers. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Increase (decrease) through transfers, property, plant and equipment",
        "terseLabel": "Property, plant, and equipment, transfer"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransfersPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IndividualAssetsOrCashgeneratingUnitsAxis": {
     "auth_ref": [
      "r147"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Individual assets or cash-generating units [axis]",
        "terseLabel": "Individual assets or cash-generating units [axis]"
       }
      }
     },
     "localname": "IndividualAssetsOrCashgeneratingUnitsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_InitiallyAppliedIFRSsAxis": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Initially applied IFRSs [axis]"
       }
      }
     },
     "localname": "InitiallyAppliedIFRSsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_InitiallyAppliedIFRSsMember": {
     "auth_ref": [
      "r183"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for IFRSs that have been initially applied by the entity. It also represents the standard value for the 'Initially applied IFRSs' axis if no other member is used. [Refer: IFRSs [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Initially applied IFRSs [member]"
       }
      }
     },
     "localname": "InitiallyAppliedIFRSsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 16.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of intangible assets and goodwill held by the entity. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible assets and goodwill",
        "periodEndLabel": "Intangible assets, ending balance",
        "periodStartLabel": "Intangible assets, beginning",
        "terseLabel": "Intangible assets"
       }
      }
     },
     "localname": "IntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IntangibleAssetsAndGoodwillMember": {
     "auth_ref": [
      "r490"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for intangible assets and goodwill. It also represents the standard value for the 'Classes of intangible assets and goodwill' axis if no other member is used. [Refer: Goodwill; Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible assets and goodwill [member]",
        "terseLabel": "Intangible assets and goodwill [member]"
       }
      }
     },
     "localname": "IntangibleAssetsAndGoodwillMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IntangibleAssetsOtherThanGoodwillMember": {
     "auth_ref": [
      "r162",
      "r382",
      "r406"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for intangible assets other than goodwill. It also represents the standard value for the 'Classes of intangible assets other than goodwill' axis if no other member is used. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible assets other than goodwill [member]",
        "terseLabel": "Intangible assets",
        "verboseLabel": "Intangibles assets arising from business combination"
       }
      }
     },
     "localname": "IntangibleAssetsOtherThanGoodwillMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_IntangibleAssetsUnderDevelopment": {
     "auth_ref": [
      "r387"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of intangible assets representing such assets under development. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Intangible assets under development",
        "terseLabel": "Software in progress"
       }
      }
     },
     "localname": "IntangibleAssetsUnderDevelopment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnBorrowings": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on borrowings. [Refer: Interest expense; Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest expense on borrowings",
        "negatedLabel": "Interest on loans",
        "negatedTerseLabel": "Interest effect on debt"
       }
      }
     },
     "localname": "InterestExpenseOnBorrowings",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnDebtInstrumentsIssued": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 5.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on debt instruments issued. [Refer: Interest expense; Debt instruments issued]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest expense on debt instruments issued",
        "negatedLabel": "Interest on debentures"
       }
      }
     },
     "localname": "InterestExpenseOnDebtInstrumentsIssued",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnLeaseLiabilities": {
     "auth_ref": [
      "r242"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest expense on lease liabilities",
        "terseLabel": "Interest accrued"
       }
      }
     },
     "localname": "InterestExpenseOnLeaseLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestExpenseOnOtherFinancialLiabilities": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 6.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest expense on other financial liabilities. [Refer: Interest expense; Other financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest expense on other financial liabilities",
        "negatedLabel": "Bank charges, financial transactions tax, and other taxes"
       }
      }
     },
     "localname": "InterestExpenseOnOtherFinancialLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestIncomeOnLoansAndAdvancesToCustomers": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 5.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of interest income on loans and advances to customers. [Refer: Interest income; Loans and advances to customers]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest income on loans and advances to customers",
        "terseLabel": "Interest from customers"
       }
      }
     },
     "localname": "InterestIncomeOnLoansAndAdvancesToCustomers",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InterestRateSwapContractMember": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an interest rate swap contract. [Refer: Swap contract [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Interest rate swap contract [member]",
        "terseLabel": "Interest rate swap contract [member]"
       }
      }
     },
     "localname": "InterestRateSwapContractMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Inventories": {
     "auth_ref": [
      "r17",
      "r100",
      "r367"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 5.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current inventories. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current inventories",
        "terseLabel": "Inventories",
        "totalLabel": "Net balance"
       }
      }
     },
     "localname": "Inventories",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InvestmentAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r16",
      "r220",
      "r318"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 13.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of investments accounted for using the equity method. The equity method is a method of accounting whereby the investment is initially recognised at cost and adjusted thereafter for the post-acquisition change in the investor's share of net assets of the investee. The investor's profit or loss includes its share of the profit or loss of the investee. The investor's other comprehensive income includes its share of the other comprehensive income of the investee. [Refer: At cost [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Investments accounted for using equity method",
        "periodEndLabel": "Joint venture and Associates, ending",
        "periodStartLabel": "Joint venture and Associates, beginning",
        "terseLabel": "Total investments"
       }
      }
     },
     "localname": "InvestmentAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InvestmentsAccountedForUsingEquityMethodAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Investments in joint controlled entities and associates"
       }
      }
     },
     "localname": "InvestmentsAccountedForUsingEquityMethodAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_InvestmentsInJointVenturesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of investments in joint ventures accounted for using the equity method. [Refer: Joint ventures [member]; Investments accounted for using equity method]"
       }
      },
      "en-us": {
       "role": {
        "label": "Investments in joint ventures accounted for using equity method",
        "periodEndLabel": "Joint ventures, ending",
        "periodStartLabel": "Joint ventures, beginning",
        "terseLabel": "Investments in joint ventures and associates"
       }
      }
     },
     "localname": "InvestmentsInJointVenturesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_InvestmentsInSubsidiariesJointVenturesAndAssociates": {
     "auth_ref": [
      "r124"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of investments in subsidiaries, joint ventures and associates in an entity's separate financial statements. [Refer: Associates [member]; Joint ventures [member]; Subsidiaries [member]; Investments in subsidiaries reported in separate financial statements]"
       }
      },
      "en-us": {
       "role": {
        "label": "Investments in subsidiaries, joint ventures and associates",
        "terseLabel": "Investments",
        "totalLabel": "Total investments"
       }
      }
     },
     "localname": "InvestmentsInSubsidiariesJointVenturesAndAssociates",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IssuedCapital": {
     "auth_ref": [
      "r370"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal value of capital issued."
       }
      },
      "en-us": {
       "role": {
        "label": "Issued capital",
        "terseLabel": "Share capital"
       }
      }
     },
     "localname": "IssuedCapital",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_IssuedCapitalMember": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing issued capital."
       }
      },
      "en-us": {
       "role": {
        "label": "Issued capital [member]",
        "terseLabel": "Share capital"
       }
      }
     },
     "localname": "IssuedCapitalMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_JointVenturesAxis": {
     "auth_ref": [
      "r128",
      "r132",
      "r222",
      "r349",
      "r355"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Joint ventures [axis]",
        "terseLabel": "Joint ventures [axis]"
       }
      }
     },
     "localname": "JointVenturesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_JointVenturesMember": {
     "auth_ref": [
      "r128",
      "r132",
      "r222",
      "r347",
      "r354"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for joint arrangements whereby the parties that have joint control of the arrangement have rights to the net assets of the arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Joint ventures [member]"
       }
      }
     },
     "localname": "JointVenturesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensation": {
     "auth_ref": [
      "r110"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel compensation",
        "terseLabel": "Compensation expense of key executives",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensation",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationPostemploymentBenefits": {
     "auth_ref": [
      "r107"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of post-employment benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, post-employment benefits",
        "terseLabel": "Post-employment benefits"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationPostemploymentBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationSharebasedPayment": {
     "auth_ref": [
      "r109"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of share-based payments. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, share-based payment",
        "terseLabel": "Stock compensation"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationSharebasedPayment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationShorttermEmployeeBenefits": {
     "auth_ref": [
      "r106"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of short-term employee benefits. [Refer: Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, short-term employee benefits",
        "terseLabel": "Short-term compensation"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationShorttermEmployeeBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelCompensationTerminationBenefits": {
     "auth_ref": [
      "r108"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_KeyManagementPersonnelCompensation",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of compensation to key management personnel in the form of termination benefits. [Refer: Termination benefits expense; Key management personnel of entity or parent [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel compensation, termination benefits",
        "terseLabel": "Personnel expenses",
        "verboseLabel": "Termination benefit"
       }
      }
     },
     "localname": "KeyManagementPersonnelCompensationTerminationBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfExpensesForCompensationOfItsKeyExecutivesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_KeyManagementPersonnelOfEntityOrParentMember": {
     "auth_ref": [
      "r115"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for those persons having authority and responsibility for planning, directing and controlling the activities of the entity, directly or indirectly, including any director (whether executive or otherwise) of that entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Key management personnel of entity or parent [member]",
        "terseLabel": "Management"
       }
      }
     },
     "localname": "KeyManagementPersonnelOfEntityOrParentMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LandMember": {
     "auth_ref": [
      "r374"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing land held by the entity for use in operations. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Land [member]",
        "terseLabel": "Land [member]"
       }
      }
     },
     "localname": "LandMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanFiveYearsAndNotLaterThanSevenYearsMember": {
     "auth_ref": [
      "r417",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years and not later than seven years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than five years and not later than seven years [member]",
        "verboseLabel": "From 5 to 7 Years"
       }
      }
     },
     "localname": "LaterThanFiveYearsAndNotLaterThanSevenYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanFiveYearsAndNotLaterThanTenYearsMember": {
     "auth_ref": [
      "r417",
      "r428",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years and not later than ten years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than five years and not later than ten years [member]",
        "terseLabel": "From 6 to 10 years [member]"
       }
      }
     },
     "localname": "LaterThanFiveYearsAndNotLaterThanTenYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanFiveYearsMember": {
     "auth_ref": [
      "r250",
      "r251",
      "r342",
      "r417",
      "r424",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than five years [member]",
        "terseLabel": "More than 5 years [Member]",
        "verboseLabel": "More than 5 years"
       }
      }
     },
     "localname": "LaterThanFiveYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanFourYearsAndNotLaterThanFiveYearsMember": {
     "auth_ref": [
      "r250",
      "r251",
      "r342",
      "r417",
      "r428",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than four years and not later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than four years and not later than five years [member]",
        "terseLabel": "From 4 to 5 years [Member]",
        "verboseLabel": "4 to 5 years"
       }
      }
     },
     "localname": "LaterThanFourYearsAndNotLaterThanFiveYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneMonthAndNotLaterThanTwoMonthsMember": {
     "auth_ref": [
      "r413",
      "r427",
      "r467",
      "r512"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one month and not later than two months."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than one month and not later than two months [member]",
        "terseLabel": "31 to 60 days [member]"
       }
      }
     },
     "localname": "LaterThanOneMonthAndNotLaterThanTwoMonthsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanFiveYearsMember": {
     "auth_ref": [
      "r416",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than one year and not later than five years [member]",
        "terseLabel": "Between 1 and 5 years"
       }
      }
     },
     "localname": "LaterThanOneYearAndNotLaterThanFiveYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanThreeYearsMember": {
     "auth_ref": [
      "r417",
      "r422",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than three years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than one year and not later than three years [member]",
        "terseLabel": "Between 1 and 3 years [member]"
       }
      }
     },
     "localname": "LaterThanOneYearAndNotLaterThanThreeYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearAndNotLaterThanTwoYearsMember": {
     "auth_ref": [
      "r250",
      "r251",
      "r342",
      "r417",
      "r428",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year and not later than two years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than one year and not later than two years [member]",
        "terseLabel": "From 1 to 2 years [Member]",
        "verboseLabel": "1 to 2 years"
       }
      }
     },
     "localname": "LaterThanOneYearAndNotLaterThanTwoYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanOneYearMember": {
     "auth_ref": [
      "r29",
      "r444",
      "r449"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than one year."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than one year [member]",
        "terseLabel": "Later than one year [member]",
        "verboseLabel": "From 1 to 2 years"
       }
      }
     },
     "localname": "LaterThanOneYearMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanSevenYearsAndNotLaterThanTenYearsMember": {
     "auth_ref": [
      "r417",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than seven years and not later than ten years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than seven years and not later than ten years [member]",
        "verboseLabel": "From 7 to 10 Years"
       }
      }
     },
     "localname": "LaterThanSevenYearsAndNotLaterThanTenYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanSixMonthsMember": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than six months."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than six months [member]",
        "terseLabel": "More than 180 days [member]"
       }
      }
     },
     "localname": "LaterThanSixMonthsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanTenYearsAndNotLaterThanFifteenYearsMember": {
     "auth_ref": [
      "r417",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than ten years and not later than fifteen years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than ten years and not later than fifteen years [member]",
        "terseLabel": "From 11 to 15 years [member]"
       }
      }
     },
     "localname": "LaterThanTenYearsAndNotLaterThanFifteenYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanThreeMonthsAndNotLaterThanSixMonthsMember": {
     "auth_ref": [
      "r417",
      "r421",
      "r428",
      "r444",
      "r448"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than three months and not later than six months."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than three months and not later than six months [member]",
        "terseLabel": "91-180\u00a0days [member]"
       }
      }
     },
     "localname": "LaterThanThreeMonthsAndNotLaterThanSixMonthsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanThreeYearsAndNotLaterThanFiveYearsMember": {
     "auth_ref": [
      "r417",
      "r423",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than three years and not later than five years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than three years and not later than five years [member]",
        "terseLabel": "Between 3 and 5 years [member]",
        "verboseLabel": "From 3 to 5 Years"
       }
      }
     },
     "localname": "LaterThanThreeYearsAndNotLaterThanFiveYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanThreeYearsAndNotLaterThanFourYearsMember": {
     "auth_ref": [
      "r250",
      "r251",
      "r342",
      "r417",
      "r428",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than three years and not later than four years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than three years and not later than four years [member]",
        "terseLabel": "From 3 to 4 years [Member]",
        "verboseLabel": "3 to 4 years"
       }
      }
     },
     "localname": "LaterThanThreeYearsAndNotLaterThanFourYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember": {
     "auth_ref": [
      "r413",
      "r427",
      "r467",
      "r512"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than two months and not later than three months."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than two months and not later than three months [member]",
        "terseLabel": "61-90\u00a0days [member]"
       }
      }
     },
     "localname": "LaterThanTwoMonthsAndNotLaterThanThreeMonthsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LaterThanTwoYearsAndNotLaterThanThreeYearsMember": {
     "auth_ref": [
      "r250",
      "r251",
      "r342",
      "r417",
      "r428",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of later than two years and not later than three years."
       }
      },
      "en-us": {
       "role": {
        "label": "Later than two years and not later than three years [member]",
        "terseLabel": "From 2 to 3 years [Member]",
        "verboseLabel": "2 to 3 years"
       }
      }
     },
     "localname": "LaterThanTwoYearsAndNotLaterThanThreeYearsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LeaseLiabilities": {
     "auth_ref": [
      "r241"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities related to the entity's leases. Lease is a contract, or part of a contract, that conveys the right to use an underlying asset for a period of time in exchange for consideration."
       }
      },
      "en-us": {
       "role": {
        "label": "Lease liabilities",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Leases payable recognized on January 1, 2019",
        "verboseLabel": "Leases payable"
       }
      }
     },
     "localname": "LeaseLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LeaseLiabilitiesMember": {
     "auth_ref": [
      "r394",
      "r397"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Lease liabilities [member]",
        "terseLabel": "Lease liabilities [member]",
        "verboseLabel": "Lease payable [member]"
       }
      }
     },
     "localname": "LeaseLiabilitiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LeaseholdImprovementsMember": {
     "auth_ref": [
      "r476"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing improvements to assets held under a lease agreement."
       }
      },
      "en-us": {
       "role": {
        "label": "Leasehold improvements [member]",
        "terseLabel": "Leasehold improvements [member]"
       }
      }
     },
     "localname": "LeaseholdImprovementsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LegalProceedingsProvision": {
     "auth_ref": [
      "r383",
      "r384"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of provision for legal proceedings. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Legal proceedings provision",
        "terseLabel": "Liability provisions"
       }
      }
     },
     "localname": "LegalProceedingsProvision",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LegalProceedingsProvisionMember": {
     "auth_ref": [
      "r383",
      "r384"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a provision for legal proceedings. [Refer: Other provisions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Legal proceedings provision [member]",
        "terseLabel": "Provisions for tax, civil, and labor risks [member]"
       }
      }
     },
     "localname": "LegalProceedingsProvisionMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Level1OfFairValueHierarchyMember": {
     "auth_ref": [
      "r94",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are quoted prices (unadjusted) in active markets for identical assets or liabilities that the entity can access at the measurement date."
       }
      },
      "en-us": {
       "role": {
        "label": "Level 1 of fair value hierarchy [member]",
        "terseLabel": "Level 1 [member]"
       }
      }
     },
     "localname": "Level1OfFairValueHierarchyMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Level2OfFairValueHierarchyMember": {
     "auth_ref": [
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are inputs other than quoted prices included within Level 1 that are observable for the asset or liability, either directly or indirectly."
       }
      },
      "en-us": {
       "role": {
        "label": "Level 2 of fair value hierarchy [member]",
        "terseLabel": "Level 2 [member]"
       }
      }
     },
     "localname": "Level2OfFairValueHierarchyMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Level3OfFairValueHierarchyMember": {
     "auth_ref": [
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a category of the fair value hierarchy where inputs to the valuation techniques are unobservable inputs for the asset or liability. Unobservable inputs are inputs for which market data are not available and that are developed using the best information available about the assumptions that the market participants would use when pricing the asset or liability."
       }
      },
      "en-us": {
       "role": {
        "label": "Level 3 of fair value hierarchy [member]",
        "terseLabel": "Level 3 [member]"
       }
      }
     },
     "localname": "Level3OfFairValueHierarchyMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LevelsOfFairValueHierarchyAxis": {
     "auth_ref": [
      "r94",
      "r225"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Levels of fair value hierarchy [axis]",
        "terseLabel": "Levels of fair value hierarchy [axis]"
       }
      }
     },
     "localname": "LevelsOfFairValueHierarchyAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_LiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Liabilities [abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "LiabilitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_LiabilitiesArisingFromFinancingActivitiesAxis": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities arising from financing activities [axis]",
        "terseLabel": "Liabilities arising from financing activities [axis]"
       }
      }
     },
     "localname": "LiabilitiesArisingFromFinancingActivitiesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_LiabilitiesArisingFromFinancingActivitiesMember": {
     "auth_ref": [
      "r395"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for liabilities arising from financing activities. It also represents the standard value for the 'Liabilities arising from financing activities' axis if no other member is used. [Refer: Liabilities arising from financing activities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities arising from financing activities [member]",
        "terseLabel": "Liabilities arising from financing activities [member]"
       }
      }
     },
     "localname": "LiabilitiesArisingFromFinancingActivitiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LiabilitiesArisingFromInsuranceContracts": {
     "auth_ref": [
      "r351",
      "r352",
      "r439",
      "r441",
      "r442"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities under insurance contracts and reinsurance contracts issued. [Refer: Types of insurance contracts [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities under insurance contracts and reinsurance contracts issued",
        "terseLabel": "Liability insurance policies"
       }
      }
     },
     "localname": "LiabilitiesArisingFromInsuranceContracts",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale": {
     "auth_ref": [
      "r23",
      "r278"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 14.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities included in disposal groups classified as held for sale. [Refer: Liabilities; Disposal groups classified as held for sale [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities included in disposal groups classified as held for sale",
        "terseLabel": "Liabilities directly associated with assets held for sale",
        "verboseLabel": "Total liabilities held for sale and equity"
       }
      }
     },
     "localname": "LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSale",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LiabilitiesMember": {
     "auth_ref": [
      "r227"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a present obligation of the entity to transfer an economic resource as a result of past events. Economic resource is a right that has the potential to produce economic benefits. It also represents the standard value for the 'Classes of liabilities' axis if no other member is used. [Refer: Liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities [member]",
        "terseLabel": "Liabilities [member]"
       }
      }
     },
     "localname": "LiabilitiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_LiabilitiesToWhichSignificantRestrictionsApply": {
     "auth_ref": [
      "r198"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount in the consolidated financial statements of the liabilities of the group to which significant restrictions (for example, statutory, contractual and regulatory restrictions) apply on the entity's ability to settle the liabilities of the group."
       }
      },
      "en-us": {
       "role": {
        "label": "Liabilities to which significant restrictions apply",
        "terseLabel": "Restriction on encumbrance of assets"
       }
      }
     },
     "localname": "LiabilitiesToWhichSignificantRestrictionsApply",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LoansReceived": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_Borrowings",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of loans received."
       }
      },
      "en-us": {
       "role": {
        "label": "Loans received",
        "periodEndLabel": "Loans, debentures and finance leases, ending",
        "periodStartLabel": "Loans, debentures and finance leases, beginning",
        "terseLabel": "Total foreign currency and Brazilian Reais",
        "verboseLabel": "Loan received"
       }
      }
     },
     "localname": "LoansReceived",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LongtermBorrowings": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The non-current portion of non-current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current portion of non-current borrowings",
        "terseLabel": "Non-current",
        "verboseLabel": "Long term debt"
       }
      }
     },
     "localname": "LongtermBorrowings",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LongtermDeposits": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 8.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of long-term deposits held by the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Long-term deposits",
        "terseLabel": "Escrow deposits",
        "verboseLabel": "Total - non-current assets"
       }
      }
     },
     "localname": "LongtermDeposits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_LongtermLegalProceedingsProvision": {
     "auth_ref": [
      "r383",
      "r384"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 6.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_OtherProvisions",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current provision for legal proceedings. [Refer: Legal proceedings provision]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current legal proceedings provision",
        "terseLabel": "Provision for tax, civil and labor risks",
        "verboseLabel": "Non-current"
       }
      }
     },
     "localname": "LongtermLegalProceedingsProvision",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_MachineryMember": {
     "auth_ref": [
      "r375"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing long-lived, depreciable machinery used in operations. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Machinery [member]",
        "terseLabel": "Machinery [member]",
        "verboseLabel": "Equipment [member]"
       }
      }
     },
     "localname": "MachineryMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_MajorBusinessCombinationMember": {
     "auth_ref": [
      "r371"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for major business combinations. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Major business combination [member]"
       }
      }
     },
     "localname": "MajorBusinessCombinationMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_MajorComponentsOfTaxExpenseIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Major components of tax expense (income) [abstract]",
        "terseLabel": "Income and social contribution taxes"
       }
      }
     },
     "localname": "MajorComponentsOfTaxExpenseIncomeAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_MajorOrdinaryShareTransactionsMember": {
     "auth_ref": [
      "r372"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for major ordinary share transactions. [Refer: Ordinary shares [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Major ordinary share transactions [member]",
        "terseLabel": "Major ordinary share transactions [member]"
       }
      }
     },
     "localname": "MajorOrdinaryShareTransactionsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_MaturityAnalysisForDerivativeFinancialLiabilities": {
     "auth_ref": [
      "r300"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The disclosure of a maturity analysis for derivative financial liabilities, including the remaining contractual maturities for those derivative financial liabilities for which contractual maturities are essential for an understanding of the timing of the cash flows. [Refer: Derivative financial liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Disclosure of maturity analysis for derivative financial liabilities [text block]",
        "terseLabel": "Contractual undiscounted cash outflows"
       }
      }
     },
     "localname": "MaturityAnalysisForDerivativeFinancialLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ifrs-full_MaturityAxis": {
     "auth_ref": [
      "r30",
      "r238",
      "r250",
      "r251",
      "r283",
      "r301",
      "r334",
      "r335",
      "r337",
      "r342",
      "r379",
      "r417"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Maturity [axis]",
        "terseLabel": "Maturity [axis]"
       }
      }
     },
     "localname": "MaturityAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_MiscellaneousOtherOperatingExpense": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_OtherExpenseByFunction",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of miscellaneous other operating expenses. [Refer: Other operating income (expense)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Miscellaneous other operating expense",
        "negatedLabel": "Others"
       }
      }
     },
     "localname": "MiscellaneousOtherOperatingExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_MiscellaneousOtherOperatingIncome": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 6.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of miscellaneous other operating income. [Refer: Other operating income (expense)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Miscellaneous other operating income",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "MiscellaneousOtherOperatingIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_MiscellaneousOtherProvisionsMember": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for miscellaneous other provisions. [Refer: Other provisions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Miscellaneous other provisions [member]",
        "terseLabel": "Others [Member]"
       }
      }
     },
     "localname": "MiscellaneousOtherProvisionsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NameOfSubsidiary": {
     "auth_ref": [
      "r125",
      "r129",
      "r194",
      "r200"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The name of a subsidiary. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Name of subsidiary",
        "terseLabel": "Subsidiary"
       }
      }
     },
     "localname": "NameOfSubsidiary",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NetDebt": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of net debt of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Net debt",
        "terseLabel": "Net debt",
        "verboseLabel": "Cash/ Net debt on December 31, 2020"
       }
      }
     },
     "localname": "NetDebt",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NominalAmountOfHedgingInstrumentsInHedgingRelationshipsToWhichAmendmentsForInterestRateBenchmarkReformAreApplied": {
     "auth_ref": [
      "r288"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal amount of the hedging instruments in hedging relationships to which the entity is applying the exceptions in the scope of the amendments for interest rate benchmark reform. [Refer: Nominal amount of hedging instrument]"
       }
      },
      "en-us": {
       "role": {
        "label": "Nominal amount of hedging instruments in hedging relationships to which amendments for interest rate benchmark reform are applied",
        "terseLabel": "Notional amount (USD thousands)"
       }
      }
     },
     "localname": "NominalAmountOfHedgingInstrumentsInHedgingRelationshipsToWhichAmendmentsForInterestRateBenchmarkReformAreApplied",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NonadjustingEventsAfterReportingPeriodAxis": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Non-adjusting events after reporting period [axis]",
        "terseLabel": "Non-adjusting events after reporting period [axis]"
       }
      }
     },
     "localname": "NonadjustingEventsAfterReportingPeriodAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NonadjustingEventsMember": {
     "auth_ref": [
      "r67"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for events that occur between the end of the reporting period and the date when the financial statements are authorised for issue and are indicative of conditions that arose after the reporting period. It also represents the standard value for the 'Non-adjusting events after reporting period' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Non-adjusting events after reporting period [member]",
        "terseLabel": "Non-adjusting events after reporting period [member]"
       }
      }
     },
     "localname": "NonadjustingEventsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NoncontrollingInterests": {
     "auth_ref": [
      "r24",
      "r192",
      "r197"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_Equity",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of equity in a subsidiary not attributable, directly or indirectly, to a parent. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-controlling interests",
        "terseLabel": "Non-controlling interests in subsidiaries"
       }
      }
     },
     "localname": "NoncontrollingInterests",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncontrollingInterestsMember": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for equity in a subsidiary not attributable, directly or indirectly, to the parent."
       }
      },
      "en-us": {
       "role": {
        "label": "Non-controlling interests [member]",
        "terseLabel": "Non-controlling interests in subsidiaries"
       }
      }
     },
     "localname": "NoncontrollingInterestsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NoncurrentAssets": {
     "auth_ref": [
      "r31",
      "r206",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_Assets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that do not meet the definition of current assets. [Refer: Current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current assets",
        "terseLabel": "Non-current assets",
        "totalLabel": "Total non-current assets"
       }
      }
     },
     "localname": "NoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current assets [abstract]",
        "terseLabel": "Non-current assets"
       }
      }
     },
     "localname": "NoncurrentAssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners": {
     "auth_ref": [
      "r20"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 12.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current assets or disposal groups classified as held for sale or as held for distribution to owners. [Refer: Non-current assets or disposal groups classified as held for distribution to owners; Non-current assets or disposal groups classified as held for sale]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current assets or disposal groups classified as held for sale or as held for distribution to owners",
        "terseLabel": "Assets held for sale",
        "totalLabel": "Total assets held for sale"
       }
      }
     },
     "localname": "NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwners",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwnersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Discontinued operations",
        "terseLabel": "Assets and liabilities from subsidiaries held for sale and discontinued operations"
       }
      }
     },
     "localname": "NoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleOrAsHeldForDistributionToOwnersAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts": {
     "auth_ref": [
      "r326"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current assets other than financial instruments, deferred tax assets, post-employment benefit assets and rights arising under insurance contracts. [Refer: Deferred tax assets; Financial instruments, class [member]; Non-current assets; Types of insurance contracts [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current assets other than financial instruments, deferred tax assets, post-employment benefit assets, and rights arising under insurance contracts",
        "terseLabel": "Right-of-use assets, PP&amp;E and intangible assets"
       }
      }
     },
     "localname": "NoncurrentAssetsOtherThanFinancialInstrumentsDeferredTaxAssetsPostemploymentBenefitAssetsAndRightsArisingUnderInsuranceContracts",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationRightofuseAssetsPPEandIntangibleAssetsoftheCompanyAbroadDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentContractAssets": {
     "auth_ref": [
      "r232"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 12.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current contract assets. [Refer: Contract assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current contract assets",
        "terseLabel": "Non-current",
        "verboseLabel": "Contractual assets with customers - exclusivity rights"
       }
      }
     },
     "localname": "NoncurrentContractAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentDeferredIncomeIncludingNoncurrentContractLiabilities": {
     "auth_ref": [
      "r469",
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current deferred income including non-current contract liabilities. [Refer: Deferred income including contract liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current deferred income including non-current contract liabilities",
        "terseLabel": "Non-current"
       }
      }
     },
     "localname": "NoncurrentDeferredIncomeIncludingNoncurrentContractLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLeaseLiabilities": {
     "auth_ref": [
      "r241"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 7.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current lease liabilities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current lease liabilities",
        "terseLabel": "Non-current",
        "verboseLabel": "Leases payable"
       }
      }
     },
     "localname": "NoncurrentLeaseLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLiabilities": {
     "auth_ref": [
      "r32",
      "r208",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_EquityAndLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of liabilities that do not meet the definition of current liabilities. [Refer: Current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current liabilities",
        "terseLabel": "Non-current liabilities",
        "totalLabel": "Total non-current liabilities"
       }
      }
     },
     "localname": "NoncurrentLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non-current liabilities [abstract]",
        "terseLabel": "Non-current liabilities"
       }
      }
     },
     "localname": "NoncurrentLiabilitiesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_NoncurrentPayablesToRelatedParties": {
     "auth_ref": [
      "r472"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current payables due to related parties. [Refer: Related parties [member]; Payables to related parties]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current payables to related parties",
        "terseLabel": "Related parties"
       }
      }
     },
     "localname": "NoncurrentPayablesToRelatedParties",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentPortionOfNoncurrentNotesAndDebenturesIssued": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The non-current portion of non-current notes and debentures issued. [Refer: Notes and debentures issued]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current portion of non-current notes and debentures issued",
        "terseLabel": "Debentures"
       }
      }
     },
     "localname": "NoncurrentPortionOfNoncurrentNotesAndDebenturesIssued",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentPrepayments": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 11.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryofPrepaidExpensesDetailCalc2": {
       "order": 1.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current prepayments. [Refer: Prepayments]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current prepayments",
        "terseLabel": "Prepaid expenses",
        "verboseLabel": "Non-current"
       }
      }
     },
     "localname": "NoncurrentPrepayments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentProvisionsForEmployeeBenefits": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 4.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ProvisionsForEmployeeBenefits",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current provisions for employee benefits. [Refer: Provisions for employee benefits]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current provisions for employee benefits",
        "terseLabel": "Non-current",
        "verboseLabel": "Post-employment benefits"
       }
      }
     },
     "localname": "NoncurrentProvisionsForEmployeeBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentReceivablesFromTaxesOtherThanIncomeTax": {
     "auth_ref": [
      "r470"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 6.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ReceivablesFromTaxesOtherThanIncomeTax",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current receivables from taxes other than income tax. [Refer: Receivables from taxes other than income tax]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current receivables from taxes other than income tax",
        "terseLabel": "Recoverable taxes",
        "verboseLabel": "Non-current"
       }
      }
     },
     "localname": "NoncurrentReceivablesFromTaxesOtherThanIncomeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NoncurrentTradeReceivables": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_TradeReceivables",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current trade receivables. [Refer: Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Non-current trade receivables",
        "terseLabel": "Non-current",
        "verboseLabel": "Trade receivables"
       }
      }
     },
     "localname": "NoncurrentTradeReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NotLaterThanOneMonthMember": {
     "auth_ref": [
      "r415",
      "r420",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of not later than one month."
       }
      },
      "en-us": {
       "role": {
        "label": "Not later than one month [member]",
        "terseLabel": "Less than 30 days [member]"
       }
      }
     },
     "localname": "NotLaterThanOneMonthMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NotLaterThanOneYearMember": {
     "auth_ref": [
      "r28",
      "r250",
      "r251",
      "r342",
      "r417",
      "r428"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a time band of not later than one year."
       }
      },
      "en-us": {
       "role": {
        "label": "Not later than one year [member]",
        "terseLabel": "Up to 1 year",
        "verboseLabel": "Less than 1 year [member]"
       }
      }
     },
     "localname": "NotLaterThanOneYearMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_NotesAndDebenturesIssued": {
     "auth_ref": [
      "r467"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of notes and debentures issued by the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Notes and debentures issued",
        "terseLabel": "Notes to foreign market",
        "verboseLabel": "Debentures"
       }
      }
     },
     "localname": "NotesAndDebenturesIssued",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NotionalAmount": {
     "auth_ref": [
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal or face amount of a financial instrument, used to calculate payments made on that instrument."
       }
      },
      "en-us": {
       "role": {
        "label": "Notional amount",
        "positiveLabel": "Borrowings",
        "positiveTerseLabel": "Amount:",
        "terseLabel": "Notional amount",
        "verboseLabel": "Face value unit"
       }
      }
     },
     "localname": "NotionalAmount",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_NumberOfInstrumentsOtherEquityInstrumentsGranted": {
     "auth_ref": [
      "r259",
      "r502"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) granted in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of other equity instruments granted in share-based payment arrangement",
        "terseLabel": "Number of shares granted (Quantity)",
        "verboseLabel": "Shares granted"
       }
      }
     },
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsGranted",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) exercised or vested in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of other equity instruments exercised or vested in share-based payment arrangement",
        "negatedLabel": "Shares transferred to executives",
        "negatedTerseLabel": "Shares transferred (vesting)"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsExercisedOrVestedInSharebasedPaymentArrangement",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) expired in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of other equity instruments expired in share-based payment arrangement",
        "negatedLabel": "Cancellation of granted shares due to termination of executive employment"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsExpiredInSharebasedPaymentArrangement",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) outstanding in a share-based payment arrangement."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of other equity instruments outstanding in share-based payment arrangement",
        "periodEndLabel": "Share granted, ending",
        "periodStartLabel": "Share granted, beginning"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsOutstandingInSharebasedPaymentArrangement",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ifrs-full_NumberOfSharesIssuedAndFullyPaid": {
     "auth_ref": [
      "r37"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of shares issued by the entity, for which full payment has been received."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of shares issued and fully paid",
        "terseLabel": "Number of shares issued",
        "verboseLabel": "Subscribed and paid-in capital stock"
       }
      }
     },
     "localname": "NumberOfSharesIssuedAndFullyPaid",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_OrdinarySharesMember": {
     "auth_ref": [
      "r134",
      "r473"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for equity instruments that are subordinate to all other classes of equity instruments. It also represents the standard value for the 'Classes of ordinary shares' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Ordinary shares [member]",
        "terseLabel": "Common shares [member]"
       }
      }
     },
     "localname": "OrdinarySharesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherAssetsMember": {
     "auth_ref": [
      "r406"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for assets that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other assets [member]"
       }
      }
     },
     "localname": "OtherAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherCashPaymentsToAcquireInterestsInJointVenturesClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r390"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 5.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow to acquire interests in joint ventures (other than payments for those instruments considered to be cash equivalents or those held for dealing or trading purposes), classified as investing activities. [Refer: Joint ventures [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other cash payments to acquire interests in joint ventures, classified as investing activities",
        "negatedLabel": "Capital increase in joint ventures"
       }
      }
     },
     "localname": "OtherCashPaymentsToAcquireInterestsInJointVenturesClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncome": {
     "auth_ref": [
      "r5",
      "r45",
      "r58",
      "r213"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income and expense (including reclassification adjustments) that is not recognised in profit or loss as required or permitted by IFRSs. [Refer: IFRSs [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income",
        "totalLabel": "Other comprehensive income"
       }
      }
     },
     "localname": "OtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other comprehensive income [abstract]",
        "terseLabel": "Other comprehensive income:"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeBeforeTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "auth_ref": [
      "r33",
      "r59",
      "r280"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, before tax, after reclassification adjustments, related to financial assets measured at fair value through other comprehensive income applying paragraph 4.1.2A of IFRS 9. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, before tax, financial assets measured at fair value through other comprehensive income",
        "terseLabel": "Changes in fair value of financial instruments"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeBeforeTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans": {
     "auth_ref": [
      "r33",
      "r59",
      "r479"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, before tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [member]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, before tax, gains (losses) on remeasurements of defined benefit plans",
        "terseLabel": "Actuarial gain (loss) of post-employment benefits"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeBeforeTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslationOfForeignOperationsAndHedgesOfNetInvestmentsInForeignOperations": {
     "auth_ref": [
      "r475"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 8.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, after reclassification adjustments, that is the aggregate of exchange differences on translation of financial statements of foreign operations and hedges of net investments in foreign operations. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, net of tax, exchange differences on translation of foreign operations and hedges of net investments in foreign operations",
        "terseLabel": "Translation adjustments and hedge of net investments in foreign operations, net of taxes",
        "verboseLabel": "Currency translation of foreign subsidiaries, including the effect of net investments hedge"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxExchangeDifferencesOnTranslationOfForeignOperationsAndHedgesOfNetInvestmentsInForeignOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome": {
     "auth_ref": [
      "r33",
      "r58"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 9.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, after reclassification adjustments, related to financial assets measured at fair value through other comprehensive income applying paragraph 4.1.2A of IFRS 9. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, net of tax, financial assets measured at fair value through other comprehensive income",
        "terseLabel": "Fair value adjustments of financial instruments of subsidiaries and joint ventures, net of taxes",
        "verboseLabel": "Fair value adjustments of available for financial instruments, net of income taxes"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans": {
     "auth_ref": [
      "r33",
      "r58",
      "r479"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 7.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to gains (losses) on remeasurements of defined benefit plans, which comprise actuarial gains and losses; the return on plan assets, excluding amounts included in net interest on the net defined benefit liability (asset); and any change in the effect of the asset ceiling, excluding amounts included in net interest on the net defined benefit liability (asset). [Refer: Other comprehensive income; Defined benefit plans [member]; Plan assets [member]; Net defined benefit liability (asset)] [Contrast: Decrease (increase) in net defined benefit liability (asset) resulting from gain (loss) on remeasurement in other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans",
        "terseLabel": "Actuarial losses of post-employment benefits, net of income taxes",
        "verboseLabel": "Actuarial gains/(losses) of post-employment benefits, net of income and social contribution taxes"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxGainsLossesOnRemeasurementsOfDefinedBenefitPlans",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherComprehensiveIncomeNetOfTaxHedgesOfNetInvestmentsInForeignOperations": {
     "auth_ref": [
      "r58",
      "r164",
      "r331"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, after reclassification adjustments, related to hedges of net investments in foreign operations. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other comprehensive income, net of tax, hedges of net investments in foreign operations",
        "terseLabel": "Gain (loss) recognized in other comprehensive income, net of deferred income and social contribution taxes"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxHedgesOfNetInvestmentsInForeignOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherCurrentAssets": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current assets that the entity does not separately disclose in the same statement or note. [Refer: Current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other current assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherCurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherCurrentLiabilities": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other current liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherCurrentLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherCurrentPayables": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 13.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current payables that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other current payables",
        "terseLabel": "Other payables"
       }
      }
     },
     "localname": "OtherCurrentPayables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherExpenseByFunction": {
     "auth_ref": [
      "r65",
      "r122",
      "r365"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_OtherOperatingIncomeExpense",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expenses that the entity does not separately disclose in the same statement or note when the entity uses the 'function of expense' form for its analysis of expenses."
       }
      },
      "en-us": {
       "role": {
        "label": "Other expense, by function",
        "negatedLabel": "Other operating expenses",
        "negatedTotalLabel": "Total other operating expenses"
       }
      }
     },
     "localname": "OtherExpenseByFunction",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherFinanceCost": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of finance costs that the entity does not separately disclose in the same statement or note. [Refer: Finance costs]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other finance cost",
        "negatedLabel": "Interest of provisions and other expenses"
       }
      }
     },
     "localname": "OtherFinanceCost",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherFinanceIncome": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of finance income that the entity does not separately disclose in the same statement or note. [Refer: Finance income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other finance income",
        "terseLabel": "Other finance income"
       }
      }
     },
     "localname": "OtherFinanceIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherGainsLosses": {
     "auth_ref": [
      "r463",
      "r464"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The gains (losses) that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other gains (losses)",
        "terseLabel": "Other operating income, net"
       }
      }
     },
     "localname": "OtherGainsLosses",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherIncome": {
     "auth_ref": [
      "r120",
      "r364",
      "r365"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_OtherOperatingIncomeExpense",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of operating income that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other income",
        "terseLabel": "Other operating income",
        "totalLabel": "Total other operating income",
        "verboseLabel": "Other operating income, net"
       }
      }
     },
     "localname": "OtherIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherIndividuallyImmaterialComponentsOfOtherComprehensiveIncomeNetOfTax": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 6.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of individually immaterial components of other comprehensive income, net of tax, that the entity does not separately disclose in the same statement or note. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other individually immaterial components of other comprehensive income, net of tax",
        "terseLabel": "Other comprehensive income"
       }
      }
     },
     "localname": "OtherIndividuallyImmaterialComponentsOfOtherComprehensiveIncomeNetOfTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherIntangibleAssetsMember": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of intangible assets that the entity does not separately disclose in the same statement or note. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other intangible assets [member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherIntangibleAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherLongtermProvisions": {
     "auth_ref": [
      "r35"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current provisions other than provisions for employee benefits. [Refer: Non-current provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current provisions",
        "terseLabel": "Non-current"
       }
      }
     },
     "localname": "OtherLongtermProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentAssets": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current assets that the entity does not separately disclose in the same statement or note. [Refer: Non-current assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current assets",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "OtherNoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentFinancialAssets": {
     "auth_ref": [
      "r15"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current financial assets that the entity does not separately disclose in the same statement or note. [Refer: Other financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current financial assets",
        "terseLabel": "Financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "OtherNoncurrentFinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentLiabilities": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current liabilities that the entity does not separately disclose in the same statement or note. [Refer: Non-current liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current liabilities",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "OtherNoncurrentLiabilities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentPayables": {
     "auth_ref": [
      "r469"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 11.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current payables that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current payables",
        "verboseLabel": "Other payables"
       }
      }
     },
     "localname": "OtherNoncurrentPayables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherNoncurrentReceivables": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 10.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of non-current other receivables. [Refer: Other receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other non-current receivables",
        "terseLabel": "Other receivables"
       }
      }
     },
     "localname": "OtherNoncurrentReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherOperatingIncomeExpense": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 4.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2": {
       "order": 3.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 5.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of operating income (expense) that the entity does not separately disclose in the same statement or note."
       }
      },
      "en-us": {
       "role": {
        "label": "Other operating income (expense)",
        "positiveLabel": "Other operating income, net",
        "terseLabel": "Costs, operating expenses and income",
        "totalLabel": "Other operating income, net",
        "verboseLabel": "Other operating income (expenses), net"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherProvisions": {
     "auth_ref": [
      "r35",
      "r148"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of provisions other than provisions for employee benefits. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other provisions",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning balance"
       }
      }
     },
     "localname": "OtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherProvisionsMember": {
     "auth_ref": [
      "r153"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for provisions other than provisions for employee benefits. It also represents the standard value for the 'Classes of other provisions' axis if no other member is used. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other provisions [member]",
        "terseLabel": "Other provisions [member]"
       }
      }
     },
     "localname": "OtherProvisionsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherRelatedPartiesMember": {
     "auth_ref": [
      "r116"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for related parties that the entity does not separately disclose in the same statement or note. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other related parties [member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherRelatedPartiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_OtherReserves": {
     "auth_ref": [
      "r370"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 4.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing reserves within equity, not including retained earnings. [Refer: Retained earnings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other reserves",
        "terseLabel": "Revaluation reserve on subsidiaries"
       }
      }
     },
     "localname": "OtherReserves",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherShorttermProvisions": {
     "auth_ref": [
      "r35"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current provisions other than provisions for employee benefits. [Refer: Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other current provisions",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "OtherShorttermProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 6.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that the entity does not separately disclose in the same statement or note. [Refer: Accounting profit; Applicable tax rate]"
       }
      },
      "en-us": {
       "role": {
        "label": "Other tax effects for reconciliation between accounting profit and tax expense (income)",
        "negatedLabel": "Other adjustments"
       }
      }
     },
     "localname": "OtherTaxEffectsForReconciliationBetweenAccountingProfitAndTaxExpenseIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ParValuePerShare": {
     "auth_ref": [
      "r38"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The nominal value per share."
       }
      },
      "en-us": {
       "role": {
        "label": "Par value per share"
       }
      }
     },
     "localname": "ParValuePerShare",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_PastDueStatusAxis": {
     "auth_ref": [
      "r413",
      "r512"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Past due status [axis]"
       }
      }
     },
     "localname": "PastDueStatusAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_PastDueStatusMember": {
     "auth_ref": [
      "r413",
      "r512"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all past-due statuses. It also represents the standard value for the 'Past due status' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Past due status [member]"
       }
      }
     },
     "localname": "PastDueStatusMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r393"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 3.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for payment of lease liabilities, classified as financing activities. [Refer: Lease liabilities]"
       }
      },
      "en-us": {
       "role": {
        "label": "Payments of lease liabilities, classified as financing activities",
        "negatedLabel": "Payments of lease",
        "negatedTerseLabel": "Principal"
       }
      }
     },
     "localname": "PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PercentageOfEntitysRevenue": {
     "auth_ref": [
      "r507"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The percentage of the entity's revenue. [Refer: Revenue]"
       }
      },
      "en-us": {
       "role": {
        "label": "Percentage of entity's revenue",
        "terseLabel": "Percentage of entity's consolidated revenue"
       }
      }
     },
     "localname": "PercentageOfEntitysRevenue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_PercentageOfReasonablyPossibleDecreaseInActuarialAssumption": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The reasonably possible percentage of the decrease in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Percentage of reasonably possible decrease in actuarial assumption",
        "terseLabel": "Change in assumptions"
       }
      }
     },
     "localname": "PercentageOfReasonablyPossibleDecreaseInActuarialAssumption",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_PercentageOfReasonablyPossibleIncreaseInActuarialAssumption": {
     "auth_ref": [
      "r95"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The reasonably possible percentage of the increase in the actuarial assumption used to determine the present value of defined benefit obligation. [Refer: Actuarial assumptions [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Percentage of reasonably possible increase in actuarial assumption",
        "terseLabel": "Change in assumptions"
       }
      }
     },
     "localname": "PercentageOfReasonablyPossibleIncreaseInActuarialAssumption",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanSensitivityAnalysisDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_PercentageOfVotingEquityInterestsAcquired": {
     "auth_ref": [
      "r261"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The percentage of voting equity interests acquired in a business combination. [Refer: Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Percentage of voting equity interests acquired"
       }
      }
     },
     "localname": "PercentageOfVotingEquityInterestsAcquired",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_PortionOfConsiderationPaidReceivedConsistingOfCashAndCashEquivalents": {
     "auth_ref": [
      "r177"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsUsedInObtainingControlOfSubsidiariesOrOtherBusinessesClassifiedAsInvestingActivities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The portion of consideration paid or received, consisting of cash and cash equivalents, in respect of both obtaining and losing control of subsidiaries or other businesses. [Refer: Subsidiaries [member]; Cash and cash equivalents; Consideration paid (received)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Portion of consideration paid (received) consisting of cash and cash equivalents",
        "terseLabel": "Consideration in cash"
       }
      }
     },
     "localname": "PortionOfConsiderationPaidReceivedConsistingOfCashAndCashEquivalents",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PostemploymentBenefitExpenseDefinedBenefitPlans": {
     "auth_ref": [
      "r479",
      "r482"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of post-employment benefit expense included in profit or loss relating to defined benefit plans. [Refer: Profit (loss); Defined benefit plans [member]] [Contrast: Increase (decrease) in net defined benefit liability (asset) resulting from expense (income) in profit or loss]"
       }
      },
      "en-us": {
       "role": {
        "label": "Post-employment benefit expense in profit or loss, defined benefit plans",
        "terseLabel": "Employee benefit expense",
        "totalLabel": "Expense for the year",
        "verboseLabel": "Expense for the year of continuing operations"
       }
      }
     },
     "localname": "PostemploymentBenefitExpenseDefinedBenefitPlans",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_Prepayments": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryofPrepaidExpensesDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Receivables that represent amounts paid for goods and services before they have been delivered."
       }
      },
      "en-us": {
       "role": {
        "label": "Prepayments",
        "totalLabel": "Prepaid expenses"
       }
      }
     },
     "localname": "Prepayments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PrepaymentsAndAccruedIncomeOtherThanContractAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Prepayments and accrued income other than contract assets [abstract]"
       }
      }
     },
     "localname": "PrepaymentsAndAccruedIncomeOtherThanContractAssetsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_PresentationOfLeasesForLesseeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Right-of-use assets and leases payable",
        "terseLabel": "Presentation of leases for lessee [abstract]"
       }
      }
     },
     "localname": "PresentationOfLeasesForLesseeAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_PreviouslyStatedMember": {
     "auth_ref": [
      "r3",
      "r182",
      "r184",
      "r185"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the information previously stated in the financial statements (ie before retrospective application or retrospective restatement)."
       }
      },
      "en-us": {
       "role": {
        "label": "Previously stated [member]",
        "terseLabel": "Previously stated [member]",
        "verboseLabel": "Disclosed"
       }
      }
     },
     "localname": "PreviouslyStatedMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_PrincipalPlaceOfBusinessOfSubsidiary": {
     "auth_ref": [
      "r126",
      "r130",
      "r195",
      "r201"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The principal place of business of a subsidiary. [Refer: Principal place of business; Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Principal place of business of subsidiary",
        "terseLabel": "Location"
       }
      }
     },
     "localname": "PrincipalPlaceOfBusinessOfSubsidiary",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProceedsFromBorrowingsClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r391"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from borrowings obtained. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from borrowings, classified as financing activities",
        "terseLabel": "Proceeds"
       }
      }
     },
     "localname": "ProceedsFromBorrowingsClassifiedAsFinancingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromContributionsOfNoncontrollingInterests": {
     "auth_ref": [
      "r496"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 8.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from proceeds from contributions of non-controlling interests. [Refer: Non-controlling interests]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from contributions of non-controlling interests",
        "terseLabel": "Capital increase made by non-controlling interests and redemption of shares"
       }
      }
     },
     "localname": "ProceedsFromContributionsOfNoncontrollingInterests",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromDisposalOfNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleAndDiscontinuedOperations": {
     "auth_ref": [
      "r495"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 7.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the disposal of non-current assets or disposal groups classified as held for sale and discontinued operations. [Refer: Discontinued operations [member]; Disposal groups classified as held for sale [member]; Non-current assets or disposal groups classified as held for sale]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from disposal of non-current assets or disposal groups classified as held for sale and discontinued operations",
        "terseLabel": "Transactions with discontinued operations"
       }
      }
     },
     "localname": "ProceedsFromDisposalOfNoncurrentAssetsOrDisposalGroupsClassifiedAsHeldForSaleAndDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets": {
     "auth_ref": [
      "r495"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 4.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the disposal of property, plant and equipment, intangible assets other than goodwill, investment property and other non-current assets. [Refer: Intangible assets other than goodwill; Investment property; Other non-current assets; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from disposals of property, plant and equipment, intangible assets other than goodwill, investment property and other non-current assets",
        "terseLabel": "Cash provided by disposal of investments and property, plant and equipment"
       }
      }
     },
     "localname": "ProceedsFromDisposalsOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromIssueOfBondsNotesAndDebentures": {
     "auth_ref": [
      "r496"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from the issuing of bonds, notes and debentures."
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from issue of bonds, notes and debentures",
        "terseLabel": "Proceeds through the issuance of borrowings"
       }
      }
     },
     "localname": "ProceedsFromIssueOfBondsNotesAndDebentures",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromSalesOfInterestsInAssociates": {
     "auth_ref": [
      "r495"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 8.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from sales of interests in associates. [Refer: Associates [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from sales of interests in associates",
        "terseLabel": "Capital decrease in associates and redemption of shares"
       }
      }
     },
     "localname": "ProceedsFromSalesOfInterestsInAssociates",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r389"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 11.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash inflow from sales of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proceeds from sales of property, plant and equipment, classified as investing activities",
        "terseLabel": "Proceeds from disposal of property, plant, and equipment and intangibles"
       }
      }
     },
     "localname": "ProceedsFromSalesOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProductsAndServicesAxis": {
     "auth_ref": [
      "r324",
      "r403"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Products and services [axis]",
        "terseLabel": "Products and services [axis]"
       }
      }
     },
     "localname": "ProductsAndServicesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProductsAndServicesMember": {
     "auth_ref": [
      "r324",
      "r403"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the entity's products and services. It also represents the standard value for the 'Products and services' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Products and services [member]",
        "terseLabel": "Products and services [member]"
       }
      }
     },
     "localname": "ProductsAndServicesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ProfitLoss": {
     "auth_ref": [
      "r4",
      "r44",
      "r171",
      "r188",
      "r190",
      "r317",
      "r320",
      "r398",
      "r434",
      "r438"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 0.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ConsolidatedStatementsofProfitorLossCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The total of income less expenses from continuing and discontinued operations, excluding the components of other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss)",
        "positiveLabel": "Profit (loss) for the year",
        "terseLabel": "Net income for the year",
        "totalLabel": "Net income for the year",
        "verboseLabel": "Net income (loss) for the year"
       }
      }
     },
     "localname": "ProfitLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome",
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss) [abstract]",
        "terseLabel": "Income"
       }
      }
     },
     "localname": "ProfitLossAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProfitLossAttributableToAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to [abstract]",
        "terseLabel": "Net Income attributable to:"
       }
      }
     },
     "localname": "ProfitLossAttributableToAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProfitLossAttributableToNoncontrollingInterests": {
     "auth_ref": [
      "r47",
      "r196"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofProfitorLossCalc2": {
       "order": 1.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing and discontinued operations attributable to non-controlling interests. [Refer: Profit (loss); Non-controlling interests]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to non-controlling interests",
        "terseLabel": "Non-controlling interests in subsidiaries"
       }
      }
     },
     "localname": "ProfitLossAttributableToNoncontrollingInterests",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntity": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) attributable to ordinary equity holders of the parent entity. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to ordinary equity holders of parent entity, used in calculating basic earnings per share",
        "terseLabel": "Net income for the year of the Company"
       }
      }
     },
     "localname": "ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to ordinary equity holders of parent entity [abstract]",
        "terseLabel": "Allocation of net income",
        "verboseLabel": "Allocation of net income"
       }
      }
     },
     "localname": "ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntityAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) attributable to ordinary equity holders of the parent entity, adjusted for the effects of all dilutive potential ordinary shares. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to ordinary equity holders of parent entity, used in calculating diluted earnings per share",
        "terseLabel": "Net income for the year of the Company"
       }
      }
     },
     "localname": "ProfitLossAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossAttributableToOwnersOfParent": {
     "auth_ref": [
      "r48"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofProfitorLossCalc2": {
       "order": 0.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail": {
       "order": 0.0,
       "parentTag": "ugp_AdjustedNetIncomeBasisForDividends",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing and discontinued operations attributable to owners of the parent. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss), attributable to owners of parent",
        "positiveLabel": "Shareholders of the Company",
        "positiveTerseLabel": "Net income for the year attributable to shareholders of Ultrapar",
        "terseLabel": "Shareholders of Ultrapar",
        "verboseLabel": "Net income for the year of the Company"
       }
      }
     },
     "localname": "ProfitLossAttributableToOwnersOfParent",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossBeforeTax": {
     "auth_ref": [
      "r274",
      "r364",
      "r365",
      "r430",
      "r431"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_ProfitLossFromContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) before tax expense or income. [Refer: Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) before tax",
        "terseLabel": "Income before taxes",
        "totalLabel": "Income before income and social contribution taxes",
        "verboseLabel": "Income (loss) before income and social contribution taxes"
       }
      }
     },
     "localname": "ProfitLossBeforeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromContinuingOperations": {
     "auth_ref": [
      "r44",
      "r211",
      "r317",
      "r320"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing operations. [Refer: Continuing operations [member]; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from continuing operations",
        "terseLabel": "Net income from continuing operations",
        "totalLabel": "Net income from continuing operations",
        "verboseLabel": "Profit from continuing operations"
       }
      }
     },
     "localname": "ProfitLossFromContinuingOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing operations attributable to ordinary equity holders of the parent entity. [Refer: Continuing operations [member]; Profit (loss) from continuing operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from continuing operations attributable to ordinary equity holders of parent entity, used in calculating basic earnings per share",
        "terseLabel": "Net income for the year of the Company, Continuing operations"
       }
      }
     },
     "localname": "ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from continuing operations attributable to ordinary equity holders of the parent entity, adjusted for the effects of all dilutive potential ordinary shares. [Refer: Profit (loss) from continuing operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from continuing operations attributable to ordinary equity holders of parent entity, used in calculating diluted earnings per share",
        "terseLabel": "Net income for the year of the Company, Continuing operations"
       }
      }
     },
     "localname": "ProfitLossFromContinuingOperationsAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromDiscontinuedOperations": {
     "auth_ref": [
      "r55",
      "r64",
      "r212",
      "r273"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ifrs-full_ProfitLoss",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from discontinued operations. [Refer: Discontinued operations [member]; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from discontinued operations",
        "positiveLabel": "Discontinued operations",
        "positiveTerseLabel": "Income from discontinued operations",
        "terseLabel": "Net income from discontinued operations",
        "verboseLabel": "Net income (loss) for the year"
       }
      }
     },
     "localname": "ProfitLossFromDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntity": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from discontinued operations attributable to ordinary equity holders of the parent entity. [Refer: Profit (loss) from discontinued operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from discontinued operations attributable to ordinary equity holders of parent entity, used in calculating basic earnings per share",
        "terseLabel": "Net income for the year of the Company, Discontinued operations"
       }
      }
     },
     "localname": "ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntity",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects": {
     "auth_ref": [
      "r137"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The profit (loss) from discontinued operations attributable to ordinary equity holders of the parent entity, adjusted for the effects of all dilutive potential ordinary shares. [Refer: Profit (loss) from discontinued operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Profit (loss) from discontinued operations attributable to ordinary equity holders of parent entity, used in calculating diluted earnings per share",
        "terseLabel": "Net income for the year of the Company, Discontinued operations"
       }
      }
     },
     "localname": "ProfitLossFromDiscontinuedOperationsAttributableToOrdinaryEquityHoldersOfParentEntityIncludingDilutiveEffects",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PropertyPlantAndEquipment": {
     "auth_ref": [
      "r14",
      "r86"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 15.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of tangible assets that: (a) are held for use in the production or supply of goods or services, for rental to others, or for administrative purposes; and (b) are expected to be used during more than one period."
       }
      },
      "en-us": {
       "role": {
        "label": "Property, plant and equipment",
        "periodEndLabel": "Property, plant, and equipment, ending",
        "periodStartLabel": "Property, plant, and equipment, beginning",
        "terseLabel": "Property, plant and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PropertyPlantAndEquipmentMember": {
     "auth_ref": [
      "r87",
      "r382",
      "r406"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for property, plant and equipment. It also represents the standard value for the 'Classes of property, plant and equipment' axis if no other member is used. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Property, plant and equipment [member]",
        "terseLabel": "Property, plant and equipment [member]",
        "verboseLabel": "Property, plant, and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_PropertyPlantAndEquipmentRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r409",
      "r411"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 3.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for plant, property and equipment acquired in a business combination. [Refer: Property, plant and equipment; Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Property, plant and equipment recognised as of acquisition date",
        "terseLabel": "Property, plant and equipment"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProportionOfOwnershipInterestInAssociate": {
     "auth_ref": [
      "r127",
      "r131",
      "r203"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The proportion of ownership interest in an associate attributable to the entity. [Refer: Associates [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proportion of ownership interest in associate",
        "terseLabel": "Interest in share capital - % in associates"
       }
      }
     },
     "localname": "ProportionOfOwnershipInterestInAssociate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ProportionOfOwnershipInterestInJointVenture": {
     "auth_ref": [
      "r127",
      "r131",
      "r203"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The proportion of ownership interest in a joint venture attributable to the entity. [Refer: Joint ventures [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proportion of ownership interest in joint venture",
        "terseLabel": "Interest in share capital - % in joint ventures"
       }
      }
     },
     "localname": "ProportionOfOwnershipInterestInJointVenture",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ProportionOfOwnershipInterestInSubsidiary": {
     "auth_ref": [
      "r127",
      "r131",
      "r202"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The proportion of ownership interest in a subsidiary attributable to the entity. [Refer: Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Proportion of ownership interest in subsidiary",
        "terseLabel": "Proportion of ownership interest in subsidiary (as a percent)"
       }
      }
     },
     "localname": "ProportionOfOwnershipInterestInSubsidiary",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_ProvisionOfGuaranteesOrCollateralByEntityRelatedPartyTransactions": {
     "auth_ref": [
      "r381"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of guarantees or collateral provided by the entity in related party transactions. [Refer: Guarantees [member]; Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Provision of guarantees or collateral by entity, related party transactions",
        "terseLabel": "Financing guaranteed by collateral"
       }
      }
     },
     "localname": "ProvisionOfGuaranteesOrCollateralByEntityRelatedPartyTransactions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProvisionUsedOtherProvisions": {
     "auth_ref": [
      "r150"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount used (ie incurred and charged against the provision) for other provisions. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Provision used, other provisions",
        "negatedLabel": "Expenditure with tanks removed",
        "negatedTerseLabel": "Payments"
       }
      }
     },
     "localname": "ProvisionUsedOtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ProvisionsForEmployeeBenefits": {
     "auth_ref": [
      "r35"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of provisions for employee benefits. [Refer: Employee benefits expense; Provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Provisions for employee benefits",
        "periodEndLabel": "Provision for post-employment benefits, ending",
        "periodStartLabel": "Provision for post-employment benefits, opening",
        "terseLabel": "Total",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "ProvisionsForEmployeeBenefits",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r388"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 2.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of intangible assets, classified as investing activities. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchase of intangible assets, classified as investing activities",
        "negatedLabel": "Acquisition of intangible assets",
        "terseLabel": "Acquisition of intangible assets"
       }
      }
     },
     "localname": "PurchaseOfIntangibleAssetsClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities": {
     "auth_ref": [
      "r388"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchases of property, plant and equipment, classified as investing activities. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchase of property, plant and equipment, classified as investing activities",
        "negatedLabel": "Acquisition of property, plant, and equipment",
        "terseLabel": "Acquisition of property, plant, and equipment"
       }
      }
     },
     "localname": "PurchaseOfPropertyPlantAndEquipmentClassifiedAsInvestingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PurchaseOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets": {
     "auth_ref": [
      "r495"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for the purchase of property, plant and equipment, intangible assets other than goodwill, investment property and other non-current assets. [Refer: Intangible assets other than goodwill; Investment property; Other non-current assets; Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchase of property, plant and equipment, intangible assets other than goodwill, investment property and other non-current assets",
        "totalLabel": "Total investments in PP&amp;E and intangible assets (cash flow)"
       }
      }
     },
     "localname": "PurchaseOfPropertyPlantAndEquipmentIntangibleAssetsOtherThanGoodwillInvestmentPropertyAndOtherNoncurrentAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_PurchasesOfGoodsRelatedPartyTransactions": {
     "auth_ref": [
      "r380"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of goods purchased by the entity in related party transactions. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Purchases of goods, related party transactions",
        "terseLabel": "Trading transactions, Purchases"
       }
      }
     },
     "localname": "PurchasesOfGoodsRelatedPartyTransactions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RangeAxis": {
     "auth_ref": [
      "r230",
      "r257",
      "r337",
      "r399",
      "r400",
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Range [axis]",
        "terseLabel": "Range [axis]"
       }
      }
     },
     "localname": "RangeAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_RangesMember": {
     "auth_ref": [
      "r230",
      "r257",
      "r337",
      "r399",
      "r400",
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for aggregate ranges. It also represents the standard value for the 'Range' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Ranges [member]",
        "terseLabel": "Ranges [member]"
       }
      }
     },
     "localname": "RangesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofPrincipalMaturityScheduleDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RateregulatedActivitiesMember": {
     "auth_ref": [
      "r229",
      "r231"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an entity\u2019s activities that are subject to rate regulation. It also represents the standard value for the 'Types of rate-regulated activities' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Rate-regulated activities [member]",
        "terseLabel": "Rate-regulated activities [member]"
       }
      }
     },
     "localname": "RateregulatedActivitiesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RawMaterialsAndConsumablesUsed": {
     "auth_ref": [
      "r65",
      "r364"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of raw materials and consumables used in the production process or in the rendering of services. [Refer: Current raw materials]"
       }
      },
      "en-us": {
       "role": {
        "label": "Raw materials and consumables used",
        "negatedLabel": "Raw materials and materials for use and consumption"
       }
      }
     },
     "localname": "RawMaterialsAndConsumablesUsed",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReceivablesFromContractsWithCustomersAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Receivables from contracts with customers [abstract]"
       }
      }
     },
     "localname": "ReceivablesFromContractsWithCustomersAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ReceivablesFromTaxesOtherThanIncomeTax": {
     "auth_ref": [
      "r470"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of receivables from taxes other than income tax. Income taxes include all domestic and foreign taxes that are based on taxable profits. Income taxes also include taxes, such as withholding taxes, that are payable by a subsidiary, associate or joint arrangement on distributions to the reporting entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Receivables from taxes other than income tax",
        "positiveLabel": "Recoverable taxes",
        "positiveTerseLabel": "Total recoverable ICMS, net of provision",
        "terseLabel": "Estimated recovery of ICMS assets",
        "totalLabel": "Recoverable taxes",
        "verboseLabel": "Estimated recovery of PIS and COFINS credits"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax": {
     "auth_ref": [
      "r60",
      "r361"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of reclassification adjustments related to cash flow hedges, before tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods. [Refer: Cash flow hedges [member]; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reclassification adjustments on cash flow hedges, before tax",
        "terseLabel": "Cumulative translation adjustments, net of cash flow hedging losses, reclassified to the statement of income"
       }
      }
     },
     "localname": "ReclassificationAdjustmentsOnCashFlowHedgesBeforeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationBeforeTax": {
     "auth_ref": [
      "r60",
      "r102"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of reclassification adjustments related to exchange differences when the financial statements of foreign operations are translated, before tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reclassification adjustments on exchange differences on translation of foreign operations, before tax",
        "negatedLabel": "Effect of foreign currency exchange rate variation on notes in the foreign market"
       }
      }
     },
     "localname": "ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationBeforeTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReconciliationOfAccountingProfitMultipliedByApplicableTaxRatesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Reconciliation of accounting profit multiplied by applicable tax rates [abstract]",
        "terseLabel": "Adjustment to the statutory income and social contribution taxes:"
       }
      }
     },
     "localname": "ReconciliationOfAccountingProfitMultipliedByApplicableTaxRatesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_RentalExpense": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_OtherExpenseByFunction",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense recognised on rental activities."
       }
      },
      "en-us": {
       "role": {
        "label": "Rental expense",
        "negatedLabel": "Property rental"
       }
      }
     },
     "localname": "RentalExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RentalIncome": {
     "auth_ref": [
      "r467"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of income recognised from rental activities."
       }
      },
      "en-us": {
       "role": {
        "label": "Rental income",
        "terseLabel": "Property rental"
       }
      }
     },
     "localname": "RentalIncome",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RepaymentsOfBondsNotesAndDebentures": {
     "auth_ref": [
      "r496"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow for repayments of bonds, notes and debentures."
       }
      },
      "en-us": {
       "role": {
        "label": "Repayments of bonds, notes and debentures",
        "terseLabel": "Repayments of borrowings",
        "verboseLabel": "Loans paid off in advance"
       }
      }
     },
     "localname": "RepaymentsOfBondsNotesAndDebentures",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RepaymentsOfBorrowingsClassifiedAsFinancingActivities": {
     "auth_ref": [
      "r392"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The cash outflow to settle borrowings, classified as financing activities. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Repayments of borrowings, classified as financing activities",
        "negatedLabel": "Repayments",
        "terseLabel": "Loans paid off in advance"
       }
      }
     },
     "localname": "RepaymentsOfBorrowingsClassifiedAsFinancingActivities",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReportableSegmentsMember": {
     "auth_ref": [
      "r235",
      "r317",
      "r378",
      "r437"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for operating segments for which IFRS 8 requires information to be disclosed. The entity shall report separately information about an operating segment that meets any of the following quantitative thresholds: (a) reported revenue, including both sales to external customers and intersegment sales or transfers, is 10 per cent or more of the combined revenue, internal and external, of all operating segments; (b) the absolute amount of its reported profit or loss is 10 per cent or more of the greater, in absolute amount, of (i) the combined reported profit of all operating segments that did not report a loss and (ii) the combined reported loss of all operating segments that reported a loss; or (c) assets are 10 per cent or more of the combined assets of all operating segments. Additionally operating segments that do not meet any of the quantitative thresholds may be considered reportable, and separately disclosed, if management believes that information about the segment would be useful to users of the financial statements. [Refer: Operating segments [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reportable segments [member]",
        "terseLabel": "Reportable segments [member]",
        "verboseLabel": "Subtotal Segments [member]"
       }
      }
     },
     "localname": "ReportableSegmentsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ResearchAndDevelopmentExpense": {
     "auth_ref": [
      "r163"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expenditure directly attributable to research or development activities, recognised in profit or loss."
       }
      },
      "en-us": {
       "role": {
        "label": "Research and development expense",
        "terseLabel": "Research and development expense recognized"
       }
      }
     },
     "localname": "ResearchAndDevelopmentExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfCashFlowHedgesContinuingHedges": {
     "auth_ref": [
      "r287"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing the reserve of cash flow hedges in relation to continuing hedges. [Refer: Reserve of cash flow hedges]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of cash flow hedges, continuing hedges",
        "totalLabel": "Cash Flow Hedge, Net effect in equity"
       }
      }
     },
     "localname": "ReserveOfCashFlowHedgesContinuingHedges",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfCashFlowHedgesMember": {
     "auth_ref": [
      "r330",
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing the accumulated portion of gain (loss) on a hedging instrument that is determined to be an effective hedge for cash flow hedges. [Refer: Cash flow hedges [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of cash flow hedges [member]",
        "terseLabel": "Fair value of cash flow hedging instruments [member]"
       }
      }
     },
     "localname": "ReserveOfCashFlowHedgesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ReserveOfDiscretionaryParticipationFeatures": {
     "auth_ref": [
      "r350",
      "r356",
      "r440"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 5.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity resulting from discretionary participation features. Discretionary participation features are contractual rights to receive, as a supplement to guaranteed benefits, additional benefits: (a) that are likely to be a significant portion of the total contractual benefits; (b) whose amount or timing is contractually at the discretion of the issuer; and (c) that are contractually based on: (i) the performance of a specified pool of contracts or a specified type of contract; (ii) realised and/or unrealised investment returns on a specified pool of assets held by the issuer; or (iii) the profit or loss of the company, fund or other entity that issues the contract."
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of discretionary participation features",
        "terseLabel": "Profit reserves"
       }
      }
     },
     "localname": "ReserveOfDiscretionaryParticipationFeatures",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfExchangeDifferencesOnTranslation": {
     "auth_ref": [
      "r103"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 7.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing exchange differences on translation of financial statements recognised in other comprehensive income and accumulated in equity. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of exchange differences on translation",
        "periodEndLabel": "Ending Balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Cumulative translation adjustments"
       }
      }
     },
     "localname": "ReserveOfExchangeDifferencesOnTranslation",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfExchangeDifferencesOnTranslationMember": {
     "auth_ref": [
      "r103",
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing accumulated exchange differences on the translation of financial statements recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of exchange differences on translation [member]",
        "terseLabel": "Cumulative translation adjustments"
       }
      }
     },
     "localname": "ReserveOfExchangeDifferencesOnTranslationMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember": {
     "auth_ref": [
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing the accumulated gains and losses on financial assets measured at fair value through other comprehensive income. [Refer: Financial assets measured at fair value through other comprehensive income; Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of gains and losses on financial assets measured at fair value through other comprehensive income [member]",
        "terseLabel": "Fair value of financial instruments [member]"
       }
      }
     },
     "localname": "ReserveOfGainsAndLossesOnFinancialAssetsMeasuredAtFairValueThroughOtherComprehensiveIncomeMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstruments": {
     "auth_ref": [
      "r471"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "A component of equity representing the accumulated gains and losses on hedging instruments that hedge investments in equity instruments that the entity has designated at fair value through other comprehensive income."
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of gains and losses on hedging instruments that hedge investments in equity instruments",
        "totalLabel": "Net Investment hedge in foreign entities, Net effect in equity"
       }
      }
     },
     "localname": "ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstruments",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReserveOfRemeasurementsOfDefinedBenefitPlansMember": {
     "auth_ref": [
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity resulting from remeasurements of defined benefit plans. [Refer: Other comprehensive income, net of tax, gains (losses) on remeasurements of defined benefit plans]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reserve of remeasurements of defined benefit plans [member]",
        "terseLabel": "Actuarial gains (losses) of post-employment benefits [member]"
       }
      }
     },
     "localname": "ReserveOfRemeasurementsOfDefinedBenefitPlansMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RestatedMember": {
     "auth_ref": [
      "r3",
      "r182",
      "r184",
      "r185",
      "r336",
      "r468"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the information currently stated in the financial statements. It also represents the standard value for the 'Retrospective application and retrospective restatement' and 'Departure from requirement of IFRS' axes if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Currently stated [member]",
        "terseLabel": "Currently stated [member]"
       }
      }
     },
     "localname": "RestatedMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RetainedEarningsMember": {
     "auth_ref": [
      "r8",
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing an entity's cumulative undistributed earnings or deficit."
       }
      },
      "en-us": {
       "role": {
        "label": "Retained earnings [member]",
        "terseLabel": "Retained earnings"
       }
      }
     },
     "localname": "RetainedEarningsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RetirementsIntangibleAssetsAndGoodwill": {
     "auth_ref": [
      "r489"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in intangible assets and goodwill resulting from retirements. [Refer: Intangible assets and goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Retirements, intangible assets and goodwill",
        "negatedLabel": "Asset retirement obligation \u2013 fuel tanks",
        "negatedTerseLabel": "Intangible assets, oxiteno andian",
        "terseLabel": "Intangible assets, oxiteno andian",
        "verboseLabel": "Asset retirement obligation \u2013 fuel tanks"
       }
      }
     },
     "localname": "RetirementsIntangibleAssetsAndGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RetirementsPropertyPlantAndEquipment": {
     "auth_ref": [
      "r478"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in property, plant and equipment resulting from retirements. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Retirements, property, plant and equipment",
        "negatedLabel": "Property, plant, and equipment, Oxiteno andian"
       }
      }
     },
     "localname": "RetirementsPropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RetrospectiveApplicationAndRetrospectiveRestatementAxis": {
     "auth_ref": [
      "r3",
      "r182",
      "r184",
      "r185"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Retrospective application and retrospective restatement [axis]",
        "terseLabel": "Retrospective application and retrospective restatement [axis]"
       }
      }
     },
     "localname": "RetrospectiveApplicationAndRetrospectiveRestatementAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_RevaluationSurplusMember": {
     "auth_ref": [
      "r78",
      "r191",
      "r366"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing accumulated revaluation surplus on the revaluation of assets recognised in other comprehensive income. [Refer: Other comprehensive income]"
       }
      },
      "en-us": {
       "role": {
        "label": "Revaluation surplus [member]",
        "terseLabel": "Revaluation reserve on subsidiaries"
       }
      }
     },
     "localname": "RevaluationSurplusMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_Revenue": {
     "auth_ref": [
      "r51",
      "r210",
      "r274",
      "r313",
      "r319",
      "r324",
      "r325",
      "r328",
      "r364",
      "r365",
      "r398"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_GrossProfit",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The income arising in the course of an entity's ordinary activities. Income is increases in assets, or decreases in liabilities, that result in increases in equity, other than those relating to contributions from holders of equity claims."
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue",
        "positiveLabel": "Net revenue from sales and services",
        "terseLabel": "Net revenue",
        "totalLabel": "Net revenue from sales and services",
        "verboseLabel": "Revenue"
       }
      }
     },
     "localname": "Revenue",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RevenueFromContractsWithCustomers": {
     "auth_ref": [
      "r233",
      "r234"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of revenue from contracts with customers. A customer is a party that has contracted with an entity to obtain goods or services that are an output of the entity\u2019s ordinary activities in exchange for consideration."
       }
      },
      "en-us": {
       "role": {
        "label": "Revenue from contracts with customers",
        "terseLabel": "Transactions with third parties"
       }
      }
     },
     "localname": "RevenueFromContractsWithCustomers",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReversalAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [
      "r510"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The decrease in an allowance account for credit losses of financial assets resulting from the reversal of impairment. [Refer: Allowance account for credit losses of financial assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reversal, allowance account for credit losses of financial assets",
        "negatedLabel": "Reversals"
       }
      }
     },
     "localname": "ReversalAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ReversalOfImpairmentLossRecognisedInProfitOrLoss": {
     "auth_ref": [
      "r141",
      "r144"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of reversal of impairment loss recognised in profit or loss. [Refer: Reversal of impairment loss; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Reversal of impairment",
        "terseLabel": "Reversal of impairment (*)"
       }
      }
     },
     "localname": "ReversalOfImpairmentLossRecognisedInProfitOrLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RightofuseAssets": {
     "auth_ref": [
      "r246"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 14.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of assets that represent a lessee's right to use an underlying asset for the lease term. Underlying asset is an asset that is the subject of a lease, for which the right to use that asset has been provided by a lessor to a lessee."
       }
      },
      "en-us": {
       "role": {
        "label": "Right-of-use assets",
        "periodEndLabel": "Balance at end of period",
        "periodStartLabel": "Balance at beginning of period",
        "terseLabel": "Right-of-use assets",
        "verboseLabel": "Right-of-use assets, net"
       }
      }
     },
     "localname": "RightofuseAssets",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_RightofuseAssetsMember": {
     "auth_ref": [
      "r240"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for right-of-use assets. [Refer: Right-of-use assets]"
       }
      },
      "en-us": {
       "role": {
        "label": "Right-of-use assets [member]",
        "terseLabel": "Right-of-use assets [member]",
        "verboseLabel": "Right-of-use assets"
       }
      }
     },
     "localname": "RightofuseAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_RightsPreferencesAndRestrictionsAttachingToClassOfShareCapital": {
     "auth_ref": [
      "r39"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The description of the rights, preferences and restrictions attaching to a class of share capital including restrictions on the distribution of dividends and the repayment of capital. [Refer: Share capital [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Rights, preferences and restrictions attaching to class of share capital"
       }
      }
     },
     "localname": "RightsPreferencesAndRestrictionsAttachingToClassOfShareCapital",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SalesAndMarketingExpense": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 3.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetailCalc2": {
       "order": 1.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to the marketing and selling of goods or services."
       }
      },
      "en-us": {
       "role": {
        "label": "Sales and marketing expense",
        "negatedLabel": "Selling and marketing",
        "negatedTerseLabel": "Selling marketing and administrative",
        "terseLabel": "Selling and marketing"
       }
      }
     },
     "localname": "SalesAndMarketingExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SegmentConsolidationItemsAxis": {
     "auth_ref": [
      "r317"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Segment consolidation items [axis]",
        "terseLabel": "Segment consolidation items [axis]"
       }
      }
     },
     "localname": "SegmentConsolidationItemsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SegmentsAxis": {
     "auth_ref": [
      "r146",
      "r235",
      "r317",
      "r378",
      "r437"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Segments [axis]",
        "terseLabel": "Segments [axis]"
       }
      }
     },
     "localname": "SegmentsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SegmentsMember": {
     "auth_ref": [
      "r146",
      "r235",
      "r323",
      "r378",
      "r437"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all segments of an entity. It also represents the standard value for the 'Segments' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Segments [member]",
        "terseLabel": "Segments [member]"
       }
      }
     },
     "localname": "SegmentsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_SellingGeneralAndAdministrativeExpense": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense relating to selling, general and administrative activities of the entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Selling, general and administrative expense",
        "negatedLabel": "Selling marketing and administrative"
       }
      }
     },
     "localname": "SellingGeneralAndAdministrativeExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ServiceConcessionArrangementsAxis": {
     "auth_ref": [
      "r333"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Service concession arrangements [axis]"
       }
      }
     },
     "localname": "ServiceConcessionArrangementsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ServiceConcessionArrangementsMember": {
     "auth_ref": [
      "r333"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for arrangements in which an entity (the operator) may enter into an arrangement with another entity (the grantor) to provide services that give the public access to major economic and social facilities. The grantor may be a public or private sector entity, including a governmental body. Examples of service concession arrangements involve water treatment and supply facilities, motorways, car parks, tunnels, bridges, airports and telecommunication networks. Examples of arrangements that are not service concession arrangements include an entity outsourcing the operation of its internal services (for example, employee cafeteria, building maintenance, and accounting or information technology functions). It also represents the standard value for the 'Service concession arrangements' axis if no other member is used. [Refer: Government [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Service concession arrangements [member]"
       }
      }
     },
     "localname": "ServiceConcessionArrangementsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_ServicesExpense": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 6.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of expense arising from services."
       }
      },
      "en-us": {
       "role": {
        "label": "Services expense",
        "negatedLabel": "Services provided by third parties"
       }
      }
     },
     "localname": "ServicesExpense",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareIssueRelatedCost": {
     "auth_ref": [
      "r465"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of cost related to the issuance of shares."
       }
      },
      "en-us": {
       "role": {
        "label": "Share issue related cost",
        "terseLabel": "Incurred costs directly attributable to issuing new shares"
       }
      }
     },
     "localname": "ShareIssueRelatedCost",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax": {
     "auth_ref": [
      "r56"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 5.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "Share of the other comprehensive income of associates and joint ventures accounted for using the equity method that will be reclassified to profit or loss, net of tax."
       }
      },
      "en-us": {
       "role": {
        "label": "Share of other comprehensive income of associates and joint ventures accounted for using equity method that will be reclassified to profit or loss, net of tax",
        "terseLabel": "Fair value adjustments of financial instruments of subsidiaries and joint ventures, net of taxes"
       }
      }
     },
     "localname": "ShareOfOtherComprehensiveIncomeOfAssociatesAndJointVenturesAccountedForUsingEquityMethodThatWillBeReclassifiedToProfitOrLossNetOfTax",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r474"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 2.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The entity's share of the profit (loss) of associates accounted for using the equity method. [Refer: Associates [member]; Investments accounted for using equity method; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Share of profit (loss) of associates accounted for using equity method",
        "negatedLabel": "Share of profit (loss) of associates",
        "terseLabel": "Associates",
        "verboseLabel": "Share of profit (loss) of subsidiaries, joint ventures and associates"
       }
      }
     },
     "localname": "ShareOfProfitLossOfAssociatesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/InvestmentsSummaryofreconciliationofshareofprofitlossofsubsidiariesjointventuresandassociatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r53",
      "r315",
      "r322",
      "r348"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 1.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The entity's share of the profit (loss) of associates and joint ventures accounted for using the equity method. [Refer: Associates [member]; Investments accounted for using equity method; Joint ventures [member]; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Share of profit (loss) of associates and joint ventures accounted for using equity method",
        "terseLabel": "Share of profit (loss) of joint ventures and associates",
        "totalLabel": "Share of profit (loss) of joint ventures and associates",
        "verboseLabel": "Share of profit (loss) of subsidiaries, joint ventures and associates"
       }
      }
     },
     "localname": "ShareOfProfitLossOfAssociatesAndJointVenturesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfProfitLossOfContinuingOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r218"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The entity's share of the profit (loss) from continuing operations of associates and joint ventures accounted for using the equity method. [Refer: Associates [member]; Continuing operations [member]; Investments accounted for using equity method; Joint ventures [member]; Profit (loss) from continuing operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Share of profit (loss) from continuing operations of associates and joint ventures accounted for using equity method",
        "terseLabel": "Share of profit (loss) of associates"
       }
      }
     },
     "localname": "ShareOfProfitLossOfContinuingOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfProfitLossOfDiscontinuedOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r219"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The entity's share of the post-tax profit (loss) from discontinued operations of associates and joint ventures accounted for using the equity method. [Refer: Associates [member]; Discontinued operations [member]; Investments accounted for using equity method; Joint ventures [member]; Profit (loss) from discontinued operations]"
       }
      },
      "en-us": {
       "role": {
        "label": "Share of post-tax profit (loss) from discontinued operations of associates and joint ventures accounted for using equity method",
        "terseLabel": "Share of profit (loss) of associates - discontinued operations"
       }
      }
     },
     "localname": "ShareOfProfitLossOfDiscontinuedOperationsOfAssociatesAndJointVenturesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShareOfProfitLossOfJointVenturesAccountedForUsingEquityMethod": {
     "auth_ref": [
      "r474"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The entity's share of the profit (loss) of joint ventures accounted for using the equity method. [Refer: Investments accounted for using equity method; Joint ventures [member]; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Share of profit (loss) of joint ventures accounted for using equity method",
        "negatedLabel": "Share of profit (loss) of joint ventures",
        "terseLabel": "Joint ventures"
       }
      }
     },
     "localname": "ShareOfProfitLossOfJointVenturesAccountedForUsingEquityMethod",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsSummaryofreconciliationofshareofprofitlossofsubsidiariesjointventuresandassociatesDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SharebasedPaymentArrangementsMember": {
     "auth_ref": [
      "r258"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an agreement between the entity or another group entity or any shareholder of the group entity and another party (including an employee) that entitles the other party to receive (a) cash or other assets of the entity for amounts that are based on the price (or value) of equity instruments (including shares or share options) of the entity or another group entity; or (b) equity instruments (including shares or share options) of the entity or another group entity, provided that the specified vesting conditions, if any, are met. It also represents the standard value for the 'Types of share-based payment arrangements' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Share-based payment arrangements [member]",
        "terseLabel": "Share-based payment arrangements [member]"
       }
      }
     },
     "localname": "SharebasedPaymentArrangementsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_SharesInEntityHeldByEntityOrByItsSubsidiariesOrAssociates": {
     "auth_ref": [
      "r40"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of shares in the entity held by the entity or by its subsidiaries or associates. [Refer: Associates [member]; Subsidiaries [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Number of shares in entity held by entity or by its subsidiaries or associates",
        "terseLabel": "Shares held in treasury"
       }
      }
     },
     "localname": "SharesInEntityHeldByEntityOrByItsSubsidiariesOrAssociates",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares": {
     "auth_ref": [
      "r41"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of shares reserved for issue under options and contracts for the sale of shares."
       }
      },
      "en-us": {
       "role": {
        "label": "Number of shares reserved for issue under options and contracts for sale of shares",
        "terseLabel": "Common shares approved as incentive ownership plan"
       }
      }
     },
     "localname": "SharesReservedForIssueUnderOptionsAndContractsForSaleOfShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_ShorttermBorrowings": {
     "auth_ref": [
      "r469"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current borrowings. [Refer: Borrowings]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current borrowings",
        "terseLabel": "Short-term liabilities"
       }
      }
     },
     "localname": "ShorttermBorrowings",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShorttermEmployeeBenefitsAccruals": {
     "auth_ref": [
      "r472"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 4.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of accruals for employee benefits (other than termination benefits) that are expected to be settled wholly within twelve months after the end of the annual reporting period in which the employees render the related services. [Refer: Accruals classified as current]"
       }
      },
      "en-us": {
       "role": {
        "label": "Short-term employee benefits accruals",
        "terseLabel": "Salaries and related charges",
        "totalLabel": "Salaries and related charges"
       }
      }
     },
     "localname": "ShorttermEmployeeBenefitsAccruals",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_ShorttermEmployeeBenefitsExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Short-term employee benefits expense [abstract]"
       }
      }
     },
     "localname": "ShorttermEmployeeBenefitsExpenseAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_ShorttermLegalProceedingsProvision": {
     "auth_ref": [
      "r383",
      "r384"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 10.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_OtherProvisions",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current provision for legal proceedings. [Refer: Legal proceedings provision]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current legal proceedings provision",
        "terseLabel": "Provision for tax, civil and labor risks",
        "verboseLabel": "Current"
       }
      }
     },
     "localname": "ShorttermLegalProceedingsProvision",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_SignificantInvestmentsInAssociatesAxis": {
     "auth_ref": [
      "r128",
      "r132",
      "r223",
      "r349",
      "r355"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Associates [axis]",
        "terseLabel": "Associates [axis]"
       }
      }
     },
     "localname": "SignificantInvestmentsInAssociatesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_SignificantInvestmentsInSubsidiariesAxis": {
     "auth_ref": [
      "r128",
      "r132",
      "r221"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Subsidiaries [axis]",
        "terseLabel": "Subsidiaries [axis]"
       }
      }
     },
     "localname": "SignificantInvestmentsInSubsidiariesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/OperationsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfCashFlowsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated statement of cash flows \u2013 indirect method"
       }
      }
     },
     "localname": "StatementOfCashFlowsAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated statements of changes in equity"
       }
      }
     },
     "localname": "StatementOfChangesInEquityAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityLineItems": {
     "auth_ref": [],
     "lang": {
      "en": {
       "role": {
        "documentation": "Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with members defined in one or many axes of the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Statement of changes in equity [line items]",
        "terseLabel": "Consolidated statements of changes in equity"
       }
      }
     },
     "localname": "StatementOfChangesInEquityLineItems",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfChangesInEquityTable": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "Schedule disclosing information related to changes in equity."
       }
      },
      "en-us": {
       "role": {
        "label": "Statement of changes in equity [table]",
        "terseLabel": "Statement of changes in equity [table]"
       }
      }
     },
     "localname": "StatementOfChangesInEquityTable",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfComprehensiveIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated statements of comprehensive income"
       }
      }
     },
     "localname": "StatementOfComprehensiveIncomeAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatementOfFinancialPositionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated statement of financial position"
       }
      }
     },
     "localname": "StatementOfFinancialPositionAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_StatutoryReserveMember": {
     "auth_ref": [
      "r466"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a component of equity representing reserves created based on legal requirements."
       }
      },
      "en-us": {
       "role": {
        "label": "Statutory reserve [member]",
        "terseLabel": "Legal Reserves"
       }
      }
     },
     "localname": "StatutoryReserveMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_SubsidiariesMember": {
     "auth_ref": [
      "r113",
      "r128",
      "r132",
      "r221"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for entities that are controlled by another entity."
       }
      },
      "en-us": {
       "role": {
        "label": "Subsidiaries [member]",
        "terseLabel": "Subsidiaries [member]"
       }
      }
     },
     "localname": "SubsidiariesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TaxEffectOfExpenseNotDeductibleInDeterminingTaxableProfitTaxLoss": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 1.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to expenses not deductible in determining taxable profit (tax loss). [Refer: Accounting profit]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax effect of expense not deductible in determining taxable profit (tax loss)",
        "negatedLabel": "Nondeductible expenses"
       }
      }
     },
     "localname": "TaxEffectOfExpenseNotDeductibleInDeterminingTaxableProfitTaxLoss",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxEffectOfRevenuesExemptFromTaxation2011": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 2.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to revenues that are exempt from taxation. [Refer: Accounting profit]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax effect of revenues exempt from taxation",
        "terseLabel": "Nontaxable revenues"
       }
      }
     },
     "localname": "TaxEffectOfRevenuesExemptFromTaxation2011",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxExpenseIncomeAtApplicableTaxRate": {
     "auth_ref": [
      "r71"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 0.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The product of the accounting profit multiplied by the applicable tax rate(s). [Refer: Accounting profit; Applicable tax rate]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax expense (income) at applicable tax rate",
        "negatedLabel": "Income and social contribution taxes at the statutory tax rates"
       }
      }
     },
     "localname": "TaxExpenseIncomeAtApplicableTaxRate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TaxExpenseRelatingToProfitLossFromOrdinaryActivitiesOfDiscontinuedOperations": {
     "auth_ref": [
      "r76",
      "r275"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The tax expense (income) relating to the profit (loss) arising from ordinary activities of discontinued operations. [Refer: Discontinued operations [member]; Profit (loss)]"
       }
      },
      "en-us": {
       "role": {
        "label": "Tax expense (income) relating to profit (loss) from ordinary activities of discontinued operations",
        "negatedLabel": "Income and social contribution taxes"
       }
      }
     },
     "localname": "TaxExpenseRelatingToProfitLossFromOrdinaryActivitiesOfDiscontinuedOperations",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TechnologybasedIntangibleAssetsMember": {
     "auth_ref": [
      "r491"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of intangible assets representing assets based on technology. Such assets may include patented and unpatented technology, databases as well as trade secrets. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Technology-based intangible assets [member]",
        "terseLabel": "Technology [member]"
       }
      }
     },
     "localname": "TechnologybasedIntangibleAssetsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TopOfRangeMember": {
     "auth_ref": [
      "r230",
      "r257",
      "r337",
      "r399",
      "r400",
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for top of a range."
       }
      },
      "en-us": {
       "role": {
        "label": "Top of range [member]",
        "terseLabel": "Top of range [member]"
       }
      }
     },
     "localname": "TopOfRangeMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TradeAndOtherCurrentPayablesToTradeSuppliers": {
     "auth_ref": [
      "r368",
      "r472"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The current amount of payment due to suppliers for goods and services used in entity's business. [Refer: Current liabilities; Trade payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Current trade payables",
        "terseLabel": "Trade payables"
       }
      }
     },
     "localname": "TradeAndOtherCurrentPayablesToTradeSuppliers",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherCurrentReceivables": {
     "auth_ref": [
      "r18",
      "r34"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 9.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of current trade receivables and current other receivables. [Refer: Current trade receivables; Other current receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade and other current receivables",
        "terseLabel": "Other receivables"
       }
      }
     },
     "localname": "TradeAndOtherCurrentReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherPayablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade payables"
       }
      }
     },
     "localname": "TradeAndOtherPayablesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TradeAndOtherPayablesRecognisedAsOfAcquisitionDate": {
     "auth_ref": [
      "r503"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 6.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for trade and other payables assumed in a business combination. [Refer: Trade and other payables; Business combinations [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade and other payables recognised as of acquisition date",
        "terseLabel": "Trade payables"
       }
      }
     },
     "localname": "TradeAndOtherPayablesRecognisedAsOfAcquisitionDate",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherPayablesToRelatedParties": {
     "auth_ref": [
      "r472"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of payables due to related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Payables to related parties",
        "terseLabel": "Loans liabilities",
        "verboseLabel": "Trade payables to related parties"
       }
      }
     },
     "localname": "TradeAndOtherPayablesToRelatedParties",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherPayablesUndiscountedCashFlows": {
     "auth_ref": [
      "r419",
      "r428"
     ],
     "crdr": "credit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to trade and other payables. [Refer: Trade and other payables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade and other payables, undiscounted cash flows",
        "terseLabel": "Trade payables"
       }
      }
     },
     "localname": "TradeAndOtherPayablesUndiscountedCashFlows",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeAndOtherReceivablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Trade receivables, reseller financing and other receivables"
       }
      }
     },
     "localname": "TradeAndOtherReceivablesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TradeAndOtherReceivablesDueFromRelatedParties": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 4.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount of receivables due from related parties. [Refer: Related parties [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Receivables due from related parties",
        "terseLabel": "Related parties",
        "verboseLabel": "Loans assets"
       }
      }
     },
     "localname": "TradeAndOtherReceivablesDueFromRelatedParties",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeReceivables": {
     "auth_ref": [
      "r369"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount due from customers for goods and services sold."
       }
      },
      "en-us": {
       "role": {
        "label": "Trade receivables",
        "terseLabel": "Trade receivables",
        "totalLabel": "Trade receivables"
       }
      }
     },
     "localname": "TradeReceivables",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TradeReceivablesMember": {
     "auth_ref": [
      "r293",
      "r297",
      "r413",
      "r467"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for trade receivables. [Refer: Trade receivables]"
       }
      },
      "en-us": {
       "role": {
        "label": "Trade receivables [member]",
        "terseLabel": "Trade Receivables [member]",
        "verboseLabel": "Trade receivables [member]"
       }
      }
     },
     "localname": "TradeReceivablesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TreasuryShares": {
     "auth_ref": [
      "r133",
      "r370"
     ],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 3.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "An entity\u2019s own equity instruments, held by the entity or other members of the consolidated group."
       }
      },
      "en-us": {
       "role": {
        "label": "Treasury shares",
        "negatedLabel": "Treasury shares"
       }
      }
     },
     "localname": "TreasuryShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_TreasurySharesMember": {
     "auth_ref": [
      "r8"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for the entity\u2019s own equity instruments, held by the entity or other members of the consolidated group."
       }
      },
      "en-us": {
       "role": {
        "label": "Treasury shares [member]",
        "terseLabel": "Treasury shares"
       }
      }
     },
     "localname": "TreasurySharesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TypesOfContractsAxis": {
     "auth_ref": [
      "r405",
      "r435"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types of contracts [axis]",
        "terseLabel": "Types of contracts [axis]"
       }
      }
     },
     "localname": "TypesOfContractsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TypesOfContractsMember": {
     "auth_ref": [
      "r405",
      "r435"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all types of contracts with customers. It also represents the standard value for the 'Types of contracts' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Types of contracts [member]",
        "terseLabel": "Types of contracts [member]"
       }
      }
     },
     "localname": "TypesOfContractsMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TypesOfRateregulatedActivitiesAxis": {
     "auth_ref": [
      "r229",
      "r231"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types of rate-regulated activities [axis]",
        "terseLabel": "Types of rate-regulated activities [axis]"
       }
      }
     },
     "localname": "TypesOfRateregulatedActivitiesAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TypesOfRisksAxis": {
     "auth_ref": [
      "r281",
      "r291",
      "r292",
      "r338",
      "r339",
      "r340",
      "r341"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types of risks [axis]",
        "terseLabel": "Types of risks [axis]"
       }
      }
     },
     "localname": "TypesOfRisksAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_TypesOfRisksMember": {
     "auth_ref": [
      "r281",
      "r291",
      "r292",
      "r338",
      "r339",
      "r340",
      "r341"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for all types of risks. It also represents the standard value for the 'Types of risks' axis if no other member is used."
       }
      },
      "en-us": {
       "role": {
        "label": "Risks [member]",
        "terseLabel": "Risks [member]"
       }
      }
     },
     "localname": "TypesOfRisksMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_TypesOfSharebasedPaymentArrangementsAxis": {
     "auth_ref": [
      "r258"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The axis of a table defines the relationship between the members in the table and the line items or concepts that complete the table."
       }
      },
      "en-us": {
       "role": {
        "label": "Types of share-based payment arrangements [axis]",
        "terseLabel": "Types of share-based payment arrangements [axis]"
       }
      }
     },
     "localname": "TypesOfSharebasedPaymentArrangementsAxis",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_UnusedProvisionReversedOtherProvisions": {
     "auth_ref": [
      "r151"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount reversed for unused other provisions. [Refer: Other provisions]"
       }
      },
      "en-us": {
       "role": {
        "label": "Unused provision reversed, other provisions",
        "negatedLabel": "Reversals"
       }
      }
     },
     "localname": "UnusedProvisionReversedOtherProvisions",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ifrs-full_UsefulLifeMeasuredAsPeriodOfTimeIntangibleAssetsOtherThanGoodwill": {
     "auth_ref": [
      "r157"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The useful life, measured as period of time, used for intangible assets other than goodwill. [Refer: Intangible assets other than goodwill]"
       }
      },
      "en-us": {
       "role": {
        "label": "Useful life measured as period of time, intangible assets other than goodwill",
        "terseLabel": "Weighted average useful life (years)"
       }
      }
     },
     "localname": "UsefulLifeMeasuredAsPeriodOfTimeIntangibleAssetsOtherThanGoodwill",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment": {
     "auth_ref": [
      "r79"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The useful life, measured as period of time, used for property, plant and equipment. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Useful Life Measured As Period Of Time Property Plant And Equipment",
        "terseLabel": "Weighted average useful life",
        "verboseLabel": "Property, plant, and equipment, weighted average useful life"
       }
      }
     },
     "localname": "UsefulLifeMeasuredAsPeriodOfTimePropertyPlantAndEquipment",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_VehiclesMember": {
     "auth_ref": [
      "r476"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for a class of property, plant and equipment representing vehicles used in the entity's operations, specifically to include aircraft, motor vehicles and ships. [Refer: Property, plant and equipment]"
       }
      },
      "en-us": {
       "role": {
        "label": "Vehicles [member]",
        "terseLabel": "Vehicles [member]"
       }
      }
     },
     "localname": "VehiclesMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_WeightedAverageDurationOfDefinedBenefitObligation2019": {
     "auth_ref": [
      "r97"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average duration of a defined benefit obligation. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average duration of defined benefit obligation",
        "terseLabel": "Average period"
       }
      }
     },
     "localname": "WeightedAverageDurationOfDefinedBenefitObligation2019",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ifrs-full_WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019": {
     "auth_ref": [
      "r502"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average exercise price of other equity instruments (ie other than share options) granted in a share-based payment arrangement. [Refer: Weighted average [member]]"
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average exercise price of other equity instruments granted in share-based payment arrangement",
        "terseLabel": "Market price of shares on the grant date"
       }
      }
     },
     "localname": "WeightedAverageExercisePriceOfOtherEquityInstrumentsGrantedInSharebasedPaymentArrangement2019",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ifrs-full_WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16": {
     "auth_ref": [
      "r252"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The weighted average lessee's incremental borrowing rate applied to lease liabilities recognised in the statement of financial position at the date of initial application of IFRS 16. The incremental borrowing rate is the rate of interest that a lessee would have to pay to borrow over a similar term, and with a similar security, the funds necessary to obtain an asset of a similar value to the right-of-use asset in a similar economic environment."
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average lessee's incremental borrowing rate applied to lease liabilities recognised at date of initial application of IFRS 16",
        "terseLabel": "Weighted average discount rates (% p.a.)",
        "verboseLabel": "Nominal discount rate"
       }
      }
     },
     "localname": "WeightedAverageLesseesIncrementalBorrowingRateAppliedToLeaseLiabilitiesRecognisedAtDateOfInitialApplicationOfIFRS16",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ifrs-full_WeightedAverageMember": {
     "auth_ref": [
      "r230",
      "r337",
      "r399",
      "r400",
      "r506"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "This member stands for an average in which each quantity to be averaged is assigned a weight that determines the relative effect of each quantity on the average."
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average [member]",
        "terseLabel": "Weighted average [member]"
       }
      }
     },
     "localname": "WeightedAverageMember",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ifrs-full_WeightedAverageShares": {
     "auth_ref": [
      "r138"
     ],
     "lang": {
      "en": {
       "role": {
        "documentation": "The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor."
       }
      },
      "en-us": {
       "role": {
        "label": "Weighted average number of ordinary shares outstanding",
        "terseLabel": "Weighted average number of shares outstanding (in thousands)",
        "verboseLabel": "Weighted average number of shares for basic earnings per share"
       }
      }
     },
     "localname": "WeightedAverageShares",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ifrs-full_WeightedAverageSharesAndAdjustedWeightedAverageSharesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Weighted average ordinary shares used in calculating basic and diluted earnings per share [abstract]",
        "terseLabel": "Weighted average number of shares (in thousands)"
       }
      }
     },
     "localname": "WeightedAverageSharesAndAdjustedWeightedAverageSharesAbstract",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ifrs-full_WritedownsReversalsOfInventories": {
     "auth_ref": [
      "r61"
     ],
     "crdr": "debit",
     "lang": {
      "en": {
       "role": {
        "documentation": "The amount recognised resulting from the write-down of inventories to net realisable value or reversals of those write-downs. [Refer: Inventories]"
       }
      },
      "en-us": {
       "role": {
        "label": "Write-downs (reversals of write-downs) of inventories",
        "negatedLabel": "Oxiteno Andina"
       }
      }
     },
     "localname": "WritedownsReversalsOfInventories",
     "nsuri": "https://xbrl.ifrs.org/taxonomy/2022-03-24/ifrs-full",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "srt_ConsolidatedEntitiesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Axis]",
        "terseLabel": "Consolidated Entities [Axis]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_ConsolidatedEntitiesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Consolidated Entities [Domain]",
        "terseLabel": "Consolidated Entities [Domain]"
       }
      }
     },
     "localname": "ConsolidatedEntitiesDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_CounterpartyNameAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Axis]"
       }
      }
     },
     "localname": "CounterpartyNameAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_EuropeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Europe [Member]",
        "terseLabel": "Europe [member]"
       }
      }
     },
     "localname": "EuropeMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_MajorCustomersAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Axis]"
       }
      }
     },
     "localname": "MajorCustomersAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "srt_NameOfMajorCustomerDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Customer [Domain]"
       }
      }
     },
     "localname": "NameOfMajorCustomerDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_ParentCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Parent Company [Member]",
        "terseLabel": "at Ultrapar [member]"
       }
      }
     },
     "localname": "ParentCompanyMember",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_RepurchaseAgreementCounterpartyNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Counterparty Name [Domain]"
       }
      }
     },
     "localname": "RepurchaseAgreementCounterpartyNameDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_SegmentGeographicalDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Domain]"
       }
      }
     },
     "localname": "SegmentGeographicalDomain",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "srt_StatementGeographicalAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Geographical [Axis]"
       }
      }
     },
     "localname": "StatementGeographicalAxis",
     "nsuri": "http://fasb.org/srt/2022",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AAAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to grade AAA of credit rating.",
        "label": "A A A [Member]",
        "terseLabel": "AAA [member]"
       }
      }
     },
     "localname": "AAAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to grade AA of credit rating.",
        "label": "AA [member]",
        "terseLabel": "AA [member]"
       }
      }
     },
     "localname": "AAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to grade A of credit rating.",
        "label": "A- [member]",
        "terseLabel": "A [member]"
       }
      }
     },
     "localname": "AMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AbasteceAiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Abastece Ai.",
        "label": "Abastece Ai [Member]",
        "terseLabel": "Abastece A\u00ed [member]"
       }
      }
     },
     "localname": "AbasteceAiMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AccumulatedFundPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of participating employees' accumulated fund to a defined contribution plan.",
        "label": "Accumulated fund percentage",
        "terseLabel": "Monthly accumulated fund percentage"
       }
      }
     },
     "localname": "AccumulatedFundPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_AccumulatedRecognizedExercisableGrantCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail": {
       "order": 0.0,
       "parentTag": "ugp_SharebasedPaymentGrantsCostsIncludingTaxes",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of accumulated recognized grant costs arising from share-based payment transactions.",
        "label": "Accumulated Recognized Grant Costs",
        "negatedLabel": "Accumulated recognized exercisable grant costs",
        "negatedTerseLabel": "Accumulated recognized grant costs",
        "terseLabel": "Accumulated recognized exercisable grant costs"
       }
      }
     },
     "localname": "AccumulatedRecognizedExercisableGrantCosts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AccumulatedRecognizedGrantCostsRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail": {
       "order": 0.0,
       "parentTag": "ugp_GrantCostsIncludingTaxes",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity shall disclose information that enables users of the financial statements to understand the nature and extent of share based payment arrangements that existed during the period.",
        "label": "Accumulated recognized grant costs related parties",
        "negatedLabel": "Accumulated recognized grant costs"
       }
      }
     },
     "localname": "AccumulatedRecognizedGrantCostsRelatedParties",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_AccumulatedUnrecognizedExercisableGrantCosts": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail": {
       "order": 1.0,
       "parentTag": "ugp_SharebasedPaymentGrantsCostsIncludingTaxes",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of accumulated unrecognized grant costs arising from share-based payment transactions.",
        "label": "Accumulated Unrecognized Exercisable Grant Costs",
        "terseLabel": "Accumulated unrecognized exercisable grant costs",
        "verboseLabel": "Accumulated unrecognized grant costs"
       }
      }
     },
     "localname": "AccumulatedUnrecognizedExercisableGrantCosts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AccumulatedUnrecognizedGrantCostsRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail": {
       "order": 1.0,
       "parentTag": "ugp_GrantCostsIncludingTaxes",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity shall disclose information that enables users of the financial statements to understand the nature and extent of share based payment arrangements that existed during the period.",
        "label": "Accumulated unrecognized grant costs related parties",
        "terseLabel": "Accumulated unrecognized grant costs"
       }
      }
     },
     "localname": "AccumulatedUnrecognizedGrantCostsRelatedParties",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Acquisitions through business combinations intangible assets and goodwill gross.",
        "label": "Acquisitions Through Business Combinations Intangible Assets And Goodwill Gross",
        "terseLabel": "Goodwill acquisition gross"
       }
      }
     },
     "localname": "AcquisitionsThroughBusinessCombinationsIntangibleAssetsAndGoodwillGross",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ActionForDamagesAsContingentAssetAmountReceived": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount received for action for damages as a contingent asset, during the reporting period.",
        "label": "Action for damages as contingent asset, amount received",
        "terseLabel": "Action for damages as a contingent asset, amount received"
       }
      }
     },
     "localname": "ActionForDamagesAsContingentAssetAmountReceived",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ActionForDamagesAsContingentAssetInitialFixedAmountRecognized": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fixed amount recognized initially for action for damages as a contingent asset, during the reporting period.",
        "label": "Action for damages as contingent asset, initial fixed amount recognized",
        "terseLabel": "Action for damages as a contingent asset, initial fixed amount recognized"
       }
      }
     },
     "localname": "ActionForDamagesAsContingentAssetInitialFixedAmountRecognized",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionOnRightToUseAssetsAndLeasesPayable": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for noncash addition on rightofuse assets and leases payable.",
        "label": "Addition On Right To Use Assets And Leases Payable",
        "terseLabel": "Addition on right-of-use assets and leases payable"
       }
      }
     },
     "localname": "AdditionOnRightToUseAssetsAndLeasesPayable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionalDividendsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a component of equity representing additional dividends to the minimum mandatory dividend.",
        "label": "Additional Dividends [Member]",
        "terseLabel": "Additional dividends to the minimum mandatory dividends"
       }
      }
     },
     "localname": "AdditionalDividendsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AdditionalDividendsMinimumMandatoryDividends": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 8.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The Additional dividends to the minimum mandatory amount recognised as distributions to owners during the period.",
        "label": "Additional Dividends Minimum Mandatory Dividends",
        "terseLabel": "Additional dividends to the minimum mandatory dividends"
       }
      }
     },
     "localname": "AdditionalDividendsMinimumMandatoryDividends",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionalDividendsToMinimumMandatoryDividendsRecognised": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": 1.0,
       "parentTag": "ugp_AllocationOfNetIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additional dividends to minimum mandatory dividends recognised as distributions to owners during the reporting period.",
        "label": "Additional dividends to minimum mandatory dividends recognised",
        "negatedLabel": "Additional dividends to the minimum mandatory dividends (R$ 0.07 per share)",
        "terseLabel": "Additional dividends to the minimum mandatory dividends",
        "verboseLabel": "Balance of proposed dividends (R$ 0.08 per share)"
       }
      }
     },
     "localname": "AdditionalDividendsToMinimumMandatoryDividendsRecognised",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionalDividendsToMinimumMandatoryDividendsRecognisedPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of additional dividends to minimum mandatory dividends recognised as distributions to owners during the reporting period.",
        "label": "Additional dividends to minimum mandatory dividends recognised, per share",
        "terseLabel": "Additional dividends to the minimum mandatory dividends, per share",
        "verboseLabel": "Proposed dividends, per share"
       }
      }
     },
     "localname": "AdditionalDividendsToMinimumMandatoryDividendsRecognisedPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_AdditionalMinimumMandatoryDividendsRecognised": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": 2.0,
       "parentTag": "ugp_AllocationOfNetIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additional minimum mandatory dividends recognised as distributions to owners during the reporting period.",
        "label": "Additional minimum mandatory dividends recognised",
        "negatedLabel": "Additional minimum mandatory dividend (R$ 0.03 per share)",
        "terseLabel": "Complementary minimum mandatory dividends for the year (25% of the adjusted net income)"
       }
      }
     },
     "localname": "AdditionalMinimumMandatoryDividendsRecognised",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionalMinimumMandatoryDividendsRecognisedPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of additional minimum mandatory dividends recognised as distributions to owners during the reporting period.",
        "label": "Additional minimum mandatory dividends recognised per share",
        "terseLabel": "Additional minimum mandatory dividend, per share"
       }
      }
     },
     "localname": "AdditionalMinimumMandatoryDividendsRecognisedPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_AdditionsAndRemeasurementOfLeaseLiability": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additions and remeasurement of lease liabilities.",
        "label": "Additions And Remeasurement Of Lease Liability",
        "terseLabel": "Additions and remeasurement"
       }
      }
     },
     "localname": "AdditionsAndRemeasurementOfLeaseLiability",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionsLoansAndDebenturesWithCashEffect": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of new loans and debentures with cash effect of loans and debentures.",
        "label": "Additions loans and debentures with cash effect",
        "terseLabel": "New loans and debentures with cash effect"
       }
      }
     },
     "localname": "AdditionsLoansAndDebenturesWithCashEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionsPropertyPlantAndEquipmentAndIntangibleAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of additions in property plant and equipment and intangible assets.",
        "label": "Additions property plant and equipment and intangible assets",
        "negatedLabel": "Total additions to PP&amp;E and intangible assets, excluding decarbonization credits (see Notes 15 and 16)",
        "terseLabel": "Total additions to PP&amp;E and intangible assets"
       }
      }
     },
     "localname": "AdditionsPropertyPlantAndEquipmentAndIntangibleAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionsToNetRealizableValueAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions (reversals) to net realizable value adjustment regarding provision for loss on the value of inventories.",
        "label": "Additions to net realizable value adjustment",
        "terseLabel": "Addition to provision for adjustment to realizable value"
       }
      }
     },
     "localname": "AdditionsToNetRealizableValueAdjustment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdditionsToObsolescenceAndOtherLosses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Additions to obsolescence and other losses.",
        "label": "Additions to obsolescence and other losses",
        "terseLabel": "Provision for obsolescence and other losses"
       }
      }
     },
     "localname": "AdditionsToObsolescenceAndOtherLosses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustedNetIncomeBasisForDividends": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The total amount of adjusted net income of basis for dividends.",
        "label": "Adjusted Net Income Basis for Dividends",
        "totalLabel": "Adjusted net income (basis for dividends)"
       }
      }
     },
     "localname": "AdjustedNetIncomeBasisForDividends",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentToPresentValueOfReceivablesFromSaleOfInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of adjustment to present value of receivables arising from the sale of investments.",
        "label": "Adjustment To Present Value of Receivables From Sale of Investments",
        "terseLabel": "Adjustment to present value - sale of investments"
       }
      }
     },
     "localname": "AdjustmentToPresentValueOfReceivablesFromSaleOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentToPresentValueOnTransactionClosingDateReferringToDeferredInstallment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of adjustment to present value on transaction closing date referring to deferred installment .",
        "label": "Adjustment to present value on transaction closing date referring to deferred installment",
        "negatedLabel": "Adjustment to present value on transaction closing date referring to deferred installment"
       }
      }
     },
     "localname": "AdjustmentToPresentValueOnTransactionClosingDateReferringToDeferredInstallment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForAmortizationOfRightOfUseAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 3.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for amortization of rightofuse assets to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Amortization of Right of Use Assets",
        "terseLabel": "Amortization of right to -of-use assets",
        "verboseLabel": "Amortization of right-of-use assets"
       }
      }
     },
     "localname": "AdjustmentsForAmortizationOfRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForCreditsOnDepreciation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 5.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for credits on depreciation to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Credits on Depreciation",
        "negatedLabel": "PIS and COFINS credits on depreciation"
       }
      }
     },
     "localname": "AdjustmentsForCreditsOnDepreciation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForCurrentTaxExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 8.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for current tax expense to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Current Tax Expense",
        "terseLabel": "Current income and social contribution taxes"
       }
      }
     },
     "localname": "AdjustmentsForCurrentTaxExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForDecreaseIncreaseInRecoverableTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 3.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for decrease (Increase) in recoverable taxes to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Decrease Increase in Recoverable Taxes",
        "terseLabel": "Recoverable taxes"
       }
      }
     },
     "localname": "AdjustmentsForDecreaseIncreaseInRecoverableTaxes",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInAcquisitionOfDecarbonizationCredits": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 10.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in non-current liabilities from acquisition of decarbonization credits (\"CBIO\") to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments For Increase Decrease In Acquisition Of Decarbonization Credits",
        "negatedLabel": "Decarbonization credits (see Note 16)",
        "terseLabel": "Acquisition of CBIO"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInAcquisitionOfDecarbonizationCredits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInCapitalizedInterestAndOtherPropertyPlantAndEquipmentAndProvisionForARO": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in capitalized interest and other items included in property, plant and equipment and provision for ARO.",
        "label": "Capitalized interest and other items included in property, plant and equipment and provision for ARO",
        "terseLabel": "Capitalized interest and other items included in property, plant and equipment and provision for ARO"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInCapitalizedInterestAndOtherPropertyPlantAndEquipmentAndProvisionForARO",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 13.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in noncurrent liabilities from income and social contribution taxes paid to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Increase (Decrease) in Income and Social Contribution Taxes Paid Noncurrent",
        "negatedLabel": "Income and social contribution taxes paid"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInIncomeAndSocialContributionTaxesPaidNoncurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInNonCurrentPaymentsOfContractualAssetsWithCustomersExclusiveRights": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 11.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in noncurrent payables of contractual assets with customers  exclusive rights to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Increase (Decrease) in Non-current Payments of Contractual Assets with Customers Exclusive Rights",
        "negatedLabel": "Payments of contractual assets with customers \u2013 exclusivity rights",
        "terseLabel": "Payments of contractual assets with customers \u2013 exclusive rights"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInNonCurrentPaymentsOfContractualAssetsWithCustomersExclusiveRights",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInPaymentsOfContingencies": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 12.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in non-current liabilities from payments of contingencies to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for increase (decrease) in payments of contingencies",
        "terseLabel": "Payments of contingencies"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInPaymentsOfContingencies",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInPaymentsOfContractualAssetsWithCustomersExclusiveRights": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in payments of contractual assets with customers \u2013 exclusive rights to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for increase (decrease) in payments of contractual assets with customers \u2013 exclusive rights",
        "terseLabel": "Payments of contractual assets with customers \u2013 exclusive rights"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInPaymentsOfContractualAssetsWithCustomersExclusiveRights",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 7.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in salaries and related charges to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for increase decrease in salaries and related charges",
        "negatedLabel": "Salaries and related charges"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInSalariesAndRelatedCharges",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForIncreaseDecreaseInTaxesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 8.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperatingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for increase (decrease) in taxes payable to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "AdjustmentsForIncrease Decrease in Taxes Payable",
        "terseLabel": "Taxes payable"
       }
      }
     },
     "localname": "AdjustmentsForIncreaseDecreaseInTaxesPayable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForNonCashAdditionOnContractualAssetsWithCustomersExclusiveRights": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for non-cash addition on contractual assets with customers - exclusive rights to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for non-cash addition on contractual assets with customers - exclusive rights",
        "terseLabel": "Addition on contractual assets with customers \u2013 exclusivity rights"
       }
      }
     },
     "localname": "AdjustmentsForNonCashAdditionOnContractualAssetsWithCustomersExclusiveRights",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForNonCashReversionFundPrivatePension": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for non-cash reversion fund - private pension to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for non-cash reversion fund - private pension",
        "terseLabel": "Reversal fund - private pension"
       }
      }
     },
     "localname": "AdjustmentsForNonCashReversionFundPrivatePension",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForOtherProvisionsAndAdjustments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 16.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for other provisions and adjustments to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for other provisions and adjustments",
        "terseLabel": "Other provisions and adjustments"
       }
      }
     },
     "localname": "AdjustmentsForOtherProvisionsAndAdjustments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForProvisionForLossesInInventories": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 11.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for provision for losses in inventories to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Provision for losses in inventories",
        "terseLabel": "Provision for losses with inventories"
       }
      }
     },
     "localname": "AdjustmentsForProvisionForLossesInInventories",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForProvisionForPostemploymentBenefits": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 12.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for provision for postemployment benefits to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for Provision for Postemployment Benefits",
        "terseLabel": "Provision for post-employment benefits"
       }
      }
     },
     "localname": "AdjustmentsForProvisionForPostemploymentBenefits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForProvisionForTaxCivilAndLaborRisks": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 15.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for provision for tax, civil, and labor risks to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for provision for tax, civil, and labor risks",
        "terseLabel": "Provision for tax, civil, and labor risks"
       }
      }
     },
     "localname": "AdjustmentsForProvisionForTaxCivilAndLaborRisks",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdjustmentsForProvisionOfDecarbonization": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 14.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInOperationsBeforeChangesInWorkingCapital",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for provision of decarbonization to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Adjustments for provision of decarbonization",
        "terseLabel": "Provision of decarbonization \u2013 CBIO"
       }
      }
     },
     "localname": "AdjustmentsForProvisionOfDecarbonization",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AdvancesToSuppliersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to advances to suppliers.",
        "label": "Advances to suppliers [member]",
        "terseLabel": "Advances to suppliers [member]"
       }
      }
     },
     "localname": "AdvancesToSuppliersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AdvertisingAndMarketingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 5.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Advertising and marketing expenses.",
        "label": "Advertising and marketing expense",
        "negatedLabel": "Advertising and marketing"
       }
      }
     },
     "localname": "AdvertisingAndMarketingExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AggregateSalePriceOfSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of aggregate sale price of subsidiary.",
        "label": "Aggregate sale price of subsidiary",
        "terseLabel": "Aggregate sale price of subsidiary",
        "verboseLabel": "Total value of purchase and sale agreement of subsidiary"
       }
      }
     },
     "localname": "AggregateSalePriceOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AllocationOfDividendsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Allocation Of Dividends [Abstract]",
        "terseLabel": "Allocation of dividends"
       }
      }
     },
     "localname": "AllocationOfDividendsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AllocationOfNetIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of allocation of net income.",
        "label": "Allocation Of Net Income",
        "terseLabel": "Total allocation of net income",
        "totalLabel": "Total distribution of net income for the year attributable to shareholders of Ultrapar"
       }
      }
     },
     "localname": "AllocationOfNetIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AllocationOfNetIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Allocation of net income [abstract]",
        "label": "Allocation of net income [abstract]",
        "terseLabel": "Allocation of net income:"
       }
      }
     },
     "localname": "AllocationOfNetIncomeAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AllocationOfNetIncomeToInvestmentsStatutoryReserve": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": 4.0,
       "parentTag": "ugp_AllocationOfNetIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of allocation of net income to investments statutory reserve.",
        "label": "Allocation of Net Income to Investments Statutory Reserve",
        "terseLabel": "Investments statutory reserve",
        "verboseLabel": "Statutory reserve"
       }
      }
     },
     "localname": "AllocationOfNetIncomeToInvestmentsStatutoryReserve",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AllocationToLegalReserves": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail": {
       "order": 1.0,
       "parentTag": "ugp_AdjustedNetIncomeBasisForDividends",
       "weight": -1.0
      },
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": 0.0,
       "parentTag": "ugp_AllocationOfNetIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of allocation to legal reserves from the net income.",
        "label": "Allocation To Legal Reserves",
        "terseLabel": "Legal reserve (5% of the net income)",
        "verboseLabel": "Legal reserve (5% of the net income)"
       }
      }
     },
     "localname": "AllocationToLegalReserves",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "definitionGuidance": "Allowances for doubful accounts on trade receivable",
        "documentation": "The amount of allowances for doubful accounts on trade receivables and other receivables.",
        "label": "Allowances for Doubful Accounts on Trade Receivables and Other Receivables",
        "positiveLabel": "Provision for losses",
        "terseLabel": "Allowances for doubful accounts on trade receivable",
        "verboseLabel": "Loss allowance for expected credit losses"
       }
      }
     },
     "localname": "AllowancesForDoubfulAccountsOnTradeReceivablesAndOtherReceivables",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmPmComestveisLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to am/pm Comestveis Ltda.",
        "label": "am/pm Comestveis Ltda [member]",
        "terseLabel": "am/pm Comestveis Ltda [member]"
       }
      }
     },
     "localname": "AmPmComestveisLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AmPmMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to am/pm convenience stores.",
        "label": "am/pm [member]",
        "terseLabel": "am/pm [member]"
       }
      }
     },
     "localname": "AmPmMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AmortizationOfGoodwillPaidOnAcquisitionOfSubsidiary": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization of goodwill paid on acquisition of subsidiary for contingent liabilities.",
        "label": "Amortization of goodwill paid on acquisition of subsidiary",
        "terseLabel": "Amortization of goodwill paid on acquisition of subsidiary"
       }
      }
     },
     "localname": "AmortizationOfGoodwillPaidOnAcquisitionOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmortizationOfRightToUseAsset": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_DepreciationAmortisationAndImpairmentLossReversalOfImpairmentLossRecognisedInProfitOrLoss",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization of right-of-use assets.",
        "label": "Amortization of Right To Use Asset",
        "negatedLabel": "Amortization of right-of-use assets",
        "positiveLabel": "Amortization of right to use assets",
        "terseLabel": "Amortization of right-of-use assets",
        "verboseLabel": "Amortization expense"
       }
      }
     },
     "localname": "AmortizationOfRightToUseAsset",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization (reversal of amortization) of share based plans recognized as general and administrative expense from related party transactions.",
        "label": "Amortization (reversal of amortization) of share based plans recognized as general and administrative expense",
        "terseLabel": "Amortization (reversal of amortization) of share based plans recognized as general and administrative"
       }
      }
     },
     "localname": "AmortizationReversalOfAmortizationOfShareBasedPlansRecognizedAsGeneralAndAdministrativeExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmountAppropriatedToProfitOrLossInFuture": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount appropriated to profit or loss in the future.",
        "label": "Amount appropriated to profit or loss in future",
        "terseLabel": "Amount appropriated to profit or loss in the future"
       }
      }
     },
     "localname": "AmountAppropriatedToProfitOrLossInFuture",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmountPerInstallmentsInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount per installment to be paid in disposal group transaction.",
        "label": "Amount Per Installments In Disposal Group Transaction",
        "terseLabel": "Amount per installments in disposal group transaction"
       }
      }
     },
     "localname": "AmountPerInstallmentsInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmountToBePaidAtClosingDateInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount to be paid at closing date in disposal group transaction.",
        "label": "Amount to be paid at closing date in disposal group transaction",
        "terseLabel": "Amount to be paid at closing date in disposal group transaction"
       }
      }
     },
     "localname": "AmountToBePaidAtClosingDateInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amounts recognised as of acquisition date for each major class of assets acquired [abstract]",
        "terseLabel": "Assets"
       }
      }
     },
     "localname": "AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfAssetsAcquiredAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfLiabilitiesAssumedAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Amounts recognised as of acquisition date for each major class of liabilities assumed [abstract]",
        "terseLabel": "Liabilities"
       }
      }
     },
     "localname": "AmountsRecognisedAsOfAcquisitionDateForEachMajorClassOfLiabilitiesAssumedAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AracajuBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Aracaju base.",
        "label": "Aracaju Base [member]",
        "terseLabel": "Aracaju Base [member]"
       }
      }
     },
     "localname": "AracajuBaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AratuMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Aratu.",
        "label": "Aratu [member]",
        "terseLabel": "Aratu [member]"
       }
      }
     },
     "localname": "AratuMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AratuTerminalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Aratu Terminal.",
        "label": "Aratu Terminal [member]",
        "terseLabel": "Aratu Terminal [member]"
       }
      }
     },
     "localname": "AratuTerminalMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AreaBel02AMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Area BEL02 A.",
        "label": "Area Bel 02 A [Member]",
        "terseLabel": "Area BEL02A [member]"
       }
      }
     },
     "localname": "AreaBel02AMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AreaBel04aMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Area BEL04A.",
        "label": "Area Bel 04 a [Member]",
        "terseLabel": "Area BEL04A [member]"
       }
      }
     },
     "localname": "AreaBel04aMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AreaIqi13Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Area IQI13 in the Itaqui port, State of Maranh\u00e3o.",
        "label": "Area IQI13 [member]",
        "terseLabel": "Area IQI13 [member]"
       }
      }
     },
     "localname": "AreaIqi13Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AreaPortLeaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to area port lease.",
        "label": "Area Port Lease [Member]",
        "terseLabel": "Area port lease [member]"
       }
      }
     },
     "localname": "AreaPortLeaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AreaVdc12Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Area VDC12.",
        "label": "Area VDC12 [Member]",
        "terseLabel": "Area VDC12 [member]"
       }
      }
     },
     "localname": "AreaVdc12Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AssetExposureFromSubsidiariesHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 1.0,
       "parentTag": "ugp_AssetsInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of assets exposure from subsidiaries held for sale in foreign currency.",
        "label": "Asset exposure from subsidiaries held for sale",
        "terseLabel": "Asset exposure from subsidiaries held for sale"
       }
      }
     },
     "localname": "AssetExposureFromSubsidiariesHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AssetPositionOfForeignExchangeHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to asset position of foreign exchange hedging instruments.",
        "label": "Asset Position of Foreign Exchange Hedging Instruments [member]",
        "terseLabel": "Asset position of foreign exchange hedging instruments [member]"
       }
      }
     },
     "localname": "AssetPositionOfForeignExchangeHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AssetsHeldForSaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to assets held for sale.",
        "label": "Assets held for sale [Member]",
        "terseLabel": "Assets from subsidiaries held for sale"
       }
      }
     },
     "localname": "AssetsHeldForSaleMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_AssetsInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 0.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total assets in foreign currency.",
        "label": "Assets in foreign currency",
        "totalLabel": "Assets in foreign currency"
       }
      }
     },
     "localname": "AssetsInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_AssetsInForeignCurrencyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Assets in foreign currency [abstract]"
       }
      }
     },
     "localname": "AssetsInForeignCurrencyAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AssetsInterestRateBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis (reference rate) used for calculation of the interest rate on assets.",
        "label": "Assets Interest Rate Basis",
        "terseLabel": "Contracted rates-assets"
       }
      }
     },
     "localname": "AssetsInterestRateBasis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to automotive fuel/lubricant distribution equipment and facilities.",
        "label": "Automotive Fuel Lubricant Distribution Equipment and Facilities [Member]",
        "terseLabel": "Automotive fuel/lubricant distribution equipment and facilities [member]"
       }
      }
     },
     "localname": "AutomotiveFuelLubricantDistributionEquipmentAndFacilitiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BahianaDistribuidoraDeGasLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Bahiana Distribuidora de Gas Ltda.",
        "label": "Bahiana Distribuidora De Gas Ltda [member]",
        "terseLabel": "Bahiana Distribuidora De Gas Ltda [member]"
       }
      }
     },
     "localname": "BahianaDistribuidoraDeGasLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BalanceOfForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Balance of foreign exchange hedging instruments designated as net investments hedge in foreign entities.",
        "label": "Balance Of Foreign Exchange Hedging Instruments Designated As Net Investments Hedge In Foreign Entities",
        "terseLabel": "Balance of foreign exchange hedging instruments designated as net investments hedge in foreign entities"
       }
      }
     },
     "localname": "BalanceOfForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_BalanceSheetPositionAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability position [axis]",
        "label": "Balance Sheet Position [Axis]",
        "terseLabel": "Liability position [axis]"
       }
      }
     },
     "localname": "BalanceSheetPositionAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_BalanceSheetPositionDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liability position [domain]",
        "label": "Balance Sheet Position [Domain]",
        "terseLabel": "Liability position [domain]"
       }
      }
     },
     "localname": "BalanceSheetPositionDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BancoDoBrasilMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Banco do Brasil.",
        "label": "Banco Do Brasil [member]",
        "terseLabel": "Banco do Brasil [member]"
       }
      }
     },
     "localname": "BancoDoBrasilMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis of presentation and summary of significant accounting policies.",
        "label": "Basis Of Presentation And Summary Of Significant Accounting Policies [line items]",
        "terseLabel": "Basis Of Presentation And Summary Of Significant Accounting Policies [line items]"
       }
      }
     },
     "localname": "BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Basis Of Presentation And Summary Of Significant Accounting Policies [table]",
        "label": "Basis Of Presentation And Summary Of Significant Accounting Policies [table]",
        "terseLabel": "Basis Of Presentation And Summary Of Significant Accounting Policies [table]"
       }
      }
     },
     "localname": "BasisOfPresentationAndSummaryOfSignificantAccountingPoliciesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_BondsIssuePriceInPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of bonds issue price of face value.",
        "label": "Bonds issue price in percentage",
        "terseLabel": "Issue percent of face value"
       }
      }
     },
     "localname": "BondsIssuePriceInPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_BondsMaturingIn2029Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to bonds which is maturing in 2029.",
        "label": "Bonds Maturing In 2029 [Member]",
        "terseLabel": "Bonds maturing in 2029 [Member]"
       }
      }
     },
     "localname": "BondsMaturingIn2029Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BorrowingsClassifiedAsFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Borrowings Classified As Financing Activities [Abstract]",
        "terseLabel": "Loans and debentures"
       }
      }
     },
     "localname": "BorrowingsClassifiedAsFinancingActivitiesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_BorrowingsMaturityPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maturity period of borrowings obtained.",
        "label": "Borrowings Maturity Period",
        "terseLabel": "Borrowings, maturity period"
       }
      }
     },
     "localname": "BorrowingsMaturityPeriod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_BpBiofuelsBrazilInvestmentsLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"BP Biofuels Brazil Investments Ltd. (\u201cBP\u201d)\".",
        "label": "BP Biofuels Brazil Investments Ltd. [Member]",
        "terseLabel": "BP Biofuels Brazil Investments Ltd. (\u201cBP\u201d) [Member]"
       }
      }
     },
     "localname": "BpBiofuelsBrazilInvestmentsLtdMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BrazilianFederalRevenueServiceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The member stands for Brazilian Federal Revenue Service (RFB).",
        "label": "Brazilian Federal Revenue Service [Member]",
        "terseLabel": "Brazilian Federal Revenue Service [member]"
       }
      }
     },
     "localname": "BrazilianFederalRevenueServiceMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BrazilianRealDenominatedLoans": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_LoansReceived",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of domestic currency denominated loans received.",
        "label": "Brazilian real denominated loans",
        "terseLabel": "Brazilian Real - denominated loans"
       }
      }
     },
     "localname": "BrazilianRealDenominatedLoans",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_BrazilianRealPerUSDollarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Brazilian real per US dollar.",
        "label": "Brazilian real per US dollar [member]",
        "terseLabel": "Brazilian real per US dollar"
       }
      }
     },
     "localname": "BrazilianRealPerUSDollarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_BusinessSegment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the segment in wich the subsidiarie is included according to the Entity's consolidation policies.",
        "label": "Business segment",
        "terseLabel": "Segment"
       }
      }
     },
     "localname": "BusinessSegment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_BusinessUnit": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name of the business unit.",
        "label": "Business unit",
        "terseLabel": "Business Units"
       }
      }
     },
     "localname": "BusinessUnit",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CSLLMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to social contribution on net income tax (CSLL).",
        "label": "C S L L [Member]",
        "terseLabel": "CSLL [member]"
       }
      }
     },
     "localname": "CSLLMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CapitalIncreaseJointVentures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase in capital of joint ventures.",
        "label": "Capital increase joint ventures",
        "terseLabel": "Capital increase"
       }
      }
     },
     "localname": "CapitalIncreaseJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CapitalReductionInAssociates": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reduction in capital of associates.",
        "label": "Capital Reduction in Associates",
        "terseLabel": "Capital decrease"
       }
      }
     },
     "localname": "CapitalReductionInAssociates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CapitalReductionJointVentures": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of capital reduction in joint ventures.",
        "label": "Capital Reduction Joint Ventures",
        "negatedLabel": "Capital decrease"
       }
      }
     },
     "localname": "CapitalReductionJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CargoAgreementMaturity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of operating lease maturity.",
        "label": "Cargo Agreement Maturity",
        "terseLabel": "Maturity"
       }
      }
     },
     "localname": "CargoAgreementMaturity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CargoContractFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cargo contract.",
        "label": "Cargo contract five [member]",
        "terseLabel": "Cargo contract five [member]"
       }
      }
     },
     "localname": "CargoContractFiveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CargoContractFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cargo contract.",
        "label": "Cargo contract four [member]",
        "terseLabel": "Cargo contract four [member]"
       }
      }
     },
     "localname": "CargoContractFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CargoContractOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cargo contract.",
        "label": "Cargo contract one [member]",
        "terseLabel": "Cargo contract one [member]"
       }
      }
     },
     "localname": "CargoContractOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CargoContractThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cargo contract.",
        "label": "Cargo contract three [member]",
        "terseLabel": "Cargo contract three [member]"
       }
      }
     },
     "localname": "CargoContractThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CargoContractTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cargo contract.",
        "label": "Cargo contract two [member]",
        "terseLabel": "Cargo contract two [member]"
       }
      }
     },
     "localname": "CargoContractTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CargoPort": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of cargo port.",
        "label": "Cargo port",
        "terseLabel": "Port"
       }
      }
     },
     "localname": "CargoPort",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CargoRatesPerTon": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per ton amount of cargo rates.",
        "label": "Cargo rates per ton",
        "terseLabel": "Cargo rates per ton"
       }
      }
     },
     "localname": "CargoRatesPerTon",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ugp_CashAndBankDepositsInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash on hand and bank deposits in foreign currency.",
        "label": "Cash and bank deposits in foreign currency",
        "terseLabel": "Cash and bank deposits in foreign currency"
       }
      }
     },
     "localname": "CashAndBankDepositsInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashAndBankDepositsInLocalCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash on hand and bank deposits in local currency.",
        "label": "Cash and bank deposits in local currency",
        "terseLabel": "Cash and bank deposits in local currency"
       }
      }
     },
     "localname": "CashAndBankDepositsInLocalCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashAndBankDepositsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cash and bank deposits.",
        "label": "Cash and bank deposits [member]",
        "terseLabel": "Cash and bank [member]"
       }
      }
     },
     "localname": "CashAndBankDepositsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CashAndCashEquivalentsFinancialInvestmentsAndDerivativeHedgeFinancialInstruments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_NetDebt",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash and cash equivalents, financial investments and derivative hedge financial instruments.",
        "label": "Cash and cash equivalents, financial investments and derivative hedge financial instruments",
        "terseLabel": "Cash and cash equivalents, financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFinancialInvestmentsAndDerivativeHedgeFinancialInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Cash and cash equivalents, Fixed-income securities in foreign currency\".",
        "label": "Cash and cash equivalents, Fixed-income securities in foreign currency [member]",
        "terseLabel": "Cash and cash equivalents, Fixed-income securities in foreign currency [member]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFixedIncomeSecuritiesInForeignCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Cash and cash equivalents, Fixed-income securities in local currency\".",
        "label": "Cash and cash equivalents, Fixed-income securities in local currency [member]",
        "terseLabel": "Cash and cash equivalents, Fixed-income securities in local currency [member]"
       }
      }
     },
     "localname": "CashAndCashEquivalentsFixedIncomeSecuritiesInLocalCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CashCashEquivalentsAndFinancialInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash on hand and demand deposits, along with short-term, highly liquid investments that are readily convertible to known amounts of cash and that are subject to an insignificant risk of changes in value. [Refer: Cash; Cash equivalents]",
        "label": "Cash cash equivalents and financial investments",
        "terseLabel": "Cash, cash equivalents, and financial investments",
        "verboseLabel": "Counterparty credit rating"
       }
      }
     },
     "localname": "CashCashEquivalentsAndFinancialInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 0.0,
       "parentTag": "ugp_AssetsInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash, cash equivalents and financial investments in foreign currency but excluding hedging instruments.",
        "label": "Cash cash equivalents and financial investments in foreign currency except hedging instruments",
        "terseLabel": "Cash, cash equivalents and financial investments in foreign currency (except hedging instruments)"
       }
      }
     },
     "localname": "CashCashEquivalentsAndFinancialInvestmentsInForeignCurrencyExceptHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashCashEquivalentsAndShortTermFinancialInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cash and cash equivalents and short term financial investments.",
        "label": "Cash cash equivalents and short term financial investments",
        "terseLabel": "Cash, cash equivalents, and short-term financial investments"
       }
      }
     },
     "localname": "CashCashEquivalentsAndShortTermFinancialInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashEquivalentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cash equivalents.",
        "label": "Cash equivalent [member]",
        "terseLabel": "Cash equivalents [member]"
       }
      }
     },
     "localname": "CashEquivalentMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNetRelatedToNotesInForeignMarket": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unrealized gain (loss) of cash flow hedge in other comprehensive income net, related to notes in the foreign market.",
        "label": "Cash Flow Hedge, Unrealized Gain (Loss) of Other Comprehensive Income Net, Related to Notes in Foreign Market",
        "terseLabel": "Unrealized gain (loss) of other comprehensive income, net of deferred income and social contribution taxes"
       }
      }
     },
     "localname": "CashFlowHedgeUnrealizedGainLossOfOtherComprehensiveIncomeNetRelatedToNotesInForeignMarket",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashFlowHedgeUnrealizedLossOfOtherComprehensiveIncomeNetRelatedToFutureSalesRevenues": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unrealized loss of cash flow hedge in other comprehensive income net, related to future sales revenues.",
        "label": "Cash Flow Hedge Unrealized Loss of Other Comprehensive Income Net Related to Future Sales Revenues",
        "terseLabel": "Unrealized loss of other comprehensive income, net of deferred IRPJ and CSLL"
       }
      }
     },
     "localname": "CashFlowHedgeUnrealizedLossOfOtherComprehensiveIncomeNetRelatedToFutureSalesRevenues",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashFlowHedgedItemAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ReserveOfCashFlowHedgesContinuingHedges",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of a cash flow hedged item, recognised as an asset.",
        "label": "Cash Flow Hedged Item, Assets",
        "terseLabel": "Cash Flow Hedge"
       }
      }
     },
     "localname": "CashFlowHedgedItemAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashFlowHedgedItemLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ReserveOfCashFlowHedgesContinuingHedges",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of a cash flow hedged item, recognised as a liability.",
        "label": "Cash Flow Hedged Item, Liabilities",
        "negatedLabel": "Debts"
       }
      }
     },
     "localname": "CashFlowHedgedItemLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CashReceiptsFromRepaymentOfLoansMadeToRelatedParties": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 3.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from repayment to the entity of loans made to related parties.",
        "label": "Cash receipts from repayment of loans made to related parties",
        "terseLabel": "Receipt of intercompany loan owed by Oxiteno S.A. to Ultrapar International"
       }
      }
     },
     "localname": "CashReceiptsFromRepaymentOfLoansMadeToRelatedParties",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CategoryOfFinancialAssetsAndLiabilities": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of category of financial assets and liabilities.",
        "label": "Category of financial assets and liabilities",
        "terseLabel": "Category"
       }
      }
     },
     "localname": "CategoryOfFinancialAssetsAndLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CaucaiaBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Caucaia base.",
        "label": "Caucaia Base [member]",
        "terseLabel": "Caucaia Base [member]"
       }
      }
     },
     "localname": "CaucaiaBaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CentroDeConveninciasMillenniumLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Centro de Convenincias Millennium Ltda.",
        "label": "Centro de Convenincias Millennium Ltda [member]",
        "terseLabel": "Centro de Convenincias Millennium Ltda [member]"
       }
      }
     },
     "localname": "CentroDeConveninciasMillenniumLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Centro de Conveni\u00eancias Millennium Ltda. and subsidiaries.",
        "label": "Centrode Conveniencias Millennium Ltda and Subsidiaries [Member]",
        "terseLabel": "Centro de Conveni\u00eancias Millennium Ltda. and subsidiaries [Member]"
       }
      }
     },
     "localname": "CentrodeConvenienciasMillenniumLtdaAndSubsidiariesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CessationOfDepreciationOnDisposalOfInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cessation of depreciation on disposal of investments.",
        "label": "Cessation of depreciation on disposal of investments",
        "terseLabel": "Net effect of cessation of depreciation",
        "verboseLabel": "Cessation of depreciation"
       }
      }
     },
     "localname": "CessationOfDepreciationOnDisposalOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ChangesInSubscriptionWarrants": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest expense on changes in subscription warrants indemnification.",
        "label": "Changes in subscription warrants",
        "negatedLabel": "Changes in subscription warrants \u2013 indemnification (see Note 24)"
       }
      }
     },
     "localname": "ChangesInSubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ChangesInSubscriptionWarrantsIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income on changes in subscription warrants.",
        "label": "Changes In Subscription Warrants Income",
        "terseLabel": "Changes in subscription warrants (see Note 24)"
       }
      }
     },
     "localname": "ChangesInSubscriptionWarrantsIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ChangesInWorkingCapitalAndNetDebtPositionInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of changes in working capital and net debt position in disposal group transaction.",
        "label": "Changes in Working Capital and Net Debt Position in Disposal Group Transaction",
        "positiveTerseLabel": "Estimated working capital and net debt adjustments",
        "terseLabel": "Variations in working capital and net debt position in disposal group transaction",
        "verboseLabel": "Working capital and net debt adjustments"
       }
      }
     },
     "localname": "ChangesInWorkingCapitalAndNetDebtPositionInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ChargesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to borrowing charges including interest.",
        "label": "Charges [Member]",
        "terseLabel": "Charges [member]"
       }
      }
     },
     "localname": "ChargesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronAndSubsidiaryIPPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron and subsidiary IPP.",
        "label": "Chevron and Subsidiary I P P [Member]",
        "terseLabel": "Chevron and subsidiary IPP [member]"
       }
      }
     },
     "localname": "ChevronAndSubsidiaryIPPMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronBelgiumNvMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Belgium NV a related party of the reporting entity.",
        "label": "Chevron Belgium Nv [Member]",
        "terseLabel": "Chevron Belgium NV [member]"
       }
      }
     },
     "localname": "ChevronBelgiumNvMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronBrasilOleosBasicosLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Brasil Oleos Basicos LTDA a related party of the reporting entity.",
        "label": "Chevron Brasil Oleos Basicos Ltda [Member]",
        "terseLabel": "Chevron Brasil Oleos Basicos LTDA [member]"
       }
      }
     },
     "localname": "ChevronBrasilOleosBasicosLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronLatinAmericaMarketingLlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Chevron Latin America Marketing LLC Member.",
        "label": "Chevron Latin America Marketing LLC [Member]",
        "terseLabel": "Chevron Latin America Marketing LLC [member]"
       }
      }
     },
     "localname": "ChevronLatinAmericaMarketingLlcMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronLubricantsLankaPlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Lubricants Lanka PLC a related party of the reporting entity.",
        "label": "Chevron Lubricants Lanka Plc [Member]",
        "terseLabel": "Chevron Lubricants Lanka PLC [member]"
       }
      }
     },
     "localname": "ChevronLubricantsLankaPlcMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronLubricantsOilsSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Lubricants Oils S.A. a related party of the reporting entity.",
        "label": "Chevron Lubricants Oils S A [Member]",
        "terseLabel": "Chevron Lubricants Oils S.A. [member]"
       }
      }
     },
     "localname": "ChevronLubricantsOilsSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronMarineProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Marine Products a related party of the reporting entity.",
        "label": "Chevron Marine Products [Member]",
        "terseLabel": "Chevron Marine Products [member]"
       }
      }
     },
     "localname": "ChevronMarineProductsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronOroniteBrasilLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Oronite Brasil LTDA. a related party of the reporting entity.",
        "label": "Chevron Oronite Brasil Ltda [Member]",
        "terseLabel": "Chevron Oronite Brasil LTDA. [member]",
        "verboseLabel": "Chevron Oronite Brasil Ltda. [member]"
       }
      }
     },
     "localname": "ChevronOroniteBrasilLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronPetroleumCoColombiaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Petroleum CO Colombia a related party of the reporting entity.",
        "label": "Chevron Petroleum Co Colombia [Member]",
        "terseLabel": "Chevron Petroleum CO Colombia [member]"
       }
      }
     },
     "localname": "ChevronPetroleumCoColombiaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronProductsCompanyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron Products Company a related party of the reporting entity.",
        "label": "Chevron Products Company [Member]",
        "terseLabel": "Chevron Products Company [member]"
       }
      }
     },
     "localname": "ChevronProductsCompanyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ChevronThailandLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Chevron (Thailand) Limited a related party of the reporting entity.",
        "label": "Chevron Thailand Limited [Member]",
        "terseLabel": "Chevron (Thailand) Limited [member]"
       }
      }
     },
     "localname": "ChevronThailandLimitedMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CiaUltragazAndBahianaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Cia. Ultragaz and Bahiana.",
        "label": "Cia. Ultragaz and Bahiana [member]",
        "terseLabel": "Cia. Ultragaz and Bahiana [member]"
       }
      }
     },
     "localname": "CiaUltragazAndBahianaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CiaUltragazMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Cia Ultragaz.",
        "label": "Cia Ultragaz [Member]",
        "terseLabel": "Cia Ultragaz [member]"
       }
      }
     },
     "localname": "CiaUltragazMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CivilEnvironmentalAndRegulatoryClaimsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a provision for civil, environmental and regulatory claims.",
        "label": "Civil Environmental and Regulatory Claims [Member]",
        "terseLabel": "Civil and other [member]",
        "verboseLabel": "Civil, environmental and regulatory claims [member]"
       }
      }
     },
     "localname": "CivilEnvironmentalAndRegulatoryClaimsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ClassesOfInventoriesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Classes of inventories.",
        "label": "Classes of inventories [table]",
        "terseLabel": "Classes of inventories [table]"
       }
      }
     },
     "localname": "ClassesOfInventoriesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_ClassifiedByFunctionAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Classified By Function [Abstract]",
        "terseLabel": "Classified as:"
       }
      }
     },
     "localname": "ClassifiedByFunctionAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CollateralAssetsLettersOfCreditOrGuarantees": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of collateral in the form of letters of credit for commercial and legal proceedings.",
        "label": "Collateral Assets Letters Of Credit Or Guarantees",
        "terseLabel": "Collateral guarantees to secure letters of credits"
       }
      }
     },
     "localname": "CollateralAssetsLettersOfCreditOrGuarantees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CollateralFuturePaymentsMaturityPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maturity period of future payments on collaterals.",
        "label": "Collateral Future Payments Maturity Period",
        "verboseLabel": "Maturities of up to"
       }
      }
     },
     "localname": "CollateralFuturePaymentsMaturityPeriod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_CommercialPartnershipsIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating income arising from commercial partnerships activities of the reporting entity.",
        "label": "Commercial Partnerships Income",
        "terseLabel": "Commercial partnerships"
       }
      }
     },
     "localname": "CommercialPartnershipsIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CommercialPropertyRightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to commercial property rights.",
        "label": "Commercial property rights [member]",
        "terseLabel": "Commercial property rights [member]"
       }
      }
     },
     "localname": "CommercialPropertyRightsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CommitmentsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Commitments [table]",
        "label": "Commitments [table]",
        "terseLabel": "Commitments [table]"
       }
      }
     },
     "localname": "CommitmentsTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail",
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CommoditiesCurrencyAndInterestRateHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to commodities, currency and interest rate hedging instruments.",
        "label": "Commodities currency and interest rate hedging instruments [Member]",
        "terseLabel": "Commodities, currency and interest rate hedging instruments [member]"
       }
      }
     },
     "localname": "CommoditiesCurrencyAndInterestRateHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CompanhiaUltragazMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Companhia Ultragaz S.A.",
        "label": "Companhia Ultragaz [Member]",
        "terseLabel": "Companhia Ultragaz S A [member]"
       }
      }
     },
     "localname": "CompanhiaUltragazMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CompensationPaidToParty": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of compensation paid for contingent liabilities.",
        "label": "Compensation Paid To Party",
        "terseLabel": "Compensation amount paid"
       }
      }
     },
     "localname": "CompensationPaidToParty",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CompensationSuitAgainstDamages": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of compensation suit against damages for contingent liabilities.",
        "label": "Compensation Suit Against Damages",
        "terseLabel": "Compensation suit against damages"
       }
      }
     },
     "localname": "CompensationSuitAgainstDamages",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ConectCarSolucoesDeMobilidadeEletronicaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Conect car solucoes de mobilidade eletronica S.A.",
        "label": "Conect car solucoes de mobilidade eletronica [member]",
        "terseLabel": "ConectCar Solucoes de Mobilidade Eletronica [member]",
        "verboseLabel": "ConectCar Solu\u00e7\u00f5es de Mobilidade Eletr\u00f4nica S.A. [member]"
       }
      }
     },
     "localname": "ConectCarSolucoesDeMobilidadeEletronicaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ConnectCarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Connect Car.",
        "label": "Connect car [member]",
        "terseLabel": "Connect car [member]",
        "verboseLabel": "ConectCar Solu\u00e7\u00f5es de Mobilidade Eletr\u00f4nica S.A. [member]"
       }
      }
     },
     "localname": "ConnectCarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ConsumableMaterialsAndOtherItemsForResaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to consumable materials and other items for reslae inventory.",
        "label": "Consumable Materials and Other Items for Resale [Member]",
        "terseLabel": "Consumable materials and other items for resale [member]"
       }
      }
     },
     "localname": "ConsumableMaterialsAndOtherItemsForResaleMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ContingentLiabilitiesForCivilEnvironmentalAndRegulatoryClaims": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent liabilities for civil environmental and regulatory claims.",
        "label": "Contingent liabilities for civil environmental and regulatory claims",
        "terseLabel": "Contingent liabilities for civil, environmental and regulatory claims"
       }
      }
     },
     "localname": "ContingentLiabilitiesForCivilEnvironmentalAndRegulatoryClaims",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContingentLiabilitiesForLaborMatters": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent liabilities for labor matters.",
        "label": "Contingent liabilities for labor matters",
        "terseLabel": "Contingent liabilities for labor matters"
       }
      }
     },
     "localname": "ContingentLiabilitiesForLaborMatters",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContingentLiabilitiesForTaxAssessmentsOnSales": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent liabilities for ICMS tax assessments on sales.",
        "label": "Contingent Liabilities for Tax Assessments on Sales",
        "terseLabel": "Contingent liabilities for tax assessments on sales"
       }
      }
     },
     "localname": "ContingentLiabilitiesForTaxAssessmentsOnSales",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContingentLiabilitiesForTaxMattersAndSocialSecurity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent liabilities for tax matters and social security.",
        "label": "Contingent liabilities for tax matters and social security",
        "terseLabel": "Contingent liabilities for tax matters and social security"
       }
      }
     },
     "localname": "ContingentLiabilitiesForTaxMattersAndSocialSecurity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContingentLiabilitiesNotRecognizedToLawsuit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contingent liabilities not recognized to lawsuit.",
        "label": "Contingent liabilities not recognized to lawsuit",
        "terseLabel": "Contingent liabilities not recognized to lawsuits"
       }
      }
     },
     "localname": "ContingentLiabilitiesNotRecognizedToLawsuit",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContractTermOfLoansReceivableFromRelatedParties": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period of loans receivable contracted from related parties.",
        "label": "Contract term of loans receivable from related parties",
        "terseLabel": "Contract term of loans receivable from related parties"
       }
      }
     },
     "localname": "ContractTermOfLoansReceivableFromRelatedParties",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_ContractualFineAndGasVoucherIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 5.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "label": "Contractual Fine And Gas Voucher Income",
        "terseLabel": "Contractual fine and gas voucher"
       }
      }
     },
     "localname": "ContractualFineAndGasVoucherIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ContributionsToPlanByEmployerPortionOfReversionFund": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contributions by portion of reversion fund to a defined benefit plan by the employer.",
        "label": "Contributions to Plan by Employer, Portion of Reversion Fund",
        "terseLabel": "Contribution to Ultraprev, portion of pension fund"
       }
      }
     },
     "localname": "ContributionsToPlanByEmployerPortionOfReversionFund",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CopersucarSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Copersucar S.A. (\u201cCopersucar\u201d)\".",
        "label": "Copersucar S.A. [Member]",
        "terseLabel": "Copersucar S.A. (\u201cCopersucar\u201d) [Member]"
       }
      }
     },
     "localname": "CopersucarSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CostOfInvestmentOfSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of cost of investment of subsidiary.",
        "label": "Cost of investment of subsidiary",
        "negatedLabel": "Cost of investment"
       }
      }
     },
     "localname": "CostOfInvestmentOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CostOfProductsAndServicesSoldMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to cost of products and services sold.",
        "label": "Cost of Products and Services Sold [member]",
        "terseLabel": "Cost of products sold [member]"
       }
      }
     },
     "localname": "CostOfProductsAndServicesSoldMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CurencyAndInterestRateHedgingInstruments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail": {
       "order": 2.0,
       "parentTag": "ugp_FinancialInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of derivative assets pertaining to currency and interest rate hedging instruments.",
        "label": "Curency and interest rate hedging instruments",
        "terseLabel": "Derivative financial instruments"
       }
      }
     },
     "localname": "CurencyAndInterestRateHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrencyInterestRateHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to currency interest rate hedging instruments.",
        "label": "Currency interest rate hedging instruments [member]",
        "terseLabel": "Currency interest rate hedging instruments [member]",
        "verboseLabel": "Currency and interest rate hedging and commodities instruments [member]"
       }
      }
     },
     "localname": "CurrencyInterestRateHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CurrencySwapsPayableInUSDollarsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Currency swaps payable in us dollars.",
        "label": "Currency Swaps Payable in U S Dollars [Abstract]",
        "terseLabel": "Currency swaps payable in U.S. dollars"
       }
      }
     },
     "localname": "CurrencySwapsPayableInUSDollarsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CurrencySwapsReceivableInUSDollarsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Currency swaps receivable in us dollars.",
        "label": "Currency Swaps Receivable in U S Dollars [Abstract]",
        "terseLabel": "Currency swaps receivable in U.S. dollars"
       }
      }
     },
     "localname": "CurrencySwapsReceivableInUSDollarsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_CurrentDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandhedgederivativefinancialinstrumentsSummaryofCompostionofloansDetailCalc2": {
       "order": 0.0,
       "parentTag": "ugp_LoanDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of further information and subclassifications of Loans, classified in a manner appropriate to the entity's policies and operations.",
        "label": "Current debt",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "CurrentDebt",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrentFinancialLiabilitiesOfCustomers": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 12.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current financial liabilities of customers.",
        "label": "Current financial liabilities of customers",
        "terseLabel": "Financial liabilities of customers"
       }
      }
     },
     "localname": "CurrentFinancialLiabilitiesOfCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrentIncomeAndSocialContributionTaxesOnDisposalOfInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current income and social contribution taxes on disposal of investments.",
        "label": "Current income and social contribution taxes on disposal of investments",
        "negatedLabel": "Current income and social contribution taxes"
       }
      }
     },
     "localname": "CurrentIncomeAndSocialContributionTaxesOnDisposalOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrentProvisionAssetRetirementObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 9.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Provision for legal obligations associated with the retirement of long-lived assets that result from the acquisition, construction, development and/or the normal operation of such assets.",
        "label": "Current provision asset retirement obligation",
        "terseLabel": "Provision for asset retirement obligation"
       }
      }
     },
     "localname": "CurrentProvisionAssetRetirementObligation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrentReceivablesFromSaleOfInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 4.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current receivables arising from the sale of investments.",
        "label": "Current Receivables From Sale of Investments",
        "terseLabel": "Current",
        "verboseLabel": "Trade receivables - sale of subsidiaries"
       }
      }
     },
     "localname": "CurrentReceivablesFromSaleOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CurrentResellerFinancing": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 3.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail": {
       "order": 0.0,
       "parentTag": "ugp_ResellerFinancing",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current reseller financing.",
        "label": "Current reseller financing",
        "terseLabel": "Current",
        "verboseLabel": "Reseller financing"
       }
      }
     },
     "localname": "CurrentResellerFinancing",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_CustomerConcentrationsRiskMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to reflects the percentage that revenues in the period from one or more significant customers is to net revenues, as defined by the entity, such as total net revenues, product line revenues, segment revenues. The risk is the materially adverse effects of loss of a significant customer.",
        "label": "Customer concentrations risk [member]",
        "terseLabel": "Customer concentrations risk"
       }
      }
     },
     "localname": "CustomerConcentrationsRiskMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_CustomerOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to a \"Customer one\" of the reporting entity.",
        "label": "Customer one [member]",
        "terseLabel": "Customer one"
       }
      }
     },
     "localname": "CustomerOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DNPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to DNP.",
        "label": "D N P [Member]",
        "terseLabel": "DNP [member]"
       }
      }
     },
     "localname": "DNPMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debenture.",
        "label": "Debenture [axis]",
        "terseLabel": "Debenture [axis]"
       }
      }
     },
     "localname": "DebentureAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DebentureDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Debenture [Domain]",
        "label": "Debenture [Domain]",
        "terseLabel": "Debenture [Domain]"
       }
      }
     },
     "localname": "DebentureDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureEightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture eight.",
        "label": "Debenture eight [member]",
        "terseLabel": "Debenture eight [member]"
       }
      }
     },
     "localname": "DebentureEightMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureElevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture eleven.",
        "label": "Debenture Eleven [Member]",
        "terseLabel": "Debenture eleven [member]"
       }
      }
     },
     "localname": "DebentureElevenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture five.",
        "label": "Debenture five [member]",
        "terseLabel": "Debenture five [member]"
       }
      }
     },
     "localname": "DebentureFiveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture four.",
        "label": "Debenture four [member]",
        "terseLabel": "Debenture four [member]"
       }
      }
     },
     "localname": "DebentureFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureNineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture nine.",
        "label": "Debenture Nine [Member]",
        "verboseLabel": "Debenture nine [member]"
       }
      }
     },
     "localname": "DebentureNineMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture one.",
        "label": "Debenture one [member]",
        "terseLabel": "Debenture one [member]"
       }
      }
     },
     "localname": "DebentureOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturePaymentOfFaceValueDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of redemption payment of the face value on borrowings.",
        "label": "Debenture payment of face value description",
        "terseLabel": "Payment of the face value"
       }
      }
     },
     "localname": "DebenturePaymentOfFaceValueDescription",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DebenturePaymentOfInterestDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of interest payment frequency on borrowings.",
        "label": "Debenture payment of interest description",
        "terseLabel": "Payment of interest"
       }
      }
     },
     "localname": "DebenturePaymentOfInterestDescription",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DebentureReprice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of reprice on borrowings.",
        "label": "Debenture reprice",
        "terseLabel": "Reprice"
       }
      }
     },
     "localname": "DebentureReprice",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DebentureSevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture seven.",
        "label": "Debenture seven [member]",
        "terseLabel": "Debenture seven [member]"
       }
      }
     },
     "localname": "DebentureSevenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureSixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture six.",
        "label": "Debenture six [member]",
        "terseLabel": "Debenture six [member]"
       }
      }
     },
     "localname": "DebentureSixMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureTenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture ten.",
        "label": "Debenture ten [member]",
        "terseLabel": "Debenture ten [member]"
       }
      }
     },
     "localname": "DebentureTenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureThirteenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture thirteen.",
        "label": "Debenture Thirteen [Member]",
        "terseLabel": "Debenture thirteen [member]"
       }
      }
     },
     "localname": "DebentureThirteenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture three.",
        "label": "Debenture three [member]",
        "terseLabel": "Debenture three [member]"
       }
      }
     },
     "localname": "DebentureThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureTwelveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture twelve.",
        "label": "Debenture Twelve [Member]",
        "terseLabel": "Debenture twelve [member]"
       }
      }
     },
     "localname": "DebentureTwelveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebentureTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debenture two.",
        "label": "Debenture two [member]",
        "terseLabel": "Debenture two [member]"
       }
      }
     },
     "localname": "DebentureTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Debentures1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures.",
        "label": "Debentures 1 [member]",
        "terseLabel": "Debentures 1 [member]"
       }
      }
     },
     "localname": "Debentures1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesEighthIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures eighth issue.",
        "label": "Debentures eighth issue [member]",
        "terseLabel": "Debentures eighth issue [member]"
       }
      }
     },
     "localname": "DebenturesEighthIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesEleventhIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures eleventh issue.",
        "label": "Debentures Eleventh Issue [Member]",
        "terseLabel": "Debentures eleventh issue [member]"
       }
      }
     },
     "localname": "DebenturesEleventhIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesFifthIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures fifth issue.",
        "label": "Debentures fifth issue [member]",
        "terseLabel": "Debentures fifth issue [member]"
       }
      }
     },
     "localname": "DebenturesFifthIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesFirstIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for information pertaining to first issue of debentures.",
        "label": "Debentures First Issue [Member]",
        "verboseLabel": "Debentures first issue [member]"
       }
      }
     },
     "localname": "DebenturesFirstIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesFourthIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures fourth issue.",
        "label": "Debentures fourth issue [member]",
        "terseLabel": "Debentures fourth issue [member]"
       }
      }
     },
     "localname": "DebenturesFourthIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures.",
        "label": "Debentures [member]",
        "terseLabel": "Debentures [member]"
       }
      }
     },
     "localname": "DebenturesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesSecondIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for information pertaining to second issue of debentures.",
        "label": "Debentures Second Issue [Member]",
        "terseLabel": "Debentures second issue [member]"
       }
      }
     },
     "localname": "DebenturesSecondIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesSeventhIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures seventh issue.",
        "label": "Debentures seventh issue [member]",
        "terseLabel": "Debentures seventh issue [member]"
       }
      }
     },
     "localname": "DebenturesSeventhIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesSixthIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures sixth issue.",
        "label": "Debentures sixth issue [member]",
        "terseLabel": "Debentures sixth issue [member]"
       }
      }
     },
     "localname": "DebenturesSixthIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebenturesTenthIssueMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to debentures tenth issue.",
        "label": "Debentures Tenth Issue [Member]",
        "terseLabel": "Debentures tenth issue [member]"
       }
      }
     },
     "localname": "DebenturesTenthIssueMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebtInstrumentsAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of debt instrument, including, but not limited to, draws against credit facilities.",
        "label": "Debt Instruments [Axis]"
       }
      }
     },
     "localname": "DebtInstrumentsAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DebtInstrumentsDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular debt instrument or borrowing that distinguishes it from other debt instruments or borrowings, including draws against credit facilities.",
        "label": "Debt Instruments [Domain]"
       }
      }
     },
     "localname": "DebtInstrumentsDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DebtsFirmCommitmentsInDollars": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 1.0,
       "parentTag": "ugp_USDollarToRealSwapsNetEffect",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Debts / firm commitments in dollars.",
        "label": "Debts firm commitments in dollars",
        "negatedLabel": "Debts / firm commitments in dollars"
       }
      }
     },
     "localname": "DebtsFirmCommitmentsInDollars",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecarbonizationCreditsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for information pertaining to decarbonization credits.",
        "label": "Decarbonization Credits [Member]",
        "terseLabel": "Decarbonization credits (CBIO) [member]"
       }
      }
     },
     "localname": "DecarbonizationCreditsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DecreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in earnout liability in a business combination that would have been caused by a decrease in a significant actuarial assumption that was reasonably possible at the end of the reporting period.",
        "label": "Decrease in earnout liability due to reasonably possible increase in actuarial assumption",
        "terseLabel": "Decrease in liabilities"
       }
      }
     },
     "localname": "DecreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseInNetDefinedBenefitLiabilityResultingFromReclassificationToLiabilitiesHeldForSale": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in the net defined benefit liability resulting from reclassification to liabilities held for sale.",
        "label": "Decrease in Net Defined Benefit Liability Resulting from Reclassification to Liabilities Held for Sale",
        "negatedLabel": "Reclassification to liabilities held for sale"
       }
      }
     },
     "localname": "DecreaseInNetDefinedBenefitLiabilityResultingFromReclassificationToLiabilitiesHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreasePercentageOfGeneralAdministrativeAndSalesExpenses": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the entity's general, administrative and sales expenses decreased in comparative period.",
        "label": "Decrease percentage of general, administrative and sales expenses",
        "terseLabel": "Decrease percentage of general, administrative and sales expenses"
       }
      }
     },
     "localname": "DecreasePercentageOfGeneralAdministrativeAndSalesExpenses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DecreasePercentageOfInvestmentPlan": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the entity's investment plan decreased due to cash containment measurement applied by the reporting entity.",
        "label": "Decrease Percentage of Investment Plan",
        "terseLabel": "Decrease percentage of investment plan"
       }
      }
     },
     "localname": "DecreasePercentageOfInvestmentPlan",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DecreasePercentageOfSales": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the entity's sales decreased in comparative period.",
        "label": "Decrease Percentage of Sales",
        "terseLabel": "Decrease percentage of sales"
       }
      }
     },
     "localname": "DecreasePercentageOfSales",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DecreasePercentageOfSalesVolume": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the entity's sales volume decreased in comparative period.",
        "label": "Decrease Percentage of Sales Volume",
        "terseLabel": "Decrease percentage of sales volume"
       }
      }
     },
     "localname": "DecreasePercentageOfSalesVolume",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DecreaseThroughCapitalDistributionInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments accounted for using equity method resulting from capital distribution or disposal.",
        "label": "Decrease through capital distribution, investments accounted for using equity method",
        "negatedLabel": "Capital decrease"
       }
      }
     },
     "localname": "DecreaseThroughCapitalDistributionInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleAccumulatedTransactionCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in accumulated transaction costs resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease Through Classified as Held for Sale Accumulated Transaction Costs",
        "negatedLabel": "Reclassification to liabilities held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleAccumulatedTransactionCosts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleAllowanceAccountForCreditLossesOfFinancialAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in an allowance account for credit losses of financial assets resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through classified as held for sale, allowance account for credit losses of financial assets",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleAllowanceAccountForCreditLossesOfFinancialAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleDeferredTaxLiabilityAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in deferred tax liability (asset) resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through classified as held for sale, deferred tax liability (asset)",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleDeferredTaxLiabilityAsset",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleInvestmentsInAssociates": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments in associates resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through classified as held for sale, investments in associates",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleInvestmentsInAssociates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in lease liabilities resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through Classified as Held for Sale, Lease Liabilities",
        "negatedLabel": "Reclassification to liabilities held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleLeaseLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleLoansAndBorrowings": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in loans and borrowings resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through Classified as Held for Sale, Loans and Borrowings",
        "negatedLabel": "Reclassification to liabilities held for sale",
        "terseLabel": "Reclassification to liabilities held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleLoansAndBorrowings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleProvisionForLossesInventories": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in provisions for losses of inventories resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through classified as held for sale, Provisions for losses, inventories",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleProvisionForLossesInventories",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughClassifiedAsHeldForSaleRightOfUseAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in right-of-use assets resulting from classification as held for sale or inclusion in a disposal group classified as held for sale.",
        "label": "Decrease through classified as held for sale, right-of-use assets",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughClassifiedAsHeldForSaleRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughDispositionOfInvestmentInJointVentures": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments in joint ventures resulting from disposition of investment.",
        "label": "Decrease through disposition of investment in joint ventures",
        "negatedLabel": "Disposition of investment"
       }
      }
     },
     "localname": "DecreaseThroughDispositionOfInvestmentInJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughProposedDividendsInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments accounted for using equity method resulting from proposed dividends.",
        "label": "Decrease through proposed dividends, investments accounted for using equity method",
        "negatedLabel": "Proposed dividends"
       }
      }
     },
     "localname": "DecreaseThroughProposedDividendsInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughReclassificationToAssetsHeldForSaleInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments accounted for using equity method resulting from reclassification to assets held for sale.",
        "label": "Decrease through reclassification to assets held for sale, investments accounted for using equity method",
        "negatedLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "DecreaseThroughReclassificationToAssetsHeldForSaleInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughReversalsToNetRealizableValueAdjustmentProvisionsForLossesInventories": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in provisions for losses of inventories resulting from reversals to net realizable value adjustment.",
        "label": "Decrease through reversals to net realizable value adjustment, Provisions for losses, inventories",
        "negatedLabel": "Reversal of provision for adjustment to realizable value"
       }
      }
     },
     "localname": "DecreaseThroughReversalsToNetRealizableValueAdjustmentProvisionsForLossesInventories",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughTransferOfContractAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in contract assets resulting from transfers.",
        "label": "Decrease Through Transfer of Contract Assets",
        "negatedLabel": "Transfer"
       }
      }
     },
     "localname": "DecreaseThroughTransferOfContractAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ContractualAssetsWithCustomersExclusiveRightsSummaryOfContractualAssetsWithCustomersExclusiveRightsBalanceAndChangesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DecreaseThroughWriteOffInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The decrease in investments accounted for using equity method resulting from write-off of investments.",
        "label": "Decrease through write-off, investments accounted for using equity method",
        "negatedLabel": "Write-off of investment"
       }
      }
     },
     "localname": "DecreaseThroughWriteOffInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributioTaxesOffsetLiabilitiesBalance": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_DeferredTaxAssets",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred tax assets for which it is more likely than not that a tax benefit will not be realized.",
        "label": "Deferred Income and Social Contributio Taxes Offset Liabilities Balance",
        "negatedLabel": "Offset liability balance"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributioTaxesOffsetLiabilitiesBalance",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_DeferredTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences and carryforwards.",
        "label": "Deferred income and social contribution tax assets",
        "terseLabel": "Deferred income and social contribution taxes",
        "totalLabel": "Total",
        "verboseLabel": "Recovery of deferred tax assets"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred income and social contribution tax assets [Abstract]",
        "terseLabel": "Assets - deferred income and social contribution taxes on:"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxAssetsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxExpenseBenefitOnImpairmentLoss": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred income and social contribution tax expense (benefit) on impairment loss.",
        "label": "Deferred income and social contribution tax expense (benefit) on impairment loss",
        "negatedLabel": "Deferred income and social contribution tax expense (benefit) on impairment loss of assets",
        "terseLabel": "Deferred income and social contribution taxes"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxExpenseBenefitOnImpairmentLoss",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_DeferredTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences.",
        "label": "Deferred income and social contribution tax liabilities",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred income and social contribution tax liabilities [Abstract]",
        "terseLabel": "Liabilities - deferred income and social contribution taxes on:"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxLiabilitiesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesBusinessCombinationFiscalBasisAccountingBasisOfGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 5.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from fiscal basis against accounting basis of goodwill arising from business combination.",
        "label": "Deferred income and social contribution taxes business combination fiscal basis accounting basis of goodwill",
        "terseLabel": "Business combination \u2013 tax basis vs. accounting basis of goodwill"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesBusinessCombinationFiscalBasisAccountingBasisOfGoodwill",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesChangeInFairValueOfSubscriptionWarrants": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 10.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from change in fair value of subscription warrants.",
        "label": "Deferred Income And Social Contribution Taxes Change In Fair Value Of Subscription Warrants",
        "terseLabel": "Change in fair value of subscription warrants"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesChangeInFairValueOfSubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesLease": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 1.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from leases payable.",
        "label": "Deferred income and social contribution taxes lease",
        "terseLabel": "Leases payable"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesLease",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesLeasesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 9.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from leases payable.",
        "label": "Deferred Income And Social Contribution Taxes Leases Payable",
        "terseLabel": "Leases payable"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesLeasesPayable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from monetary variation from Special System for Settlement and Custody (\u201cSELIC\u201d) on repetition of tax undue payments.",
        "label": "Deferred income and social contribution taxes, monetary variation from Special System for Settlement and Custody on repetition of tax undue payments",
        "terseLabel": "Deferred income and social contribution taxes, monetary variation (SELIC) on repetition of tax undue payments"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePaymentsReclassifiedToAssetsHeldForSale": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible tax losses and negative basis for social contribution carryforwards reclassified to assets held for sale.",
        "label": "Deferred income and social contribution taxes, monetary variation from Special System for Settlement and Custody on repetition of tax undue payments reclassified to assets held for sale",
        "terseLabel": "Deferred income and social contribution taxes, tax loss carryforwards reclassified to assets held for sale"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePaymentsReclassifiedToAssetsHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesOffsetAssetsBalance": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_DeferredTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred tax liabilities for which it is more likely than that a tax benefit will be realized.",
        "label": "Deferred income and social contribution taxes offset assets balance",
        "negatedLabel": "Offset asset balance"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesOffsetAssetsBalance",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesOnDisposalOfInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred income and social contribution taxes on disposal of investments.",
        "label": "Deferred income and social contribution taxes on disposal of investments",
        "negatedLabel": "Deferred income and social contribution taxes"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesOnDisposalOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesOtherProvisions": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 12.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provisions classified as other.",
        "label": "Deferred income and social contribution taxes other provisions",
        "terseLabel": "Other temporary differences"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesOtherProvisions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesOtherProvisionsLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 5.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from provisions classified as other.",
        "label": "Deferred income and social contribution taxes other provisions liabilities",
        "negatedLabel": "Other temporary differences"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesOtherProvisionsLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForAssetRetirementObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 6.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for asset retirement obligation.",
        "label": "Deferred income and social contribution taxes provision for asset retirement obligation",
        "terseLabel": "Provision for asset retirement obligation"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForAssetRetirementObligation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDeferredRevenue": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 11.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for deferred revenue.",
        "label": "Deferred Income and Social Contribution Taxes Provision for Deferred Revenue",
        "terseLabel": "Provision for deferred revenue"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForDeferredRevenue",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 3.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for differences between cash and accrual basis.",
        "label": "Deferred income and social contribution taxes provision for differences between cash and accrual basis assets",
        "terseLabel": "Provision for differences between cash and accrual basis"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 2.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from provision for differences between cash and accrual basis.",
        "label": "Deferred income and social contribution taxes provision for differences between cash and accrual basis liabilities",
        "terseLabel": "Provision for differences between cash and accrual basis"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForDifferencesBetweenCashAndAccrualBasisLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 0.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for impairment of assets.",
        "label": "Deferred income and social contribution taxes provision for impairment of assets",
        "terseLabel": "Provision for losses with assets"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForImpairmentOfAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostEmploymentBenefits": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 2.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for post-employment benefits.",
        "label": "Deferred income and social contribution taxes provision for post employment benefits",
        "terseLabel": "Provision for post-employment benefits"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForPostEmploymentBenefits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsBusinessCombinationFairValueOfAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 4.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from fair value of assets arising from business combination.",
        "label": "Deferred income and social contribution taxes provision for postemployment benefits business combination fair value of assets",
        "terseLabel": "Business combination - fair value of assets"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsBusinessCombinationFairValueOfAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsProvisionForGoodwillAndNegativeGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 3.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from provision for goodwill.",
        "label": "Deferred income and social contribution taxes provision for postemployment benefits provision for goodwill and negative goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForPostemploymentBenefitsProvisionForGoodwillAndNegativeGoodwill",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForProfitSharingAndBonus": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 8.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for profit sharing and bonus.",
        "label": "Deferred Income And Social Contribution Taxes Provision For Profit Sharing And Bonus",
        "terseLabel": "Provision for profit sharing and bonus"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForProfitSharingAndBonus",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionForSuppliers": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 7.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for suppliers.",
        "label": "Deferred Income And Social Contribution Taxes Provision For Suppliers",
        "terseLabel": "Provision for suppliers"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionForSuppliers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesProvisionsFortaxCivilAndLaborRisks": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 1.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from provision for tax, civil, and labor risks.",
        "label": "Deferred Income and Social Contribution Taxes Provisions Fortax Civil and Labor Risks",
        "terseLabel": "Provision for tax, civil and labor risks"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesProvisionsFortaxCivilAndLaborRisks",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesRevaluationOfPropertyPlantAndEquipment": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 0.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax liability attributable to taxable temporary differences from revaluation of property, plant, and equipment.",
        "label": "Deferred income and social contribution taxes revaluation of property plant and equipment",
        "terseLabel": "Revaluation of property, plant and equipment"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesRevaluationOfPropertyPlantAndEquipment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 13.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible tax losses and negative basis for social contribution carryforwards.",
        "label": "Deferred income and social contribution taxes tax losses and negative basis for social contribution carryforwards",
        "terseLabel": "Tax losses and negative basis for social contribution carryforwards",
        "verboseLabel": "Tax losses and negative basis for social contribution carryforwards (10.d)"
       }
      }
     },
     "localname": "DeferredIncomeAndSocialContributionTaxesTaxLossesAndNegativeBasisForSocialContributionCarryforwards",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredRevenueAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred revenue [axis]",
        "label": "Deferred revenue [axis]",
        "terseLabel": "Deferred revenue [axis]"
       }
      }
     },
     "localname": "DeferredRevenueAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DeferredRevenueDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Deferred revenue [domain]",
        "label": "Deferred revenue [domain]",
        "terseLabel": "Deferred revenue [domain]"
       }
      }
     },
     "localname": "DeferredRevenueDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DeferredRevenueReclassifiedToALiabilityHeldForSale": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of deferred revenue is reclassified as a liability as held for sale.",
        "label": "Deferred Revenue Reclassified to A Liability Held for Sale",
        "terseLabel": "Deferred revenue reclassified to a liability held for sale"
       }
      }
     },
     "localname": "DeferredRevenueReclassifiedToALiabilityHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredStockUnitPlanMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to deferred stock unit plan.",
        "label": "Deferred stock unit plan [member]",
        "terseLabel": "Deferred stock plan [member]"
       }
      }
     },
     "localname": "DeferredStockUnitPlanMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DeferredTaxExpenseIncomeRecognisedInProfitOrLossFromDiscontinuedOperations": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of tax expense or income relating to changes in deferred tax liabilities and deferred tax assets, recognised in profit or loss from discontinued operations.",
        "label": "Deferred tax expense (income) recognised in profit or loss from discontinued operations",
        "negatedLabel": "Deferred IRPJ and CSLL recognized in income for the year from discontinued operation"
       }
      }
     },
     "localname": "DeferredTaxExpenseIncomeRecognisedInProfitOrLossFromDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DeferredincomeAndSocialContributionTaxesGoodwill": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail": {
       "order": 4.0,
       "parentTag": "ugp_DeferredIncomeAndSocialContributionTaxAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences from goodwill.",
        "label": "Deferredincome and Social Contribution Taxes Goodwill",
        "terseLabel": "Goodwill"
       }
      }
     },
     "localname": "DeferredincomeAndSocialContributionTaxesGoodwill",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DefinedContributionPensionPlanReversionFund": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of defined contribution pension plan reversion fund.",
        "label": "Defined Contribution Pension Plan Reversion Fund",
        "terseLabel": "Defined contribution pension plan fund"
       }
      }
     },
     "localname": "DefinedContributionPensionPlanReversionFund",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DefinedContributionPensionPlanReversionFundReclassifiedToAssetsHeldForSale": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of defined contribution pension plan reversion fund reclassified to assets held for sale.",
        "label": "Defined Contribution Pension Plan Reversion Fund Reclassified to Assets Held for Sale",
        "terseLabel": "Defined contribution pension fund reclassified to assets held for sale"
       }
      }
     },
     "localname": "DefinedContributionPensionPlanReversionFundReclassifiedToAssetsHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DemographicAssumptionPercentageOfReasonablyPossibleDecreaseInMortalityTableForOtherBenefits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The demographic assumption percentage of reasonably possible decrease in mortality table for other benefits.",
        "label": "Demographic Assumption Percentage of Reasonably Possible Decrease in Mortality Table for Other Benefits",
        "terseLabel": "Demographic assumption percentage of reasonably possible decrease in mortality table for other benefits"
       }
      }
     },
     "localname": "DemographicAssumptionPercentageOfReasonablyPossibleDecreaseInMortalityTableForOtherBenefits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DerivativeInstrumentsUndiscountedCashFlows": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to derivative instruments.",
        "label": "Derivative instruments, undiscounted cash flows",
        "terseLabel": "Derivative instruments"
       }
      }
     },
     "localname": "DerivativeInstrumentsUndiscountedCashFlows",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DerivativeNonmonetaryNotionalAmountVolumeOne": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Nominal volume used to calculate payments on a derivative instrument.",
        "label": "Derivative Nonmonetary Notional Amount Volume One",
        "terseLabel": "Notional amount (m3)"
       }
      }
     },
     "localname": "DerivativeNonmonetaryNotionalAmountVolumeOne",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_DerivativesDesignatedAsHedgeAccountingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Derivatives designated as hedge accounting.",
        "label": "Derivatives designated as hedge accounting [member]",
        "terseLabel": "Derivatives designated as hedge accounting [member]"
       }
      }
     },
     "localname": "DerivativesDesignatedAsHedgeAccountingMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DerivativesNotDesignatedAsHedgeAccountingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to derivatives not designated as hedge accounting.",
        "label": "Derivatives not designated as hedge accounting [member]",
        "terseLabel": "Derivatives not designated as hedge accounting"
       }
      }
     },
     "localname": "DerivativesNotDesignatedAsHedgeAccountingMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForBasisForTranslationOfFinancialStatementsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's accounting policy for basis for translation of financial statements.",
        "label": "Description Of Accounting Policy For Basis For Translation Of Financial Statements Explanatory",
        "terseLabel": "Basis for translation of financial statements of foreign subsidiaries"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForBasisForTranslationOfFinancialStatementsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForContractualAssetsWithCustomersExclusiveRightsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's accounting policy for contractual assets with customers - exclusive rights.",
        "label": "Description of Accounting Policy for Contractual Assets with Customers Exclusive Rights [Text Block]",
        "terseLabel": "Contractual assets with customers \u2013 exclusive rights"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForContractualAssetsWithCustomersExclusiveRightsTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForFinancialLiabilitiesOfCustomersPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for financial liabilities of customers.",
        "label": "Description of accounting policy for financial liabilities of customers [Policy Text Block]",
        "terseLabel": "Financial liabilities of customers"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForFinancialLiabilitiesOfCustomersPolicyTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForOtherAssetsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of accounting policy for other assets.",
        "label": "Description of accounting policy for other assets explanatory",
        "terseLabel": "Other assets"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForOtherAssetsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForOtherLiabilitiesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of accounting policy for other liabilities.",
        "label": "Description Of Accounting Policy For Other Liabilities Explanatory",
        "terseLabel": "Other liabilities"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForOtherLiabilitiesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForOtherProvisionsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's accounting policy for other provisions.",
        "label": "Description of Accounting Policy for other Provisions Explanatory",
        "terseLabel": "Provision for asset retirement obligation \u2013 fuel tanks"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForOtherProvisionsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForRecognitionOfTaxCreditsPolicyTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's material accounting policy information for recognition of tax credits.",
        "label": "Description of accounting policy for recognition of tax credits [Policy Text Block]",
        "terseLabel": "Recognition of tax credits"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForRecognitionOfTaxCreditsPolicyTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfAccountingPolicyForUseOfEstimatesAssumptionsAndJudgmentsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the entity's accounting policy for use of Estimates, Assumptions and Judgments.",
        "label": "Description of Accounting Policy for Use of Estimates Assumptions and Judgments Explanatory",
        "terseLabel": "Critical accounting judgements and key sources of estimation uncertainty"
       }
      }
     },
     "localname": "DescriptionOfAccountingPolicyForUseOfEstimatesAssumptionsAndJudgmentsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesPolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DescriptionOfBorrowingsReprice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of reprice of borrowings.",
        "label": "Description of Borrowings Reprice",
        "terseLabel": "Reprice"
       }
      }
     },
     "localname": "DescriptionOfBorrowingsReprice",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleDecreaseInActuarialAssumptionsForEarnoutLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of changes in goals of reasonably possible decrease in actuarial assumptions for earnout liability in a business combination.",
        "label": "Description of changes in goals of reasonably possible decrease in actuarial assumptions for earnout liability",
        "terseLabel": "Changes in goals"
       }
      }
     },
     "localname": "DescriptionOfChangesInGoalsOfReasonablyPossibleDecreaseInActuarialAssumptionsForEarnoutLiability",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfChangesInGoalsOfReasonablyPossibleIncreaseInActuarialAssumptionsForEarnoutLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of changes in goals of reasonably possible increase in actuarial assumptions for earnout liability in a business combination.",
        "label": "Description of changes in goals of reasonably possible increase in actuarial assumptions for earnout liability",
        "terseLabel": "Changes in goals"
       }
      }
     },
     "localname": "DescriptionOfChangesInGoalsOfReasonablyPossibleIncreaseInActuarialAssumptionsForEarnoutLiability",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfFinalPaymentDueDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of final payment due date in disposal group transaction.",
        "label": "Description of Final Payment Due Date",
        "terseLabel": "Final payment due date"
       }
      }
     },
     "localname": "DescriptionOfFinalPaymentDueDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfGoalsInBusinessCombination": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of goals in a business combination.",
        "label": "Description of goals in business combination",
        "terseLabel": "Goals"
       }
      }
     },
     "localname": "DescriptionOfGoalsInBusinessCombination",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfPaymentOfFaceValueOfBorrowings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of payment of the face value of borrowings.",
        "label": "Description of Payment of Face Value of Borrowings",
        "terseLabel": "Payment of the face value"
       }
      }
     },
     "localname": "DescriptionOfPaymentOfFaceValueOfBorrowings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfPaymentOfInterestOfBorrowings": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of payment of interest of borrowings.",
        "label": "Description of Payment of Interest of Borrowings",
        "terseLabel": "Payment of interest"
       }
      }
     },
     "localname": "DescriptionOfPaymentOfInterestOfBorrowings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfPortConcessions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of port concessions in operating lease.",
        "label": "Description Of Port Concessions",
        "terseLabel": "Port concessions description"
       }
      }
     },
     "localname": "DescriptionOfPortConcessions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DescriptionOfTransferToProvisionForShortTermLiabilitiesRelatedToJointVenturesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in provision for short-term liabilities pertaining to joint ventures.",
        "label": "Description of Transfer to Provision for Short Term Liabilities Related to Joint Ventures [Table Text Block]",
        "terseLabel": "Summary of provision for short-term liabilities"
       }
      }
     },
     "localname": "DescriptionOfTransferToProvisionForShortTermLiabilitiesRelatedToJointVenturesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to DI.",
        "label": "DI [Member]",
        "terseLabel": "DI [member]"
       }
      }
     },
     "localname": "DiMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DiRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of DI rate used to calculate interest payment of loans payable.",
        "label": "DI rate",
        "verboseLabel": "DI rate"
       }
      }
     },
     "localname": "DiRate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DirectControlInterestPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Entity's direct control over the subsidiary.",
        "label": "Direct control interest percentage",
        "terseLabel": "Direct control"
       }
      }
     },
     "localname": "DirectControlInterestPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DirectorsAndOfficersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to directors and officers.",
        "label": "Directors and Officers [member]",
        "terseLabel": "directors and executive officers (D&amp;O) [member]"
       }
      }
     },
     "localname": "DirectorsAndOfficersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DisclosureInBreakdownOfExpectedLossOnDoubtfulAccountsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of breakdown of expected loss on doubtful accounts.",
        "label": "Disclosure in breakdown of expected loss on doubtful accounts Explanatory [Text Block]",
        "terseLabel": "Breakdown of loss allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureInBreakdownOfExpectedLossOnDoubtfulAccountsExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfAllowanceForDoubtfulAccountsOnTradeReceivablesByGeographicAreaExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of allowance for doubtful accounts on trade receivables by geographic area.",
        "label": "Disclosure of allowance for doubtful accounts on trade receivables by geographic area explanatory [Text Block]",
        "terseLabel": "Summary of loss allowance for expected credit losses balances by geographic area"
       }
      }
     },
     "localname": "DisclosureOfAllowanceForDoubtfulAccountsOnTradeReceivablesByGeographicAreaExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfAmortizationExpensesExplanatoryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of amortization expenses in the financial statements.",
        "label": "Disclosure of Amortization Expenses Explanatory [Table Text Block]",
        "terseLabel": "Summary of Amortization Expenses in the Financial Statements"
       }
      }
     },
     "localname": "DisclosureOfAmortizationExpensesExplanatoryTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfAssetReclassificationExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of asset reclassifications.",
        "label": "Disclosure of Asset Reclassification Explanatory",
        "terseLabel": "Schedule of Financial information of segments, Asset reclassification"
       }
      }
     },
     "localname": "DisclosureOfAssetReclassificationExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfAssetsAndLiabilitiesOrDisposalGroupsClassifiedAsHeldForSaleExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of assets and liabilities or disposal groups classified as held for sale.",
        "label": "Schedule of classes of assets and liabilities classified as held for sale [Table Text Block]",
        "terseLabel": "Schedule of classes of assets and liabilities classified as held for sale"
       }
      }
     },
     "localname": "DisclosureOfAssetsAndLiabilitiesOrDisposalGroupsClassifiedAsHeldForSaleExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/AssetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of balance and changes in dividends payable.",
        "label": "Disclosure of Balances and Changes in Consolidated Dividends Payable explanatory",
        "terseLabel": "Summary of Balances and Changes in Consolidated Dividends Payable"
       }
      }
     },
     "localname": "DisclosureOfBalancesAndChangesInConsolidatedDividendsPayableExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfBreakdownOfAllowanceForExpectedCreditLossesOnDoubtfulAccountsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of breakdown of allowance for expected credit losses on doubtful accounts.",
        "label": "Disclosure Of Breakdown Of Allowance For Expected Credit Losses On Doubtful Accounts Explanatory [Text Block]",
        "terseLabel": "Breakdown of the loss allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureOfBreakdownOfAllowanceForExpectedCreditLossesOnDoubtfulAccountsExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfBreakdownOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of breakdown of expected losses on doubtful accounts.",
        "label": "Disclosure Of Breakdown Of Expected Losses On Doubtful Accounts Explanatory [Text Block]",
        "terseLabel": "Breakdown of loss allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureOfBreakdownOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of breakdown of reseller financing, gross of expected losses on doubtful accounts.",
        "label": "Disclosure Of Breakdown Of Reseller Financing Gross Of Expected Losses On Doubtful Accounts Explanatory [Text Block]",
        "terseLabel": "Breakdown of reseller financing, gross of loss allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureOfBreakdownOfResellerFinancingGrossOfExpectedLossesOnDoubtfulAccountsExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Cash and cash equivalents, financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of cash and cash equivalents, financial investments and hedge derivative financial instruments.",
        "label": "Disclosure of Cash and Cash Equivalents and Financial Investments and Hedge Derivative Financial Instruments [Text Block]",
        "terseLabel": "Cash and cash equivalents, financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "DisclosureOfCashAndCashEquivalentsAndFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Cashandcashequivalentsfinancialinvestmentsandderivativefinancialinstruments"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfCommitmentsAndContingenciesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of commitments and contingencies.",
        "label": "Disclosure of commitments and contingencies [line items]",
        "terseLabel": "Disclosure of commitments and contingencies [line items]"
       }
      }
     },
     "localname": "DisclosureOfCommitmentsAndContingenciesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfCommitmentsAndContingenciesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of commitments and contingencies.",
        "label": "Disclosure Of Commitments And Contingencies [table]",
        "terseLabel": "Disclosure of commitments and contingencies [table]"
       }
      }
     },
     "localname": "DisclosureOfCommitmentsAndContingenciesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfCumulativeTranslationAdjustmentsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of balance and changes in cumulative translation adjustments.",
        "label": "Disclosure of Cumulative Translation Adjustments Explanatory",
        "terseLabel": "Balance and changes in cumulative translation adjustments"
       }
      }
     },
     "localname": "DisclosureOfCumulativeTranslationAdjustmentsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfDeferredIncomeAndSocialContributionTaxAssetsExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of deferred taxes related to income tax loss carryforwards and negative basis of social contribution base.",
        "label": "Disclosure of deferred income and social contribution tax assets explanatory [Text Block]",
        "terseLabel": "Summary of deferred income and social contribution tax assets"
       }
      }
     },
     "localname": "DisclosureOfDeferredIncomeAndSocialContributionTaxAssetsExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfDeferredIncomeAndSocialContributionTaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of Deferred income and social contribution taxes table.",
        "label": "Disclosure of Deferred income and social contribution taxes [table]",
        "terseLabel": "Disclosure of Deferred income and social contribution taxes [table]"
       }
      }
     },
     "localname": "DisclosureOfDeferredIncomeAndSocialContributionTaxesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfDeferredRevenueTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of deferred revenue [table].",
        "label": "Disclosure Of Deferred Revenue [table]",
        "terseLabel": "Disclosure Of Deferred Revenue [table]"
       }
      }
     },
     "localname": "DisclosureOfDeferredRevenueTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfDeferredRevenueTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of deferred revenue.",
        "label": "Disclosure of Deferred Revenue [Text Block]",
        "terseLabel": "Deferred Revenue"
       }
      }
     },
     "localname": "DisclosureOfDeferredRevenueTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenue"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfEstimatedRecoveryOfIcmsAssetsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure Of Estimated Recovery Of ICMS Assets.",
        "label": "Disclosure Of Estimated Recovery Of ICMS Assets [Line Items]"
       }
      }
     },
     "localname": "DisclosureOfEstimatedRecoveryOfIcmsAssetsLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfEstimatedRecoveryOfIcmsAssetsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure Of Estimated Recovery Of ICMS Assets.",
        "label": "Disclosure Of Estimated Recovery Of ICMS Assets [Table]"
       }
      }
     },
     "localname": "DisclosureOfEstimatedRecoveryOfIcmsAssetsTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfEstimatedRecoveryOfProgramOfSocialIntegrationAndContributionForFinancingOfSocialSecurityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of estimated recovery of Program of Social Integration (PIS) and Contribution for the Financing of Social Security (COFINS) credits.",
        "label": "Disclosure Of Estimated Recovery Of Program Of Social Integration And Contribution For Financing Of Social Security [Table Text Block]",
        "verboseLabel": "Estimated recovery of PIS and COFINS credits"
       }
      }
     },
     "localname": "DisclosureOfEstimatedRecoveryOfProgramOfSocialIntegrationAndContributionForFinancingOfSocialSecurityTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of estimated recovery of ICMS credits [line items]"
       }
      }
     },
     "localname": "DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of estimated recovery of ICMS credits [Table]"
       }
      }
     },
     "localname": "DisclosureOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfFinanceIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Finance Income (Expense) [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfFinanceIncomeExpenseAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfFinancialInformationOfSegmentsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity shall disclose information to enable users of its financial statements to evaluate the nature and financial effects of the business activities in which it engages and the economic environments in which it operates.",
        "label": "Disclosure of Financial Information of Segments Explanatory",
        "terseLabel": "Schedule of Financial information of segments, Results"
       }
      }
     },
     "localname": "DisclosureOfFinancialInformationOfSegmentsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfFixedAndIntangibleAssetsAbroadExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of fixed and intangible assets located in abroad.",
        "label": "Disclosure of Fixed and Intangible Assets Abroad Explanatory",
        "terseLabel": "Fixed and intangible assets of the Company abroad"
       }
      }
     },
     "localname": "DisclosureOfFixedAndIntangibleAssetsAbroadExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfForeignSubsidiariesHaveTaxLossCarryforwardsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of foreign subsidiaries have tax loss carryforwards.",
        "label": "Disclosure of Foreign Subsidiaries Have Tax Loss Carryforwards [table text block]",
        "terseLabel": "Schedule of foreign subsidiaries have tax loss carryforwards"
       }
      }
     },
     "localname": "DisclosureOfForeignSubsidiariesHaveTaxLossCarryforwardsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Gain (loss) on disposal of property, plant and equipment and intangible assets"
       }
      }
     },
     "localname": "DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure for gain (loss) on disposal of property plant and equipment and intangibles assets and impairment.",
        "label": "Disclosure of Gain (Loss) on Disposal of Property, Plant and Equipment and Intangibles assets and Impairment [Text Block]",
        "terseLabel": "Gain (loss) on disposal of property, plant and equipment and intangible assets"
       }
      }
     },
     "localname": "DisclosureOfGainLossOnDisposalOfPropertyPlantAndEquipmentAndIntangiblesAssetsAndImpairmentTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Gainlossondisposalofpropertyplantandequipmentandintangibleassets"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfIncomeAndSocialContributionTaxesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of income and social contribution taxes.",
        "label": "Disclosure of income and social contribution taxes [abstract]"
       }
      }
     },
     "localname": "DisclosureOfIncomeAndSocialContributionTaxesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfInventoriesCompositionExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of inventories composition.",
        "label": "Disclosure of Inventories Composition Explanatory",
        "terseLabel": "Breakdown of inventories"
       }
      }
     },
     "localname": "DisclosureOfInventoriesCompositionExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfInventoriesProvisionForLossesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of Inventories provision for losses.",
        "label": "Disclosure of Inventories Provision for Losses Explanatory",
        "terseLabel": "Breakdown of provisions for losses related to inventories"
       }
      }
     },
     "localname": "DisclosureOfInventoriesProvisionForLossesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfInvestmentsAccountedForUsingEquityMethodLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of investments accounted for using equity method [line items]",
        "terseLabel": "Disclosure of investments accounted for using equity method [line items]"
       }
      }
     },
     "localname": "DisclosureOfInvestmentsAccountedForUsingEquityMethodLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfInvestmentsAccountedForUsingEquityMethodTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Schedule disclosing information related to investments accounted for using equity method.",
        "label": "Disclosure of investments accounted for using equity method [table]"
       }
      }
     },
     "localname": "DisclosureOfInvestmentsAccountedForUsingEquityMethodTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfLeaseLiabilitiesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Lease Liabilities [Line Items]",
        "terseLabel": "Lease liabilities"
       }
      }
     },
     "localname": "DisclosureOfLeaseLiabilitiesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfLeaseLiabilitiesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Lease Liabilities [Table]"
       }
      }
     },
     "localname": "DisclosureOfLeaseLiabilitiesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of future payments of leases contract of low asset value explanatory.",
        "label": "Disclosure of Leases Contract of Low Asset Value Explanatory [Table Text Block]",
        "terseLabel": "Details About\u00a0Lease Contracts of Low Amount Assets"
       }
      }
     },
     "localname": "DisclosureOfLeasesContractOfLowAssetValueExplanatoryTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of maturity analysis of weighted average discount rates for the lease payable.",
        "label": "Disclosure of Maturity Analysis of Weighted Average Discount Rates for Lease Payable [table text block]",
        "terseLabel": "Schedule of weighted average discount rates for the lease payable by maturity period"
       }
      }
     },
     "localname": "DisclosureOfMaturityAnalysisOfWeightedAverageDiscountRatesForLeasePayableTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of new accounting policies adopted and changes made to accounting policies by the entity.",
        "label": "New Accounting Policies Changes In Accounting Policies",
        "terseLabel": "New accounting policies and changes in accounting policies"
       }
      }
     },
     "localname": "DisclosureOfNewAccountingPoliciesChangesInAccountingPoliciesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Newaccountingpoliciesandchangesinaccountingpolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Operations [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfOperationsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfOperationsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the business operations of the reporting entity.",
        "label": "Disclosure of Operations Explanatory",
        "terseLabel": "Operations"
       }
      }
     },
     "localname": "DisclosureOfOperationsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Operations"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfOtherOperatingIncomeExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other operating income, net"
       }
      }
     },
     "localname": "DisclosureOfOtherOperatingIncomeExpenseAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfOtherReceivablesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of other receivables.",
        "label": "Disclosure of Other Receivables",
        "terseLabel": "Breakdown of other receivables"
       }
      }
     },
     "localname": "DisclosureOfOtherReceivablesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfPayablesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of payables.",
        "label": "Disclosure of Payables [table]",
        "terseLabel": "Disclosure of Payables [table]"
       }
      }
     },
     "localname": "DisclosureOfPayablesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Presentation of Financial Statements and Summary of Significant Accounting Policies [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the presentation of financial statements and summary of significant accounting policies of the reporting entity.",
        "label": "Disclosure of Presentation of Financial Statements and Summary of Significant Accounting Policies [Text Block]",
        "terseLabel": "Basis of preparation and presentation of the consolidated financial statements and significant accounting policies"
       }
      }
     },
     "localname": "DisclosureOfPresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Basisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpolicies"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Principles of Consolidation and Investments in Subsidiaries [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of the principles of consolidation and investments in subsidiaries.",
        "label": "Disclosure of Principles of Consolidation and Investments in Subsidiaries [Text Block]",
        "terseLabel": "Principles of Consolidation and Investments in Subsidiaries"
       }
      }
     },
     "localname": "DisclosureOfPrinciplesOfConsolidationAndInvestmentsInSubsidiariesTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrinciplesOfConsolidationAndInvestmentsInSubsidiaries"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfProvisionForLossesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of provision for losses.",
        "label": "Disclosure of Provision for Losses Explanatory",
        "terseLabel": "Movements in the provision for losses"
       }
      }
     },
     "localname": "DisclosureOfProvisionForLossesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of recoverable income tax and social contribution taxes.",
        "label": "Disclosure of Recoverable Income Tax and Social Contribution Taxes Explanatory",
        "terseLabel": "Summary of Recoverable Income Tax and Social Contribution Taxes"
       }
      }
     },
     "localname": "DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]",
        "label": "Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]",
        "terseLabel": "Disclosure Of Recoverable Income Tax and Social Contribution Taxes [line items]"
       }
      }
     },
     "localname": "DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of Recoverable Income Tax and Social Contribution Taxes [table]",
        "label": "Disclosure of Recoverable Income Tax and Social Contribution Taxes [table]",
        "terseLabel": "Disclosure of Recoverable Income Tax and Social Contribution Taxes [table]"
       }
      }
     },
     "localname": "DisclosureOfRecoverableIncomeTaxAndSocialContributionTaxesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfResellerFinancingCompositionExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of reseller financing composition.",
        "label": "Disclosure of Reseller Financing Composition Explanatory",
        "terseLabel": "Composition of reseller financing"
       }
      }
     },
     "localname": "DisclosureOfResellerFinancingCompositionExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfSalariesAndRelatedChargesExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of salaries and related charges.",
        "label": "Disclosure of Salaries and Related Charges Explanatory",
        "terseLabel": "Salaries and related charges"
       }
      }
     },
     "localname": "DisclosureOfSalariesAndRelatedChargesExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Salariesandrelatedcharges"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfSubscriptionWarrantsExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of subscription warrants - indemnification.",
        "label": "Disclosure of subscription warrants explanatory",
        "terseLabel": "Subscription warrants - indemnification"
       }
      }
     },
     "localname": "DisclosureOfSubscriptionWarrantsExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnification"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfSubscriptionWarrantsIndemnificationAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of Subscription Warrants Indemnification [Abstract]"
       }
      }
     },
     "localname": "DisclosureOfSubscriptionWarrantsIndemnificationAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in number of restricted and performance shares granted.",
        "label": "Disclosure of Summarized Changes of Number of Restricted and Performance Shares Granted Explanatory",
        "terseLabel": "Summarized Changes of Number of Restricted and Performance Shares Granted"
       }
      }
     },
     "localname": "DisclosureOfSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfTaxPayablesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Taxes Payable"
       }
      }
     },
     "localname": "DisclosureOfTaxPayablesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfTaxesPayableLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of taxes payable [line items].",
        "label": "Disclosure of taxes payable [line items]",
        "terseLabel": "Disclosure of taxes payable [line items]"
       }
      }
     },
     "localname": "DisclosureOfTaxesPayableLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfTaxesPayableTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of taxes payable [table].",
        "label": "Disclosure of taxes payable [table]",
        "terseLabel": "Disclosure of taxes payable [table]"
       }
      }
     },
     "localname": "DisclosureOfTaxesPayableTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfTaxesToRecoverAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Recoverable taxes"
       }
      }
     },
     "localname": "DisclosureOfTaxesToRecoverAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_DisclosureOfTaxesToRecoverExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entire disclosure of recoverable taxes.",
        "label": "Disclosure of Recoverable taxes Explanatory",
        "terseLabel": "Recoverable taxes"
       }
      }
     },
     "localname": "DisclosureOfTaxesToRecoverExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Recoverabletaxes"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfTradeReceivablesBreakdownExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of trade receivables breakdown.",
        "label": "Disclosure of Trade Receivables Breakdown Explanatory",
        "terseLabel": "Breakdown of trade receivables, gross of allowance for expected credit losses"
       }
      }
     },
     "localname": "DisclosureOfTradeReceivablesBreakdownExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfTradeReceivablesCompositionExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of trade receivables composition.",
        "label": "Disclosure of Trade Receivables Composition Explanatory",
        "terseLabel": "Trade receivables"
       }
      }
     },
     "localname": "DisclosureOfTradeReceivablesCompositionExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DisclosureOfVariationForDerivativeInstrumentsOfHedgingObjectExplanatoryTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of variation of the amounts of the derivative instruments and their objects of hedge, considering the variations in commodity prices in the different scenarios.",
        "label": "Disclosure of Variation For Derivative Instruments Of Hedging Object Explanatory [Text Block]",
        "terseLabel": "Summary of variation of derivative instruments hedging object"
       }
      }
     },
     "localname": "DisclosureOfVariationForDerivativeInstrumentsOfHedgingObjectExplanatoryTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_DiscountRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The discount rate used to extrapolate the projections.",
        "label": "Discount Rate",
        "terseLabel": "Discount rate"
       }
      }
     },
     "localname": "DiscountRate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_DistributionRightsAssetMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to distribution rights asset.",
        "label": "Distribution rights asset [member]",
        "terseLabel": "Distribution rights asset [member]"
       }
      }
     },
     "localname": "DistributionRightsAssetMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DividendsPaidToEquityHolders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of dividends paid/offset to equity holders during the reporting period.",
        "label": "Dividends paid to equity holders",
        "negatedLabel": "Payments"
       }
      }
     },
     "localname": "DividendsPaidToEquityHolders",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DividendsReceivableCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 8.0,
       "parentTag": "ifrs-full_CurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognized when the shareholder's right to receive payment is established.",
        "label": "Dividends Receivable Current",
        "terseLabel": "Dividends receivable"
       }
      }
     },
     "localname": "DividendsReceivableCurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_DomesticCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to domestic customers.",
        "label": "Domestic customers [member]",
        "terseLabel": "Domestic customers [member]"
       }
      }
     },
     "localname": "DomesticCustomersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DomesticSuppliersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to domestic suppliers.",
        "label": "Domestic suppliers [member]",
        "terseLabel": "Domestic suppliers [member]"
       }
      }
     },
     "localname": "DomesticSuppliersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_DomesticSuppliersReverseFactoringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to domestic suppliers reverse factoring.",
        "label": "Domestic Suppliers Reverse Factoring [Member]",
        "verboseLabel": "Domestic suppliers reverse factoring [member]"
       }
      }
     },
     "localname": "DomesticSuppliersReverseFactoringMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EaiClubeAutomobilistaSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ea\u00ed Clube Automobilista S.A.",
        "label": "Eai Clube Automobilista S.A. [Member]",
        "terseLabel": "Ea\u00ed Clube Automobilista S.A. [Member]"
       }
      }
     },
     "localname": "EaiClubeAutomobilistaSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EarningsLossPerShareAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings (Loss) Per Share [Abstract]",
        "terseLabel": "Total earnings per share (based on weighted average number of shares outstanding) \u2013 R$"
       }
      }
     },
     "localname": "EarningsLossPerShareAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_EarningsLossPerShareFromContinuingOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings (loss) per share from continuing operations [abstract]",
        "terseLabel": "Earnings per share from continuing operations (based on the weighted average number of shares outstanding) \u2013 R$"
       }
      }
     },
     "localname": "EarningsLossPerShareFromContinuingOperationsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_EarningsLossPerShareFromDiscontinuedOperationsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Earnings (loss) per share from discontinued operations [abstract]",
        "terseLabel": "Earnings per share from discontinued operations (based on the weighted average number of shares outstanding) \u2013 R$"
       }
      }
     },
     "localname": "EarningsLossPerShareFromDiscontinuedOperationsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsContinuingOperations": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 3.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effect of exchange rate changes on cash and cash equivalents held or due - continuing operations.",
        "label": "Effect Of Exchange Rate Changes On Cash And Cash Equivalents Continuing Operations",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents in foreign currency - continuing operations"
       }
      }
     },
     "localname": "EffectOfExchangeRateChangesOnCashAndCashEquivalentsContinuingOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": 3.0,
       "parentTag": "ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The effect of exchange rate changes on cash and cash equivalents from discontinued operations, held or due in a foreign currency.",
        "label": "Effect of Exchange Rate Changes On Cash and Cash Equivalents Discontinued Operations",
        "terseLabel": "Effect of exchange rate changes on cash and cash equivalents in foreign currency - discontinued operations",
        "verboseLabel": "Effect of exchange rate changes on cash and cash equivalents in foreign currency"
       }
      }
     },
     "localname": "EffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EffectiveRateOfTransactionCosts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of effective rate of transaction costs.",
        "label": "Effective rate of transaction costs",
        "terseLabel": "Effective rate of transaction costs"
       }
      }
     },
     "localname": "EffectiveRateOfTransactionCosts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 7.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for employee benefit liabilities assumed in a business combination.",
        "label": "Employee benefit liabilities recognised as of acquisition date",
        "terseLabel": "Salaries and related charges"
       }
      }
     },
     "localname": "EmployeeBenefitLiabilitiesRecognisedAsOfAcquisitionDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EmployeeBenefitsExchangeRateFromForeignSubsidiaries": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gain (loss) on Exchange rates from post-employment benefits of foreign subsidiaries.",
        "label": "Employee benefits exchange rate from foreign subsidiaries",
        "terseLabel": "Exchange rates from post-employment benefits of foreign subsidiaries"
       }
      }
     },
     "localname": "EmployeeBenefitsExchangeRateFromForeignSubsidiaries",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EmpreendimentosPagueMenosSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Empreendimentos Pague Menos S.A. (\u201cPague Menos\u201d).",
        "label": "Empreendimentos Pague Menos S.A [Member]",
        "terseLabel": "Empreendimentos Pague Menos S.A."
       }
      }
     },
     "localname": "EmpreendimentosPagueMenosSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EmpresaCariocaDeProdutosQuimicosSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Empresa Carioca de Produtos Quimicos S A.",
        "label": "Empresa Carioca De Produtos Quimicos S A [Member]",
        "terseLabel": "Empresa Carioca de Produtos Quimicos S A [member]"
       }
      }
     },
     "localname": "EmpresaCariocaDeProdutosQuimicosSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EntitiesByLocationAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entities By Location [Axis].",
        "label": "Entities By Location [Axis]",
        "terseLabel": "Entity by Location [Axis]"
       }
      }
     },
     "localname": "EntitiesByLocationAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_EntitiesByLocationDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Entities By Location [Domain].",
        "label": "Entities By Location [Domain]",
        "terseLabel": "Location [Domain]"
       }
      }
     },
     "localname": "EntitiesByLocationDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EquityInstrumentGrantedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The member stands for equity instrument granted.",
        "label": "Equity instrument granted [member]",
        "terseLabel": "Equity instrument granted"
       }
      }
     },
     "localname": "EquityInstrumentGrantedMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EquityInstrumentsGranted": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 1.0,
       "parentTag": "ifrs-full_EquityAttributableToOwnersOfParent",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A component of equity representing equity instrument granted.",
        "label": "Equity instruments granted",
        "terseLabel": "Equity instrument granted"
       }
      }
     },
     "localname": "EquityInstrumentsGranted",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EscrowDepositsMadeUnderPreLiminaryInjunction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of escrow deposits made under preliminary injunction.",
        "label": "Escrow deposits made under pre liminary injunction",
        "terseLabel": "Escrow deposits made under preliminary injunction"
       }
      }
     },
     "localname": "EscrowDepositsMadeUnderPreLiminaryInjunction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EspiritoSantoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Espirito Santo.",
        "label": "Espirito Santo [Member]",
        "terseLabel": "Espirito Santo [member]"
       }
      }
     },
     "localname": "EspiritoSantoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_EstimatedInvestmentsDisbursementPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maturity period of estimated investments to be disbursed.",
        "label": "Estimated Investments Disbursement Period",
        "terseLabel": "Estimated investments, disbursement period"
       }
      }
     },
     "localname": "EstimatedInvestmentsDisbursementPeriod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_EstimatedInvestmentsForNextFiscalYear": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated investments for next fiscal year.",
        "label": "Estimated Investments For Next Fiscal Year",
        "terseLabel": "Investment plan"
       }
      }
     },
     "localname": "EstimatedInvestmentsForNextFiscalYear",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EstimatedInvestmentsToPortConcessions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated investments to port concessions.",
        "label": "Estimated Investments To Port Concessions",
        "terseLabel": "Estimated investments to port concessions"
       }
      }
     },
     "localname": "EstimatedInvestmentsToPortConcessions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_EstimatedWorkingCapitalAndNetDebtAdjustmentsInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of estimated working capital and net debt adjustments in disposal group transaction.",
        "label": "Estimated Working Capital and Net Debt Adjustments In Disposal Group Transaction",
        "terseLabel": "Estimated working capital and net debt adjustments",
        "verboseLabel": "Working capital and net debt adjustments"
       }
      }
     },
     "localname": "EstimatedWorkingCapitalAndNetDebtAdjustmentsInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExchangePeriodOfLoyaltyProgramPointsForCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exchange period of loyalty program points for customers.",
        "label": "Exchange Period of Loyalty Program Points for Customers",
        "terseLabel": "Exchange period of loyalty program points for customers"
       }
      }
     },
     "localname": "ExchangePeriodOfLoyaltyProgramPointsForCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_ExchangeRateDerivatesPayableInUSDollarsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to exchange rate derivates payable in US Dollars.",
        "label": "Exchange Rate Derivates Payable In U S Dollars [member]",
        "terseLabel": "Exchange rate derivates payable in U.S. dollars [member]"
       }
      }
     },
     "localname": "ExchangeRateDerivatesPayableInUSDollarsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ExchangeRatePerShareForLastMaturityOfForeignExchangeHedgingInstruments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The per share amount of exchange rate for the last maturity of foreign exchange hedging instruments.",
        "label": "Exchange Rate Per Share for Last Maturity of Foreign Exchange Hedging Instruments",
        "terseLabel": "Exchange rate per share for last maturity of foreign exchange hedging instruments"
       }
      }
     },
     "localname": "ExchangeRatePerShareForLastMaturityOfForeignExchangeHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_ExchangeRateSwapReceivableInUSDollarsAndCommoditiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to exchange rate derivates receivable in US Dollars and commodities.",
        "label": "Exchange Rate Swap Receivable in U S Dollars and Commodities [Member]",
        "terseLabel": "Currency swaps receivable in U.S. dollars and commodities [member]"
       }
      }
     },
     "localname": "ExchangeRateSwapReceivableInUSDollarsAndCommoditiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ExchangeVariationNetOfGainsAndLossesHedgingInstruments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest expense on exchange variation, net of gains and losses with hedging instruments.",
        "label": "Exchange variation net of gains and losses hedging instruments",
        "negatedLabel": "Exchange variations, net of gain (loss) on hedging instruments"
       }
      }
     },
     "localname": "ExchangeVariationNetOfGainsAndLossesHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExerciseOfWarrantsRightsOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of warrants rights outstanding for exercise of the rights.",
        "label": "Exercise Of Warrants Rights Outstanding",
        "terseLabel": "Rights outstanding",
        "verboseLabel": "Rights Outstanding"
       }
      }
     },
     "localname": "ExerciseOfWarrantsRightsOutstanding",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareAdditionalInformationDetail",
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_ExercisePeriodOfPreemptiveRight": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The exercise period of preemptive right to shareholders of the reporting entity.",
        "label": "Exercise period of preemptive right",
        "terseLabel": "Exercise period of preemptive right"
       }
      }
     },
     "localname": "ExercisePeriodOfPreemptiveRight",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToContinueHedgeAccountingForHedgeRelationshipIsNotSubjectToInterestRateBenchmarkReforms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The expected percentage of hedge effectiveness in retrospective assessment to continue hedge accounting for hedge relationship is not subject to interest rate benchmark reforms.",
        "label": "Expected percentage of hedge effectiveness in retrospective assessment to continue hedge accounting for hedge relationship is not subject to interest rate benchmark reforms",
        "terseLabel": "Expected percentage of hedge effectiveness in retrospective assessment to continue hedge accounting for hedge relationship is not subject to interest rate benchmark reforms"
       }
      }
     },
     "localname": "ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToContinueHedgeAccountingForHedgeRelationshipIsNotSubjectToInterestRateBenchmarkReforms",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToDiscontinueHedgeAccountingForHedgeRelationshipIsSubjectToInterestRateBenchmarkReforms": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The expected percentage of hedge effectiveness in retrospective assessment to discontinue hedge accounting for hedge relationship is subject to interest rate benchmark reforms.",
        "label": "Expected percentage of hedge effectiveness in retrospective assessment to discontinue hedge accounting for hedge relationship is subject to interest rate benchmark reforms",
        "terseLabel": "Expected percentage of hedge effectiveness in retrospective assessment to discontinue hedge accounting for hedge relationship is subject to interest rate benchmark reforms"
       }
      }
     },
     "localname": "ExpectedPercentageOfHedgeEffectivenessInRetrospectiveAssessmentToDiscontinueHedgeAccountingForHedgeRelationshipIsSubjectToInterestRateBenchmarkReforms",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ExpensesForProvisionForIndemnities": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expenses for provision for indemnities.",
        "label": "Expenses for provision for indemnities",
        "negatedLabel": "Provision for indemnities"
       }
      }
     },
     "localname": "ExpensesForProvisionForIndemnities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExpensesFromDecarbonizationObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 7.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_OtherExpenseByFunction",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating expense arising from decarbonization obligation.",
        "label": "Expenses from Decarbonization Obligation",
        "negatedLabel": "Decarbonization obligation"
       }
      }
     },
     "localname": "ExpensesFromDecarbonizationObligation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail",
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExpensesFromFinesForTaxInfractions": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_OtherExpenseByFunction",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating expense arising from fines for tax infractions.",
        "label": "Expenses from Fines For Tax Infractions",
        "negatedLabel": "Fines for tax infractions"
       }
      }
     },
     "localname": "ExpensesFromFinesForTaxInfractions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExpensesFromTransactionsWithRelatedPartyRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expenses recognized resulting from transactions with related party.",
        "label": "Expenses from transactions with related party, related party transactions",
        "terseLabel": "Trading transactions, Expenses"
       }
      }
     },
     "localname": "ExpensesFromTransactionsWithRelatedPartyRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExpirationYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The expiration year of tax incentive.",
        "label": "Expiration year",
        "terseLabel": "Expiration"
       }
      }
     },
     "localname": "ExpirationYear",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "gYearItemType"
    },
    "ugp_ExposureOfInterestRateRiskAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Exposure of interest rate risk.",
        "label": "Exposure of interest rate risk [abstract]",
        "terseLabel": "Exposure of interest rate risk"
       }
      }
     },
     "localname": "ExposureOfInterestRateRiskAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_ExtemporaneousTaxCredits": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 9.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of extemporaneous tax credits.",
        "label": "Extemporaneous Tax Credits",
        "negatedLabel": "Extemporaneous tax credits",
        "terseLabel": "Extemporaneous tax credits"
       }
      }
     },
     "localname": "ExtemporaneousTaxCredits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ExtrafarmaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Extrafarma.",
        "label": "Extrafarma [member]",
        "terseLabel": "Extrafarma [member]"
       }
      }
     },
     "localname": "ExtrafarmaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ExtrafarmaOxitenoSAOleoquimicaAndEmcaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Extrafarma, Oxiteno S.A., Oleoquimica and EMCA.",
        "label": "Extrafarma, Oxiteno S.A., Oleoquimica and EMCA [member]",
        "terseLabel": "Extrafarma, Oxiteno S.A., Oleoquimica and EMCA"
       }
      }
     },
     "localname": "ExtrafarmaOxitenoSAOleoquimicaAndEmcaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ExtraordinaryTaxCreditsIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating income arising from extraordinary tax credits.",
        "label": "Extraordinary Tax Credits Income",
        "terseLabel": "Extraordinary tax credits"
       }
      }
     },
     "localname": "ExtraordinaryTaxCreditsIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FaceValuePerDebtInstrument": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The nominal value per debt instrument.",
        "label": "Face Value Per Debt Instrument",
        "terseLabel": "Face value unit"
       }
      }
     },
     "localname": "FaceValuePerDebtInstrument",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_FinalPaymentToBeMadeInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount to be made as final payment in disposal group transaction.",
        "label": "Final Payment to Be Made in Disposal Group Transaction",
        "terseLabel": "Final payment to be made in disposal group transaction"
       }
      }
     },
     "localname": "FinalPaymentToBeMadeInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinanceLeasesInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest expense on leases payable.",
        "label": "Finance leases interest",
        "negatedLabel": "Interest on leases payable"
       }
      }
     },
     "localname": "FinanceLeasesInterest",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandCashEquivalentsandFinancialInvestmentsFinancialinvestmentsDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A financial asset is any asset that is: (a) cash; (b) an equity instrument of another entity; (c) a contractual right: (i) to receive cash or another financial asset from another entity; or (ii) to exchange financial assets or financial liabilities with another entity under conditions that are potentially favorable to the entity; or (d) a contract that will or may be settled in the entity's own equity instruments and is: (i) a non-derivative for which the entity is or may be obliged to receive a variable number of the entity's own equity instruments; or (ii) a derivative that will or may be settled other than by the exchange of a fixed amount of cash or another financial asset for a fixed number of the entity's own equity instruments.",
        "label": "Financial investments",
        "totalLabel": "Total financial investments and derivative financial instruments"
       }
      }
     },
     "localname": "FinancialInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsConsideredCashEquivalentsInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in foreign currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity.",
        "label": "Financial investments considered cash equivalents in foreign currency",
        "terseLabel": "Fixed-income securities in foreign currency"
       }
      }
     },
     "localname": "FinancialInvestmentsConsideredCashEquivalentsInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsConsideredCashEquivalentsInLocalCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_CashAndCashEquivalents",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in local currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity.",
        "label": "Financial investments considered cash equivalents in local currency",
        "terseLabel": "Fixed-income securities in local currency"
       }
      }
     },
     "localname": "FinancialInvestmentsConsideredCashEquivalentsInLocalCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsCashandcashequivalentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandCashEquivalentsandFinancialInvestmentsFinancialinvestmentsDetailCalc2": {
       "order": 0.0,
       "parentTag": "ugp_FinancialInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current financial investments.",
        "label": "Financial investments current",
        "terseLabel": "Current"
       }
      }
     },
     "localname": "FinancialInvestmentsCurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Financial investments, Fixed-income securities and funds in foreign currency\".",
        "label": "Financial investments, Fixed-income securities and funds in foreign currency [member]",
        "terseLabel": "Financial investments, Fixed-income securities and funds in foreign currency [member]"
       }
      }
     },
     "localname": "FinancialInvestmentsFixedIncomeSecuritiesAndFundsInForeignCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Financial investments, Fixed-income securities and funds in local currency\".",
        "label": "Financial investments, Fixed-income securities and funds in local currency [member]",
        "terseLabel": "Financial investments, Fixed-income securities and funds in local currency [member]"
       }
      }
     },
     "localname": "FinancialInvestmentsFixedIncomeSecuritiesAndFundsInLocalCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialInvestmentsForeignCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to financial investments foreign currency.",
        "label": "Financial investments foreign currency [member]",
        "terseLabel": "Financial investments foreign currency [member]",
        "verboseLabel": "Financial investments in foreign currency [member]"
       }
      }
     },
     "localname": "FinancialInvestmentsForeignCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialInvestmentsInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail": {
       "order": 1.0,
       "parentTag": "ugp_FinancialInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in foreign currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. Funds gathers capital from a number of investors to create a pool of money that is then re-invested into assets.",
        "label": "Financial investments in foreign currency",
        "terseLabel": "Financial investments in foreign currency, fixed-income securities and funds"
       }
      }
     },
     "localname": "FinancialInvestmentsInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsInLocalCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail": {
       "order": 0.0,
       "parentTag": "ugp_FinancialInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment in local currency that provides a return in the form of fixed periodic payments and the eventual return of principal at maturity. Funds gathers capital from a number of investors to create a pool of money that is then re-invested into assets.",
        "label": "Financial investments in local currency",
        "terseLabel": "Financial investments in local currency, fixed-income securities and funds"
       }
      }
     },
     "localname": "FinancialInvestmentsInLocalCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsInterest": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income on financial investments.",
        "label": "Financial investments interest",
        "terseLabel": "Interest on financial investments"
       }
      }
     },
     "localname": "FinancialInvestmentsInterest",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsLocalCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to financial investments local currency.",
        "label": "Financial investments local currency [Member]",
        "terseLabel": "Financial investments local currency [member]",
        "verboseLabel": "Financial investments in local currency [member]"
       }
      }
     },
     "localname": "FinancialInvestmentsLocalCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to financial investments.",
        "label": "Financial Investments [member]",
        "terseLabel": "Financial investments [member]"
       }
      }
     },
     "localname": "FinancialInvestmentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialInvestmentsNetOfRedemptions": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 0.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for the financial investments, net of redemptions.",
        "label": "Financial investments net of redemptions",
        "terseLabel": "Financial investments, net of redemptions"
       }
      }
     },
     "localname": "FinancialInvestmentsNetOfRedemptions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialInvestmentsNoncurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CashandCashEquivalentsandFinancialInvestmentsFinancialinvestmentsDetailCalc2": {
       "order": 1.0,
       "parentTag": "ugp_FinancialInvestments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current financial investments.",
        "label": "Financial investments noncurrent",
        "terseLabel": "Non-current"
       }
      }
     },
     "localname": "FinancialInvestmentsNoncurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsFinancialinvestmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the financial liabilities measured at fair value through other comprehensive income category.",
        "label": "Financial liabilities measured at fair value through other comprehensive income [member]",
        "terseLabel": "Financial liabilities measured at fair value through other comprehensive income [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesMeasuredAtFairValueThroughOtherComprehensiveIncomeCategoryMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialLiabilitiesOfCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Financial liabilities of customers\".",
        "label": "Financial liabilities of customers [member]",
        "terseLabel": "Financial liabilities of customers [member]"
       }
      }
     },
     "localname": "FinancialLiabilitiesOfCustomersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancialLiabilitiesOfCustomersUndiscountedCashFlows": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to financial liabilities of customers.",
        "label": "Financial liabilities of customers, undiscounted cash flows",
        "terseLabel": "Financial liabilities of customers"
       }
      }
     },
     "localname": "FinancialLiabilitiesOfCustomersUndiscountedCashFlows",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_Financing1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to financing payables.",
        "label": "Financing1 [member]",
        "terseLabel": "Financing 1 [member]"
       }
      }
     },
     "localname": "Financing1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Financing2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to financing payables.",
        "label": "Financing 2 [member]",
        "terseLabel": "Financing 2 [member]"
       }
      }
     },
     "localname": "Financing2Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FinancingInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 0.0,
       "parentTag": "ugp_LiabilitiesInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of financing in foreign currency, gross of transaction costs and discount.",
        "label": "Financing in foreign currency",
        "negatedLabel": "Financing in foreign currency, gross of transaction costs and discount"
       }
      }
     },
     "localname": "FinancingInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FinishedGoodsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to finished goods inventory.",
        "label": "Finished goods [member]",
        "terseLabel": "Finished goods [member]"
       }
      }
     },
     "localname": "FinishedGoodsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FisheriesManagementProjectMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Fisheries Management Project.",
        "label": "Fisheries Management Project [Member]",
        "terseLabel": "Fisheries management project [member]"
       }
      }
     },
     "localname": "FisheriesManagementProjectMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FixedAccumulatedFundPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period of participating employees' accumulated fund to a defined contribution plan.",
        "label": "Fixed accumulated fund period",
        "terseLabel": "Fixed monthly accumulated fund period"
       }
      }
     },
     "localname": "FixedAccumulatedFundPeriod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_FixedIncomeSecuritiesForeignCurrencyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fixed income securities foreign currency.",
        "label": "Fixed income securities foreign currency [member]",
        "terseLabel": "Fixed income securities foreign currency [member]",
        "verboseLabel": "Fixed-income securities and funds in foreign currency [member]"
       }
      }
     },
     "localname": "FixedIncomeSecuritiesForeignCurrencyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FixedIncomeSecuritiesLocalCurrency1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fixed income securities local currency.",
        "label": "Fixed income securities local currency1 [member]",
        "terseLabel": "Fixed income securities local currency1 [member]",
        "verboseLabel": "Fixed-income securities and funds in local currency1 [member]"
       }
      }
     },
     "localname": "FixedIncomeSecuritiesLocalCurrency1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FixedIncomeSecuritiesLocalCurrency2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fixed income securities local currency.",
        "label": "Fixed income securities local currency2 [member]",
        "terseLabel": "Fixed income securities local currency2 [member]",
        "verboseLabel": "Fixed-income securities and funds in local currency 2 [member]"
       }
      }
     },
     "localname": "FixedIncomeSecuritiesLocalCurrency2Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FixedIncomeSecuritiesLocalCurrency3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fixed income securities local currency.",
        "label": "Fixed income securities local currency3 [member]",
        "terseLabel": "Fixed-income securities (guarantee of loans) [member]",
        "verboseLabel": "Fixed-income securities and funds in local currency 3 [member]"
       }
      }
     },
     "localname": "FixedIncomeSecuritiesLocalCurrency3Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FixedRateDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 1.0,
       "parentTag": "ugp_FixedRateSwapNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fixed rate debt related to interest rate swap.",
        "label": "Fixed rate debt",
        "terseLabel": "Fixed rate debt"
       }
      }
     },
     "localname": "FixedRateDebt",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FixedRateSwapDI": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 0.0,
       "parentTag": "ugp_FixedRateSwapNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fixed rate swap of DI related to interest rate swap.",
        "label": "Fixed Rate Swap D I",
        "terseLabel": "Fixed rate swap - DI"
       }
      }
     },
     "localname": "FixedRateSwapDI",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FixedRateSwapNetEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fixed rate swap net effect related to interest rate swap.",
        "label": "Fixed rate swap net effect",
        "totalLabel": "Net effect"
       }
      }
     },
     "localname": "FixedRateSwapNetEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FloatingInterestRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of floating Interest Rate.",
        "label": "Floating Interest Rate",
        "terseLabel": "Floating interest rate variation"
       }
      }
     },
     "localname": "FloatingInterestRate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ForeignCurrencyDenominatedLoans": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_LoansReceived",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of foreign currency denominated loans received.",
        "label": "Foreign currency denominated loans",
        "terseLabel": "Foreign currency - denominated loans"
       }
      }
     },
     "localname": "ForeignCurrencyDenominatedLoans",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ForeignCurrencyHedgingInstruments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 3.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The gains (losses) on Foreign currency hedging instruments.",
        "label": "Foreign currency hedging instruments",
        "terseLabel": "Foreign currency hedging instruments"
       }
      }
     },
     "localname": "ForeignCurrencyHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ForeignCurrencyHedgingInstrumentsFromSubsidiariesHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 2.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of foreign currency hedging instruments from subsidiaries held for sale.",
        "label": "Foreign currency hedging instruments from subsidiaries held for sale",
        "terseLabel": "Foreign currency hedging instruments from subsidiaries held for sale"
       }
      }
     },
     "localname": "ForeignCurrencyHedgingInstrumentsFromSubsidiariesHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ForeignCustomersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign customers.",
        "label": "foreign customers [member]",
        "terseLabel": "foreign customers [member]"
       }
      }
     },
     "localname": "ForeignCustomersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeHedgingInstrumentsAssetsInterestEffect": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Foreign exchange hedging instruments (assets), interest effect regarding Exposure of interest rate risk.",
        "label": "Foreign Exchange Hedging Instruments Assets Interest Effect",
        "negatedLabel": "Foreign exchange hedging instruments (assets in LIBOR) effect"
       }
      }
     },
     "localname": "ForeignExchangeHedgingInstrumentsAssetsInterestEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of foreign exchange hedging instruments designated as net investments hedge in foreign entities.",
        "label": "Foreign Exchange Hedging Instruments Designated as Net Investments Hedge in Foreign Entities",
        "terseLabel": "Foreign exchange hedging instruments designated as net investments hedge in foreign entities"
       }
      }
     },
     "localname": "ForeignExchangeHedgingInstrumentsDesignatedAsNetInvestmentsHedgeInForeignEntities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ForeignExchangeHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Foreign exchange hedging instruments.",
        "label": "Foreign exchange hedging instruments [member]",
        "terseLabel": "Foreign exchange hedging instruments [member]"
       }
      }
     },
     "localname": "ForeignExchangeHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Foreign exchange, interest rate and commodity hedging instrument assets\".",
        "label": "Foreign exchange, interest rate and commodity hedging instrument assets [member]",
        "terseLabel": "Foreign exchange, interest rate and commodity hedging instrument assets [member]"
       }
      }
     },
     "localname": "ForeignExchangeInterestRateAndCommodityHedgingInstrumentAssetsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Foreign exchange, interest rate and commodity hedging instrument liabilities\".",
        "label": "Foreign exchange, interest rate and commodity hedging instrument liabilities [member]",
        "terseLabel": "Foreign exchange, interest rate and commodity hedging instrument liabilities [member]"
       }
      }
     },
     "localname": "ForeignExchangeInterestRateAndCommodityHedgingInstrumentLiabilitiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeSwapMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign exchange swap contract.",
        "label": "Foreign Exchange Swap [Member]",
        "terseLabel": "Foreign exchange swap [member]"
       }
      }
     },
     "localname": "ForeignExchangeSwapMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeSwapOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign exchange swap contract.",
        "label": "Foreign Exchange Swap One [Member]",
        "terseLabel": "Foreign exchange swap one [member]"
       }
      }
     },
     "localname": "ForeignExchangeSwapOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeSwapThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign exchange swap contract.",
        "label": "Foreign Exchange Swap three [Member]",
        "terseLabel": "Foreign exchange swap three [member]"
       }
      }
     },
     "localname": "ForeignExchangeSwapThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignExchangeSwapTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign exchange swap contract.",
        "label": "Foreign Exchange Swap two [Member]",
        "terseLabel": "Foreign exchange swap two [member]"
       }
      }
     },
     "localname": "ForeignExchangeSwapTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoanAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign loan [axis]",
        "label": "Foreign loan [axis]",
        "terseLabel": "Foreign loan [axis]"
       }
      }
     },
     "localname": "ForeignLoanAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_ForeignLoanDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Foreign loan [domain]",
        "label": "Foreign loan [domain]",
        "terseLabel": "Foreign loan [domain]"
       }
      }
     },
     "localname": "ForeignLoanDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoanFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign loan four.",
        "label": "Foreign loan four [member]",
        "terseLabel": "Foreign loan four [member]"
       }
      }
     },
     "localname": "ForeignLoanFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoanOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign loan one.",
        "label": "Foreign loan one [member]",
        "terseLabel": "Foreign loan one [member]"
       }
      }
     },
     "localname": "ForeignLoanOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoanThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign loan three.",
        "label": "Foreign loan three [member]",
        "terseLabel": "Foreign loan three [member]"
       }
      }
     },
     "localname": "ForeignLoanThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoanTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign loan two.",
        "label": "Foreign loan two [member]",
        "terseLabel": "Foreign loan two [member]"
       }
      }
     },
     "localname": "ForeignLoanTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignLoansMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign loans.",
        "label": "Foreign Loans [member]",
        "terseLabel": "Foreign loans [member]"
       }
      }
     },
     "localname": "ForeignLoansMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignSuppliersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign suppliers.",
        "label": "Foreign suppliers [member]",
        "terseLabel": "Foreign suppliers [member]"
       }
      }
     },
     "localname": "ForeignSuppliersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignSuppliersReverseFactoringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to foreign suppliers reverse factoring.",
        "label": "Foreign Suppliers Reverse Factoring [Member]",
        "verboseLabel": "Foreign suppliers reverse factoring [member]"
       }
      }
     },
     "localname": "ForeignSuppliersReverseFactoringMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 2.0,
       "parentTag": "ugp_AssetsInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount due from Foreign trade receivables, net of allowance for doubtful accounts and advances to foreign customers.",
        "label": "Foreign trade receivables net of allowance for doubtful accounts and advances to foreign customers",
        "terseLabel": "Foreign trade receivables, net of allowance for expected credit losses"
       }
      }
     },
     "localname": "ForeignTradeReceivablesNetOfAllowanceForDoubtfulAccountsAndAdvancesToForeignCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FranchisingUpfrontFeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to franchising upfront fee.",
        "label": "Franchising upfront fee [member]",
        "terseLabel": "\u2018am/pm\u2019 and Jet Oil franchising upfront fee [member]"
       }
      }
     },
     "localname": "FranchisingUpfrontFeeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_FreightAndStorageExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Freight and storage expenses.",
        "label": "Freight and storage expense",
        "negatedLabel": "Freight and storage"
       }
      }
     },
     "localname": "FreightAndStorageExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FruitionTaxExpensesBenefitsRelatedToFiscalEquilibriumFund": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of fruition tax expenses (benefits) related to fiscal equilibrium fund for tax contingencies.",
        "label": "Fruition Tax Expenses (Benefits) Related to Fiscal Equilibrium Fund",
        "terseLabel": "Fruition tax expenses (benefits) related to fiscal equilibrium fund"
       }
      }
     },
     "localname": "FruitionTaxExpensesBenefitsRelatedToFiscalEquilibriumFund",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_FuelsLubricantsAndGreasesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fuels, lubricants and greases inventory.",
        "label": "Fuels Lubricants and Greases [Member]",
        "terseLabel": "Fuels, lubricants and greases [member]"
       }
      }
     },
     "localname": "FuelsLubricantsAndGreasesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GainLossOnDisposalOfInvestmentsAfterEffectOfDepreciation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gain (loss) on disposal of investments after the effect of cessation of depreciation.",
        "label": "Gain (loss) on disposal of investments after effect of depreciation",
        "terseLabel": "Gain (loss) on disposal of investments after the effect of depreciation"
       }
      }
     },
     "localname": "GainLossOnDisposalOfInvestmentsAfterEffectOfDepreciation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GainLossOnDisposalOfInvestmentsBeforeEffectOfCessationOfDepreciation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gain (loss) on disposal of investments before effect of cessation of depreciation.",
        "label": "Gain (loss) on disposal of investments before effect of cessation of depreciation",
        "terseLabel": "Gain on disposal of investments before the effect of cessation of depreciation"
       }
      }
     },
     "localname": "GainLossOnDisposalOfInvestmentsBeforeEffectOfCessationOfDepreciation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GainLossRelatedToFairValueAdjustmentOfDebt": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gain (loss) related to fair value adjustment of debt.",
        "label": "Gain Loss Related To Fair Value Adjustment Of Debt",
        "terseLabel": "Fair value adjustment of debt - R$"
       }
      }
     },
     "localname": "GainLossRelatedToFairValueAdjustmentOfDebt",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GainLossRelatedToFairValueAdjustmentOfInventories": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gain (loss) related to fair value adjustment of inventories.",
        "label": "Gain (Loss) Related to Fair Value Adjustment of Inventories",
        "terseLabel": "Adjustment of inventory fair value - US$"
       }
      }
     },
     "localname": "GainLossRelatedToFairValueAdjustmentOfInventories",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GainsLossesArisingFromPaymentsOfFixedDividendsToPreferredSharesOfSubsidiaries": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gains (losses) arising from payments of fixed dividends to preferred shares of subsidiaries during the reporting period.",
        "label": "Gains (losses) arising from payments of fixed dividends to preferred shares of subsidiaries",
        "terseLabel": "Gains arising from payments of fixed dividends to preferred shares of subsidiaries"
       }
      }
     },
     "localname": "GainsLossesArisingFromPaymentsOfFixedDividendsToPreferredSharesOfSubsidiaries",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GeneralAndAdministrativeAmortisation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_AmortisationIntangibleAssetsOtherThanGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortisation expense recognized as General and administrative.",
        "label": "General and administrative amortisation",
        "terseLabel": "General and administrative"
       }
      }
     },
     "localname": "GeneralAndAdministrativeAmortisation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GeneralAndAdministrativeExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to general and administrative expenses.",
        "label": "General And Administrative Expenses [Member]",
        "terseLabel": "General and administrative expenses [member]"
       }
      }
     },
     "localname": "GeneralAndAdministrativeExpensesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GlobalPetroleumProductsTradingCorporationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Global petroleum products trading corporation.",
        "label": "Global petroleum products trading corporation [member]",
        "terseLabel": "Global petroleum products trading corporation [member]"
       }
      }
     },
     "localname": "GlobalPetroleumProductsTradingCorporationMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GoodwillAcquisitionSegment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of goodwill acquisition segment.",
        "label": "Goodwill acquisition segment",
        "terseLabel": "Segment"
       }
      }
     },
     "localname": "GoodwillAcquisitionSegment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_GrantCostsIncludingTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "An entity shall disclose information that enables users of the financial statements to understand the nature and extent of share based payment arrangements that existed during the period.",
        "label": "Grant costs including taxes",
        "totalLabel": "Total grant costs, including taxes"
       }
      }
     },
     "localname": "GrantCostsIncludingTaxes",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_GrantDateApril12020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date April 1, 2020.",
        "label": "Grant Date April 1 2020 [Member]",
        "terseLabel": "Grant Date, April 1, 2020 [Member]"
       }
      }
     },
     "localname": "GrantDateApril12020Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateApril32019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date April 3, 2019.",
        "label": "Grant Date April 3 2019 [Member]",
        "terseLabel": "Grant Date, April 3, 2019 [Member]"
       }
      }
     },
     "localname": "GrantDateApril32019Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateApril42018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date April 4, 2018.",
        "label": "Grant Date April 4 2018 [Member]",
        "terseLabel": "Grant Date, April 4, 2018 [Member]"
       }
      }
     },
     "localname": "GrantDateApril42018Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateApril62022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cGrant Date, April 6, 2022\u201d.",
        "label": "Grant Date, April 6, 2022 [Member]",
        "terseLabel": "Grant Date, April 6, 2022 [Member]"
       }
      }
     },
     "localname": "GrantDateApril62022Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateApril72021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date April 7, 2021.",
        "label": "Grant Date April 7 2021 [Member]",
        "terseLabel": "April 7, 2021 [member]",
        "verboseLabel": "Grant Date, April 7, 2021 [Member]"
       }
      }
     },
     "localname": "GrantDateApril72021Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateDecember102014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date December 10, 2014.",
        "label": "Grant Date December 10 2014 [Member]",
        "terseLabel": "Grant Date December 10 2014 [member]"
       }
      }
     },
     "localname": "GrantDateDecember102014Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateDecember72022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cDecember 7, 2022\u201d.",
        "label": "Grant Date, December 7, 2022 [Member]",
        "terseLabel": "Grant Date, December 7, 2022 [Member]"
       }
      }
     },
     "localname": "GrantDateDecember72022Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateMarch42016Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date March 4, 2016.",
        "label": "Grant Date March 4 2016 [Member]",
        "terseLabel": "Grant Date March 4 2016 [member]"
       }
      }
     },
     "localname": "GrantDateMarch42016Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateMarch52014Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date March 5, 2014.",
        "label": "Grant Date March 5 2014 [Member]",
        "terseLabel": "Grant Date March 5 2014 [member]"
       }
      }
     },
     "localname": "GrantDateMarch52014Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember162020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date September 16, 2020.",
        "label": "Grant Date September 16, 2020 [Member]",
        "terseLabel": "September 16, 2020 [member]",
        "verboseLabel": "Grant Date, September 16, 2020 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember162020Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember192018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date September 19, 2018.",
        "label": "Grant Date September 19 2018 [Member]",
        "terseLabel": "Grant Date, September 19, 2018 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember192018Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember212022Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cGrant Date, September 21, 2022\u201d.",
        "label": "Grant Date, September 21, 2022 [Member]",
        "terseLabel": "Grant Date, September 21, 2022 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember212022Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember22019Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date September 2, 2019.",
        "label": "Grant Date September 2 2019 [Member]",
        "terseLabel": "September 2, 2019 [member]",
        "verboseLabel": "Grant Date, September 2, 2019 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember22019Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember222021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date, September 22, 2021.",
        "label": "Grant Date September 22 2021 [Member]",
        "terseLabel": "September 22, 2021 [member]",
        "verboseLabel": "Grant Date, September 22, 2021 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember222021Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrantDateSeptember242018Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Grant date September 24, 2018.",
        "label": "Grant Date September 24 2018 [Member]",
        "terseLabel": "Grant Date, September 24, 2018 [Member]"
       }
      }
     },
     "localname": "GrantDateSeptember242018Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GrossMarginOfOxitenoIpirangaSwapPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 1.0,
       "parentTag": "ugp_RealToUsDollarSwapsNetEffect",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gross margin of Oxiteno and Ipiranga related to currency swap payable.",
        "label": "Gross Margin of Oxiteno Ipiranga Swap Payable",
        "negatedLabel": "Gross margin of Oxiteno/Ipiranga"
       }
      }
     },
     "localname": "GrossMarginOfOxitenoIpirangaSwapPayable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GrossSharesGrantDateApril12020Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Gross shares, Grant date April 1, 2020.",
        "label": "Gross Shares Grant Date April 1, 2020 [Member]",
        "terseLabel": "April 1, 2020 [member]"
       }
      }
     },
     "localname": "GrossSharesGrantDateApril12020Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_GuaranteeLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of guarantee liabilities.",
        "label": "Guarantee liabilities.",
        "verboseLabel": "Fair value of collaterals"
       }
      }
     },
     "localname": "GuaranteeLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_GuaranteesDebtors": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of guarantees and promissory notes.",
        "label": "Guarantees debtors",
        "terseLabel": "Amount of guarantees and promissory notes"
       }
      }
     },
     "localname": "GuaranteesDebtors",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_HealthAndDentalCareMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to health and dental care.",
        "label": "Health and dental care [member]",
        "terseLabel": "Health and dental care plan [member]"
       }
      }
     },
     "localname": "HealthAndDentalCareMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_HeatingOilOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to heating oil.",
        "label": "Heating Oil One [Member]",
        "terseLabel": "Heating Oil [member]"
       }
      }
     },
     "localname": "HeatingOilOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_HedgingInstrumentEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to hedging instrument equity.",
        "label": "Hedging instrument equity [member]",
        "terseLabel": "Equity [member]"
       }
      }
     },
     "localname": "HedgingInstrumentEquityMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_HedgingInstrumentRatesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging instrument rates [axis]",
        "label": "Hedging instrument rates [axis]",
        "terseLabel": "Hedging instrument rates [axis]"
       }
      }
     },
     "localname": "HedgingInstrumentRatesAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_HedgingInstrumentRatesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Hedging instrument rates [domain]",
        "label": "Hedging instrument rates [domain]",
        "terseLabel": "Hedging instrument rates [domain]"
       }
      }
     },
     "localname": "HedgingInstrumentRatesDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ICMSStatevatMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to credits of Tax on Goods and Services (ICMS, the Brazilian VAT).",
        "label": "I C M S [Member]",
        "terseLabel": "Tax [member]",
        "verboseLabel": "ICMS [member]"
       }
      }
     },
     "localname": "ICMSStatevatMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IFRS16Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to IFRS 16.",
        "label": "IFRS 16 [Member]",
        "terseLabel": "IFRS 16 [member]"
       }
      }
     },
     "localname": "IFRS16Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IPCARate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of IPCA rate used to calculate interest payment of loans payable.",
        "label": "I P C A Rate",
        "terseLabel": "IPCA rate"
       }
      }
     },
     "localname": "IPCARate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_IRPJMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to current and deferred income tax (IRPJ).",
        "label": "I R P J [Member]",
        "terseLabel": "IRPJ [member]"
       }
      }
     },
     "localname": "IRPJMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ISSMunicipalVATMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Imposto Sobre Servi\u00e7os (ISS or The Brazilian Municipal Service Tax).",
        "label": "I S S [Member]",
        "terseLabel": "ISS (Municipal VAT) [member]"
       }
      }
     },
     "localname": "ISSMunicipalVATMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ITEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to IT equipment.",
        "label": "I T Equipment [member]",
        "terseLabel": "IT equipment [member]"
       }
      }
     },
     "localname": "ITEquipmentMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IcmsCredits": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Icms credits for contingent liabilities.",
        "label": "Icms credits",
        "terseLabel": "ICMS credits"
       }
      }
     },
     "localname": "IcmsCredits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IconicCblsamemberMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Iconic (CBLSA).",
        "label": "Iconic Cblsamember [Member]",
        "terseLabel": "Iconic (CBLSA)[member]"
       }
      }
     },
     "localname": "IconicCblsamemberMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IconicLubrificantesSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Iconic Lubrificantes S.A.",
        "label": "Iconic Lubrificantes S.A [member]",
        "terseLabel": "Iconic Lubrificantes S.A [member]"
       }
      }
     },
     "localname": "IconicLubrificantesSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IcorbanCorrespondenteBancarioLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Icorban-Correspondente Bancrio Ltda.",
        "label": "Icorban Correspondente Bancario Ltda [Member]",
        "terseLabel": "Icorban Correspondente Bancrio Ltda [member]"
       }
      }
     },
     "localname": "IcorbanCorrespondenteBancarioLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ImavenImoveisLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Imaven Imoveis Ltda.",
        "label": "Imaven Imoveis Ltda [member]",
        "terseLabel": "Imaven Imoveis Ltda [member]"
       }
      }
     },
     "localname": "ImavenImoveisLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ImifarmaProdutosFarmaceuticosCosmeticosMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Imifarma Produtos Farmaceuticos e Cosmeticos S A.",
        "label": "Imifarma Produtos Farmaceuticos Cosmeticos [Member]",
        "terseLabel": "Imifarma Produtos Farmaceuticos e Cosmeticos S A [member]"
       }
      }
     },
     "localname": "ImifarmaProdutosFarmaceuticosCosmeticosMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ImportsInProgressMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to imports in progress.",
        "label": "Imports in progress [member]",
        "terseLabel": "Imports in progress [member]"
       }
      }
     },
     "localname": "ImportsInProgressMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IncentivePercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of tax incentive.",
        "label": "Incentive percentage",
        "terseLabel": "Incentive - %"
       }
      }
     },
     "localname": "IncentivePercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_IncomeAndSocialContributionTaxBenefitRelatedToMonetaryVariationSelicOnRepetitionOfTaxUnduePayments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income and social contribution tax benefit related to monetary variation from Special System for Settlement and Custody (\u201cSELIC\u201d) on repetition of tax undue payments.",
        "label": "Income and Social Contribution Tax Benefit, Related to Monetary Variation Selic on Repetition of Tax Undue Payments",
        "terseLabel": "Income and social contribution tax benefit related to monetary variation (SELIC) on repetition of tax undue payments"
       }
      }
     },
     "localname": "IncomeAndSocialContributionTaxBenefitRelatedToMonetaryVariationSelicOnRepetitionOfTaxUnduePayments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Amount of income and social contribution taxes before tax incentives.",
        "label": "Income and social contribution taxes before tax incentives",
        "negatedTotalLabel": "Income and social contribution taxes before tax incentives"
       }
      }
     },
     "localname": "IncomeAndSocialContributionTaxesBeforeTaxIncentives",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeStatementEffectDecrease": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail": {
       "order": 0.0,
       "parentTag": "ugp_IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of decrease in income statement effect regarding on Real appreciation risk.",
        "label": "Income statement effect decrease",
        "terseLabel": "Income statement effect"
       }
      }
     },
     "localname": "IncomeStatementEffectDecrease",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net effect regarding on Real appreciation risk.",
        "label": "Income statement effect decrease share holders equity increase net effect",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "IncomeStatementEffectDecreaseShareHoldersEquityIncreaseNetEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeStatementEffectIncrease": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail": {
       "order": 0.0,
       "parentTag": "ugp_IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of increase in income statement effect regarding on Real devaluation risk.",
        "label": "Income statement effect increase",
        "terseLabel": "Income statement effect"
       }
      }
     },
     "localname": "IncomeStatementEffectIncrease",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net effect regarding on Real devaluation risk.",
        "label": "Income statement effectincrease shareholders equity decrease net effect",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "IncomeStatementEffectincreaseShareholdersEquityDecreaseNetEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncomeStatementLocationOneAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location One [Axis]",
        "terseLabel": "Income Statement Location One [axis]"
       }
      }
     },
     "localname": "IncomeStatementLocationOneAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_IncomeStatementLocationOneDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Income Statement Location One [Domain]",
        "terseLabel": "Income Statement Location One [domain]"
       }
      }
     },
     "localname": "IncomeStatementLocationOneDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IncomeTaxBenefitRelatedToAssetsHeldForSale": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income tax benefit related to assets held for sale.",
        "label": "Income Tax Benefit, Related to Assets Held for Sale",
        "terseLabel": "Income tax benefit related to assets held for sale"
       }
      }
     },
     "localname": "IncomeTaxBenefitRelatedToAssetsHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseInAssetsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Adjustments for decrease (Increase) in recoverable taxes to reconcile profit (loss) to net cash flow from (used in) operating activities.",
        "label": "Increase Decrease in Assets [Abstract]",
        "terseLabel": "Recoverable taxes",
        "verboseLabel": "(Increase) decrease in assets"
       }
      }
     },
     "localname": "IncreaseDecreaseInAssetsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in cash and cash equivalents from continuing operations.",
        "label": "Increase (decrease) in cash and cash equivalents, continuing operations",
        "terseLabel": "Increase (decrease) in cash and cash equivalents",
        "totalLabel": "Increase in cash and cash equivalents - continuing operations"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashAndCashEquivalentsContinuingOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethodCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in cash and cash equivalents from continuing operations.",
        "label": "Increase (decrease) in cash and cash equivalents from discontinued operations",
        "totalLabel": "Decrease in cash and cash equivalents - discontinued operations"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashAndCashEquivalentsFromDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseInCashAndCashEquivalentsIncludingEffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in cash and cash equivalents from discontinued operations including effect of exchange rate changes on cash and cash equivalents from discontinued operations, held or due in a foreign currency.",
        "label": "Increase (Decrease) in Cash and Cash Equivalents including Effect of Exchange Rate Changes On Cash and Cash Equivalents Discontinued Operations",
        "totalLabel": "Increase (decrease) in cash and cash equivalents"
       }
      }
     },
     "localname": "IncreaseDecreaseInCashAndCashEquivalentsIncludingEffectOfExchangeRateChangesOnCashAndCashEquivalentsDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseInLiabilitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Increase Decrease in Liabilities [Abstract]",
        "terseLabel": "Increase (decrease) in liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseInLiabilitiesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsInvestmentsInJointVentures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments in joint ventures resulting from actuarial gain (loss) of post-employment benefits.",
        "label": "Increase (decrease) through actuarial gain (loss) of post-employment benefits, investments in joint ventures",
        "terseLabel": "Actuarial gain of post-employment benefits"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsInvestmentsInJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsOfSubsidiariesNetOfIncomeAndSocialContributionTaxesInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments accounted for using equity method resulting from actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes.",
        "label": "Increase (decrease) through actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes, investments accounted for using equity method",
        "terseLabel": "Actuarial gain (loss) of post-employment benefits of subsidiaries, net of income and social contribution taxes"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughActuarialGainLossOfPostEmploymentBenefitsOfSubsidiariesNetOfIncomeAndSocialContributionTaxesInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughAllocationOfNetIncomeInvestmentsStatutoryReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from allocation of net income - Investments statutory reserve.",
        "label": "Increase (decrease) through allocation of net income - Investments statutory reserve",
        "terseLabel": "Investments statutory reserve"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughAllocationOfNetIncomeInvestmentsStatutoryReserve",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughAssignmentOfContractLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in lease liabilities resulting from assignment of contract.",
        "label": "Increase (Decrease) through Assignment of Contract, Lease Liabilities",
        "terseLabel": "Assignment of contract"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughAssignmentOfContractLeaseLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughCapitalIncreaseFromSubsidiaryNoncontrollingShareholders": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from capital increase from subsidiary non-controlling shareholders.",
        "label": "Increase (Decrease) Through Capital Increase from Subsidiary Noncontrolling Shareholders",
        "terseLabel": "Capital increase from Iconic non-controlling shareholders"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughCapitalIncreaseFromSubsidiaryNoncontrollingShareholders",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughChangesOfInvestmentsFromShareholderTransactionInvestmentsInJointVentures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments in joint ventures resulting from changes of investments from shareholder transaction.",
        "label": "Increase (decrease) through changes of investments from shareholder transaction, investments in joint ventures",
        "terseLabel": "Shareholder transaction \u2013 changes of investments"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughChangesOfInvestmentsFromShareholderTransactionInvestmentsInJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughChangesOfInvestmentsInterestFromShareholderTransactionInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments accounted for using equity method resulting from changes of investments interest from shareholder transaction.",
        "label": "Increase (decrease) through changes of investments interest from shareholder transaction, investments accounted for using equity method",
        "terseLabel": "Shareholder transactions - changes of interest"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughChangesOfInvestmentsInterestFromShareholderTransactionInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughEquityInstrumentGranted": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from equity instrument granted.",
        "label": "Increase decrease through equity instrument granted",
        "terseLabel": "Equity instrument granted"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughEquityInstrumentGranted",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughIncomeAndSocialContributionTaxesOnRealizationOfRevaluationReserveOfSubsidiariesEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from income and social contribution taxes on realization of revaluation reserve of subsidiaries.",
        "label": "Increase (Decrease) Through Income and Social Contribution Taxes on Realization of Revaluation Reserve of Subsidiaries, Equity",
        "terseLabel": "Income and social contribution taxes on realization of revaluation reserve of subsidiaries"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughIncomeAndSocialContributionTaxesOnRealizationOfRevaluationReserveOfSubsidiariesEquity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughInitialDirectCostsRightOfUseAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in right-of-use assets resulting from initial direct costs.",
        "label": "Increase (Decrease) through Initial Direct Costs, Right-of-use Assets",
        "terseLabel": "Initial direct costs of right-of-use assets"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughInitialDirectCostsRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughIssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from issuance of shares related to the subscription warrants - indemnification.",
        "label": "Increase (decrease) through issuance of shares related to subscription warrants - indemnification, equity",
        "terseLabel": "Issuance of shares related to the subscription warrants - indemnification"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughIssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationEquity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughNetExchangeDifferencesLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in lease liabilities resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity.",
        "label": "Increase (Decrease) Through Net Exchange Differences Lease Liabilities",
        "terseLabel": "Effect\u00a0of\u00a0foreign currency exchange rate variation"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesLeaseLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughNetExchangeDifferencesRightOfUseAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in right-of-use assets resulting from net exchange differences arising on the translation of the financial statements from the functional currency into a different presentation currency, including the translation of a foreign operation into the presentation currency of the reporting entity.",
        "label": "Increase (Decrease) Through Net Exchange Differences Right of Use Assets",
        "terseLabel": "Exchange rate variation"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetExchangeDifferencesRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughNetHedgeDifferencesLoansAndBorrowings": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in loans and borrowings resulting from net hedge differences.",
        "label": "Increase (Decrease) through Net Hedge Differences, Loans and Borrowings",
        "terseLabel": "Hedge result"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughNetHedgeDifferencesLoansAndBorrowings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughOtherAdjustmentsDeferredTaxLiabilityAsset": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in deferred tax liability (asset) resulting from other adjustments.",
        "label": "Increase (Decrease) Through other Adjustments Deferred Tax Liability Asset",
        "negatedLabel": "Others"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughOtherAdjustmentsDeferredTaxLiabilityAsset",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfChangesInBalancesOfDeferredTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughOtherReservesInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments accounted for using equity method resulting from changes in other reserves.",
        "label": "Increase (decrease) through other reserves, investments accounted for using equity method",
        "terseLabel": "Other reserves"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughOtherReservesInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughOtherReservesInvestmentsInJointVentures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments in joint ventures resulting from other reserves.",
        "label": "Increase (decrease) through other reserves, investments in joint ventures",
        "terseLabel": "Other reserves"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughOtherReservesInvestmentsInJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughRealizationOfRevaluationReserveOfSubsidiariesEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from realization of revaluation reserve of subsidiaries.",
        "label": "Increase (Decrease) Through Realization of Revaluation Reserve of Subsidiaries, Equity",
        "terseLabel": "Realization of revaluation reserve of subsidiaries"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughRealizationOfRevaluationReserveOfSubsidiariesEquity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughShareholderTransactionChangesOfInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from changes of investments arising from shareholder transaction.",
        "label": "Increase (decrease) through shareholder transaction - changes of investments",
        "terseLabel": "Shareholder transaction \u2013 changes of investments"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughShareholderTransactionChangesOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughStockPlans": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in equity resulting from stock plan.",
        "label": "Increase decrease through stock plans",
        "terseLabel": "Stock plan"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughStockPlans",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughTransferOfRightOfUseAsset": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) through transfer of Right of use asset.",
        "label": "Increase Decrease Through Transfer Of Right Of Use Asset",
        "negatedLabel": "Transfer to property, plant and equipment",
        "terseLabel": "Transfer"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransferOfRightOfUseAsset",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughTransferToFromProvisionForShortTermLiabilitiesInvestmentsInJointVentures": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in investments in joint ventures resulting from transfer to (from) provision for short-term liabilities.",
        "label": "Increase (decrease) through transfer to (from) provision for short-term liabilities, investments in joint ventures",
        "terseLabel": "Transfer to (from) provision for liabilities"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughTransferToFromProvisionForShortTermLiabilitiesInvestmentsInJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentSummaryofprovisionforshorttermliabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseDecreaseThroughValuationAdjustmentsInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "IncreaseDecreaseThroughValuationAdjustmentsInvestmentsAccountedForUsingEquityMethod",
        "label": "Increase (decrease) through valuation adjustments, investments accounted for using equity method",
        "negatedTerseLabel": "Valuation adjustments"
       }
      }
     },
     "localname": "IncreaseDecreaseThroughValuationAdjustmentsInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase in earnout liability in a business combination that would have been caused by an increase in a significant actuarial assumption that was reasonably possible at the end of the reporting period.",
        "label": "Increase in earnout liability due to reasonably possible increase in actuarial assumption",
        "terseLabel": "Increase in liability"
       }
      }
     },
     "localname": "IncreaseInEarnoutLiabilityDueToReasonablyPossibleIncreaseInActuarialAssumption",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreasePercentageOfSalesVolume": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of the entity's sales volume increased in comparative period.",
        "label": "Increase percentage of sales volume",
        "terseLabel": "Increase percentage of sales volume"
       }
      }
     },
     "localname": "IncreasePercentageOfSalesVolume",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_IncreaseThroughCapitalContributionInvestmentsAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase in investments accounted for using equity method resulting from capital contribution.",
        "label": "Increase through capital contribution, investments accounted for using equity method",
        "terseLabel": "Capital increase in cash"
       }
      }
     },
     "localname": "IncreaseThroughCapitalContributionInvestmentsAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncreasedecreaseDueToApplicationOfIfrs16Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Increase (decrease) due to application of IFRS 16 member.",
        "label": "Increasedecrease Due to Application of Ifrs 16 [Member]",
        "terseLabel": "Increase (decrease) due to application of IFRS 16 [member]"
       }
      }
     },
     "localname": "IncreasedecreaseDueToApplicationOfIfrs16Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IncrementalExpenses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of incremental expenses regarding Exposure of interest rate risk.",
        "label": "Incremental Expenses",
        "totalLabel": "Incremental expenses"
       }
      }
     },
     "localname": "IncrementalExpenses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IncurredTransactionCost": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of incurred transaction costs of financial instruments during the reporting period.",
        "label": "Incurred transaction cost",
        "terseLabel": "Incurred costs"
       }
      }
     },
     "localname": "IncurredTransactionCost",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IndemnificationAssetBusinessCombination": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 9.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current indemnification asset arising from business combination.",
        "label": "Indemnification asset - business combination",
        "terseLabel": "Indemnification asset \u2013 business combination"
       }
      }
     },
     "localname": "IndemnificationAssetBusinessCombination",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IndemnificationOfFGTSMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Indemnification of payment of Government Severance Indemnity Fund (FGTS).",
        "label": "Indemnification of F G T S [Member]",
        "terseLabel": "Indemnification of FGTS [member]"
       }
      }
     },
     "localname": "IndemnificationOfFGTSMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IndirectControlInterestPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Percentage of the Entity's indirect control over the subsidiary.",
        "label": "Indirect control interest percentage",
        "terseLabel": "Indirect control"
       }
      }
     },
     "localname": "IndirectControlInterestPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_IndoramaVenturesPlcMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Indorama Ventures PLC (\u201cIndorama\u201d).",
        "label": "Indorama Ventures PLC [member]",
        "terseLabel": "Indorama Ventures PLC"
       }
      }
     },
     "localname": "IndoramaVenturesPlcMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InitialDirectCostsOfRightToUseAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 9.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInInvestingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for initial direct costs of rightofuse assets, classified as investing activities.",
        "label": "Initial Direct Costs Of Right To Use Assets",
        "negatedLabel": "Initial direct costs of right-of-use assets"
       }
      }
     },
     "localname": "InitialDirectCostsOfRightToUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InitialPaymentMadeInDisposalGroupTransaction": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of initial payment made in disposal group transaction.",
        "label": "Initial Payment Made in Disposal Group Transaction",
        "terseLabel": "Initial payment made in disposal group transaction"
       }
      }
     },
     "localname": "InitialPaymentMadeInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InstalledTankStorageCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The measurement of tank storage capacity installed.",
        "label": "Installed tank storage capacity",
        "terseLabel": "Installed tank storage capacity"
       }
      }
     },
     "localname": "InstalledTankStorageCapacity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "volumeItemType"
    },
    "ugp_IntegraFrotasLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Integra Frotas Ltda.",
        "label": "Integra Frotas Ltda [member]",
        "terseLabel": "Integra Frotas Ltda [member]"
       }
      }
     },
     "localname": "IntegraFrotasLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IntegraFrotasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Integra Frotas.",
        "label": "Integra Frotas [Member]",
        "terseLabel": "Integra Frotas [member]"
       }
      }
     },
     "localname": "IntegraFrotasMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InterestEffectOnCashEquivalentsAndFinancialInvestments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest effect on cash equivalents and financial investments regarding Exposure of interest rate risk.",
        "label": "Interest effect on cash equivalents and financial investments",
        "negatedLabel": "Interest effect on cash equivalents and financial investments"
       }
      }
     },
     "localname": "InterestEffectOnCashEquivalentsAndFinancialInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestIncomeExpenseOnFinancialLiabilitiesDesignatedAtFairValueThroughProfitOrLoss": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest income (expense) on financial liabilities designated at fair value through profit or loss.",
        "label": "Interest income (expense) on financial liabilities designated at fair value through profit or loss",
        "terseLabel": "Financial result of the debt - R$"
       }
      }
     },
     "localname": "InterestIncomeExpenseOnFinancialLiabilitiesDesignatedAtFairValueThroughProfitOrLoss",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestOnCapitalPaid": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest on capital paid during the reporting period.",
        "label": "Interest on capital paid",
        "negatedLabel": "Interest on capital (R$ 0.41 per share)",
        "terseLabel": "Gross amount of interest on capital",
        "verboseLabel": "Payment of interim interest on capital, attributed to the mandatory minimum dividend, including income tax"
       }
      }
     },
     "localname": "InterestOnCapitalPaid",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestOnCapitalPaidNetOfIncomeTax": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsandAllocationofNetIncomeDetailCalc2": {
       "order": 3.0,
       "parentTag": "ugp_AllocationOfNetIncome",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest on capital paid, net of income tax during the reporting period.",
        "label": "Interest on capital paid, net of income tax",
        "negatedLabel": "Interest on capital, net of income tax, already paid (R$ 0.35 per share)",
        "terseLabel": "Minimum mandatory dividends for the year (25% of the adjusted net income)",
        "verboseLabel": "Interest on capital, net of income tax, already paid (R$ 0.35 per share)"
       }
      }
     },
     "localname": "InterestOnCapitalPaidNetOfIncomeTax",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestOnCapitalPaidNetOfIncomeTaxPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of interest on capital paid, net of income tax during the reporting period.",
        "label": "Interest On Capital Paid Net Of Income Tax Per Share",
        "terseLabel": "Interest on capital paid, net of income tax, per share"
       }
      }
     },
     "localname": "InterestOnCapitalPaidNetOfIncomeTaxPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_InterestOnCapitalPaidPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of interest on capital paid during the reporting period.",
        "label": "Interest on capital paid, per share",
        "terseLabel": "Interest on capital, per share",
        "verboseLabel": "Payment of interim interest on capital, per share, attributed to the mandatory minimum dividend, including income tax,"
       }
      }
     },
     "localname": "InterestOnCapitalPaidPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_InterestPaidForBorrowingsClassifiedAsFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 2.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for interest paid on borrowings, classified as financing activities.",
        "label": "Interest Paid for Borrowings Classified as Financing Activities",
        "negatedLabel": "Interest and derivatives paid"
       }
      }
     },
     "localname": "InterestPaidForBorrowingsClassifiedAsFinancingActivities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestPaidForLeaseLiabilitiesClassifiedAsFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 4.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for interest paid on lease liabilities, classified as financing activities.",
        "label": "Interest Paid for Lease Liabilities Classified as Financing Activities",
        "negatedLabel": "Interest paid"
       }
      }
     },
     "localname": "InterestPaidForLeaseLiabilitiesClassifiedAsFinancingActivities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestRateHedgingInstrumentsLiabilitiesInterestEffect": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Interest rate hedging instruments (liabilities), interest effect regarding Exposure of interest rate risk.",
        "label": "Interest Rate Hedging Instruments Liabilities Interest Effect",
        "terseLabel": "Effect on income of short positions in DI of debt hedging instruments"
       }
      }
     },
     "localname": "InterestRateHedgingInstrumentsLiabilitiesInterestEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterestRateHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Interest rate hedging instruments.",
        "label": "Interest rate hedging instruments [member]",
        "terseLabel": "Interest rate hedging instruments [member]"
       }
      }
     },
     "localname": "InterestRateHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InterestRateSwapContractOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to interest rate swap contract.",
        "label": "Interest rate swap contract one [Member]",
        "terseLabel": "Interest rate swap contract one [member]"
       }
      }
     },
     "localname": "InterestRateSwapContractOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InterestRateSwapInBrazilianReaisDebenturesCRAAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Interest rate swap in brazilian reais debentures cra.",
        "label": "Interest Rate Swap in Brazilian Reais Debentures C R A [Abstract]",
        "terseLabel": "Interest rate swap (Real) - Debentures - CRA"
       }
      }
     },
     "localname": "InterestRateSwapInBrazilianReaisDebenturesCRAAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_InterestRateSwapsBrlMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to interest rate swaps brl.",
        "label": "Interest rate swaps brl [member]",
        "terseLabel": "Interest rate swaps in R$ [member]"
       }
      }
     },
     "localname": "InterestRateSwapsBrlMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InterimDividends": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interim dividends recognised as distributions to owners.",
        "label": "Interim dividends",
        "negatedLabel": "Intermediary dividends",
        "negatedTerseLabel": "Interim dividends (R$ 0.20 per share)",
        "terseLabel": "Interim dividends, paid"
       }
      }
     },
     "localname": "InterimDividends",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InterimDividendsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of interim dividends recognised as distributions to owners.",
        "label": "Interim dividends per share",
        "terseLabel": "Intermediary dividends, paid per share",
        "verboseLabel": "Interim dividends, paid per share"
       }
      }
     },
     "localname": "InterimDividendsPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_InventoriesAndCostOfProductsAndServicesSoldAmortisation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_AmortisationIntangibleAssetsOtherThanGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortisation expense recognized as Inventories and cost of products and services sold.",
        "label": "Inventories and cost of products and services sold amortisation",
        "terseLabel": "Inventories and cost of products and services sold"
       }
      }
     },
     "localname": "InventoriesAndCostOfProductsAndServicesSoldAmortisation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InventoriesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventories [axis]",
        "label": "Inventories [axis]",
        "terseLabel": "Inventories [axis]"
       }
      }
     },
     "localname": "InventoriesAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_InventoriesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Inventories [domain]",
        "label": "Inventories [domain]",
        "terseLabel": "Inventories [domain]"
       }
      }
     },
     "localname": "InventoriesDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InvestmentPlan": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Investment plan.",
        "label": "Investment Plan",
        "terseLabel": "Investment plan"
       }
      }
     },
     "localname": "InvestmentPlan",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InvestmentStatutoryReserveAsMaximumPercentageOfNetIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum percentage of net income available for allocation to investments statutory reserve of dividends.",
        "label": "Investment statutory reserve as maximum percentage of net income",
        "terseLabel": "Investments statutory reserve as maximum percentage of net income"
       }
      }
     },
     "localname": "InvestmentStatutoryReserveAsMaximumPercentageOfNetIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_InvestmentsAccountedForUsingEquityMethodAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Information by type of investments accounted for using equity method.",
        "label": "Investments accounted for using equity method [Axis]"
       }
      }
     },
     "localname": "InvestmentsAccountedForUsingEquityMethodAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_InvestmentsAccountedForUsingEquityMethodDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The name for the particular investments accounted for using equity method.",
        "label": "Investments accounted for using equity method [Domain]"
       }
      }
     },
     "localname": "InvestmentsAccountedForUsingEquityMethodDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments accounted for using the equity method net of provision for equity deficit.",
        "label": "Investments accounted for using equity method net of provision for equity deficit",
        "periodEndLabel": "Investments in joint ventures and associates at end of period",
        "periodStartLabel": "Investments in joint ventures and associates at beginning of period",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "InvestmentsAccountedForUsingEquityMethodNetOfProvisionForEquityDeficit",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofbalancesandchangesininvestmentsinjointventuresandassociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for equity deficit related to investments accounted for using the equity method.",
        "label": "Investments accounted for using equity method, Provision for equity deficit",
        "negatedLabel": "Total provision for equity deficit"
       }
      }
     },
     "localname": "InvestmentsAccountedForUsingEquityMethodProvisionForEquityDeficit",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InvestmentsStatutoryReserveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a component of equity representing investments statutory reserve.",
        "label": "Investments statutory reserve [member]",
        "terseLabel": "Investments statutory reserve",
        "verboseLabel": "Investments reserve [member]"
       }
      }
     },
     "localname": "InvestmentsStatutoryReserveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InvestmentsWithEquityDeficitAccountedForUsingEquityMethod": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of investments with equity deficit accounted for using the equity method.",
        "label": "Investments with equity deficit accounted for using equity method",
        "terseLabel": "Investments with negative equity"
       }
      }
     },
     "localname": "InvestmentsWithEquityDeficitAccountedForUsingEquityMethod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_InvestmentsWithNegativeEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cInvestments with negative equity\u201d.",
        "label": "Investments with negative equity [member]",
        "terseLabel": "Investments with negative equity [member]"
       }
      }
     },
     "localname": "InvestmentsWithNegativeEquityMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_InvestmentsWithPositiveEquityMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cInvestments with positive equity\u201d.",
        "label": "Investments with positive equity [member]",
        "terseLabel": "Investments with positive equity [member]"
       }
      }
     },
     "localname": "InvestmentsWithPositiveEquityMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpiContingency": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of IPI contingency.",
        "label": "Ipi Contingency",
        "terseLabel": "IPIContingency"
       }
      }
     },
     "localname": "IpiContingency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_IpirangaImobiliriaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Imobiliria Ltda.",
        "label": "Ipiranga Imobiliria Ltda [member]",
        "terseLabel": "Ipiranga Imobiliria Ltda [member]"
       }
      }
     },
     "localname": "IpirangaImobiliriaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaLogsticaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Logstica Ltda.",
        "label": "Ipiranga Logstica Ltda [member]",
        "terseLabel": "Ipiranga Logstica Ltda [member]"
       }
      }
     },
     "localname": "IpirangaLogsticaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga.",
        "label": "Ipiranga [member]",
        "terseLabel": "Ipiranga [member]"
       }
      }
     },
     "localname": "IpirangaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaProdutosDepetroleoSaAndUltracargoLogisticaSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Produtosde Petroleo S.A. and Ultracargo Log\u00edstica S.A. (\u201cIPP and Ultracargo Log\u00edstica\u201d).",
        "label": "Ipiranga Produtosde Petroleo S.A. and Ultracargo Logistica S.A. [Member]",
        "terseLabel": "IPP and Ultracargo Log\u00edstica S.A. [member]"
       }
      }
     },
     "localname": "IpirangaProdutosDepetroleoSaAndUltracargoLogisticaSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaProdutosDepetroleoSaAndUltracargoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Produtos de Petroleo S.A. (IPP) and Ultracargo.",
        "label": "Ipiranga Produtos DePetroleo SA And Ultracargo [Member]",
        "terseLabel": "IPP and Ultracargo [member]"
       }
      }
     },
     "localname": "IpirangaProdutosDepetroleoSaAndUltracargoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaProdutosdePetroleoSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Produtos de Petroleo S.A. (IPP).",
        "label": "Ipiranga Produtosde Petroleo S A [Member]",
        "terseLabel": "IPP [member]",
        "verboseLabel": "Empreendimentos Pague Menos S.A."
       }
      }
     },
     "localname": "IpirangaProdutosdePetroleoSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofForeignLoanMaturityDetail",
      "http://www.ultrapar.com/role/OperationsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IpirangaTradingLimitedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ipiranga Trading Limited.",
        "label": "Ipiranga Trading Limited [member]",
        "terseLabel": "Ipiranga Trading Limited [member]"
       }
      }
     },
     "localname": "IpirangaTradingLimitedMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IrpjAndCsll1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to current and deferred income tax (IRPJ) and social contribution on net income tax (CSLL).",
        "label": "Irpj And Csll 1 [Member]",
        "terseLabel": "IRPJ and CSLL [member]"
       }
      }
     },
     "localname": "IrpjAndCsll1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IrpjAndCsllMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to current and deferred income tax (IRPJ) and social contribution on net income tax (CSLL).",
        "label": "Irpj and Csll Member]",
        "terseLabel": "IRPJ and CSLL [member]"
       }
      }
     },
     "localname": "IrpjAndCsllMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IrpjandcsllMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to current and deferred income tax (IRPJ) and social contribution on net income tax (CSLL).",
        "label": "Irpjandcsll [Member]",
        "terseLabel": "IRPJ and CSLL [member]"
       }
      }
     },
     "localname": "IrpjandcsllMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_IssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationForBusinessCombination": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of stock issued in noncash financing activities related to the subscription warrants indemnification for business combination.",
        "label": "Issuance of shares related to subscription warrants indemnification for business combination",
        "terseLabel": "Issuance of shares related to the subscription warrants \u2013 indemnification \u2013 Extrafarma acquisition"
       }
      }
     },
     "localname": "IssuanceOfSharesRelatedToSubscriptionWarrantsIndemnificationForBusinessCombination",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ItaquiMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Itaqui.",
        "label": "Itaqui [Member]",
        "terseLabel": "Itaqui [Member]"
       }
      }
     },
     "localname": "ItaquiMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ItaquiTerminalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Itaqui terminal.",
        "label": "Itaqui Terminal [member]",
        "terseLabel": "Itaqui Terminal [member]"
       }
      }
     },
     "localname": "ItaquiTerminalMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_JetOilMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to jet oil",
        "label": "Jet Oil [member]",
        "terseLabel": "Jet Oil [member]"
       }
      }
     },
     "localname": "JetOilMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_JuazeiroBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Juazeiro base.",
        "label": "Juazeiro base [member]",
        "terseLabel": "Juazeiro base [member]"
       }
      }
     },
     "localname": "JuazeiroBaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LA7ParticipaesEEmpreendImobLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to LA'7 Participaes e Empreend. Imob. Ltda.",
        "label": "L A 7 Participaes E Empreend Imob Ltda [Member]",
        "terseLabel": "LA'7 Participaes e Empreend. Imob. Ltda. [member]"
       }
      }
     },
     "localname": "LA7ParticipaesEEmpreendImobLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LIBORMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to LIBOR.",
        "label": "L I B O R [Member]",
        "terseLabel": "LIBOR [member]"
       }
      }
     },
     "localname": "LIBORMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LPGInternationalIncMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to LPG international inc.",
        "label": "L p g international inc [member]",
        "terseLabel": "LPG International Inc. [member]"
       }
      }
     },
     "localname": "LPGInternationalIncMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LPGTanksAndBottlesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to LPG tanks and bottles.",
        "label": "L P G Tanks and Bottles [Member]",
        "terseLabel": "LPG tanks and bottles [member]"
       }
      }
     },
     "localname": "LPGTanksAndBottlesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LaborLitigationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to provision for labor litigation.",
        "label": "Labor litigation [member]",
        "terseLabel": "Labor litigation [member]"
       }
      }
     },
     "localname": "LaborLitigationMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LaterThanFifteenYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a time band of later than fifteen years.",
        "label": "Later Than Fifteen Years [Member]",
        "terseLabel": "More than 15 years [member]"
       }
      }
     },
     "localname": "LaterThanFifteenYearsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LatitudeLogsticaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Latitude Log\u00edstica.",
        "label": "Latitude Logstica [Member]",
        "terseLabel": "Latitude Log\u00edstica [member]",
        "verboseLabel": "Latitude Log\u00edstica Portu\u00e1ria S.A [member]"
       }
      }
     },
     "localname": "LatitudeLogsticaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LeasesPayableRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of leases payable resulting from related party transactions.",
        "label": "Leases payable, related party transactions",
        "terseLabel": "Leases payable"
       }
      }
     },
     "localname": "LeasesPayableRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LegalProceedingsRelatedToIcms": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of legal proceedings related to Icms for contingent liabilities.",
        "label": "Legal Proceedings Related to Icms",
        "terseLabel": "Legal Proceedings Related To Icms"
       }
      }
     },
     "localname": "LegalProceedingsRelatedToIcms",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LegalReserveAsPercentageOfNetIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of net income allocated to legal reserve.",
        "label": "Legal reserve as percentage of net income",
        "terseLabel": "Legal reserve as percentage of net income"
       }
      }
     },
     "localname": "LegalReserveAsPercentageOfNetIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_LegalReserves": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A component of equity representing reserves created based on legal requirements and it may be used to increase capital or to absorb losses, but may not be distributed as dividends.",
        "label": "Legal Reserves",
        "terseLabel": "Legal reserves"
       }
      }
     },
     "localname": "LegalReserves",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LiabilitiesExposureFromSubsidiariesHeldForSale": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 2.0,
       "parentTag": "ugp_LiabilitiesInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of liabilities exposure from subsidiaries held for sale in foreign currency.",
        "label": "Liabilities exposure from subsidiaries held for sale",
        "negatedLabel": "Liabilities exposure from subsidiaries held for sale"
       }
      }
     },
     "localname": "LiabilitiesExposureFromSubsidiariesHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LiabilitiesInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 1.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total liabilities in foreign currency.",
        "label": "Liabilities in foreign currency",
        "negatedTotalLabel": "Liabilities in foreign currency"
       }
      }
     },
     "localname": "LiabilitiesInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LiabilitiesInForeignCurrencyAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Liabilities in foreign currency abstract.",
        "label": "Liabilities in foreign currency [abstract]",
        "terseLabel": "Liabilities in foreign currency"
       }
      }
     },
     "localname": "LiabilitiesInForeignCurrencyAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSaleAndEquity": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of liabilities included in disposal groups classified as held for sale and equity.",
        "label": "Liabilities Included In Disposal Groups Classified As Held For Sale And Equity",
        "terseLabel": "Total liabilities held for sale and equity"
       }
      }
     },
     "localname": "LiabilitiesIncludedInDisposalGroupsClassifiedAsHeldForSaleAndEquity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LiabilitiesInterestRateBasis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The basis (reference rate) used for calculation of the interest rate on liabilities.",
        "label": "Liabilities Interest Rate Basis",
        "terseLabel": "Contracted rates-liabilities"
       }
      }
     },
     "localname": "LiabilitiesInterestRateBasis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_LiabilityPositionOfForeignExchangeHedgingInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to liability position of foreign exchange hedging instruments.",
        "label": "Liability Position of Foreign Exchange Hedging Instruments [Member]",
        "terseLabel": "Liability position foreign exchange hedging instruments [member]"
       }
      }
     },
     "localname": "LiabilityPositionOfForeignExchangeHedgingInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LiabilityPositionOfHedgingInstrumentsPreFixedMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to liability position of hedging instruments pre fixed.",
        "label": "Liability Position of Hedging Instruments Pre Fixed [member]",
        "terseLabel": "Liability position of fixed interest instruments + IPCA \u2013 DI [member]"
       }
      }
     },
     "localname": "LiabilityPositionOfHedgingInstrumentsPreFixedMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LifeInsuranceMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to life insurance.",
        "label": "life insurance [member]",
        "terseLabel": "Life insurance [member]"
       }
      }
     },
     "localname": "LifeInsuranceMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LiquifiedPetroleumGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to liquefied petroleum gas (LPG) inventory.",
        "label": "Liquified petroleum gas [member]",
        "terseLabel": "Liquified petroleum gas [member]"
       }
      }
     },
     "localname": "LiquifiedPetroleumGasMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan10Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 10.",
        "label": "Loan 10 [member]",
        "terseLabel": "Loan 10 [member]"
       }
      }
     },
     "localname": "Loan10Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan11Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 11.",
        "label": "Loan 11 [member]",
        "terseLabel": "Loan 11 [member]"
       }
      }
     },
     "localname": "Loan11Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan12Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 12.",
        "label": "Loan 12 [member]",
        "terseLabel": "Loan 12 [member]"
       }
      }
     },
     "localname": "Loan12Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan13Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 13.",
        "label": "Loan 13 [member]",
        "terseLabel": "Loan 13 [member]"
       }
      }
     },
     "localname": "Loan13Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan14Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 14.",
        "label": "Loan 14 [member]",
        "terseLabel": "Loan 14 [member]"
       }
      }
     },
     "localname": "Loan14Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan15Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 15.",
        "label": "Loan 15 [member]",
        "terseLabel": "Loan 15 [member]"
       }
      }
     },
     "localname": "Loan15Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan16Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 16.",
        "label": "Loan 16 [member]",
        "terseLabel": "Loan 16 [member]"
       }
      }
     },
     "localname": "Loan16Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan17Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 17.",
        "label": "Loan 17 [member]",
        "terseLabel": "Loan 17 [member]"
       }
      }
     },
     "localname": "Loan17Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan18Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 18.",
        "label": "Loan 18 [member]",
        "terseLabel": "Loan 18 [member]"
       }
      }
     },
     "localname": "Loan18Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan19Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 19.",
        "label": "Loan 19 [member]",
        "terseLabel": "Loan 19 [member]"
       }
      }
     },
     "localname": "Loan19Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 1.",
        "label": "Loan 1 [member]",
        "terseLabel": "Loan 1 [member]"
       }
      }
     },
     "localname": "Loan1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan20Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 20.",
        "label": "Loan 20 [member]",
        "terseLabel": "Loan 20 [member]"
       }
      }
     },
     "localname": "Loan20Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan21Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 21.",
        "label": "Loan 21 [member]",
        "terseLabel": "Loan 21 [member]"
       }
      }
     },
     "localname": "Loan21Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan22Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 22.",
        "label": "Loan 22 [member]",
        "terseLabel": "Loan 22 [member]"
       }
      }
     },
     "localname": "Loan22Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan23Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 23.",
        "label": "Loan 23 [member]",
        "terseLabel": "Loan 23 [member]"
       }
      }
     },
     "localname": "Loan23Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan24Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 24.",
        "label": "Loan 24 [member]",
        "terseLabel": "Loan 24 [member]"
       }
      }
     },
     "localname": "Loan24Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan25Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 25.",
        "label": "Loan 25 [member]",
        "terseLabel": "Loan 25 [member]"
       }
      }
     },
     "localname": "Loan25Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 2.",
        "label": "Loan 2 [member]",
        "terseLabel": "Loan 2 [member]"
       }
      }
     },
     "localname": "Loan2Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 3.",
        "label": "Loan 3 [member]",
        "terseLabel": "Loan 3 [member]"
       }
      }
     },
     "localname": "Loan3Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan4Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 4.",
        "label": "Loan 4 [member]",
        "terseLabel": "Loan 4 [member]"
       }
      }
     },
     "localname": "Loan4Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan5Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 5.",
        "label": "Loan 5 [member]",
        "terseLabel": "Loan 5 [member]"
       }
      }
     },
     "localname": "Loan5Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan6Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 6.",
        "label": "Loan 6 [member]",
        "terseLabel": "Loan 6 [member]"
       }
      }
     },
     "localname": "Loan6Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan7Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 7.",
        "label": "Loan 7 [member]",
        "terseLabel": "Loan 7 [member]"
       }
      }
     },
     "localname": "Loan7Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan8Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 8.",
        "label": "Loan 8 [member]",
        "terseLabel": "Loan 8 [member]"
       }
      }
     },
     "localname": "Loan8Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Loan9Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loan 9.",
        "label": "Loan 9 [member]",
        "terseLabel": "Loan 9 [member]"
       }
      }
     },
     "localname": "Loan9Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LoanDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandhedgederivativefinancialinstrumentsSummaryofCompostionofloansDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The entity shall disclose information that enables users of the financial statements to evaluate changes in liabilities arising from financing activities, including changes in cash flows and non-cash flows (IAS 7).",
        "label": "Loan debt",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "LoanDebt",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoanDescription": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of the borrowings.",
        "label": "Loan description",
        "terseLabel": "Description"
       }
      }
     },
     "localname": "LoanDescription",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_LoanFinancingLiabilitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Loan financing liabilities\".",
        "label": "Loan financing liabilities [member]",
        "terseLabel": "Loan financing liabilities [member]"
       }
      }
     },
     "localname": "LoanFinancingLiabilitiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LoanIndexCurrency": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The currency and index in which the borrowings are denominated.",
        "label": "Loan index currency",
        "terseLabel": "Index/Currency"
       }
      }
     },
     "localname": "LoanIndexCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCompostionofloansDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_LoanPayablesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loans payable.",
        "label": "Loan Payables [Member]",
        "terseLabel": "Loans [member]"
       }
      }
     },
     "localname": "LoanPayablesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LoandsAndDebenturesInterestAccrued": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest accrued during period of loans and debentures.",
        "label": "Loands and debentures interest accrued",
        "terseLabel": "Interest accrued"
       }
      }
     },
     "localname": "LoandsAndDebenturesInterestAccrued",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansAndDeBenturesChangeInFairValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of change in fair value of loans and debentures.",
        "label": "Loans and de bentures change in fair value",
        "terseLabel": "Change in fair value"
       }
      }
     },
     "localname": "LoansAndDeBenturesChangeInFairValue",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansAndDebenturesInterestPayment": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of interest payment of loans and debentures.",
        "label": "Loans and debentures interest payment",
        "negatedLabel": "Interest payment"
       }
      }
     },
     "localname": "LoansAndDebenturesInterestPayment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansAndDebenturesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loans and debentures.",
        "label": "Loans and debentures [member]",
        "terseLabel": "Loans and debentures [member]"
       }
      }
     },
     "localname": "LoansAndDebenturesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LoansAndDebenturesMonetaryAndExchangeRateVariation": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of monetary and exchange rate variation of loans and debentures.",
        "label": "Loans and debentures monetary and exchange rate variation",
        "terseLabel": "Monetary and exchange rate variation"
       }
      }
     },
     "localname": "LoansAndDebenturesMonetaryAndExchangeRateVariation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansDueFromRelatedPartiesRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of loans due from related parties resulting from related party transactions.",
        "label": "Loans due from related parties, related party transactions",
        "terseLabel": "Loans, Assets"
       }
      }
     },
     "localname": "LoansDueFromRelatedPartiesRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansDueToRelatedPartiesRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of loans due to related parties resulting from related party transactions.",
        "label": "Loans due to related parties, related party transactions",
        "terseLabel": "Loans, Liabilities"
       }
      }
     },
     "localname": "LoansDueToRelatedPartiesRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansFinancingAndHedgingInstrumentsCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current loans, financing and hedge derivative financial instruments.",
        "label": "Loans, financing and hedging instruments current",
        "terseLabel": "Loans, financing and hedge derivative financial instruments",
        "verboseLabel": "Loans, financing and derivative financial instruments"
       }
      }
     },
     "localname": "LoansFinancingAndHedgingInstrumentsCurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansFinancingAndHedgingInstrumentsNonCurrent": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 0.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current loans, financing and hedge derivative financial instruments.",
        "label": "Loans, financing and hedging instruments non current",
        "terseLabel": "Loans, financing and hedge derivative financial instruments",
        "verboseLabel": "Loans, financing and derivative financial instruments"
       }
      }
     },
     "localname": "LoansFinancingAndHedgingInstrumentsNonCurrent",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansFinancingAndLeasesPayable": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_NetDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of borrowings obtained as loans, financing and leases payable.",
        "label": "Loans, financing and leases payable",
        "terseLabel": "Loans and financing"
       }
      }
     },
     "localname": "LoansFinancingAndLeasesPayable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoansIncludingFutureContractualInterestUndiscountedCashFlows": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of contractual undiscounted cash flows in relation to loans including future contractual interest.",
        "label": "Loans including future contractual interest, undiscounted cash flows",
        "terseLabel": "Loans including future contractual interest"
       }
      }
     },
     "localname": "LoansIncludingFutureContractualInterestUndiscountedCashFlows",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_LoyaltyProgramOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loyalty program.",
        "label": "Loyalty program one [member]",
        "terseLabel": "Loyalty program \u201cKm de Vantagens\u201d [member]"
       }
      }
     },
     "localname": "LoyaltyProgramOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_LoyaltyProgramTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to loyalty program.",
        "label": "Loyalty program two [member]",
        "terseLabel": "Loyalty program \u201cClube Extrafarma\u201d [member]"
       }
      }
     },
     "localname": "LoyaltyProgramTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MajorBorrowingsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Major borrowings\" of the reporting entity.",
        "label": "Major borrowings [member]",
        "terseLabel": "Major borrowings [member]"
       }
      }
     },
     "localname": "MajorBorrowingsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MataripeBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Mataripe base.",
        "label": "Mataripe Base [member]",
        "terseLabel": "Mataripe Base [member]"
       }
      }
     },
     "localname": "MataripeBaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityEightMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity eight.",
        "label": "Maturity Eight [Member]",
        "terseLabel": "Sep/2028"
       }
      }
     },
     "localname": "MaturityEightMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityElevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity Eleven.",
        "label": "Maturity Eleven [Member]",
        "terseLabel": "Jun/2032"
       }
      }
     },
     "localname": "MaturityElevenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity five.",
        "label": "Maturity Five [Member]",
        "terseLabel": "Nov/2024"
       }
      }
     },
     "localname": "MaturityFiveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity four.",
        "label": "Maturity Four [Member]",
        "terseLabel": "Oct/2024"
       }
      }
     },
     "localname": "MaturityFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityNineMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity nine.",
        "label": "Maturity Nine [Member]",
        "terseLabel": "Jun/2030"
       }
      }
     },
     "localname": "MaturityNineMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityOfForeignExchangeHedgingInstruments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Maturity of foreign exchange hedging instruments.",
        "label": "Maturity Of Foreign Exchange Hedging Instruments",
        "terseLabel": "Maturity of foreign exchange hedging instruments"
       }
      }
     },
     "localname": "MaturityOfForeignExchangeHedgingInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_MaturityOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity one.",
        "label": "Maturity One [Member]",
        "terseLabel": "Mar/2023"
       }
      }
     },
     "localname": "MaturityOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturitySevenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity seven.",
        "label": "Maturity Seven [Member]",
        "terseLabel": "Maturity in May 2022 [member]",
        "verboseLabel": "Mar/2028"
       }
      }
     },
     "localname": "MaturitySevenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturitySixMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity six.",
        "label": "Maturity Six [Member]",
        "terseLabel": "Maturity in May 2021 [member]",
        "verboseLabel": "Dec/2025"
       }
      }
     },
     "localname": "MaturitySixMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityTenMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity ten.",
        "label": "Maturity Ten [Member]",
        "terseLabel": "Jun/2031"
       }
      }
     },
     "localname": "MaturityTenMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity three.",
        "label": "Maturity Three [Member]",
        "terseLabel": "Apr/2024"
       }
      }
     },
     "localname": "MaturityThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaturityTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to maturity two.",
        "label": "Maturity Two [Member]",
        "terseLabel": "Dec/2023"
       }
      }
     },
     "localname": "MaturityTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofLoanMaturityDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MaximumAggregateTenderAmount": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of maximum aggregate tender value.",
        "label": "Maximum aggregate tender amount",
        "terseLabel": "Maximum aggregate tender amount"
       }
      }
     },
     "localname": "MaximumAggregateTenderAmount",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_MaximumAggregateTenderAmountAvailableForIncrease": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of maximum aggregate tender value available for increase by the reporting entity.",
        "label": "Maximum aggregate tender amount available for increase",
        "terseLabel": "Maximum aggregate tender amount available for increase"
       }
      }
     },
     "localname": "MaximumAggregateTenderAmountAvailableForIncrease",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum percentage of employer's matching contributions to a defined contribution plan that vests in a given year.",
        "label": "Maximum matching contribution in proportion to employee gross salary percentage",
        "terseLabel": "Maximum matching contribution percentage"
       }
      }
     },
     "localname": "MaximumMatchingContributionInProportionToEmployeeGrossSalaryPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_MaximumNumberOfSharesAvailableForIssueSubscriptionWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of shares available for issue for subscription warrants.",
        "label": "Maximum number of shares available for issue subscription warrants",
        "terseLabel": "Maximum number of shares available for issue - subscription warrants"
       }
      }
     },
     "localname": "MaximumNumberOfSharesAvailableForIssueSubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_MaximumNumberOfSharesToBeIssuedSubscriptionWarrants": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum number of shares to be issued for subscription warrants.",
        "label": "Maximum number of shares to be issued - subscription warrants",
        "terseLabel": "Maximum number of shares to be issued - subscription warrants"
       }
      }
     },
     "localname": "MaximumNumberOfSharesToBeIssuedSubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum percentage of identified risk to cover by derivative financial instruments.",
        "label": "Maximum percentage of identified risk to cover by derivative financial instruments",
        "terseLabel": "Maximum percentage of identified risk to cover by derivative financial instruments"
       }
      }
     },
     "localname": "MaximumPercentageOfIdentifiedRiskToCoverByDerivativeFinancialInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_MaximumPotentialAmountOfFuturePaymentsOnGuarantees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maximum potential amount of future payments on guarantee liabilities.",
        "label": "Maximum potential amount of future payments on Guarantees",
        "verboseLabel": "Maximum amount of future payments related to these collaterals"
       }
      }
     },
     "localname": "MaximumPotentialAmountOfFuturePaymentsOnGuarantees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_MerchandisingIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating income arising from merchandising activities of the reporting entity.",
        "label": "Merchandising Income",
        "terseLabel": "Merchandising"
       }
      }
     },
     "localname": "MerchandisingIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_MetalurgicaPlusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Metal\u00fargica Plus S.A.",
        "label": "Metalurgica plus [member]",
        "terseLabel": "Metalurgica plus [member]"
       }
      }
     },
     "localname": "MetalurgicaPlusMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MillenniumMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Millennium.",
        "label": "Millennium [Member]",
        "terseLabel": "Millennium [member]"
       }
      }
     },
     "localname": "MillenniumMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_MinimumAnnualPurchaseOfCamacari": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of minimum annual purchase commitment per year of Camacari.",
        "label": "Minimum Annual Purchase Of Camacari"
       }
      }
     },
     "localname": "MinimumAnnualPurchaseOfCamacari",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsMinimumAnnualPurchasesDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_MinimumAnnualPurchaseOfMaua": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of minimum annual purchase commitment per year of Maua.",
        "label": "Minimum Annual Purchase Of Maua"
       }
      }
     },
     "localname": "MinimumAnnualPurchaseOfMaua",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsMinimumAnnualPurchasesDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_MinimumAnnualPurchasesTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of minimum annual purchase commitments.",
        "label": "Minimum Annual Purchases [Text Block]",
        "terseLabel": "Minimum annual purchases"
       }
      }
     },
     "localname": "MinimumAnnualPurchasesTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_MinimumCargoMovementPerYear": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of minimum cargo movement commitment in tons per years.",
        "label": "Minimum cargo movement per year",
        "terseLabel": "Minimum movement in tons per years"
       }
      }
     },
     "localname": "MinimumCargoMovementPerYear",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_MinimumLeasePeriodOfPortConcession": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The minimum lease period of port concession according to the auction notice.",
        "label": "Minimum Lease Period of Port Concession",
        "terseLabel": "Minimum lease period of port concession"
       }
      }
     },
     "localname": "MinimumLeasePeriodOfPortConcession",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_MinimumMandatoryDividends": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_DividendsRecognisedAsDistributionsToOwnersOfParentRelatingToCurrentYear",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Minimum mandatory amount recognised as distributions to owners during the period.",
        "label": "Minimum mandatory dividends",
        "positiveLabel": "Minimum mandatory dividends for the year (25% of the adjusted net income)",
        "terseLabel": "Minimum mandatory dividends for the year (25% of the adjusted net income)",
        "verboseLabel": "Minimum mandatory dividends for the year (50% of the adjusted net income)"
       }
      }
     },
     "localname": "MinimumMandatoryDividends",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_MinimumMandatoryDividendsAsPercentageOfNetIncome": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of net income allocated to minimum mandatory dividends.",
        "label": "Minimum mandatory dividends as percentage of net income",
        "terseLabel": "Complementary minimum mandatory dividends as percentage of net income",
        "verboseLabel": "Statutory reserve as percentage of net income"
       }
      }
     },
     "localname": "MinimumMandatoryDividendsAsPercentageOfNetIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityDividendsAndAllocationOfNetIncomeParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_MinimumPortStorageCapacity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The measurement of minimum port storage capacity.",
        "label": "Minimum Port Storage Capacity",
        "terseLabel": "Minimum port storage capacity"
       }
      }
     },
     "localname": "MinimumPortStorageCapacity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "volumeItemType"
    },
    "ugp_NavegantesLogsticaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Navegantes Log\u00edstica.",
        "label": "Navegantes Logstica [Member]",
        "terseLabel": "Navegantes Log\u00edstica [member]",
        "verboseLabel": "Navegantes Log\u00edstica Portu\u00e1ria S.A [member]"
       }
      }
     },
     "localname": "NavegantesLogsticaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NdfMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to NDF derivative.",
        "label": "NDF [Member]",
        "terseLabel": "NDF [member]"
       }
      }
     },
     "localname": "NdfMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NdfOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to NDF derivative.",
        "label": "NDF One [Member]",
        "terseLabel": "NDF one [member]"
       }
      }
     },
     "localname": "NdfOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NeogasGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for transactions or other events in which an acquirer obtains control of \"NEOg\u00e1s do Brasil G\u00e1s Natural Comprimido S.A. (\u201cNEOg\u00e1s\u201d)\".",
        "label": "NEOgas Group [Member]",
        "terseLabel": "NEOg\u00e1s do Brasil G\u00e1s Natural Comprimido S.A. (\"NEOg\u00e1s\") [member]"
       }
      }
     },
     "localname": "NeogasGroupMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NetAssetLiabilityPositionEffectStatementIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsAssetsandliabilitiesinforeigncurrenciesDetailCalc2": {
       "order": 0.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Net (liability) asset position - effect on statement of income.",
        "label": "Net (liability) asset position - effect on statement of income",
        "terseLabel": "Net (liability) asset position - effect on statement of income"
       }
      }
     },
     "localname": "NetAssetLiabilityPositionEffectStatementIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetAssetLiabilityPositionShareholdersEffectEquity": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsAssetsandliabilitiesinforeigncurrenciesDetailCalc2": {
       "order": 1.0,
       "parentTag": "ugp_NetAssetLiabilityPositionTotal",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net asset (liability) position - Shareholders' equity effect.",
        "label": "Net asset liability position shareholders equity effect",
        "terseLabel": "Net liability position - effect on equity in subsidiaries held for sale"
       }
      }
     },
     "localname": "NetAssetLiabilityPositionShareholdersEffectEquity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetAssetLiabilityPositionTotal": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsAssetsandliabilitiesinforeigncurrenciesDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total net asset (liability) position.",
        "label": "Net asset liability position total",
        "negatedLabel": "Net liability position",
        "totalLabel": "Net liability position \u2013 total"
       }
      }
     },
     "localname": "NetAssetLiabilityPositionTotal",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetAssetsLiabilitiesPositionExposedToFloatingInterestRates": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total net asset (liability) position exposed to floating interest.",
        "label": "Net Assets Liabilities Position Exposed to Floating Interest Rates",
        "terseLabel": "Net liability position"
       }
      }
     },
     "localname": "NetAssetsLiabilitiesPositionExposedToFloatingInterestRates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetFinancialIncomeAndIncomeAndSocialContributionTaxes": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net financial income and income and social contribution taxes.",
        "label": "Net Financial income and income and social contribution taxes",
        "terseLabel": "Finance income (costs), income and social contribution taxes",
        "verboseLabel": "Net finance income and income and social contribution taxes"
       }
      }
     },
     "localname": "NetFinancialIncomeAndIncomeAndSocialContributionTaxes",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetInvestmentHedgedItemAssets": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstruments",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of a net investment hedged item, recognised as an asset.",
        "label": "Net Investment Hedged Item, Assets",
        "terseLabel": "Net Investment Hedge"
       }
      }
     },
     "localname": "NetInvestmentHedgedItemAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetInvestmentHedgedItemLiabilities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ReserveOfGainsAndLossesOnHedgingInstrumentsThatHedgeInvestmentsInEquityInstruments",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of a net investment hedged item, recognised as a liability.",
        "label": "Net Investment Hedged Item, Liabilities",
        "negatedLabel": "Debts"
       }
      }
     },
     "localname": "NetInvestmentHedgedItemLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NetRealizableValueAdjustment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Net realizable value adjustment on the value of inventories.",
        "label": "Net realizable value adjustment",
        "terseLabel": "Net realizable value adjustment"
       }
      }
     },
     "localname": "NetRealizableValueAdjustment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownOfProvisionForLossesRelatedToInventoriesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NewAccountingPoliciesChangesInAccountingPoliciesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Disclosure of New accounting policies and changes in accounting policies [Abstract]"
       }
      }
     },
     "localname": "NewAccountingPoliciesChangesInAccountingPoliciesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "stringItemType"
    },
    "ugp_NonCashContingentConsiderationInBusinessCombination": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of contingent consideration assumed in noncash related to the business combination.",
        "label": "Non Cash Contingent Consideration in Business Combination",
        "terseLabel": "Contingent consideration \u2013 subsidiaries purchase"
       }
      }
     },
     "localname": "NonCashContingentConsiderationInBusinessCombination",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCashContributionsOfNonControllingInterests": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of contributions received from non-controlling interests in noncash investing or financing activities.",
        "label": "Non Cash Contributions of Non Controlling Interests",
        "terseLabel": "Capital increase performed by non-controlling interests"
       }
      }
     },
     "localname": "NonCashContributionsOfNonControllingInterests",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCashMovementOfEscrowDepositsAndProvisionForTaxCivilAndLaborRisks": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The fair value of movement of escrow deposits and provision for tax, civil and labor risks in noncash investing or financing activities.",
        "label": "Non Cash Movement of Escrow Deposits and Provision for Tax, Civil and Labor Risks",
        "terseLabel": "Movement without cash effect of escrow deposits and provision for tax, civil and labor risks"
       }
      }
     },
     "localname": "NonCashMovementOfEscrowDepositsAndProvisionForTaxCivilAndLaborRisks",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCashTransactionsAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Non Cash Transactions [Abstract]",
        "terseLabel": "Transactions without cash effect:",
        "verboseLabel": "Non-cash transactions:"
       }
      }
     },
     "localname": "NonCashTransactionsAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_NonConstitutedDeferredTaxesRelatedToIncomeTaxLossCarryforwardsAndNegativeBasisOfSocialContributionBase": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount before allocation of valuation allowances of deferred tax assets which are not attributable to deductible tax losses and negative basis for social contribution carryforwards.",
        "label": "Non Constituted Deferred Taxes Related to Income Tax Loss Carryforwards and Negative Basis of Social Contribution Base",
        "terseLabel": "Tax losses and negative basis for social contribution carryforwards not constituted"
       }
      }
     },
     "localname": "NonConstitutedDeferredTaxesRelatedToIncomeTaxLossCarryforwardsAndNegativeBasisOfSocialContributionBase",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentAssetsOtherThanInvestmentsTangibleIntangibleAndRightOfUseAssets": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current assets other than investments, tangible, intangible and right-of-use assets.",
        "label": "Non-current assets other than investments, tangible, intangible and right-of-use assets",
        "totalLabel": "Total non-current assets other than investments, tangible, intangible &amp; right-of-use assets"
       }
      }
     },
     "localname": "NonCurrentAssetsOtherThanInvestmentsTangibleIntangibleAndRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentFinancialLiabilitiesOfCustomers": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 8.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current financial liabilities of customers",
        "label": "Non-current financial liabilities of customer",
        "terseLabel": "Financial liabilities of customers"
       }
      }
     },
     "localname": "NonCurrentFinancialLiabilitiesOfCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentIndemnificationForSubscriptionWarrants": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 9.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current indemnification for subscription warrants.",
        "label": "Non Current Indemnification For Subscription Warrants",
        "terseLabel": "Subscription warrants \u2013 indemnification"
       }
      }
     },
     "localname": "NonCurrentIndemnificationForSubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The aggregate amount of non-current investments.",
        "label": "Non Current Investments",
        "terseLabel": "Investments",
        "totalLabel": "Total investments"
       }
      }
     },
     "localname": "NonCurrentInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentProvisionForAssetRetirementObligation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 5.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current provision for asset retirement obligation.",
        "label": "Non Current Provision for Asset Retirement Obligation",
        "terseLabel": "Provision for asset retirement obligation"
       }
      }
     },
     "localname": "NonCurrentProvisionForAssetRetirementObligation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentProvisionForShortTermLiabilitiesOfJointVenture": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current provision for short-term liabilities of joint venture.",
        "label": "Non Current Provision for Short Term Liabilities of Joint Venture",
        "periodEndLabel": "Balance as of December 31, 2020",
        "periodStartLabel": "Ending balance",
        "terseLabel": "Provision for liabilities of joint ventures"
       }
      }
     },
     "localname": "NonCurrentProvisionForShortTermLiabilitiesOfJointVenture",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryofprovisionforshorttermliabilitiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentProvisionForUnsecuredLiabilitiesOfJointVenturesAndAssociates": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 10.0,
       "parentTag": "ifrs-full_NoncurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current provision for unsecured liabilities of joint ventures and associates.",
        "label": "Non Current Provision for Unsecured Liabilities of Joint Ventures and Associates",
        "terseLabel": "Provision for unsecured liabilities of joint ventures and associates"
       }
      }
     },
     "localname": "NonCurrentProvisionForUnsecuredLiabilitiesOfJointVenturesAndAssociates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentReceivablesFromSaleOfInvestments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 3.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current receivables arising from the sale of investments.",
        "label": "Non Current Receivables From Sale of Investments",
        "terseLabel": "Non-current",
        "verboseLabel": "Trade receivables - sale of subsidiaries"
       }
      }
     },
     "localname": "NonCurrentReceivablesFromSaleOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonCurrentResellerFinancing": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 2.0,
       "parentTag": "ifrs-full_NoncurrentAssets",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail": {
       "order": 1.0,
       "parentTag": "ugp_ResellerFinancing",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of non-current reseller financing.",
        "label": "Non-current reseller financing",
        "terseLabel": "Non-current",
        "verboseLabel": "Reseller financing"
       }
      }
     },
     "localname": "NonCurrentResellerFinancing",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NonDerivativeFinancialInstrumentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to non-derivative Financial Instruments.",
        "label": "Non Derivative Financial Instruments [Member]",
        "terseLabel": "Non-derivative financial instruments [member]"
       }
      }
     },
     "localname": "NonDerivativeFinancialInstrumentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NoncontrollingShareholdersInterestChangeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a component of equity resulting from non-controlling shareholders interest change.",
        "label": "Noncontrolling Shareholders Interest Change [Member]",
        "terseLabel": "Non-controlling shareholders interest change [member]"
       }
      }
     },
     "localname": "NoncontrollingShareholdersInterestChangeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NoncurrentDebt": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandhedgederivativefinancialinstrumentsSummaryofCompostionofloansDetailCalc2": {
       "order": 1.0,
       "parentTag": "ugp_LoanDebt",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Disclosure of further information and subclassifications of Loans, classified in a manner appropriate to the entity's policies and operations.",
        "label": "Noncurrent Debt",
        "terseLabel": "Long term debt",
        "verboseLabel": "Non-current"
       }
      }
     },
     "localname": "NoncurrentDebt",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_NordesteLogsticaIIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Nordeste Log\u00edstica III.",
        "label": "Nordeste Logstica III [Member]",
        "terseLabel": "Nordeste Log\u00edstica III [Member]",
        "verboseLabel": "Nordeste Log\u00edstica III S.A. [member]"
       }
      }
     },
     "localname": "NordesteLogsticaIIIMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NordesteLogsticaIIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Nordeste Log\u00edstica II.",
        "label": "Nordeste Logstica II [Member]",
        "terseLabel": "Nordeste Log\u00edstica II [Member]",
        "verboseLabel": "Nordeste Log\u00edstica II S.A. [member]"
       }
      }
     },
     "localname": "NordesteLogsticaIIMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NordesteLogsticaIMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Nordeste Log\u00edstica I.",
        "label": "Nordeste Logstica I [Member]",
        "terseLabel": "Nordeste Log\u00edstica I [Member]",
        "verboseLabel": "Nordeste Log\u00edstica I S.A. [member]"
       }
      }
     },
     "localname": "NordesteLogsticaIMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NotLaterThanFiveYearsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a time band of not later than five years.",
        "label": "Not Later Than Five Years [Member]",
        "terseLabel": "From 1 to 5 years"
       }
      }
     },
     "localname": "NotLaterThanFiveYearsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofweightedaveragediscountratesfortheleasepayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NotesDue2026Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to notes due in 2026.",
        "label": "Senior Notes due in 2026 (\u201cNotes 2026\u201d)",
        "terseLabel": "Notes due 2026 [Member]"
       }
      }
     },
     "localname": "NotesDue2026Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NotesDue2029Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to notes due in 2029.",
        "label": "Notes due 2029 [Member]",
        "terseLabel": "Senior Notes due in 2029 (\u201cNotes 2029\u201d)"
       }
      }
     },
     "localname": "NotesDue2029Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NotesInForeignMarketMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to notes in foreign market.",
        "label": "Notes in foreign market [member]",
        "terseLabel": "Notes in the foreign market [member]"
       }
      }
     },
     "localname": "NotesInForeignMarketMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge related to notes in foreign market.",
        "label": "Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge related to notes in foreign market",
        "terseLabel": "Notional amount of foreign exchange hedging instruments for highly probable future transactions designated as cash flow hedge, related to notes in the foreign market"
       }
      }
     },
     "localname": "NotionalAmountOfForeignExchangeHedgingInstrumentsForHighlyProbableFutureTransactionsDesignatedAsCashFlowHedgeRelatedToNotesInForeignMarket",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_NovaParanaDistribuidoraDeGasLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Nova Paran\u00e1 Distribuidora de G\u00e1s Ltda.",
        "label": "Nova Parana Distribuidora de Gas Ltda [Member]",
        "terseLabel": "Nova Paran\u00e1 Distribuidora de G\u00e1s Ltda. [member]"
       }
      }
     },
     "localname": "NovaParanaDistribuidoraDeGasLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_NumberOfActiveParticipatingEmployees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of active participating employees to a defined contribution plan.",
        "label": "Number of active participating employees",
        "terseLabel": "Number of active participating employees"
       }
      }
     },
     "localname": "NumberOfActiveParticipatingEmployees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfBasicBaskets": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of basic baskets.",
        "label": "Number of Basic Baskets",
        "terseLabel": "Number of basic baskets"
       }
      }
     },
     "localname": "NumberOfBasicBaskets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of customers which reporting entity generate revenue from product or services.",
        "label": "Number of customers",
        "terseLabel": "Number of customers"
       }
      }
     },
     "localname": "NumberOfCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfCustomersAccountedForMoreThanTenPercentOfRevenue": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of customers accounted for more than ten percent of revenue of the reporting entity.",
        "label": "Number of customers accounted for more than ten percent of revenue",
        "terseLabel": "Number of customer or group accounts for more than 10% of total revenue"
       }
      }
     },
     "localname": "NumberOfCustomersAccountedForMoreThanTenPercentOfRevenue",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ugp_NumberOfDebentureSeriesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of debenture series issued in public market during period.",
        "label": "Number of Debenture Series Issued",
        "terseLabel": "Number of debenture series"
       }
      }
     },
     "localname": "NumberOfDebentureSeriesIssued",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfDebenturesDistributedThroughPublicOffer": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of debentures distributed through public offer.",
        "label": "Number of debentures distributed through public offer",
        "terseLabel": "Simple nominative nonconvertible unsecured registered debentures"
       }
      }
     },
     "localname": "NumberOfDebenturesDistributedThroughPublicOffer",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "decimalItemType"
    },
    "ugp_NumberOfDebenturesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of debentures issued.",
        "label": "Number of debentures issued",
        "terseLabel": "Second series simple nominative nonconvertible unsecured registered debentures"
       }
      }
     },
     "localname": "NumberOfDebenturesIssued",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfDebtInstrumentsIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of debt instruments issued in public market during period.",
        "label": "Number of Debt Instruments Issued",
        "terseLabel": "Number of debt instruments issued"
       }
      }
     },
     "localname": "NumberOfDebtInstrumentsIssued",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfDrugstoresUnderRentalContracts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Number of drugstores under rental contracts.",
        "label": "Number of drugstores under rental contracts",
        "terseLabel": "Number of drugstores under rental contracts"
       }
      }
     },
     "localname": "NumberOfDrugstoresUnderRentalContracts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfFinesReceived": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of fines received for contingent liabilities for civil, environmental and regulatory claims.",
        "label": "Number of Fines Received",
        "terseLabel": "Number of fines received"
       }
      }
     },
     "localname": "NumberOfFinesReceived",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfFormerEmployeesReceivingBenefits": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of former employees receiving benefits to a defined contribution plan.",
        "label": "Number of former employees receiving benefits",
        "terseLabel": "Number of former employees receiving benefits"
       }
      }
     },
     "localname": "NumberOfFormerEmployeesReceivingBenefits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfInstallmentsInDisposalGroupTransaction": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of installments in disposal group transaction during period.",
        "label": "Number of installments in disposal group transaction",
        "terseLabel": "Number of installments in disposal group transaction"
       }
      }
     },
     "localname": "NumberOfInstallmentsInDisposalGroupTransaction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfInstrumentsOtherEquityInstrumentsCancellationOfPerformanceSharesDueToTerminationOfExecutiveEmploymen": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of instruments other equity instruments cancellation of performance shares during the period.",
        "label": "Number Of Instruments Other Equity Instruments Cancellation Of Performance Shares Due To Termination Of Executive Employment",
        "negatedLabel": "Cancellation of performance shares"
       }
      }
     },
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsCancellationOfPerformanceSharesDueToTerminationOfExecutiveEmploymen",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfInstrumentsOtherEquityInstrumentsPerformanceSharesDueToTerminationOfExecutiveEmployment": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of instruments other equity instruments cancellation of performance shares during the period.",
        "label": "Number of Instruments Other Equity Instruments Cancellation of Performance Shares Due to Termination of Executive Employment",
        "negatedLabel": "Performance shares"
       }
      }
     },
     "localname": "NumberOfInstrumentsOtherEquityInstrumentsPerformanceSharesDueToTerminationOfExecutiveEmployment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfLawsuitsFiledForCivilEnvironmentalAndRegulatoryClaims": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of lawsuits filed for civil, environmental and regulatory claims for contingent liabilities.",
        "label": "Number of lawsuits filed for civil, environmental and regulatory claims",
        "terseLabel": "Number of lawsuits for civil, environmental and regulatory claims"
       }
      }
     },
     "localname": "NumberOfLawsuitsFiledForCivilEnvironmentalAndRegulatoryClaims",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfLawsuitsFiledForLaborMatters": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of lawsuits filed for labor matters for contingent liabilities.",
        "label": "Number of lawsuits filed for labor matters",
        "terseLabel": "Number of lawsuits for labor matters"
       }
      }
     },
     "localname": "NumberOfLawsuitsFiledForLaborMatters",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfMinimumActiveCustomersInWhichAcquireeEntityOfferedEnergySolutions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of minimum active customers in which acquiree entity offered energy solutions as of acquisition date.",
        "label": "Number of minimum active customers in which acquiree entity offered energy solutions",
        "terseLabel": "Number of minimum active customers in which acquiree entity offered energy solutions"
       }
      }
     },
     "localname": "NumberOfMinimumActiveCustomersInWhichAcquireeEntityOfferedEnergySolutions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of monthly installments as a contractual term for financial liabilities of customers.",
        "label": "Number of monthly installments for financial liabilities of customers",
        "terseLabel": "Average term of maturity of financial liabilities of customers"
       }
      }
     },
     "localname": "NumberOfMonthlyInstallmentsForFinancialLiabilitiesOfCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfOtherEquityInstrumentsReclassifiedFromHeldForSaleInShareBasedPaymentArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) reclassified from held for sale in a share-based payment arrangement.",
        "label": "Number of other equity instruments reclassified from held for sale in share-based payment arrangement",
        "terseLabel": "Reclassification from assets held for sale"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsReclassifiedFromHeldForSaleInShareBasedPaymentArrangement",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfOtherEquityInstrumentsReclassifiedToHeldForSaleInShareBasedPaymentArrangement": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of other equity instruments (ie other than share options) reclassified to held for sale in a share-based payment arrangement.",
        "label": "Number of other equity instruments reclassified to held for sale in share-based payment arrangement",
        "negatedLabel": "Reclassification to assets held for sale",
        "terseLabel": "Reclassification to assets held for sale"
       }
      }
     },
     "localname": "NumberOfOtherEquityInstrumentsReclassifiedToHeldForSaleInShareBasedPaymentArrangement",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfPortConcessions": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of port concessions according to the auction notice.",
        "label": "Number of Port Concessions",
        "terseLabel": "Number of Port concessions"
       }
      }
     },
     "localname": "NumberOfPortConcessions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfPortTerminals": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of port terminals.",
        "label": "Number of Port Terminals",
        "terseLabel": "Number of port terminals"
       }
      }
     },
     "localname": "NumberOfPortTerminals",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfRemainingInstallments": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of remaining installments.",
        "label": "Number of remaining installments",
        "terseLabel": "Number of remaining installments"
       }
      }
     },
     "localname": "NumberOfRemainingInstallments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfRetiredParticipatingEmployees": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of retired participating employees to a defined contribution plan.",
        "label": "Number of retired participating employees",
        "terseLabel": "Number of retired participating employees"
       }
      }
     },
     "localname": "NumberOfRetiredParticipatingEmployees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfShareholdersExercisedPreemptiveRight": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shareholders exercised preemptive right during period.",
        "label": "Number of shareholders exercised preemptive right",
        "terseLabel": "Number of shareholders exercised preemptive right"
       }
      }
     },
     "localname": "NumberOfShareholdersExercisedPreemptiveRight",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfSharesCanceledAndNotIssuedWhichLinkedToSubscriptionWarrantsIndemnification": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares were canceled and not issued which are linked to subscription warrants \u2013 indemnification according to association agreement.",
        "label": "Number of Shares Canceled and not Issued which Linked to Subscription Warrants Indemnification",
        "terseLabel": "Number of shares canceled and not issued which linked to subscription warrants \u2013 indemnification"
       }
      }
     },
     "localname": "NumberOfSharesCanceledAndNotIssuedWhichLinkedToSubscriptionWarrantsIndemnification",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfSharesOrUnitsHeld": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares or units held by the reporting entity.",
        "label": "Number of shares or units held",
        "terseLabel": "Number of shares or units held"
       }
      }
     },
     "localname": "NumberOfSharesOrUnitsHeld",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfSharesOutstandingAbroadInFormOfAmericanDepositaryReceipts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares outstanding abroad in the form of American Depositary Receipts (\"ADRs\").",
        "label": "Number of Shares Outstanding Abroad in Form of American Depositary Receipts",
        "terseLabel": "Common shares outstanding"
       }
      }
     },
     "localname": "NumberOfSharesOutstandingAbroadInFormOfAmericanDepositaryReceipts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfStatesInWhichAcquireeEntityOperates": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of countries in which an acquiree entity operates as of acquisition date.",
        "label": "Number of states in which acquiree entity operates",
        "terseLabel": "Number of states in which acquiree entity operates"
       }
      }
     },
     "localname": "NumberOfStatesInWhichAcquireeEntityOperates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfStores1": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of stores.",
        "label": "Number Of Stores1",
        "terseLabel": "Number of stores"
       }
      }
     },
     "localname": "NumberOfStores1",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfStoresWhichHaveNotYetMetPerformanceRequirements": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of stores which have not yet been met performance requirements.",
        "label": "Number of Stores Which Have Not Yet Met Performance Requirements",
        "terseLabel": "Number of stores which have not yet met performance requirements"
       }
      }
     },
     "localname": "NumberOfStoresWhichHaveNotYetMetPerformanceRequirements",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail"
     ],
     "xbrltype": "integerItemType"
    },
    "ugp_NumberOfTreasurySharesGrantedWithRightOfUse": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of treasury shares granted with right of use at end of the reporting period.",
        "label": "Number of treasury shares granted with right of use",
        "terseLabel": "Balance of treasury shares granted with right of use (see note 25.b)",
        "verboseLabel": "Balance of treasury shares granted with right of use"
       }
      }
     },
     "localname": "NumberOfTreasurySharesGrantedWithRightOfUse",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_NumberOfTreasurySharesOutstanding": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of previously issued shares repurchased by the issuing entity and held in treasury.",
        "label": "Number of treasury shares outstanding",
        "terseLabel": "Total balance of treasury shares as of December 31, 2022"
       }
      }
     },
     "localname": "NumberOfTreasurySharesOutstanding",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceoftreasurysharesDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_ObsolescenceAndOtherLosses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Obsolescence and other losses on the value of inventories.",
        "label": "Obsolescence and other losses",
        "terseLabel": "Obsolescence and other losses"
       }
      }
     },
     "localname": "ObsolescenceAndOtherLosses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownOfProvisionForLossesRelatedToInventoriesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OffsetClaimsAndCreditDisallowances": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of offset claims and credit disallowances.",
        "label": "Offset claims and credit disallowances",
        "terseLabel": "Offset claims and credit dis-allowances"
       }
      }
     },
     "localname": "OffsetClaimsAndCreditDisallowances",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OffshoreMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Offshore.",
        "label": "Offshore [Member]",
        "terseLabel": "Offshore [member]"
       }
      }
     },
     "localname": "OffshoreMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OilTradingImportadoraExportadoraLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oil Trading Importadora e Exportadora Ltda.",
        "label": "Oil Trading Importadora Exportadora Ltda [Member]",
        "terseLabel": "Oil Trading Importadora e Exportadora Ltda [member]"
       }
      }
     },
     "localname": "OilTradingImportadoraExportadoraLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oleoqu\u00edmica Ind\u00fastria e Com\u00e9rcio de Produtos Qu\u00edmicos Ltda.",
        "label": "Oleoqumica Industriae Comrcio De Produtos Qumicos Ltda [member]",
        "terseLabel": "Oleoqu\u00edmica Industriae Com\u00e9rcio De Produtos Qu\u00edmicos Ltda [member]"
       }
      }
     },
     "localname": "OleoqumicaIndustriaeComrcioDeProdutosQumicosLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OnshoreMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Onshore.",
        "label": "Onshore [Member]",
        "terseLabel": "Onshore [member]"
       }
      }
     },
     "localname": "OnshoreMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ifrs-full_ProfitLossBeforeTax",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating income before financial income (expenses) and income and social contribution taxes.",
        "label": "Operating income before financial income (expenses) and income and social contribution taxes",
        "terseLabel": "Income (loss) before financial result and income and social contribution taxes",
        "totalLabel": "Income (loss) before finance result and income and social contribution taxes"
       }
      }
     },
     "localname": "OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/Consolidatedstatementofincome": {
       "order": 0.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndIncomeAndSocialContributionTaxes",
       "weight": 1.0
      },
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Total of Operating income before financial income or expenses and share of profit or loss of joint ventures and associate.",
        "label": "Operating income before financial income (expenses) and share of profit (loss) of joint ventures and associates",
        "terseLabel": "Operating income (loss)",
        "totalLabel": "Operating income (loss)"
       }
      }
     },
     "localname": "OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OperatingIncomeExpensesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Operating Income Expenses [abstract]",
        "label": "Operating Income Expenses [abstract]",
        "terseLabel": "Operating income (expenses)"
       }
      }
     },
     "localname": "OperatingIncomeExpensesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/Consolidatedstatementofincome",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_OperationSalePriceOfSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operation sale price of subsidiary.",
        "label": "Operation sale price of subsidiary",
        "terseLabel": "Operation sale price"
       }
      }
     },
     "localname": "OperationSalePriceOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OplaLogisticaAvancadaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Opla Log\u00edstica Avan\u00e7ada (\u201cOpla\u201d)\".",
        "label": "Opla Logistica Avancada [Member]",
        "terseLabel": "Opla Log\u00edstica Avan\u00e7ada (\u201cOpla\u201d) [member]"
       }
      }
     },
     "localname": "OplaLogisticaAvancadaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherAssetsIncludingVehiclesAndEquipmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to other assets including vehicles and equipment.",
        "label": "Other assets including vehicles and equipment [member]",
        "terseLabel": "Other assets including vehicles and equipment [member]"
       }
      }
     },
     "localname": "OtherAssetsIncludingVehiclesAndEquipmentMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherComprehensiveIncomeNetOfTaxActuarialGainLossesOfPostEmploymentBenefitsAttributableToJointVentures": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 4.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to actuarial gain (losses) of post-employment benefits of joint ventures.",
        "label": "Other Comprehensive Income, Net of Tax Actuarial Gain (Losses) of Post Employment Benefits Attributable to Joint Ventures",
        "negatedLabel": "Actuarial gain of post-employment benefits of joint ventures, net of taxes",
        "negatedTerseLabel": "Joint ventures"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxActuarialGainLossesOfPostEmploymentBenefitsAttributableToJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherComprehensiveIncomeNetOfTaxActuarialGainLossesOfPostEmploymentBenefitsAttributableToSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 3.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to actuarial gain (losses) of post-employment benefits of subsidiaries.",
        "label": "Other Comprehensive Income, Net of Tax Actuarial Gain (Losses) of Post Employment Benefits Attributable to Subsidiaries",
        "terseLabel": "Subsidiaries",
        "verboseLabel": "Actuarial gain (losses) of post-employment benefits of subsidiaries, net of taxes"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxActuarialGainLossesOfPostEmploymentBenefitsAttributableToSubsidiaries",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherComprehensiveIncomeNetOfTaxFairValueAdjustmentsOfFinancialInstrumentsAttributableToJointVentures": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 2.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to fair value adjustments of financial instruments of joint ventures.",
        "label": "Other Comprehensive Income, Net of Tax Fair Value Adjustments of Financial Instruments Attributable to Joint Ventures",
        "negatedLabel": "Fair value adjustments of financial instruments of joint ventures, net of taxes",
        "negatedTerseLabel": "Joint ventures"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxFairValueAdjustmentsOfFinancialInstrumentsAttributableToJointVentures",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherComprehensiveIncomeNetOfTaxFairValueAdjustmentsOfFinancialInstrumentsAttributableToSubsidiaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome": {
       "order": 1.0,
       "parentTag": "ifrs-full_ComprehensiveIncome",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other comprehensive income, net of tax, related to fair value adjustments of financial instruments of subsidiaries.",
        "label": "Other Comprehensive Income, Net of Tax Fair Value Adjustments of Financial Instruments Attributable to Subsidiaries",
        "negatedLabel": "Fair value adjustments of financial instruments of subsidiaries, net of taxes",
        "negatedTerseLabel": "Subsidiaries"
       }
      }
     },
     "localname": "OtherComprehensiveIncomeNetOfTaxFairValueAdjustmentsOfFinancialInstrumentsAttributableToSubsidiaries",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofComprehensiveIncome"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherExternalCreditGradesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for credit grades that have been provided by other external rating agencies.",
        "label": "Other external credit grades [Member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherExternalCreditGradesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofcreditriskoffinancialinstitutionandgovernmentofcashcashequivalentsandfinancialinvestmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherInvestmentMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cOther investments\u201d.",
        "label": "Other investment [member]",
        "terseLabel": "Other investments [member]"
       }
      }
     },
     "localname": "OtherInvestmentMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherLatinAmericanCountriesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to a geographical region of \"Other Latin American countries\".",
        "label": "Other Latin American Countries [member]",
        "terseLabel": "Other Latin American countries [member]"
       }
      }
     },
     "localname": "OtherLatinAmericanCountriesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherNetAssetsOfForeignSubsidiariesInForeignCurrencyExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 3.0,
       "parentTag": "ugp_AssetsInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other net assets of foreign subsidiaries in foreign currency but excluding cash, cash equivalents, financial investments, trade receivables, financing and payables.",
        "label": "Other net assets of foreign subsidiaries in foreign currency except cash, cash equivalents, financial investments, trade receivables, financing and payables",
        "terseLabel": "Other assets of foreign subsidiaries"
       }
      }
     },
     "localname": "OtherNetAssetsOfForeignSubsidiariesInForeignCurrencyExceptCashCashEquivalentsFinancialInvestmentsTradeReceivablesFinancingAndPayables",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherOperatingExpenseAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Operating Expense [Abstract]",
        "terseLabel": "Other operating expenses, net:"
       }
      }
     },
     "localname": "OtherOperatingExpenseAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_OtherOperatingIncomeAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Other Operating Income [Abstract]",
        "terseLabel": "Other operating income, net:"
       }
      }
     },
     "localname": "OtherOperatingIncomeAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_OtherOperatingIncomeExpenseByFunction": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail": {
       "order": 8.0,
       "parentTag": "ifrs-full_ExpenseByNature",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of income (expense) by function that the entity does not separately disclose in the same statement or note.",
        "label": "Other Operating Income Expense By Function",
        "negatedLabel": "Other expenses and income, net"
       }
      }
     },
     "localname": "OtherOperatingIncomeExpenseByFunction",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureCostsandexpensesbynatureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherPayablesRecognisedAsOfAcquisitionDate": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 9.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for other payables assumed in a business combination.",
        "label": "Other payables recognised as of acquisition date",
        "terseLabel": "Other payables"
       }
      }
     },
     "localname": "OtherPayablesRecognisedAsOfAcquisitionDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherPrepaidExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 8.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other receivables that represent amounts paid for goods and services before they have been delivered.",
        "label": "Other Prepaid Expenses",
        "terseLabel": "Other prepaid expenses"
       }
      }
     },
     "localname": "OtherPrepaidExpenses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherReceivablesInForeignCurrency": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 4.0,
       "parentTag": "ugp_AssetsInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of other receivables in foreign currency.",
        "label": "Other receivables in foreign currency",
        "terseLabel": "Other receivables"
       }
      }
     },
     "localname": "OtherReceivablesInForeignCurrency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherReceivablesRecognisedAsOfAcquisitionDate": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 2.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for other receivables acquired in a business combination.",
        "label": "Other receivables recognised as of acquisition date",
        "terseLabel": "Other receivables"
       }
      }
     },
     "localname": "OtherReceivablesRecognisedAsOfAcquisitionDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_OtherRegionsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Other regions.",
        "label": "Other Regions [member]",
        "terseLabel": "Other [member]",
        "verboseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherRegionsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cOther subsidiaries\u201d.",
        "label": "Other subsidiaries [member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherSubsidiariesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherTaxesPayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to other taxes payable.",
        "label": "Other taxes payable [member]",
        "terseLabel": "Others [member]"
       }
      }
     },
     "localname": "OtherTaxesPayableMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherTaxesReceivableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to other taxes receivable.",
        "label": "Other Taxes Receivable [Member]",
        "terseLabel": "Other Taxes Receivable [member]"
       }
      }
     },
     "localname": "OtherTaxesReceivableMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherTransactionCostsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to other transaction costs.",
        "label": "Other transaction costs [member]",
        "terseLabel": "Othes [member]"
       }
      }
     },
     "localname": "OtherTransactionCostsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OtherValuationAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Other Valuation Adjustments\".",
        "label": "Other Valuation Adjustments [member]",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "OtherValuationAdjustmentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxicapIndustriaDeGasesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxicap Ind\u00fastria de Gases Ltda.",
        "label": "Oxicap industria de gases [member]",
        "terseLabel": "Oxicap Industria de Gases [member]",
        "verboseLabel": "Oxicap Industria de Gases Ltda. [member]"
       }
      }
     },
     "localname": "OxicapIndustriaDeGasesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoAndinaCAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Andina, C.A.",
        "label": "Oxiteno Andina C A [Member]",
        "terseLabel": "Oxiteno Andina, C.A. [member]"
       }
      }
     },
     "localname": "OxitenoAndinaCAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoArgentinaSociedadDeResponsabilidadLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Argentina Sociedad de Responsabilidad Ltda.",
        "label": "Oxiteno Argentina Sociedad de Responsabilidad Ltda [member]",
        "terseLabel": "Oxiteno Argentina Sociedad de Responsabilidad Ltda [member]"
       }
      }
     },
     "localname": "OxitenoArgentinaSociedadDeResponsabilidadLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoColombiaSASMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Colombia S A S.",
        "label": "Oxiteno Colombia S A S [Member]",
        "terseLabel": "Oxiteno Colombia S A S [member]"
       }
      }
     },
     "localname": "OxitenoColombiaSASMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoEuropeSprlMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Europe SPRL.",
        "label": "Oxiteno Europe SPRL [member]",
        "terseLabel": "Oxiteno Europe SPRL [member]"
       }
      }
     },
     "localname": "OxitenoEuropeSprlMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoIndustriaComercioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno S A Industria e Comercio.",
        "label": "Oxiteno Industria Comercio [Member]",
        "terseLabel": "Oxiteno S. A. Industria e Comercio [member]"
       }
      }
     },
     "localname": "OxitenoIndustriaComercioMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals2",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1",
      "http://www.ultrapar.com/role/OperationsDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno.",
        "label": "Oxiteno [member]",
        "terseLabel": "Oxiteno [member]",
        "verboseLabel": "Oxiteno [member]"
       }
      }
     },
     "localname": "OxitenoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofCollateraltoFinancialInstitutionsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoMexicoSADeCVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno M\u00e9xico S.A. de C.V.",
        "label": "Oxiteno Mexico S A De C V [Member]",
        "terseLabel": "Oxiteno M\u00e9xico S.A de C.V [member]"
       }
      }
     },
     "localname": "OxitenoMexicoSADeCVMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoNordesteSAIndustriaeComercioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno nordeste S.A. ind\u00fastria e com\u00e9rcio.",
        "label": "Oxiteno Nordeste S A Industriae Comercio [Member]",
        "terseLabel": "Oxiteno Nordeste S.A. Ind\u00fastria e Com\u00e9rcio [member]"
       }
      }
     },
     "localname": "OxitenoNordesteSAIndustriaeComercioMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoSAOleoquimicaAndEmcaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno S.A., Oleoqu\u00edmica and EMCA.",
        "label": "Oxiteno S A Oleoqu\u00edmica and Emca [Member]",
        "terseLabel": "Oxiteno S.A., Oleoqu\u00edmica and EMCA [member]"
       }
      }
     },
     "localname": "OxitenoSAOleoquimicaAndEmcaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoSaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno S.A.",
        "label": "Oxiteno SA [Member]",
        "terseLabel": "Oxiteno S.A. [member]"
       }
      }
     },
     "localname": "OxitenoSaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoServiciosCorporativosSADeCVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Servicios Corporativos S.A. de C.V.",
        "label": "Oxiteno Servicios Corporativos S A De C V [Member]",
        "terseLabel": "Oxiteno Servicios Corporativos SA de CV [member]"
       }
      }
     },
     "localname": "OxitenoServiciosCorporativosSADeCVMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoServiciosIndustrialsDeCVMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Servicios Industriales de C.V.",
        "label": "Oxiteno Servicios Industrials De C V [Member]",
        "terseLabel": "Oxiteno Servicios Industriales S.A. de C.V. [member]"
       }
      }
     },
     "localname": "OxitenoServiciosIndustrialsDeCVMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoShanghaiLtdMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Shanghai LTD.",
        "label": "Oxiteno Shanghai LTD [member]",
        "terseLabel": "Oxiteno Shanghai LTD [member]"
       }
      }
     },
     "localname": "OxitenoShanghaiLtdMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoUSALLCMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno USA LLC.",
        "label": "Oxiteno U S A L L C [Member]",
        "terseLabel": "Oxiteno USA LLC [member]"
       }
      }
     },
     "localname": "OxitenoUSALLCMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoUSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno USA LLC.",
        "label": "Oxiteno U S A [Member]",
        "terseLabel": "Oxiteno USA LLC [member]"
       }
      }
     },
     "localname": "OxitenoUSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoUruguayMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Uruguay S.A.",
        "label": "Oxiteno uruguay [member]",
        "terseLabel": "Oxiteno Uruguay S.A. [member]"
       }
      }
     },
     "localname": "OxitenoUruguayMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail",
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_OxitenoUruguaySAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Oxiteno Uruguay S.A.",
        "label": "Oxiteno Uruguay S A [Member]",
        "terseLabel": "Oxiteno Uruguay SA [member]"
       }
      }
     },
     "localname": "OxitenoUruguaySAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ParaibaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Paraiba.",
        "label": "Paraiba [Member]",
        "terseLabel": "Paraiba [member]"
       }
      }
     },
     "localname": "ParaibaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ParticipationPercentageOfShareCapital": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The participation percentage of reporting entity's share capital.",
        "label": "Participation Percentage Of Share Capital",
        "terseLabel": "Percentage of Common shares may deliver to participants to company's share capital"
       }
      }
     },
     "localname": "ParticipationPercentageOfShareCapital",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PayablesArisingFromImports": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail": {
       "order": 1.0,
       "parentTag": "ugp_LiabilitiesInForeignCurrency",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of current trade payables for foreign suppliers arising from imports, net of advances to foreign suppliers.",
        "label": "Payables arising from imports",
        "negatedLabel": "Payables arising from imports"
       }
      }
     },
     "localname": "PayablesArisingFromImports",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAssetsAndLiabilitiesInForeignCurrenciesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PaymentToAcquireBusinessesNetOfCashAcquiredAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payment to Acquire Businesses, Net of Cash Acquired [Abstract]",
        "terseLabel": "Net cash outflow resulting from the acquisition"
       }
      }
     },
     "localname": "PaymentToAcquireBusinessesNetOfCashAcquiredAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_PaymentsForDebtTransactionCosts": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of payments for debt transaction costs.",
        "label": "Payments for debt transaction costs",
        "negatedLabel": "Payments for debt transaction costs",
        "negatedTerseLabel": "Payments"
       }
      }
     },
     "localname": "PaymentsForDebtTransactionCosts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PaymentsForIcmsTaxAssessment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for payments of ICMS tax assessment through tax amnesty program.",
        "label": "Payments for Icms Tax Assessment",
        "terseLabel": "Payments for ICMS tax assessment"
       }
      }
     },
     "localname": "PaymentsForIcmsTaxAssessment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PaymentsOfFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 7.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash outflow for payment of financial liabilities of customers, classified as financing activities.",
        "label": "Payments of Financial Liabilities of Customers Classified as Financing Activities",
        "negatedLabel": "Payments of financial liabilities of customers"
       }
      }
     },
     "localname": "PaymentsOfFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivitiesAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Payments of Lease Liabilities Classified as Financing Activities [Abstract]",
        "terseLabel": "Payments of lease"
       }
      }
     },
     "localname": "PaymentsOfLeaseLiabilitiesClassifiedAsFinancingActivitiesAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_PenaltyOnAdministrativeProceedings": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of penalty on administrative proceedings for contingent liabilities.",
        "label": "Penalty On Administrative Proceedings",
        "terseLabel": "Penalty on administrative proceedings"
       }
      }
     },
     "localname": "PenaltyOnAdministrativeProceedings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PenaltyOnUltragaz": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of penalty on ultragaz for contingent liabilities.",
        "label": "Penalty on ultragaz",
        "terseLabel": "Penalty on Ultragaz"
       }
      }
     },
     "localname": "PenaltyOnUltragaz",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PercentageOfAverageEffectiveCost": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of average effective cost of hedging instruments designated as fair value hedge.",
        "label": "Percentage Of Average Effective Cost",
        "terseLabel": "Average effective cost - DI %"
       }
      }
     },
     "localname": "PercentageOfAverageEffectiveCost",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryofforeignexchangehedginginstrumentsdesignatedasfairvaluehedgeDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfConsortiumOwned": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of consortium owned.",
        "label": "Percentage Of Consortium Owned",
        "terseLabel": "Percentage of consortium owned"
       }
      }
     },
     "localname": "PercentageOfConsortiumOwned",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfNetDebtToEquityRatio": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of net debt to equity ratio.",
        "label": "Percentage of net debt to equity ratio",
        "terseLabel": "Leverage ratio"
       }
      }
     },
     "localname": "PercentageOfNetDebtToEquityRatio",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsScheduleofleverageratioDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfOperatingRevenuesForCalculationOfAlternativeMethodOfTaxationForCompanies": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of operating revenues for calculation of alternative method of taxation for companies.",
        "label": "Percentage of operating revenues for calculation of alternative method of taxation for companies",
        "terseLabel": "Percentage of operating revenues for calculation of alternative method of taxation for companies"
       }
      }
     },
     "localname": "PercentageOfOperatingRevenuesForCalculationOfAlternativeMethodOfTaxationForCompanies",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfPossibleLossContingency": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of possible loss contingency for contingent liabilities.",
        "label": "Percentage of possible loss contingency",
        "terseLabel": "Percentage of possible loss contingency"
       }
      }
     },
     "localname": "PercentageOfPossibleLossContingency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfReasonablyPossibleDecreaseInAssumptionsForEarnoutLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reasonably possible percentage of the decrease in the actuarial assumption used to determine the present value of earnout liability in a business combination.",
        "label": "Percentage of reasonably possible decrease in assumptions for earnout liability",
        "terseLabel": "Percentage of reasonably possible decrease in actuarial assumptions for earnout liability"
       }
      }
     },
     "localname": "PercentageOfReasonablyPossibleDecreaseInAssumptionsForEarnoutLiability",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfReasonablyPossibleIncreaseInAssumptionsForEarnoutLiability": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reasonably possible percentage of the increase in the actuarial assumption used to determine the present value of earnout liability in a business combination.",
        "label": "Percentage of reasonably possible increase in assumptions for earnout liability",
        "terseLabel": "Percentage of reasonably possible increase in actuarial assumptions for earnout liability"
       }
      }
     },
     "localname": "PercentageOfReasonablyPossibleIncreaseInAssumptionsForEarnoutLiability",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PercentageOfReceivablesFromAnActionForDamagesAsContingentAsset": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of receivables from an action for damages as contingent asset, during the reporting period.",
        "label": "Percentage of receivables from an action for damages as contingent asset",
        "terseLabel": "Percentage of receivables from an action for damages as contingent asset"
       }
      }
     },
     "localname": "PercentageOfReceivablesFromAnActionForDamagesAsContingentAsset",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_PerformanceStockAwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to performance stock award plan.",
        "label": "Performance Stock Award [Member]",
        "terseLabel": "Performance Stock Award [Member]"
       }
      }
     },
     "localname": "PerformanceStockAwardMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PeriodOfAmortizationFromGrantDate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period of amortization from grant date of share based plans.",
        "label": "Period of amortization from grant date",
        "terseLabel": "Period of amortization from grant date"
       }
      }
     },
     "localname": "PeriodOfAmortizationFromGrantDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodOfConcession": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maturity period of concession contract.",
        "label": "Period Of Concession",
        "terseLabel": "Term of concession"
       }
      }
     },
     "localname": "PeriodOfConcession",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodOfEconomicActivityAffectedDueToCovid19PandemicInDomesticCountry": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period of economic activity affected due to COVID-19 pandemic in domestic country.",
        "label": "Period of economic activity affected due to COVID-19 pandemic in domestic country",
        "terseLabel": "Period of economic activity affected due to COVID-19 pandemic in domestic country"
       }
      }
     },
     "localname": "PeriodOfEconomicActivityAffectedDueToCovid19PandemicInDomesticCountry",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodOfEvaluation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The evaluation period used to calculate the value.",
        "label": "Period of evaluation",
        "terseLabel": "Period of evaluation"
       }
      }
     },
     "localname": "PeriodOfEvaluation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodOfMaturityOfCommitmentOfCamacari": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of commitment maturity of Camacari.",
        "label": "Period of Maturity of Commitment of Camacari",
        "terseLabel": "Maturity of Commitment of Camacari"
       }
      }
     },
     "localname": "PeriodOfMaturityOfCommitmentOfCamacari",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsMinimumAnnualPurchasesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_PeriodOfMaturityOfCommitmentOfMaua": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The description of commitment maturity of Maua.",
        "label": "Period of Maturity of Commitment of Maua",
        "terseLabel": "Maturity of Commitment of Maua"
       }
      }
     },
     "localname": "PeriodOfMaturityOfCommitmentOfMaua",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsMinimumAnnualPurchasesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_PeriodOfPortConcession": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Period of port concession.",
        "label": "Period Of Port Concession",
        "terseLabel": "Number of periods that Port areas will be operated",
        "verboseLabel": "PeriodOfPortConcession"
       }
      }
     },
     "localname": "PeriodOfPortConcession",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodOfTransfterOfOwnershipShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The transfter period term of ownership shares.",
        "label": "Period of transfter of ownership shares",
        "terseLabel": "Period of transfter of ownership shares"
       }
      }
     },
     "localname": "PeriodOfTransfterOfOwnershipShares",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PeriodToMaturity": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The maturity period of new stores considered.",
        "label": "Period to maturity",
        "terseLabel": "Period to maturity"
       }
      }
     },
     "localname": "PeriodToMaturity",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_PharmaceuticalHygieneBeautyProductsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to purchase for future delivery inventory.",
        "label": "Pharmaceutical hygiene beauty products member",
        "terseLabel": "Pharmaceutical hygiene beauty products [member]"
       }
      }
     },
     "localname": "PharmaceuticalHygieneBeautyProductsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PisAndCofinsStateVATMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Contribution for Social Security Financing (COFINS) and Social Integration Program (PIS).",
        "label": "PIS and COFINS [member]",
        "terseLabel": "PIS and COFINS (State VAT) [member]",
        "verboseLabel": "PIS and COFINS \u2013 Federal VAT [member]"
       }
      }
     },
     "localname": "PisAndCofinsStateVATMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PlenogasDistribuidoraDeGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Plenog\u00e1s Distribuidora de G\u00e1s S.A.",
        "label": "Plenogas distribuidora de gas [member]",
        "terseLabel": "Plenogas distribuidora de gas [member]"
       }
      }
     },
     "localname": "PlenogasDistribuidoraDeGasMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PortAreasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Port area.",
        "label": "Port Areas [Member]"
       }
      }
     },
     "localname": "PortAreasMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetailParenthetical"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PortOfCabedeloMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Port of Cabedelo.",
        "label": "Port Of Cabedelo [Member]",
        "terseLabel": "Port of Cabedelo [member]"
       }
      }
     },
     "localname": "PortOfCabedeloMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PortOfMiramarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Port of Miramar, in Bel\u00e9m, state of Par\u00e1.",
        "label": "Port of Miramar [Member]",
        "terseLabel": "Port of Miramar [member]"
       }
      }
     },
     "localname": "PortOfMiramarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PortOfVitoriaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Port of Vitoria.",
        "label": "Port Of Vitoria [Member]",
        "terseLabel": "Port of Vitoria [member]"
       }
      }
     },
     "localname": "PortOfVitoriaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PossibleContingency": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of possible loss contingency for contingent liabilities.",
        "label": "Possible contingency",
        "terseLabel": "Possible contingency"
       }
      }
     },
     "localname": "PossibleContingency",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PostEmploymentBenefitExpenseInProfitOrLossFromContinuingOperationsDefinedBenefitPlans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of post-employment benefit expense included in profit or loss from continuing operations, relating to defined benefit plans.",
        "label": "Post-employment Benefit Expense in Profit or Loss from Continuing Operations, Defined Benefit Plans",
        "terseLabel": "Expense for the year of continuing operations"
       }
      }
     },
     "localname": "PostEmploymentBenefitExpenseInProfitOrLossFromContinuingOperationsDefinedBenefitPlans",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PostEmploymentBenefitExpenseInProfitOrLossFromDiscontinuedOperationsDefinedBenefitPlans": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of post-employment benefit expense included in profit or loss from discontinued operations, relating to defined benefit plans.",
        "label": "Post-employment Benefit Expense in Profit or Loss from Discontinued Operations, Defined Benefit Plans",
        "terseLabel": "Expense (revenue) for the year of discontinued operations"
       }
      }
     },
     "localname": "PostEmploymentBenefitExpenseInProfitOrLossFromDiscontinuedOperationsDefinedBenefitPlans",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanChangesInProvisionForPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidAdvertisingExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Advertising and publicity recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid advertising expense",
        "terseLabel": "Advertising and publicity"
       }
      }
     },
     "localname": "PrepaidAdvertisingExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidContributionOfPrivatePensionFundExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 7.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognized as an asset for private pension fund contribution made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid Contribution of Private Pension Fund Expense",
        "terseLabel": "Contribution - private pension fund (see Note 21.a)"
       }
      }
     },
     "localname": "PrepaidContributionOfPrivatePensionFundExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidDeferredStockPlanExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of net deferred stock plan recognized as a current asset for expenditures made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid deferred stock plan expense",
        "terseLabel": "Deferred stock plan, net"
       }
      }
     },
     "localname": "PrepaidDeferredStockPlanExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidEmployeeBenefitsExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 5.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognized as an asset for employee benefits expense made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid Employee Benefits Expense",
        "terseLabel": "Employee benefits"
       }
      }
     },
     "localname": "PrepaidEmployeeBenefitsExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidInsuranceExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Insurance premiums recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid insurance expense",
        "terseLabel": "Insurance premiums"
       }
      }
     },
     "localname": "PrepaidInsuranceExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidRentExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Rent recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid rent expense",
        "terseLabel": "Rents"
       }
      }
     },
     "localname": "PrepaidRentExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidSoftwareMaintenanceExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of Software maintenance recognised as a current asset for expenditures made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid software maintenance expense",
        "terseLabel": "Software maintenance"
       }
      }
     },
     "localname": "PrepaidSoftwareMaintenanceExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrepaidTaxOtherThanIncomeTaxExpense": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail": {
       "order": 6.0,
       "parentTag": "ifrs-full_Prepayments",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognized as an asset for tax other than income tax expense made prior to the period when the economic benefit will be realised.",
        "label": "Prepaid Tax Other than Income Tax Expense",
        "terseLabel": "IPVA and IPTU"
       }
      }
     },
     "localname": "PrepaidTaxOtherThanIncomeTaxExpense",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesSummaryOfPrepaidExpensesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PrincipalPaymentAndFinancialLeases": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of principal payment of loans and debentures.",
        "label": "Principal payment and financial leases",
        "negatedLabel": "Principal payment"
       }
      }
     },
     "localname": "PrincipalPaymentAndFinancialLeases",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofChangesinLoansDebenturesandFinanceLeasesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProceedsFromFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod": {
       "order": 6.0,
       "parentTag": "ifrs-full_CashFlowsFromUsedInFinancingActivitiesContinuingOperations",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The cash inflow from financial liabilities of customers.",
        "label": "Proceeds from Financial Liabilities of Customers Classified as Financing Activities",
        "terseLabel": "Proceeds of financial liabilities of customers"
       }
      }
     },
     "localname": "ProceedsFromFinancialLiabilitiesOfCustomersClassifiedAsFinancingActivities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofCashFlowsIndirectMethod"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProceedsFromSettlementOfIntercompanyLoanHeldBySubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of proceeds from settlement of intercompany loan held by subsidiary.",
        "label": "Proceeds from settlement of intercompany loan held by subsidiary",
        "negatedLabel": "Proceeds from settlement of intercompany loan held by Oxiteno"
       }
      }
     },
     "localname": "ProceedsFromSettlementOfIntercompanyLoanHeldBySubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProfitLossOnProvisionForTaxCivilAndLaborRisks": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of profit or loss arising from provision for tax civil and labor risks.",
        "label": "Profit loss on provision for tax civil and labor risks",
        "terseLabel": "Profit or loss on provision"
       }
      }
     },
     "localname": "ProfitLossOnProvisionForTaxCivilAndLaborRisks",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProfitOrLossMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to profit or loss.",
        "label": "Profit or loss [member]",
        "terseLabel": "Profit or loss [member]"
       }
      }
     },
     "localname": "ProfitOrLossMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsValueOfGainsLossesRecognizedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PromissoryNotesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to promissory notes.",
        "label": "Promissory Notes [Member]",
        "terseLabel": "Promissory notes [Member]"
       }
      }
     },
     "localname": "PromissoryNotesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail",
      "http://www.ultrapar.com/role/OperationsMainrisksandassociatedmeasuresDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PropertiesForResaleMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to properties for resale inventory.",
        "label": "Properties for resale [member]",
        "terseLabel": "Properties for resale [member]"
       }
      }
     },
     "localname": "PropertiesForResaleMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_PropertyPlantAndEquipmentGroupOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of of property, plant and equipment.",
        "label": "Property Plant And Equipment Group One [Member]",
        "terseLabel": "Works in progress, Advances to Suppliers and Imports in progress [member]"
       }
      }
     },
     "localname": "PropertyPlantAndEquipmentGroupOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentBalancesAndChangesInPropertyPlantAndEquipmentBeginningAndEndingDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ProposedDividends": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of proposed dividends recognised as distributions to owners.",
        "label": "Proposed Dividends",
        "negatedLabel": "Proposed dividends",
        "negatedTerseLabel": "Balance of proposed dividends (R$ 0.17 per share)",
        "terseLabel": "Balance of proposed dividends (R$ 0.08 per share)",
        "verboseLabel": "Balance of proposed dividends (R$ 0.17 per share)"
       }
      }
     },
     "localname": "ProposedDividends",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProposedDividendsPerShare": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount, per share, of proposed dividends recognised as distributions to owners.",
        "label": "Proposed dividends per share",
        "terseLabel": "Proposed dividends, per share"
       }
      }
     },
     "localname": "ProposedDividendsPerShare",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquityParenthetical",
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_ProvisionForAssetRetirementObligationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to provision for asset retirement obligation.",
        "label": "Provision for Asset Retirement Obligation [Member]",
        "terseLabel": "Asset Retirement Obligation [member]"
       }
      }
     },
     "localname": "ProvisionForAssetRetirementObligationMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationChangesintheprovisionforassetretirementobligationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for expected losses on accounts receivable or guarantees are recorded by the reporting entity.",
        "label": "Provision for Expected Losses on Accounts Receivable or Guarantees",
        "terseLabel": "Provision for expected losses on accounts receivable or guarantees"
       }
      }
     },
     "localname": "ProvisionForExpectedLossesOnAccountsReceivableOrGuarantees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionForIndemnities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for indemnities.",
        "label": "Provision for indemnities",
        "terseLabel": "Provision for indemnities"
       }
      }
     },
     "localname": "ProvisionForIndemnities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionForIndemnitiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Provision for indemnities\".",
        "label": "Provision for indemnities [member]",
        "terseLabel": "Provision for indemnities [member]"
       }
      }
     },
     "localname": "ProvisionForIndemnitiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBreakdownOfProvisionsByNatureDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ProvisionForIndemnitiesRelatedToCivilClaims": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for indemnities related to civil claims.",
        "label": "Provision for indemnities related to civil claims",
        "terseLabel": "Provision for indemnities related to civil claims"
       }
      }
     },
     "localname": "ProvisionForIndemnitiesRelatedToCivilClaims",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionForIndemnitiesRelatedToLaborClaims": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for indemnities related to labor claims.",
        "label": "Provision for indemnities related to labor claims",
        "terseLabel": "Provision for indemnities related to labor claims"
       }
      }
     },
     "localname": "ProvisionForIndemnitiesRelatedToLaborClaims",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionForIndemnitiesRelatedToTaxClaims": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for indemnities related to tax claims.",
        "label": "Provision for indemnities related to tax claims",
        "terseLabel": "Provision for indemnities related to tax claims"
       }
      }
     },
     "localname": "ProvisionForIndemnitiesRelatedToTaxClaims",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionForLossesInventories": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of accumulated provision for losses of inventories.",
        "label": "Provision for losses inventories",
        "negatedLabel": "Provision for losses",
        "periodEndLabel": "Provisions for losses, ending",
        "periodStartLabel": "Provisions for losses, beginning",
        "totalLabel": "Total"
       }
      }
     },
     "localname": "ProvisionForLossesInventories",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionsForLaborLitigationFiledByFormerEmployees": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provisions for labor litigation filed by former employees.",
        "label": "Provisions for labor litigation filed by former employees",
        "terseLabel": "Provisions for labor litigation filed by former employees"
       }
      }
     },
     "localname": "ProvisionsForLaborLitigationFiledByFormerEmployees",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ProvisionsForLawsuitsAndAdministrativeProceedings": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provisions for lawsuits and administrative proceedings.",
        "label": "Provisions for lawsuits and administrative proceedings",
        "terseLabel": "Provisions for lawsuits and administrative proceedings"
       }
      }
     },
     "localname": "ProvisionsForLawsuitsAndAdministrativeProceedings",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_PurchaseForFutureDeliveryMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to purchase for future delivery inventory.",
        "label": "Purchase for Future Delivery [Member]",
        "terseLabel": "Purchase for future delivery [member]"
       }
      }
     },
     "localname": "PurchaseForFutureDeliveryMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_QuimicaDaBahiaIndustriaEcomercioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Qu\u00edmica da Bahia Ind\u00fastria e Com\u00e9rcio S.A.",
        "label": "Quimica da bahia industria ecomercio [member]",
        "terseLabel": "Quimica da Bahia Industria e Comercio S.A. [member]",
        "verboseLabel": "Qu\u00edmica da Bahia [Member]"
       }
      }
     },
     "localname": "QuimicaDaBahiaIndustriaEcomercioMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RBOBMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to RBOB.",
        "label": "R B O B [Member]",
        "terseLabel": "RBOB [member]"
       }
      }
     },
     "localname": "RBOBMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RPRMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Refinaria de Petr\u00f3leo Riograndense S.A.",
        "label": "R P R [Member]",
        "terseLabel": "Rpr [member]",
        "verboseLabel": "Refinaria de Petr\u00f3leo Riograndense S.A. [member]"
       }
      }
     },
     "localname": "RPRMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RawMaterialsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to raw materials inventory.",
        "label": "Raw Materials [member]",
        "terseLabel": "Raw materials [member]"
       }
      }
     },
     "localname": "RawMaterialsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RealEstatePropertyMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Real estate property.",
        "label": "Real Estate Property [Member]"
       }
      }
     },
     "localname": "RealEstatePropertyMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RealEstatePropertyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Real estate property.",
        "label": "Real Estate Property One [Member]",
        "terseLabel": "Real Estate Property [Member]"
       }
      }
     },
     "localname": "RealEstatePropertyOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RealGrowthRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The real growth rate used to extrapolate the projections.",
        "label": "Real growth rate",
        "terseLabel": "Real growth rate"
       }
      }
     },
     "localname": "RealGrowthRate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_RealToUsDollarSwaps": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 0.0,
       "parentTag": "ugp_RealToUsDollarSwapsNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of currency swaps payable from Real / U.S. Dollar swaps.",
        "label": "Real to us dollar swaps",
        "terseLabel": "Real / U.S. Dollar swaps"
       }
      }
     },
     "localname": "RealToUsDollarSwaps",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RealToUsDollarSwapsNetEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of currency swaps payable from Real to US Dollar swaps net effect.",
        "label": "Real to us dollar swaps net effect",
        "totalLabel": "Net effect"
       }
      }
     },
     "localname": "RealToUsDollarSwapsNetEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RealizationOfTaxCreditPeriod": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of realization period of tax credit.",
        "label": "Realization of tax credit period",
        "terseLabel": "Realization of tax credit period"
       }
      }
     },
     "localname": "RealizationOfTaxCreditPeriod",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_ReceivablesFromSaleOfInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of receivables arising from the sale of investments.",
        "label": "Receivables From Sale of Investments",
        "terseLabel": "Receivables from sale of investments"
       }
      }
     },
     "localname": "ReceivablesFromSaleOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReceivablesFromSaleOfInvestmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Receivables from sale of investments\".",
        "label": "Receivables from sale of investments [member]",
        "terseLabel": "Trade receivables - sale of subsidiaries"
       }
      }
     },
     "localname": "ReceivablesFromSaleOfInvestmentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ReceivablesFromTaxesOtherThanIncomeTaxMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a class of assets representing assets related to receivables from taxes other than income tax.",
        "label": "Receivables from taxes other than income tax [Member]",
        "terseLabel": "Recoverable taxes"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTaxMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ReceivablesFromTaxesOtherThanIncomeTaxMonetaryVariationAmountReceived": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The monetary variation amount of receivables from taxes other than income tax, received as tax credits.",
        "label": "Receivables From Taxes Other Than Income Tax Monetary Variation Amount Received",
        "terseLabel": "Receivables from taxes other than income tax, monetary variation amount received"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTaxMonetaryVariationAmountReceived",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReceivablesFromTaxesOtherThanIncomeTaxPrincipalAmountReceived": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The principal amount of receivables from taxes other than income tax, received as tax credits.",
        "label": "Receivables From Taxes Other Than Income Tax Principal Amount Received",
        "terseLabel": "Receivables from taxes other than income tax, principal amount received"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTaxPrincipalAmountReceived",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReceivablesFromTaxesOtherThanIncomeTaxProvisionForImpairmentLosses": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of provision for impairment losses for receivables from taxes other than income tax.",
        "label": "Receivables From Taxes Other Than Income Tax Provision For Impairment Losses",
        "terseLabel": "Provision for tax losses"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTaxProvisionForImpairmentLosses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReceivablesFromTaxesOtherThanIncomeTaxReclassifiedToAssetsHeldForSaleNetOfProvisionForImpairmentLosses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of receivables from taxes other than income tax reclassified to assets held for sale, net of provision for impairment losses.",
        "label": "Receivables From Taxes Other Than Income Tax Reclassified To Assets Held For Sale Net Of Provision For Impairment Losses",
        "terseLabel": "Recoverable taxes reclassified to assets held for sale, net of provision for impairment losses"
       }
      }
     },
     "localname": "ReceivablesFromTaxesOtherThanIncomeTaxReclassifiedToAssetsHeldForSaleNetOfProvisionForImpairmentLosses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReceivablesInvestmentFundMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Receivables Investment Fund (\u201cFIDC\u201d)\".",
        "label": "Receivables Investment Fund [member]",
        "terseLabel": "Receivables Investment Fund (\u201cFIDC\u201d)"
       }
      }
     },
     "localname": "ReceivablesInvestmentFundMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationOfForeignOperationsDueToSaleOfInvestmentNetOfTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reclassification adjustments related to exchange differences due to sale of investment when the financial statements of foreign operations are translated, net of tax. Reclassification adjustments are amounts reclassified to profit (loss) in the current period that were recognised in other comprehensive income in the current or previous periods.",
        "label": "Reclassification adjustments on exchange differences on translation of foreign operations due to sale of investment net of tax",
        "negatedLabel": "Reclassification to income due to sale of investment"
       }
      }
     },
     "localname": "ReclassificationAdjustmentsOnExchangeDifferencesOnTranslationOfForeignOperationsDueToSaleOfInvestmentNetOfTax",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReclassificationToLiabilitiesOfSubsidiariesHeldForSale": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The increase (decrease) in dividends payable through a reclassification to liabilities of subsidiaries held for sale.",
        "label": "Reclassification To Liabilities Of Subsidiaries Held For Sale",
        "negatedLabel": "Reclassification to liabilities of subsidiaries held for sale"
       }
      }
     },
     "localname": "ReclassificationToLiabilitiesOfSubsidiariesHeldForSale",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RedecardSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Redecard S.A.",
        "label": "Redecard S.A. [member]",
        "terseLabel": "Redecard S.A. [member]"
       }
      }
     },
     "localname": "RedecardSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RefinariaDePetroleoRigrandenseSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Refinaria de petroleo rigrandense S.A.",
        "label": "Refinaria De Petroleo Rigrandense S.A. [member]",
        "terseLabel": "Refinaria De Petroleo Rigrandense S.A. [member]"
       }
      }
     },
     "localname": "RefinariaDePetroleoRigrandenseSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RenewableEnergyElectricityPowerDistributionCapacityInWhichAcquireeEntityOfferedToCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of renewable energy as an electricity power distribution capacity in which acquiree entity offered to customers.",
        "label": "Renewable energy, electricity power distribution capacity in which acquiree entity offered to customers",
        "terseLabel": "Renewable energy, electricity power distribution capacity offered to customers"
       }
      }
     },
     "localname": "RenewableEnergyElectricityPowerDistributionCapacityInWhichAcquireeEntityOfferedToCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails"
     ],
     "xbrltype": "decimalItemType"
    },
    "ugp_RenewalOfConcessionTermFiledWithSuperintendenceForDevelopmentOfNortheast": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The period of renewal concession term filed with Superintendence for the Development of the Northeast (\u201cSUDENE\u201d).",
        "label": "Renewal of concession term filed with Superintendence for Development of Northeast",
        "terseLabel": "Renewal of concession term filed with Superintendence for the Development of the Northeast (\u201cSUDENE\u201d)"
       }
      }
     },
     "localname": "RenewalOfConcessionTermFiledWithSuperintendenceForDevelopmentOfNortheast",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_RepsolMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Repsol.",
        "label": "Repsol [member]",
        "terseLabel": "Repsol [member]"
       }
      }
     },
     "localname": "RepsolMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ResellerFinancing": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/TradeReceivablesandResellerFinancingCompositionofResellerFinancingDetailCalc2": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      },
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reseller financing current and noncurrent.",
        "label": "Reseller financing",
        "negatedLabel": "Reseller financing",
        "terseLabel": "Reseller financing",
        "totalLabel": "Reseller financing"
       }
      }
     },
     "localname": "ResellerFinancing",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ResellerFinancingGross": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/TradeReceivablesandResellerFinancingCompositionofResellerFinancingDetailCalc2": {
       "order": 0.0,
       "parentTag": "ugp_ResellerFinancing",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of reseller financing, gross of allowance for doubtful accounts.",
        "label": "Reseller Financing Gross",
        "terseLabel": "Reseller financing, gross of loss allowance for expected credit losses"
       }
      }
     },
     "localname": "ResellerFinancingGross",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ResellerFinancingIpirangaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to reseller financing ipiranga.",
        "label": "Reseller Financing Ipiranga [Member]",
        "terseLabel": "Reseller Financing - Ipiranga [member]"
       }
      }
     },
     "localname": "ResellerFinancingIpirangaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofMovementsintheAllowanceforLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTables"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ResellerFinancingMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to reseller financing.",
        "label": "Reseller Financing [Member]",
        "terseLabel": "Reseller Financing [member]",
        "verboseLabel": "Reseller financing [member]"
       }
      }
     },
     "localname": "ResellerFinancingMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ResellerFinancingRatePerMonth": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of reseller financing rate per month.",
        "label": "Reseller financing rate per month",
        "terseLabel": "Reseller financing rate per month"
       }
      }
     },
     "localname": "ResellerFinancingRatePerMonth",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ReserveOfValuationAdjustments": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "A component of equity representing the reserves of accumulated valuation adjustments.",
        "label": "Reserve of Valuation Adjustments",
        "periodEndLabel": "Ending balance",
        "periodStartLabel": "Beginning balance",
        "terseLabel": "Valuation adjustments"
       }
      }
     },
     "localname": "ReserveOfValuationAdjustments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ResidualSurplusValueOfFixedAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a class of assets representing assets related to residual surplus value of fixed assets.",
        "label": "Residual surplus value of fixed assets [Member]",
        "terseLabel": "Residual surplus value of fixed assets"
       }
      }
     },
     "localname": "ResidualSurplusValueOfFixedAssetsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RestrictedAndPerformanceStockMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to restricted and performance stock program.",
        "label": "Restricted and Performance Stock [Member]",
        "terseLabel": "Restricted and Performance Stock [member]"
       }
      }
     },
     "localname": "RestrictedAndPerformanceStockMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RestrictedAssetsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Restricted assets.",
        "label": "Restricted Assets [member]",
        "terseLabel": "Restricted Assets [member]"
       }
      }
     },
     "localname": "RestrictedAssetsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RestrictedStockAwardMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to restricted stock award plan.",
        "label": "Restricted Stock Award [Member]",
        "terseLabel": "Restricted Stock Award [Member]"
       }
      }
     },
     "localname": "RestrictedStockAwardMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_RetentionOfProfitsAndInvestmentsReserve": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The disclosure of the allocation of income for retention of profits purposes.",
        "label": "Retention of profits and investments reserve",
        "terseLabel": "Retention of profits and investments reserve"
       }
      }
     },
     "localname": "RetentionOfProfitsAndInvestmentsReserve",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RevenueFromMiscellaneousServices": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_OtherIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of operating revenue arising from miscellaneous services.",
        "label": "Revenue From Miscellaneous Services",
        "terseLabel": "Revenue from miscellaneous services (administrative, commercial and IT services)"
       }
      }
     },
     "localname": "RevenueFromMiscellaneousServices",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RevenueFromSaleOfGoodsAndRenderingOfServicesRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of revenue arising from the sale of goods and rendering of services in related party transactions.",
        "label": "Revenue from sale of goods and rendering of services, related party transactions",
        "terseLabel": "Trading transactions, Sales and services provided"
       }
      }
     },
     "localname": "RevenueFromSaleOfGoodsAndRenderingOfServicesRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RevenueFromSaleOfInvestmentsNetOfAdjustmentToPresentValue": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Revenue from the sale of investments, net of adjustment to present value",
        "label": "Revenue from sale of investments, net of adjustment to present value",
        "terseLabel": "Revenue from the sale of investments, net of adjustment to present value"
       }
      }
     },
     "localname": "RevenueFromSaleOfInvestmentsNetOfAdjustmentToPresentValue",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReversalOfAllegedNonpayment": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reversal amount of alleged non-payment for contingent liabilities.",
        "label": "Reversal of Alleged Nonpayment",
        "terseLabel": "Reversal of alleged non-payment"
       }
      }
     },
     "localname": "ReversalOfAllegedNonpayment",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReversalOfConditionedFruitionOfFiscalIncentive": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reversal amount of conditioned fruition of fiscal incentive for contingent liabilities.",
        "label": "Reversal of conditioned fruition of fiscal incentive",
        "terseLabel": "Reversal of conditioned fruition of fiscal incentive"
       }
      }
     },
     "localname": "ReversalOfConditionedFruitionOfFiscalIncentive",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReversalOfICMSCredits": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reversal amount of ICMS credits for contingent liabilities.",
        "label": "Reversal of I C M S Credits",
        "terseLabel": "Reversal of ICMS credits"
       }
      }
     },
     "localname": "ReversalOfICMSCredits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReversalOfInventoryDifferences": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The reversal amount of inventory differences for contingent liabilities.",
        "label": "Reversal of inventory differences",
        "terseLabel": "Reversal of inventory differences"
       }
      }
     },
     "localname": "ReversalOfInventoryDifferences",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ReversalsOfObsolescenceAndOtherLosses": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Reversals of provision obsolescence and other losses regarding provision for loss on the value of inventories.",
        "label": "Reversals of obsolescence and other losses",
        "negatedLabel": "Reversal of provision for obsolescence and other losses"
       }
      }
     },
     "localname": "ReversalsOfObsolescenceAndOtherLosses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesMovementsInTheProvisionForLossesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RightOfUseAssetsRelatedPartyTransactions": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of right-of-use assets resulting from related party transactions.",
        "label": "Right-of-use assets, related party transactions",
        "terseLabel": "Right-of-use assets"
       }
      }
     },
     "localname": "RightOfUseAssetsRelatedPartyTransactions",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_RouteasyServicosDeAssessoriaLogisticaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Routeasy Servi\u00e7os de Assessoria Log\u00edstica Ltda.",
        "label": "Routeasy Servicos De Assessoria Logistica Ltda [Member]",
        "terseLabel": "Routeasy Servi\u00e7os de Assessoria Log\u00edstica Ltda. [member]"
       }
      }
     },
     "localname": "RouteasyServicosDeAssessoriaLogisticaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SalePriceOfSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of sale price of subsidiary.",
        "label": "Sale Price of Subsidiary",
        "terseLabel": "Sale price of subsidiary"
       }
      }
     },
     "localname": "SalePriceOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails3Textuals1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SaleValueOfJointVenture": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of sale value of joint venture.",
        "label": "Sale value of joint venture"
       }
      }
     },
     "localname": "SaleValueOfJointVenture",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesDetailsTextuals"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_Scenario2Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to scenario 2.",
        "label": "Scenario 2 [Member]",
        "terseLabel": "Scenario II [member]"
       }
      }
     },
     "localname": "Scenario2Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Scenario3Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to scenario 3.",
        "label": "Scenario 3 [Member]",
        "terseLabel": "Scenario III [member]"
       }
      }
     },
     "localname": "Scenario3Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ScenarioAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Scenario [axis]",
        "label": "Scenario [axis]",
        "terseLabel": "Scenario [axis]"
       }
      }
     },
     "localname": "ScenarioAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_ScenarioDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Scenario [domain]",
        "label": "Scenario [domain]",
        "terseLabel": "Scenario [domain]"
       }
      }
     },
     "localname": "ScenarioDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ScenarioMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to scenario.",
        "label": "Scenario [Member]",
        "terseLabel": "Probable Scenario [member]"
       }
      }
     },
     "localname": "ScenarioMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ScheduleOfBalancesAndChangesInInvestmentsAccountedForUsingEquityMethodTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of balances and changes in the investments accounted for using equity method.",
        "label": "Schedule of balances and changes in investments accounted for using equity method [Table Text Block]",
        "terseLabel": "Schedule of the balances and changes in investments in joint ventures and associates"
       }
      }
     },
     "localname": "ScheduleOfBalancesAndChangesInInvestmentsAccountedForUsingEquityMethodTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfChangesInDeferredStockPlanTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in deferred stock plan during the reporting period.",
        "label": "Schedule of Changes in Deferred Stock Plan [Table Text Block]",
        "terseLabel": "Changes of Number of Shares Granted"
       }
      }
     },
     "localname": "ScheduleOfChangesInDeferredStockPlanTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfDeferredStockPlanSharesGrantedByDateTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of deferred stock plan shares granted by date.",
        "label": "Schedule of Deferred Stock Plan Shares Granted by Date [Table Text Block]",
        "terseLabel": "Shares Granted"
       }
      }
     },
     "localname": "ScheduleOfDeferredStockPlanSharesGrantedByDateTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfEarnoutSensitivityAnalysisTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of earnout sensitivity analysis.",
        "label": "Schedule of earnout sensitivity analysis [Table Text Block]",
        "terseLabel": "Schedule of earnout sensitivity analysis"
       }
      }
     },
     "localname": "ScheduleOfEarnoutSensitivityAnalysisTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of estimated recovery of VAT on Sales and certain Services (ICMS) credits.",
        "label": "Schedule of estimated recovery of VAT on sales and certain services credits [Table Text Block]",
        "terseLabel": "Schedule of estimated recovery of ICMS credits"
       }
      }
     },
     "localname": "ScheduleOfEstimatedRecoveryOfVATOnSalesAndCertainServicesCreditsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfFinancialInformationOfSegmentsMainIndicatorsCashFlowsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of financial information of segments, main indicators - cash flows.",
        "label": "Schedule of financial information of segments, main indicators - cash flows [Table Text Block]",
        "terseLabel": "Schedule of Financial information of segments, Main indicators - Cash flows"
       }
      }
     },
     "localname": "ScheduleOfFinancialInformationOfSegmentsMainIndicatorsCashFlowsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of  financial investments and hedge derivative financial instruments.",
        "label": "Schedule of Financial Investments and Hedge Derivative Financial Instruments [Table Text Block]",
        "terseLabel": "Financial investments"
       }
      }
     },
     "localname": "ScheduleOfFinancialInvestmentsAndHedgeDerivativeFinancialInstrumentsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CashandcashequivalentsfinancialinvestmentsandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of gain (loss) on disposal of investments, net.",
        "label": "Schedule of gain (loss) on disposal of investments, net [Table Text Block]",
        "terseLabel": "Schedule of gain (loss) on disposal of investments, net"
       }
      }
     },
     "localname": "ScheduleOfGainLossOnDisposalOfInvestmentsNetTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/AssetsandliabilitiesfromsubsidiariesheldforsaleanddiscontinuedoperationsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfNotesPayableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of notes payable.",
        "label": "Schedule of Notes Payable [Table Text Block]",
        "terseLabel": "Summary of notes payable"
       }
      }
     },
     "localname": "ScheduleOfNotesPayableTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of restricted and performance stock programs.",
        "label": "Schedule of Restricted and Performance Stock Programs [Table Text Block]",
        "terseLabel": "Restricted Stock Program"
       }
      }
     },
     "localname": "ScheduleOfRestrictedAndPerformanceStockProgramsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_ScheduleOfSensitivityAnalysisOfInterestRateHedgingInstrumentsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of sensitivity analysis of interest rate hedging instruments.",
        "label": "Schedule of Sensitivity Analysis of Interest Rate Hedging Instruments [Table Text Block]",
        "terseLabel": "Schedule of sensitivity analysis of interest rate hedging instruments"
       }
      }
     },
     "localname": "ScheduleOfSensitivityAnalysisOfInterestRateHedgingInstrumentsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SelicInterestOnPISAndCOFINSCredits": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of SELIC interest income on Social Integration Program (PIS) and Contribution for Social Security Financing (COFINS) credits. SELIC means the rate assessed by the Brazilian Special Liquidation and Custody System (Sistema Especial de Liquida\u00e7\u00e3o e Cust\u00f3dia) - SELIC, published by the Central Bank of Brazil.",
        "label": "Selic Interest on P I S and C O F I N S Credits",
        "terseLabel": "Selic interest on PIS/COFINS credits"
       }
      }
     },
     "localname": "SelicInterestOnPISAndCOFINSCredits",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SelicMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to SELIC. SELIC means the rate assessed by the Brazilian Special Liquidation and Custody System (Sistema Especial de Liquida\u00e7\u00e3o e Cust\u00f3dia) - SELIC, published by the Central Bank of Brazil.",
        "label": "Selic [member]",
        "terseLabel": "SELIC [member]"
       }
      }
     },
     "localname": "SelicMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SellingAndMarketingAmortisation": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_AmortisationIntangibleAssetsOtherThanGoodwill",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortisation expense recognized as Selling and marketing.",
        "label": "Selling and marketing amortisation",
        "terseLabel": "Selling and marketing"
       }
      }
     },
     "localname": "SellingAndMarketingAmortisation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SellingAndMarketingExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail": {
       "order": 1.0,
       "parentTag": "ugp_OperatingIncomeBeforeFinancialIncomeExpensesAndShareOfProfitLossOfJointVenturesAndAssociates",
       "weight": -1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of expense relating to the selling and marketing of goods or services.",
        "label": "Selling and marketing expenses",
        "negatedLabel": "Selling and marketing"
       }
      }
     },
     "localname": "SellingAndMarketingExpenses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SellingAndMarketingExpensesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to selling and marketing expenses.",
        "label": "Selling And Marketing Expenses [Member]",
        "terseLabel": "Selling and marketing expenses [member]"
       }
      }
     },
     "localname": "SellingAndMarketingExpensesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTransfertopropertyplantandequipmentDetail",
      "http://www.ultrapar.com/role/PropertyPlantAndEquipmentSummaryOfDepreciationExpensesInTheFinancialStatementsDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofAmortizationExpensesintheFinancialStatementsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SeniorityBonusMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to seniority bonus.",
        "label": "Seniority Bonus [member]",
        "terseLabel": "Seniority bonus [member]"
       }
      }
     },
     "localname": "SeniorityBonusMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitExpenseDetail",
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanPostEmploymentBenefitsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SermaAssDosUsuariosEquipProcDeDadosMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to SERMA - Ass. dos usu\u00e1rios equip. proc. de dados.",
        "label": "SERMA Ass dos usuarios equip proc de dados [member]",
        "terseLabel": "SERMA - Ass. dos usu\u00e1rios equip. proc. de dados [member]"
       }
      }
     },
     "localname": "SermaAssDosUsuariosEquipProcDeDadosMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SharebasedPaymentGrantsCostsIncludingTaxes": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Share-based payment arrangement total grants costs, including taxes.",
        "label": "Sharebased payment grants costs including taxes",
        "negatedLabel": "Total grant costs, including taxes",
        "totalLabel": "Total grant costs, including taxes"
       }
      }
     },
     "localname": "SharebasedPaymentGrantsCostsIncludingTaxes",
     "nsuri": "http://www.ultrapar.com/20221231",
     "xbrltype": "monetaryItemType"
    },
    "ugp_SharebasedPaymentPlanNameAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Plan Name [Axis]"
       }
      }
     },
     "localname": "SharebasedPaymentPlanNameAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SharebasedPaymentPlanNameDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Share-based Payment Plan Name [Domain]"
       }
      }
     },
     "localname": "SharebasedPaymentPlanNameDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RelatedPartiesChangesOfNumberOfSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesRestrictedStockProgramDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummarizedChangesOfNumberOfRestrictedAndPerformanceSharesGrantedDetail",
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSharesGrantedDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ShareholdersEquityAttributableToAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Shareholders Equity Attributable to [abstract]",
        "label": "Shareholders Equity Attributable to [abstract]",
        "terseLabel": "Equity attributable to:"
       }
      }
     },
     "localname": "ShareholdersEquityAttributableToAbstract",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_ShareholdersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cShareholders\u201d.",
        "label": "Shareholders [Member]",
        "terseLabel": "Shareholders [Member]"
       }
      }
     },
     "localname": "ShareholdersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ShortTermEmployeeBenefitsAccrualsForOtherCharges": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail": {
       "order": 3.0,
       "parentTag": "ifrs-full_ShorttermEmployeeBenefitsAccruals",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short-term accruals of employee benefits for other charges.",
        "label": "Short Term Employee Benefits Accruals for Other Charges",
        "terseLabel": "Others"
       }
      }
     },
     "localname": "ShortTermEmployeeBenefitsAccrualsForOtherCharges",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ShortTermEmployeeBenefitsAccrualsForProfitSharingBonusAndPremium": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_ShorttermEmployeeBenefitsAccruals",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short-term accruals of employee benefits for profit sharing, bonus and premium.",
        "label": "Short Term Employee Benefits Accruals for Profit Sharing Bonus and Premium",
        "terseLabel": "Profit sharing, bonus and premium"
       }
      }
     },
     "localname": "ShortTermEmployeeBenefitsAccrualsForProfitSharingBonusAndPremium",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail": {
       "order": 0.0,
       "parentTag": "ifrs-full_ShorttermEmployeeBenefitsAccruals",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short-term accruals of employee benefits for provisions on salaries.",
        "label": "Short Term Employee Benefits Accruals for Provisions on Salaries",
        "terseLabel": "Provisions on salaries"
       }
      }
     },
     "localname": "ShortTermEmployeeBenefitsAccrualsForProvisionsOnSalaries",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ShortTermEmployeeBenefitsAccrualsForSocialCharges": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail": {
       "order": 2.0,
       "parentTag": "ifrs-full_ShorttermEmployeeBenefitsAccruals",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of short-term accruals of employee benefits for social charges.",
        "label": "Short Term Employee Benefits Accruals for Social Charges",
        "terseLabel": "Social charges"
       }
      }
     },
     "localname": "ShortTermEmployeeBenefitsAccrualsForSocialCharges",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SalariesAndRelatedChargesSummaryOfSalariesAndRelatedChargesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cStella GD Intermediacao de Geracao Distribuida de Energia Ltda\u201d.",
        "label": "Stella GD Intermediacao de Geracao Distribuida de Energia Ltda [Member]",
        "terseLabel": "Stella GD Intermediacao de Geracao Distribuida de Energia Ltda [Member]"
       }
      }
     },
     "localname": "StellaGdIntermediacaoDeGeracaoDistribuidaDeEnergiaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_StellaGroupMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for transactions or other events in which an acquirer obtains control of \"Stella GD Intermedia\u00e7\u00e3o de Gera\u00e7\u00e3o Distribu\u00edda de Energia Ltda. (\u201cStella\u201d)\".",
        "label": "Stella Group [Member]",
        "terseLabel": "Stella GD Intermedia\u00e7\u00e3o de Gera\u00e7\u00e3o Distribu\u00edda de Energia Ltda [member]"
       }
      }
     },
     "localname": "StellaGroupMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_StellaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Stella.",
        "label": "Stella [Member]",
        "terseLabel": "Stella [member]"
       }
      }
     },
     "localname": "StellaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SuapeBaseMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Suape base.",
        "label": "Suape Base [member]",
        "terseLabel": "Suape Base [member]"
       }
      }
     },
     "localname": "SuapeBaseMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SuapeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Suape.",
        "label": "Suape [member]",
        "terseLabel": "Suape [member]"
       }
      }
     },
     "localname": "SuapeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SuapeTerminalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Suape terminal.",
        "label": "Suape terminal [Member]",
        "terseLabel": "Suape Terminal [Member]"
       }
      }
     },
     "localname": "SuapeTerminalMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubscriptionWarrants": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of subscription warrants indemnification.",
        "label": "Subscription warrants",
        "terseLabel": "Subscription warrants - indemnification"
       }
      }
     },
     "localname": "SubscriptionWarrants",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SubscriptionWarrantsIndemnificationMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to subscription warrants indemnification.",
        "label": "Subscription warrants indemnification [member]",
        "terseLabel": "Stock warrant \u2013 indemnification [member]"
       }
      }
     },
     "localname": "SubscriptionWarrantsIndemnificationMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubscriptionWarrantsShares": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares outstanding for subscription warrants.",
        "label": "Subscription warrants shares",
        "terseLabel": "Subscription warrants, shares"
       }
      }
     },
     "localname": "SubscriptionWarrantsShares",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_SubscriptionWarrantsSharesIssued": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of shares issued for subscription warrants.",
        "label": "Subscription warrants shares issued",
        "terseLabel": "Subscription warrants shares issued"
       }
      }
     },
     "localname": "SubscriptionWarrantsSharesIssued",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SubscriptionWarrantsIndemnificationAdditionalInformationDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_SubsidiariesGroupFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of subsidiaries, five.",
        "label": "Subsidiaries Group Five [Member]",
        "terseLabel": "Subsidiaries Ipiranga and Ultragaz [member]"
       }
      }
     },
     "localname": "SubsidiariesGroupFiveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubsidiariesGroupFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of subsidiaries, four.",
        "label": "Subsidiaries Group Four [Member]",
        "terseLabel": "Subsidiaries Ipiranga Produtos de Petr\u00f3leo S.A. (\u201cIPP\u201d), Tropical Transportes Ipiranga Ltda (\u201cTropical\u201d), AMPM, Iconic and Ultragaz [member]"
       }
      }
     },
     "localname": "SubsidiariesGroupFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubsidiariesGroupOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of subsidiaries, one.",
        "label": "Subsidiaries Group One [Member]",
        "terseLabel": "Subsidiaries Oxiteno S.A., Empresa Carioca de Produtos Qu\u00edmicos S.A. (\u201cEMCA\u201d) e Oleoqu\u00edmica Ind\u00fastria e Com\u00e9rcio de Produtos Qu\u00edmicos Ltda. (\u201cOleoqu\u00edmica\u201d) [member]"
       }
      }
     },
     "localname": "SubsidiariesGroupOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubsidiariesGroupThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of subsidiaries, three.",
        "label": "Subsidiaries Group Three [Member]",
        "terseLabel": "Subsidiary Extrafarma [member]"
       }
      }
     },
     "localname": "SubsidiariesGroupThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubsidiariesGroupTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Represents information pertaining to group of subsidiaries, two.",
        "label": "Subsidiaries Group Two [Member]",
        "terseLabel": "Subsidiaries Ipiranga Produtos de Petr\u00f3leo S.A. (\u201cIPP\u201d), Bahiana Distribuidora de G\u00e1s Ltda. (\u201cBahiana\u201d), Cia. Ultragaz, AMPM, Tropical and Iconic Lubrificantes S.A. (\u201cIconic\u201d) [member]"
       }
      }
     },
     "localname": "SubsidiariesGroupTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SubsidiaryIPPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Subsidiary IPP.",
        "label": "Subsidiary I P P [Member]",
        "terseLabel": "Subsidiary IPP [member]"
       }
      }
     },
     "localname": "SubsidiaryIPPMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of allowance for doubtful accounts on trade receivables.",
        "label": "Summary of Allowance for Doubtful Accounts on Trade Receivables [Table Text Block]",
        "terseLabel": "Loss allowance for expected credit losses balances on trade receivables"
       }
      }
     },
     "localname": "SummaryOfAllowanceForDoubtfulAccountsOnTradeReceivablesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfAmortizationExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of amortization expenses of intangible assets were recognized in the financial statements.",
        "label": "Summary of Amortization Expenses [Table Text Block]",
        "terseLabel": "Amortization expenses"
       }
      }
     },
     "localname": "SummaryOfAmortizationExpensesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of amount to be appropriated profit or loss in future.",
        "label": "Summary of Appropriated Profit or Loss in Future [Table Text Block]",
        "terseLabel": "Summary of Appropriated Profit or Loss in The Future"
       }
      }
     },
     "localname": "SummaryOfAppropriatedProfitOrLossInFutureTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of assets and liabilities in foreign currencies.",
        "label": "Summary of Assets and Liabilities in Foreign Currencies [Table Text Block]",
        "terseLabel": "Assets and liabilities in foreign currencies"
       }
      }
     },
     "localname": "SummaryOfAssetsAndLiabilitiesInForeignCurrenciesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfBalancesOfEscrowDepositsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of escrow deposits.",
        "label": "Summary of Balances of Escrow Deposits [Table Text Block]",
        "terseLabel": "Balances of escrow deposits"
       }
      }
     },
     "localname": "SummaryOfBalancesOfEscrowDepositsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfChangesInAssetRetirementObligationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of changes in the provision for asset retirement obligation.",
        "label": "Summary of Changes in Asset Retirement Obligation [Table Text Block]",
        "terseLabel": "Changes in the provision for asset retirement obligation"
       }
      }
     },
     "localname": "SummaryOfChangesInAssetRetirementObligationTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionforassetretirementobligationTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in the net balance of deferred taxes.",
        "label": "Summary of Changes in Balance of Deferred Taxes [Table Text Block]",
        "terseLabel": "Summary of Changes in Balances of Deferred Taxes"
       }
      }
     },
     "localname": "SummaryOfChangesInBalanceOfDeferredTaxesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of changes in loans debentures and finance leases.",
        "label": "Summary of Changes in Loans Debentures and Finance Leases [Table Text Block]",
        "terseLabel": "Summary of Changes in Loans, Debentures and Finance Leases"
       }
      }
     },
     "localname": "SummaryOfChangesInLoansDebenturesAndFinanceLeasesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfCompensationForKeyExecutivesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of compensation for key executives.",
        "label": "Summary of Compensation for Key Executives [Table Text Block]",
        "terseLabel": "Expenses for Compensation of its Key Executives"
       }
      }
     },
     "localname": "SummaryOfCompensationForKeyExecutivesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfContractCommitmentsLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of contract commitments.",
        "label": "Summary of contract commitments [line items]",
        "terseLabel": "Summary of contract commitments [line items]"
       }
      }
     },
     "localname": "SummaryOfContractCommitmentsLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsContractsDetail",
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfContractsTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of contract commitments.",
        "label": "Summary of Contracts [Table Text Block]",
        "terseLabel": "Contracts"
       }
      }
     },
     "localname": "SummaryOfContractsTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfDebenturesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of debentures.",
        "label": "Summary of Debentures [Table Text Block]",
        "terseLabel": "Summary of Debentures"
       }
      }
     },
     "localname": "SummaryOfDebenturesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfDeferredRevenueInSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of deferred revenue in subsidiaries.",
        "label": "Summary of Deferred Revenue in Subsidiaries [Table Text Block]",
        "terseLabel": "Deferred revenue in subsidiaries"
       }
      }
     },
     "localname": "SummaryOfDeferredRevenueInSubsidiariesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfDeferredRevenueLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of deferred revenue.",
        "label": "Summary of deferred revenue [line items]",
        "terseLabel": "Summary of deferred revenue [line items]"
       }
      }
     },
     "localname": "SummaryOfDeferredRevenueLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DeferredRevenueAdditionalInformationDetail",
      "http://www.ultrapar.com/role/DeferredRevenueDeferredRevenueInSubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfDeferredTaxAssetRecoveryTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of estimated recovery of deferred tax assets.",
        "label": "Summary of Deferred Tax Asset Recovery [Table Text Block]",
        "terseLabel": "Summary of Recovery of Deferred Tax Assets"
       }
      }
     },
     "localname": "SummaryOfDeferredTaxAssetRecoveryTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of allocation of net income and for distribution of dividends for the reporting period.",
        "label": "Summary of Dividends and Allocation of Net Income [Table Text Block]",
        "terseLabel": "Dividends and Allocation of Net Income"
       }
      }
     },
     "localname": "SummaryOfDividendsAndAllocationOfNetIncomeTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfEmploymentBenefitExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of employment benefit expenses.",
        "label": "Summary of Employment Benefit Expense [Table Text Block]",
        "terseLabel": "Post-employment benefit expense"
       }
      }
     },
     "localname": "SummaryOfEmploymentBenefitExpenseTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfExpensesByNatureTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of expenses by nature.",
        "label": "Summary of Expenses by Nature [Table Text Block]",
        "terseLabel": "Expenses by nature"
       }
      }
     },
     "localname": "SummaryOfExpensesByNatureTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CostsandexpensesbynatureTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfFinancialIncomeExpenseTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of finance income (expense)",
        "label": "Summary of Financial Income Expense [Table Text Block]",
        "terseLabel": "Financial result, net"
       }
      }
     },
     "localname": "SummaryOfFinancialIncomeExpenseTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfForeignLoanMaturityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of foreign loan maturity.",
        "label": "Summary of Foreign Loan Maturity [Table Text Block]",
        "terseLabel": "Summary of Foreign Loan Maturity"
       }
      }
     },
     "localname": "SummaryOfForeignLoanMaturityTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfForeignSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of the foreign subsidiaries with functional currency different from the company.",
        "label": "Summary of Foreign Subsidiaries Table [Text Block]",
        "terseLabel": "Summary of Foreign Subsidiaries"
       }
      }
     },
     "localname": "SummaryOfForeignSubsidiariesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PresentationOfFinancialStatementsAndSummaryOfSignificantAccountingPoliciesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfIncomeAndSocialContributionTaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of income and social contribution taxes.",
        "label": "Summary of income and social contribution taxes [line items]",
        "terseLabel": "Summary of income and social contribution taxes [line items]"
       }
      }
     },
     "localname": "SummaryOfIncomeAndSocialContributionTaxesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfRecoveryOfDeferredTaxAssetsDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfInsuranceCoverageInSubsidiariesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of detailed information about insurance coverages.",
        "label": "Summary of Insurance Coverage in Subsidiaries [Table Text Block]",
        "terseLabel": "Insurance coverage"
       }
      }
     },
     "localname": "SummaryOfInsuranceCoverageInSubsidiariesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfInventoriesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of inventories.",
        "label": "Summary of inventories [line items]",
        "terseLabel": "Summary of inventories [line items]"
       }
      }
     },
     "localname": "SummaryOfInventoriesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of debentures maturity dates distribution.",
        "label": "Summary of loan and debenture maturity Distribution Table [text block]",
        "terseLabel": "Summary of debentures maturity dates distribution"
       }
      }
     },
     "localname": "SummaryOfLoanAndDebentureMaturityDistributionTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfLoanAndDebentureMaturityTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of floating interest rate loan maturity of subsidiaries.",
        "label": "Summary of Loan and Debenture Maturity [Table Text Block]",
        "terseLabel": "Summary of Loans Maturity"
       }
      }
     },
     "localname": "SummaryOfLoanAndDebentureMaturityTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfLoanMaturityExplanatory": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of loan maturity of subsidiaries.",
        "label": "Summary of Loan Maturity Explanatory",
        "terseLabel": "Summary of Subsidiary's Loan Maturity"
       }
      }
     },
     "localname": "SummaryOfLoanMaturityExplanatory",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfOtherOperatingIncomeTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of other operating income (expense), net.",
        "label": "Summary of other Operating Income [Table Text Block]",
        "terseLabel": "Other operating income net"
       }
      }
     },
     "localname": "SummaryOfOtherOperatingIncomeTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfPrepaidExpensesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of prepaid expenses.",
        "label": "Summary of Prepaid Expenses [Table Text Block]",
        "terseLabel": "Summary of Prepaid Expenses"
       }
      }
     },
     "localname": "SummaryOfPrepaidExpensesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/PrepaidExpensesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfPrincipalMaturityScheduleTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of principal maturity of long-term debt.",
        "label": "Summary of Principal Maturity Schedule [Table Text Block]",
        "terseLabel": "Summary of Principal Maturity Schedule"
       }
      }
     },
     "localname": "SummaryOfPrincipalMaturityScheduleTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfRecoverableTaxesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of recoverable taxes.",
        "label": "Summary of recoverable taxes [line items]",
        "terseLabel": "Summary of recoverable taxes [line items]"
       }
      }
     },
     "localname": "SummaryOfRecoverableTaxesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfRecoverableTaxesTable": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of recoverable taxes [table]",
        "label": "Summary of recoverable taxes [table]",
        "terseLabel": "Summary of recoverable taxes [table]"
       }
      }
     },
     "localname": "SummaryOfRecoverableTaxesTable",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfRecoverableTaxesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of recoverable taxes.",
        "label": "Summary of Recoverable Taxes [Table Text Block]",
        "terseLabel": "Recoverable taxes"
       }
      }
     },
     "localname": "SummaryOfRecoverableTaxesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfSalariesAndRelatedChargesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of salaries and related charges.",
        "label": "Summary of Salaries and Related Charges [Table Text Block]",
        "terseLabel": "Summary of Salaries and related charges"
       }
      }
     },
     "localname": "SummaryOfSalariesAndRelatedChargesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/SalariesandrelatedchargesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of sensitivity analysis of assets and liabilities in foreign currency.",
        "label": "Summary of Sensitivity Analysis of Assets and Liabilities in Foreign Currency [Table Text Block]",
        "terseLabel": "Sensitivity analysis of assets and liabilities in foreign currency"
       }
      }
     },
     "localname": "SummaryOfSensitivityAnalysisOfAssetsAndLiabilitiesInForeignCurrencyTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of sensitivity analysis of floating interest rate risk.",
        "label": "Summary of Sensitivity Analysis of Floating Interest Rate Risk [Table Text Block]",
        "terseLabel": "Sensitivity analysis of floating interest rate risk"
       }
      }
     },
     "localname": "SummaryOfSensitivityAnalysisOfFloatingInterestRateRiskTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of significant actuarial assumptions made and the method used to calculate the actuarial present value of promised retirement benefits in retirement benefit plans.",
        "label": "Summary of Significant Actuarial Assumptions Adopted [Table Text Block]",
        "terseLabel": "Significant actuarial assumptions adopted"
       }
      }
     },
     "localname": "SummaryOfSignificantActuarialAssumptionsAdoptedTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EmployeeBenefitsAndPrivatePensionPlanTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfTaxIncentivesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of tax incentives.",
        "label": "Summary Of Tax Incentives [Table Text Block]",
        "terseLabel": "Summary of Tax Incentives"
       }
      }
     },
     "localname": "SummaryOfTaxIncentivesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfTaxReconciliationTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of tax reconciliation.",
        "label": "Summary of Tax Reconciliation [Table Text Block]",
        "terseLabel": "Summary of Reconciliation of Taxes"
       }
      }
     },
     "localname": "SummaryOfTaxReconciliationTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfTaxesPayableTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of additional information regarding taxes other than on income taxes.",
        "label": "Summary of taxes payable table [text block]",
        "terseLabel": "Summary of Taxes Payable"
       }
      }
     },
     "localname": "SummaryOfTaxesPayableTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfTradePayablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of trade payable.",
        "label": "Summary of trade payables [line items]",
        "terseLabel": "Summary of trade payables [line items]"
       }
      }
     },
     "localname": "SummaryOfTradePayablesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfTradePayablesTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of trade payables.",
        "label": "Summary of Trade Payables [Table Text Block]",
        "terseLabel": "Summary of Trade Payables"
       }
      }
     },
     "localname": "SummaryOfTradePayablesTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfTradeReceivablesLineItems": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Summary of trade receivables.",
        "label": "Summary of trade receivables [line items]",
        "terseLabel": "Summary of trade receivables [line items]"
       }
      }
     },
     "localname": "SummaryOfTradeReceivablesLineItems",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofExpectedLossesonDoubtfulAccountsDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesBreakdownofResellerFinancingGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_SummaryOfTransactionCostsTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Tabular disclosure of transaction costs.",
        "label": "Summary of transaction costs [text block]",
        "terseLabel": "Summary of Transaction Costs"
       }
      }
     },
     "localname": "SummaryOfTransactionCostsTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SummaryOfValueOfGainsLossesRecognizedTableTextBlock": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The tabular disclosure of value of gains (losses) on hedging instruments recognized, which affected the equity of the reporting entity.",
        "label": "Summary of value of gains losses recognized table [text block]",
        "terseLabel": "Value of gains (losses) recognized"
       }
      }
     },
     "localname": "SummaryOfValueOfGainsLossesRecognizedTableTextBlock",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsTables"
     ],
     "xbrltype": "textBlockItemType"
    },
    "ugp_SurchargeOnNonEssentialProducts": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of surcharge duty on non-essential products for tax contingencies.",
        "label": "Surcharge on Non Essential Products",
        "terseLabel": "Surcharge on non-essential products"
       }
      }
     },
     "localname": "SurchargeOnNonEssentialProducts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_SurchargeRateOnNonEssentialProducts": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of surcharge rate on non-essential products for tax contingencies.",
        "label": "Surcharge Rate on Non Essential Products",
        "terseLabel": "Surcharge rate on non-essential products"
       }
      }
     },
     "localname": "SurchargeRateOnNonEssentialProducts",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_TEASTerminalExportadorDeAlcoolDeSantosLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to TEAS Terminal Exportador de lcool de Santos Ltda.",
        "label": "T E A S Terminal Exportador De Alcool De Santos Ltda [Member]",
        "terseLabel": "TEAS Terminal Exportador de Alcool de Santos Ltda. [member]"
       }
      }
     },
     "localname": "TEASTerminalExportadorDeAlcoolDeSantosLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TJLPMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to TJLP.",
        "label": "T J L P [Member]",
        "terseLabel": "TJLP [member]"
       }
      }
     },
     "localname": "TJLPMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFinancialAssetsAndLiabilitiesExposedToFloatingInterestRatesDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSensitivityanalysisoffloatinginterestrateriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TJLPRate": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of TJLP rate used to calculate interest payment of loans payable.",
        "label": "T J L P rate",
        "terseLabel": "TJLP rate"
       }
      }
     },
     "localname": "TJLPRate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_TaxCreditsReceivedForReceivablesFromTaxesOtherThanIncomeTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of tax credits received for receivables from taxes other than income tax.",
        "label": "Tax Credits Received For Receivables From Taxes Other Than Income Tax",
        "terseLabel": "Tax credits received for recoverable taxes"
       }
      }
     },
     "localname": "TaxCreditsReceivedForReceivablesFromTaxesOtherThanIncomeTax",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectFromInterestOnCapital": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 5.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to interest on capital.",
        "label": "Tax effect from interest on capital",
        "negatedLabel": "Interest on capital"
       }
      }
     },
     "localname": "TaxEffectFromInterestOnCapital",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectOfAdjustmentToEstimatedIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 3.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to adjustment to estimated income.",
        "label": "Tax Effect of Adjustment to Estimated Income",
        "terseLabel": "Adjustment to estimated income"
       }
      }
     },
     "localname": "TaxEffectOfAdjustmentToEstimatedIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectOfMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 8.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to monetary variation from Special System for Settlement and Custody (\u201cSELIC\u201d) on repetition of tax undue payments.",
        "label": "Tax effect of monetary variation from Special System for Settlement and Custody on repetition of tax undue payments",
        "negatedLabel": "Monetary variation (SELIC) on repetition of tax undue payments"
       }
      }
     },
     "localname": "TaxEffectOfMonetaryVariationFromSpecialSystemForSettlementAndCustodyOnRepetitionOfTaxUnduePayments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectOfShareOfProfitLossOfSubsidiariesJointVenturesAndAssociates": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 7.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to share of profit (loss) of subsidiaries, joint ventures and associates.",
        "label": "Tax effect of share of profit (loss) of subsidiaries, joint ventures and associates",
        "negatedLabel": "Share of profit (loss) of subsidiaries, joint ventures and associates"
       }
      }
     },
     "localname": "TaxEffectOfShareOfProfitLossOfSubsidiariesJointVenturesAndAssociates",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectOfTaxIncentives": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_IncomeTaxExpenseContinuingOperations",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to tax incentives.",
        "label": "Tax Effect of Tax Incentives",
        "negatedLabel": "Tax incentives\u2014SUDENE",
        "terseLabel": "Tax incentives \u2013 SUDENE (10.c)"
       }
      }
     },
     "localname": "TaxEffectOfTaxIncentives",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxEffectOfUnrecordedDeferredIncomeAndSocialContributionTaxesCarryforwardsDeferred": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail": {
       "order": 4.0,
       "parentTag": "ugp_IncomeAndSocialContributionTaxesBeforeTaxIncentives",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount that represents the difference between the tax expense (income) and the product of the accounting profit multiplied by the applicable tax rate(s) that relates to unrecorded deferred income and social contribution taxes carryforwards deferred.",
        "label": "Tax Effect of Unrecorded Deferred Income and Social Contribution Taxes Carryforwards Deferred",
        "negatedLabel": "Unrecorded deferred income and social contribution tax\u00a0carryforwards",
        "terseLabel": "Unrecorded deferred income and social contribution taxes carryforwards deferred"
       }
      }
     },
     "localname": "TaxEffectOfUnrecordedDeferredIncomeAndSocialContributionTaxesCarryforwardsDeferred",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfReconciliationOfTaxesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxExpensesOnOtherOperatingIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail": {
       "order": 1.0,
       "parentTag": "ifrs-full_OtherExpenseByFunction",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of tax expenses on other operating income.",
        "label": "Tax Expenses On Other Operating Income",
        "negatedLabel": "Taxes on other operating income"
       }
      }
     },
     "localname": "TaxExpensesOnOtherOperatingIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OtheroperatingincomenetOtheroperatingincomenetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxLiabilitiesRecognisedAsOfAcquisitionDate": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails": {
       "order": 8.0,
       "parentTag": "ifrs-full_IdentifiableAssetsAcquiredLiabilitiesAssumed",
       "weight": -1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount recognised as of the acquisition date for tax liabilities assumed in a business combination.",
        "label": "Tax liabilities recognised as of acquisition date",
        "terseLabel": "Taxes payable"
       }
      }
     },
     "localname": "TaxLiabilitiesRecognisedAsOfAcquisitionDate",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxLossCarryforwards": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unrecognized deferred tax assets attributable to income tax, subject to local compensation rules.",
        "label": "Tax loss carryforwards",
        "terseLabel": "Tax loss carryforwards related to income tax",
        "verboseLabel": "Tax loss carryforwards"
       }
      }
     },
     "localname": "TaxLossCarryforwards",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TaxMattersMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to tax matters.",
        "label": "Tax matters [member]",
        "terseLabel": "Tax matters [member]"
       }
      }
     },
     "localname": "TaxMattersMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesBalancesOfEscrowDepositsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TaxOnIndustrializedProductsFederalVATMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Tax on Industrialized Products (\"Imposto sobre Produtos Industrializados - IPI\").",
        "label": "Tax on Industrialized Products [Member]",
        "terseLabel": "IPI (Federal VAT) [member]"
       }
      }
     },
     "localname": "TaxOnIndustrializedProductsFederalVATMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TaxesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Taxes [axis]",
        "label": "Taxes [axis]",
        "terseLabel": "Taxes [axis]"
       }
      }
     },
     "localname": "TaxesAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_TaxesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Taxes [domain]",
        "label": "Taxes [domain]",
        "terseLabel": "Taxes [domain]"
       }
      }
     },
     "localname": "TaxesDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesScheduleofestimatedrecoveryofICMScreditsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableIncomeTaxandSocialContributionTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofICMSassetsDetail",
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofestimatedrecoveryofPISandCOFINScreditDetail",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TemmarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Temmar.",
        "label": "Temmar [member]",
        "terseLabel": "Temmar [member]"
       }
      }
     },
     "localname": "TemmarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TequimarVilaDoCondeLogsticaPorturiaSaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Tequimar Vila do Conde Log\u00edstica Portu\u00e1ria S.A.",
        "label": "Tequimar Vila do Conde Logstica Porturia SA [Member]",
        "terseLabel": "Tequimar Vila do Conde Logstica Porturia SA [member]"
       }
      }
     },
     "localname": "TequimarVilaDoCondeLogsticaPorturiaSaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TequimarVilaDoCondeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Tequimar Vila do Conde.",
        "label": "Tequimar Vila Do Conde [Member]",
        "terseLabel": "Tequimar Vila do Conde [member]"
       }
      }
     },
     "localname": "TequimarVilaDoCondeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TermMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to term derivative.",
        "label": "Term [Member]",
        "terseLabel": "Term [member]"
       }
      }
     },
     "localname": "TermMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsPositionsofderivativefinancialinstrumentstohedgecommoditypriceriskDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_Terminal1Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terminal 1",
        "label": "Terminal 1 [Member]",
        "terseLabel": "Terminal1 [Member]"
       }
      }
     },
     "localname": "Terminal1Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TerminalAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Terminal",
        "label": "Terminal [Axis]",
        "terseLabel": "Terminal [axis]"
       }
      }
     },
     "localname": "TerminalAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_TerminalQuimicoDeAratuSATequimarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Terminal Quimico de Aratu S.A. Tequimar.",
        "label": "Terminal Quimico De Aratu S A Tequimar [Member]",
        "terseLabel": "Terminal Quimico De Aratu SATequimar [member]",
        "verboseLabel": "Tequimar [member]"
       }
      }
     },
     "localname": "TerminalQuimicoDeAratuSATequimarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TermsOfResellerFinancing": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The contract term of reseller financing.",
        "label": "Terms of reseller financing",
        "terseLabel": "Terms of reseller financing"
       }
      }
     },
     "localname": "TermsOfResellerFinancing",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "durationItemType"
    },
    "ugp_TexacoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Texaco.",
        "label": "Texaco [member]",
        "terseLabel": "Texaco [member]"
       }
      }
     },
     "localname": "TexacoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ThirdPartiesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to third parties.",
        "label": "Third parties [member]",
        "terseLabel": "Third parties [member]"
       }
      }
     },
     "localname": "ThirdPartiesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ThreeEmployeesAndOneFormerEmployeeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to three employees and one former employee.",
        "label": "Three employees and one former employee [member]",
        "terseLabel": "Three employees and one former employee [member]"
       }
      }
     },
     "localname": "ThreeEmployeesAndOneFormerEmployeeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ThresholdAmountOfGrossRevenueForCalculationOfAlternativeMethodOfTaxationForCompanies": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of threshold gross revenue for calculation of alternative method of taxation for companies.",
        "label": "Threshold amount of gross revenue for calculation of alternative method of taxation for companies",
        "terseLabel": "Threshold amount of gross revenue for calculation of alternative method of taxation for companies"
       }
      }
     },
     "localname": "ThresholdAmountOfGrossRevenueForCalculationOfAlternativeMethodOfTaxationForCompanies",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ThresholdPercentageOfShareCapitalForInvestmentsReserveAllocation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of threshold limit of share capital for investments reserve allocation.",
        "label": "Threshold Percentage of Share Capital for Investments Reserve Allocation",
        "terseLabel": "Threshold percentage of share capital for investments reserve allocation"
       }
      }
     },
     "localname": "ThresholdPercentageOfShareCapitalForInvestmentsReserveAllocation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ThresholdPercentageOfShareCapitalForLegalReserveAllocation": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of threshold limit of share capital for legal reserve allocation.",
        "label": "Threshold Percentage of Share Capital for Legal Reserve Allocation",
        "terseLabel": "Threshold percentage of share capital for legal reserve allocation"
       }
      }
     },
     "localname": "ThresholdPercentageOfShareCapitalForLegalReserveAllocation",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_ThresholdPercentageOfTaxableIncomeForIndefiniteExpirationOfTaxLossCarryforwards": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of threshold taxable income for indefinite expiration of tax loss carryforwards.",
        "label": "Threshold percentage of taxable income for indefinite expiration of tax loss carryforwards",
        "terseLabel": "Threshold percentage of taxable income for indefinite expiration of tax loss carryforwards"
       }
      }
     },
     "localname": "ThresholdPercentageOfTaxableIncomeForIndefiniteExpirationOfTaxLossCarryforwards",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_TotalSaleOfInvestments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of total receivables arising from the sale of investments.",
        "label": "Total Sale of Investments",
        "terseLabel": "Total sale of investments"
       }
      }
     },
     "localname": "TotalSaleOfInvestments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablessaleofsubsidiariesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TradeAndOtherReceivablesGross": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of gross trade receivables and other receivables.",
        "label": "Trade And Other Receivables Gross",
        "terseLabel": "Accounting balance"
       }
      }
     },
     "localname": "TradeAndOtherReceivablesGross",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsCreditriskexposureDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TradeCurrentPayablesReverseFactoring": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition": {
       "order": 3.0,
       "parentTag": "ifrs-full_CurrentLiabilities",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade current payables- reverse factoring.",
        "label": "Trade current payables reverse factoring",
        "terseLabel": "Trade payables \u2013 reverse factoring"
       }
      }
     },
     "localname": "TradeCurrentPayablesReverseFactoring",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofFinancialPosition",
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails1",
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TradePayableMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to trade payables.",
        "label": "Trade Payable [Member]",
        "terseLabel": "Trade Payable [member]",
        "verboseLabel": "Trade payables [member]"
       }
      }
     },
     "localname": "TradePayableMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsFairValuesAndTheCarryingValuesOfTheFinancialInstrumentsDetail",
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TradePayablesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade payables [axis]",
        "label": "Trade payables [axis]",
        "terseLabel": "Trade payables [axis]"
       }
      }
     },
     "localname": "TradePayablesAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_TradePayablesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade payables [domain]",
        "label": "Trade payables [domain]",
        "terseLabel": "Trade payables [domain]"
       }
      }
     },
     "localname": "TradePayablesDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TradePayablesReverseFactoringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \"Trade payables \u2013 reverse factoring\".",
        "label": "Trade payables \u2013 reverse factoring [member]",
        "terseLabel": "Trade payables \u2013 reverse factoring [member]"
       }
      }
     },
     "localname": "TradePayablesReverseFactoringMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryOfTheFinancialAssetsAndFinancialLiabilitiesMeasuredAtFairValueDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TradePayablesRreverseFactoringMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to trade payables reverse factoring.",
        "label": "Trade Payables Rreverse Factoring [Member]",
        "terseLabel": "Trade payables reverse factoring [member]"
       }
      }
     },
     "localname": "TradePayablesRreverseFactoringMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradePayablesSummaryOfTradePayablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TradeReceivablesAxis": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade receivables.",
        "label": "Trade Receivables [axis]",
        "terseLabel": "Trade Receivables [axis]"
       }
      }
     },
     "localname": "TradeReceivablesAxis",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "stringItemType"
    },
    "ugp_TradeReceivablesDomain": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Trade receivables domain.",
        "label": "Trade Receivables [domain]",
        "terseLabel": "Trade Receivables [domain]"
       }
      }
     },
     "localname": "TradeReceivablesDomain",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesCompositionofResellerFinancingDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TradeReceivablesDueFromRelatedPartiesGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of trade receivables due from related parties, gross of allowance for doubtful accounts.",
        "label": "Trade Receivables Due from Related Parties, Gross",
        "terseLabel": "Related parties"
       }
      }
     },
     "localname": "TradeReceivablesDueFromRelatedPartiesGross",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TradeReceivablesGross": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of trade receivables, gross of allowance for doubtful accounts.",
        "label": "Trade Receivables Gross",
        "terseLabel": "Trade receivables, gross of allowance for expected credit losses"
       }
      }
     },
     "localname": "TradeReceivablesGross",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesSummaryofofTradeReceivablesGrossofLossAllowanceforExpectedCreditLossesDetail",
      "http://www.ultrapar.com/role/TradereceivablesresellerfinancingandotherreceivablesTradereceivablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TrademarkRightsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to trademark rights.",
        "label": "Trademark rights [member]",
        "terseLabel": "Trademark rights [member]"
       }
      }
     },
     "localname": "TrademarkRightsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalanceAndChangesInIntangibleAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TransactionCostAmortization": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of amortization of transaction costs of financial instruments during the reporting period.",
        "label": "Transaction cost amortization",
        "negatedLabel": "Amortization"
       }
      }
     },
     "localname": "TransactionCostAmortization",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TransactionCostsFinancialInstruments": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of accrued transaction costs of financial instruments.",
        "label": "Transaction costs financial instruments",
        "periodEndLabel": "Transaction costs, ending",
        "periodStartLabel": "Transaction costs, beginning"
       }
      }
     },
     "localname": "TransactionCostsFinancialInstruments",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TransactionCostsForSaleOfSubsidiary": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of transaction costs for sale of subsidiary.",
        "label": "Transaction costs for sale of subsidiary",
        "negatedLabel": "Transaction costs"
       }
      }
     },
     "localname": "TransactionCostsForSaleOfSubsidiary",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails",
      "http://www.ultrapar.com/role/DiscontinuedoperationsScheduleofgainlossondisposalofinvestmentsnetDetails1"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_TransportadoraSulbrasileiraDeGasMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Transportadora Sulbrasileira de G\u00e1s S.A.",
        "label": "Transportadora sulbrasileira de gas [member]",
        "terseLabel": "Transportadora sulbrasileira de gas [member]"
       }
      }
     },
     "localname": "TransportadoraSulbrasileiraDeGasMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofAmountsofBalanceSheetsandIncomeStatementsofAssociatesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TreasurySharesAveragePrice": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Treasury shares average price.",
        "label": "Treasury shares average price",
        "terseLabel": "Average cost"
       }
      }
     },
     "localname": "TreasurySharesAveragePrice",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityAdditionalInformationDetail"
     ],
     "xbrltype": "perShareItemType"
    },
    "ugp_TropicalTransportesIpirangaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Tropical Transportes Ipiranga Ltda.",
        "label": "Tropical Transportes Ipiranga Ltda [member]",
        "terseLabel": "Tropical Transportes Ipiranga Ltda [member]"
       }
      }
     },
     "localname": "TropicalTransportesIpirangaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwentyTwentyFiveMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fiscal year 2025.",
        "label": "Twenty Twenty Five [member]",
        "terseLabel": "2025 [member]"
       }
      }
     },
     "localname": "TwentyTwentyFiveMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwentyTwentyFourMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fiscal year 2024.",
        "label": "Twenty Twenty Four [member]",
        "terseLabel": "2024 [member]"
       }
      }
     },
     "localname": "TwentyTwentyFourMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwentyTwentyOneMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fiscal year 2021.",
        "label": "Twenty Twenty One [member]",
        "terseLabel": "2021 [member]"
       }
      }
     },
     "localname": "TwentyTwentyOneMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwentyTwentyThreeMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fiscal year 2023.",
        "label": "Twenty Twenty Three [member]",
        "terseLabel": "2023 [member]"
       }
      }
     },
     "localname": "TwentyTwentyThreeMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwentyTwentyTwoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to fiscal year 2022.",
        "label": "Twenty Twenty Two [member]",
        "terseLabel": "2022 [member]"
       }
      }
     },
     "localname": "TwentyTwentyTwoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsContractualUndiscountedCashOutflowsParentheticalDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_TwoFormerEmployeesEachMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to two former employees.",
        "label": "Two former employees, each [member]",
        "terseLabel": "Two former employees, each [member]"
       }
      }
     },
     "localname": "TwoFormerEmployeesEachMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ProvisionsAndContingenciesAdditionalInformationDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_USDollarToRealSwaps": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": 0.0,
       "parentTag": "ugp_USDollarToRealSwapsNetEffect",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of currency swaps receivable from U.S. Dollar/ Real swaps.",
        "label": "U S Dollar to Real Swaps",
        "terseLabel": "U.S. Dollar / Real swaps"
       }
      }
     },
     "localname": "USDollarToRealSwaps",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_USDollarToRealSwapsNetEffect": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail": {
       "order": null,
       "parentTag": null,
       "root": true,
       "weight": null
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of currency swaps receivable from U.S. Dollar to Real swaps net effect.",
        "label": "U S Dollar to Real Swaps Net Effect",
        "totalLabel": "Net effect"
       }
      }
     },
     "localname": "USDollarToRealSwapsNetEffect",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsChangesInExchangeRateDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to UVC - Fundo de investimento em participa\u00e7\u00f5es multiestrat\u00e9gia investimento no exterior.",
        "label": "U V C Fundo De Investimento Em Participacoes Multiestrategia Investimen to No Exterior Member]",
        "terseLabel": "UVC - Fundo de investimento em participa\u00e7\u00f5es multiestrat\u00e9gia investimento no exterior [Member]"
       }
      }
     },
     "localname": "UVCFundoDeInvestimentoEmParticipacoesMultiestrategiaInvestimenToNoExteriorMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UVCInvestimentosLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to UVC Investimentos Ltda.",
        "label": "U V C Investimentos Ltda [Member]",
        "terseLabel": "UVC Investimentos Ltda. [Member]"
       }
      }
     },
     "localname": "UVCInvestimentosLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltracargoLogisticaSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultracargo Log\u00edstica S.A..",
        "label": "Ultracargo Log\u00edstica S.A. [member]",
        "terseLabel": "Ultracargo Log\u00edstica S.A."
       }
      }
     },
     "localname": "UltracargoLogisticaSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/EventsafterthereportingperiodAdditionalInformationDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfTaxIncentivesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNarrativeofDebenturesDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofDebenturesDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltracargoMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultracargo.",
        "label": "Ultracargo [member]",
        "terseLabel": "Ultracargo [member]"
       }
      }
     },
     "localname": "UltracargoMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltracargoOperacoesLogisticasParticipacoesLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultracargo Operacoes Logisticas e Participacoes Ltda.",
        "label": "Ultracargo Operacoes Logisticas Participacoes Ltda [Member]",
        "terseLabel": "Ultracargo Operacoes Logisticas e Participacoes Ltda [member]"
       }
      }
     },
     "localname": "UltracargoOperacoesLogisticasParticipacoesLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltracargoVilaDoCondeLogisticaPortuariaSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cUltracargo Vila do Conde Logistica Portuaria S.A.\u201d.",
        "label": "Ultracargo Vila do Conde Logistica Portuaria S.A. [Member]",
        "terseLabel": "Ultracargo Vila do Conde Log\u00edstica Portu\u00e1ria S.A. [Member]"
       }
      }
     },
     "localname": "UltracargoVilaDoCondeLogisticaPortuariaSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltragazComercialLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultragaz Comercial Ltda.",
        "label": "Ultragaz Comercial Ltda [member]",
        "terseLabel": "Ultragaz Comercial Ltda [member]"
       }
      }
     },
     "localname": "UltragazComercialLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BusinesscombinationsAdditionalInformationDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleofearnoutsensitivityanalysisDetails",
      "http://www.ultrapar.com/role/BusinesscombinationsScheduleoftheprovisionalbalancesofassetsacquiredandliabilitiesassumedontheacquisitiondateDetails",
      "http://www.ultrapar.com/role/OperationsDetail",
      "http://www.ultrapar.com/role/OperationsOperationalimpactsDetailsTextuals"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltragazEnergiaLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cUltragaz Energia Ltda.\u201d.",
        "label": "Ultragaz Energia Ltda. [Member]",
        "terseLabel": "Ultragaz Energia Ltda. [Member]"
       }
      }
     },
     "localname": "UltragazEnergiaLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltragazMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultragaz.",
        "label": "Ultragaz [member]",
        "terseLabel": "Ultragaz [member]"
       }
      }
     },
     "localname": "UltragazMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/CommitmentsInsuranceCoverageDetail",
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsLossallowanceforexpectedcreditlossesbalancesontradereceivablesDetail",
      "http://www.ultrapar.com/role/SegmentInformationAdditionstoPropertyPlantandEquipmentandintangibleAssetsandContractualassetswithcustomersexclusiverightsDetail",
      "http://www.ultrapar.com/role/SegmentInformationCashflowtransactionsandAssetsDetail",
      "http://www.ultrapar.com/role/SegmentinformationFinancialInformationofSegmentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltragazParticipacoesLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to \u201cUltragaz Participacoes Ltda.\u201d.",
        "label": "Ultragaz Participacoes Ltda. [Member]",
        "terseLabel": "Ultragaz Participacoes Ltda. [Member]"
       }
      }
     },
     "localname": "UltragazParticipacoesLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltraparInternationalMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultrapar International.",
        "label": "Ultrapar International [Member]",
        "terseLabel": "Ultrapar International [member]"
       }
      }
     },
     "localname": "UltraparInternationalMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeandSocialContributionTaxesSummaryoftaxlosscarryforwardsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltraparInternationalSAMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultrapar international S.A.",
        "label": "Ultrapar International S A [Member]",
        "terseLabel": "Ultrapar International S.A. [member]"
       }
      }
     },
     "localname": "UltraparInternationalSAMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesAdditionalInformationDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail",
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UltraparMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Ultrapar.",
        "label": "Ultrapar [Member]",
        "terseLabel": "Ultrapar [member]"
       }
      }
     },
     "localname": "UltraparMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/DiscontinuedoperationsDetails2",
      "http://www.ultrapar.com/role/IncomeAndSocialContributionTaxesSummaryOfDeferredIncomeAndSocialContributionTaxAssetsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UnclaimedDividendsForfeited": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of unclaimed dividends forfeited during the reporting period.",
        "label": "Unclaimed Dividends Forfeited",
        "negatedLabel": "Prescribed dividends",
        "terseLabel": "Dividends prescribed"
       }
      }
     },
     "localname": "UnclaimedDividendsForfeited",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/ConsolidatedStatementsofChangesinEquity",
      "http://www.ultrapar.com/role/EquitySummaryofBalancesandChangesinDividendsPayableDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UndiscountedOperatingLeasePaymentsToBePaid": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of undiscounted operating lease payments to be paid. Operating lease is a lease that does not transfer substantially all the risks and rewards incidental to ownership of an underlying asset.",
        "label": "Undiscounted Operating Lease Payments to be Paid",
        "terseLabel": "Future disbursements",
        "verboseLabel": "Leases payable"
       }
      }
     },
     "localname": "UndiscountedOperatingLeasePaymentsToBePaid",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofMaturitiesofLeasePaymentsofOperatingLeaseDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of undiscounted operating lease payments to be paid for lease contracts of low amount assets.",
        "label": "Undiscounted Operating Lease Payments to be Paid for Contracts of Low Amount Assets",
        "terseLabel": "Lease payments to be payable"
       }
      }
     },
     "localname": "UndiscountedOperatingLeasePaymentsToBePaidForContractsOfLowAmountAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableDetailsaboutleasecontractsoflowamountassetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UniaoTerminaisMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Uniao Terminais.",
        "label": "Uniao Terminais [member]",
        "terseLabel": "Uniao Terminais [member]"
       }
      }
     },
     "localname": "UniaoTerminaisMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/IntangibleAssetsBalancesOfGoodwillDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UniaoVopakArmazensGeraisLtdaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Uni\u00e3o Vopak Armaz\u00e9ns Gerais Ltda.",
        "label": "Uniao Vopak Armaz\u00e9ns Gerais Ltda. [member]",
        "terseLabel": "Uni\u00e3o Vopak Armaz\u00e9ns Gerais Ltda. [member]"
       }
      }
     },
     "localname": "UniaoVopakArmazensGeraisLtdaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RelatedPartiesSummaryOfSubsidiariesAndOtherRelatedPartiesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UniaoVopakMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Uni\u00e3o Vopak.",
        "label": "Uniao vopak [member]",
        "terseLabel": "Uniao vopak [member]",
        "verboseLabel": "Uni\u00e3o Vopak \u2013 Armaz\u00e9ns Gerais Ltda [member]"
       }
      }
     },
     "localname": "UniaoVopakMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InvestmentSummaryOfBalancesAndChangesInJointVenturesDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofstatementsoffinancialpositionandstatementsofincomeofjointventuresDetail",
      "http://www.ultrapar.com/role/InvestmentsinjointcontrolledentitiesandassociatesSummaryofthepositionsofequityandincomelossfortheyearDetails"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UnitedStatesOfAmericaAndCanadaMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "Region of United States of America and Canada.",
        "label": "United States Of America And Canada [member]",
        "terseLabel": "United States of America and Canada [member]"
       }
      }
     },
     "localname": "UnitedStatesOfAmericaAndCanadaMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksandFinancialInstrumentsSummaryoflossallowanceforexpectedcreditlossesbalancesbygeographicareaDetail",
      "http://www.ultrapar.com/role/SegmentInformationRevenueFromOperationsAbroadDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt3rdApril2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to unsecured commercial notes payable not convertible into shares, maturity at April 3, 2021.",
        "label": "Unsecured Commercial Notes Payable Not Convertible Into Shares Maturity at 3rd April 2021 [Member]",
        "terseLabel": "Unsecured commercial notes payable not convertible into shares, maturity at 3rd April, 2021 [member]"
       }
      }
     },
     "localname": "UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt3rdApril2021Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt6thApril2021Member": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to unsecured commercial notes payable not convertible into shares, maturity at April 6, 2021.",
        "label": "Unsecured Commercial Notes Payable Not Convertible Into Shares Maturity at 6th April 2021 [Member]",
        "terseLabel": "Unsecured commercial notes payable not convertible into shares, maturity at 6th April, 2021 [member]"
       }
      }
     },
     "localname": "UnsecuredCommercialNotesPayableNotConvertibleIntoSharesMaturityAt6thApril2021Member",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UnsecuredNotesPayableNotConvertibleIntoSharesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to unsecured notes payable not convertible into shares.",
        "label": "Unsecured Notes Payable Not Convertible Into Shares [Member]",
        "terseLabel": "Unsecured notes payable not convertible into shares [member]",
        "verboseLabel": "Notes [member]"
       }
      }
     },
     "localname": "UnsecuredNotesPayableNotConvertibleIntoSharesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsNotesDetailsTextual",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofAppropriatedProfitorLossinTheFutureDetail",
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsSummaryofTransactionCostsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_UpdateOfProvisionsAndOtherIncome": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 4.0,
       "parentTag": "ifrs-full_FinanceIncome",
       "weight": 1.0
      }
     },
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of update of provisions and other income",
        "label": "Update of Provisions and Other Income",
        "terseLabel": "Update of provisions and other income"
       }
      }
     },
     "localname": "UpdateOfProvisionsAndOtherIncome",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UpdateOfProvisionsNetAndOtherExpenses": {
     "auth_ref": [],
     "calculation": {
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail": {
       "order": 7.0,
       "parentTag": "ifrs-full_FinanceCosts",
       "weight": 1.0
      }
     },
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of update of of provisions and other expenses.",
        "label": "Update of Provisions Net and Other Expenses",
        "negatedLabel": "Update of provisions, net, and other expenses"
       }
      }
     },
     "localname": "UpdateOfProvisionsNetAndOtherExpenses",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/FinancialresultnetFinancialresultnetDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_UtingasArmazenadoraMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Utingas Armazenadora S.A.",
        "label": "Utingas Armazenadora [Member]",
        "terseLabel": "Utingas Armazenadora S.A. [member]"
       }
      }
     },
     "localname": "UtingasArmazenadoraMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/OperationsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ValuationAdjustmentsMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for a component of equity representing valuation adjustments.",
        "label": "Valuation Adjustments [member]",
        "terseLabel": "Valuation Adjustments",
        "verboseLabel": "Total [member]"
       }
      }
     },
     "localname": "ValuationAdjustmentsMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceOfOtherComprehensiveIncomeDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ValueAddedTaxIvaOfForeignSubsidiariesMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to Value-added tax (IVA) of foreign subsidiaries.",
        "label": "Value Added Tax IVA Of Foreign Subsidiaries [Member]",
        "terseLabel": "Value-Added Tax (IVA) of foreign subsidiaries [member]"
       }
      }
     },
     "localname": "ValueAddedTaxIvaOfForeignSubsidiariesMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RecoverabletaxesSummaryofRecoverableTaxesDetail",
      "http://www.ultrapar.com/role/TaxesPayableSummaryOfTaxesPayableDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_ValueOfAssetsPercentage": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The percentage of restricted tangible assets value.",
        "label": "Value of assets percentage",
        "terseLabel": "Percent restricted consolidated tangible assets"
       }
      }
     },
     "localname": "ValueOfAssetsPercentage",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/LoansfinancingdebenturesandderivativefinancialinstrumentsAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareContinuingOperations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor. This basic earnings per share calculation used for continuing operations.",
        "label": "Weighted average number of ordinary shares used in calculating basic earnings per share, continuing operations",
        "terseLabel": "Weighted average number of shares outstanding (in thousands), Continuing operations"
       }
      }
     },
     "localname": "WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareContinuingOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareDiscontinuedOperations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The number of ordinary shares outstanding at the beginning of the period, adjusted by the number of ordinary shares bought back or issued during the period multiplied by a time-weighting factor. This basic earnings per share calculation used for discontinued operations.",
        "label": "Weighted average number of ordinary shares used in calculating basic earnings per share, discontinued operations",
        "terseLabel": "Weighted average number of shares outstanding (in thousands), Discontinued operations"
       }
      }
     },
     "localname": "WeightedAverageNumberOfOrdinarySharesUsedInCalculatingBasicEarningsPerShareDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareContinuingOperations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. This diluted earnings per share calculation used for continuing operations.",
        "label": "Weighted average number of ordinary shares used in calculating diluted earnings per share, continuing operations",
        "terseLabel": "Weighted average number of outstanding shares (in thousands), including dilution effects, Continuing operations"
       }
      }
     },
     "localname": "WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareContinuingOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareDiscontinuedOperations": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average number of ordinary shares outstanding plus the weighted average number of ordinary shares that would be issued on the conversion of all the dilutive potential ordinary shares into ordinary shares. This diluted earnings per share calculation used for discontinued operations.",
        "label": "Weighted average number of ordinary shares used in calculating diluted earnings per share, discontinued operations",
        "terseLabel": "Weighted average number of outstanding shares (in thousands), including dilution effects, Discontinued operations"
       }
      }
     },
     "localname": "WeightedAverageNumberOfOrdinarySharesUsedInCalculatingDilutedEarningsPerShareDiscontinuedOperations",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EarningspershareBasicandDilutedEarningsperShareDetail"
     ],
     "xbrltype": "sharesItemType"
    },
    "ugp_WeightedAveragePercentageOfFinancialLiabilitiesOfCustomers": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The weighted average percentage will occur over the contractual term of financial liabilities of customers.",
        "label": "Weighted average percentage of financial liabilities of customers",
        "terseLabel": "Average rate of financial liabilities of customers"
       }
      }
     },
     "localname": "WeightedAveragePercentageOfFinancialLiabilitiesOfCustomers",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/BasisofpreparationandpresentationoftheconsolidatedfinancialstatementsandsignificantaccountingpoliciesAdditionalInformationDetail"
     ],
     "xbrltype": "percentItemType"
    },
    "ugp_WorkInProcessMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to work in process inventory.",
        "label": "Work in process [member]",
        "terseLabel": "Work in process [member]"
       }
      }
     },
     "localname": "WorkInProcessMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/InventoriesBreakdownofInventoriesDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "ugp_WriteOffAdjustmentsOnExchangeDifferencesOnTranslationOfSaleOfInvestmentNetOfTax": {
     "auth_ref": [],
     "crdr": "debit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of write-off adjustments related to exchange differences on translation of sale of investment, net of tax.",
        "label": "Write-off adjustments on exchange differences on translation of sale of investment, net of tax",
        "negatedLabel": "Write-off due to sale of investment"
       }
      }
     },
     "localname": "WriteOffAdjustmentsOnExchangeDifferencesOnTranslationOfSaleOfInvestmentNetOfTax",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/EquityBalanceAndChangesInCumulativeTranslationAdjustmentsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_WriteOffsOfLeaseLiabilities": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of write-offs during the reporting period of lease liabilities.",
        "label": "Write Offs of Lease Liabilities",
        "terseLabel": "Write-offs"
       }
      }
     },
     "localname": "WriteOffsOfLeaseLiabilities",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofChangesinLeasePayablesDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_WriteOffsOfRightOfUseAssets": {
     "auth_ref": [],
     "crdr": "credit",
     "lang": {
      "en-us": {
       "role": {
        "documentation": "The amount of write-offs during the reporting period of right-of-use assets.",
        "label": "Write Offs of Right of Use Assets",
        "terseLabel": "Write-offs"
       }
      }
     },
     "localname": "WriteOffsOfRightOfUseAssets",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RightofuseassetsandleasespayableSummaryofInformationAboutRightofUseAssetsDetail"
     ],
     "xbrltype": "monetaryItemType"
    },
    "ugp_ZeroCostCollarMember": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "documentation": "This member stands for the information pertaining to zero cost collar derivative.",
        "label": "Zero Cost Collar [Member]",
        "terseLabel": "Zero cost collar [member]"
       }
      }
     },
     "localname": "ZeroCostCollarMember",
     "nsuri": "http://www.ultrapar.com/20221231",
     "presentation": [
      "http://www.ultrapar.com/role/RisksAndFinancialInstrumentsSummaryThePositionOfHedgingInstrumentsDetail"
     ],
     "xbrltype": "domainItemType"
    },
    "us-gaap_DeferredRevenueAbstract": {
     "auth_ref": [],
     "lang": {
      "en-us": {
       "role": {
        "label": "Deferred Revenue [Abstract]"
       }
      }
     },
     "localname": "DeferredRevenueAbstract",
     "nsuri": "http://fasb.org/us-gaap/2022",
     "xbrltype": "stringItemType"
    }
   },
   "unitCount": 13
  }
 },
 "std_ref": {
  "r0": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r1": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "104",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_104&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r10": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "107",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_107&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r100": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "2",
   "Paragraph": "36",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2022-en-r&anchor=para_36_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r101": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "2",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS02_g36-39__IAS02_g36-39_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r102": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "21",
   "Paragraph": "48",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2022-en-r&anchor=para_48&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r103": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "21",
   "Paragraph": "52",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2022-en-r&anchor=para_52_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r104": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "21",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=21&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS21_g51-57__IAS21_g51-57_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r105": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "23",
   "Paragraph": "26",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=23&code=ifrs-tx-2022-en-r&anchor=para_26_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r106": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_17_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r107": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r108": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_17_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r109": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r11": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "134",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_134&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r110": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "17",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r111": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "18",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_18_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r112": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "18",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_18&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r113": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_19_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r114": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_19_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r115": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_19_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r116": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_19_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r117": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "19",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_19&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r118": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "20",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r119": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Section": "Disclosures",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS24_g13-24__IAS24_g13-24_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r12": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "137",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_137_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r120": {
   "Clause": "iv",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_iv&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r121": {
   "Clause": "v",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_v&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r122": {
   "Clause": "vii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_vii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r123": {
   "Clause": "viii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "26",
   "Paragraph": "35",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=26&code=ifrs-tx-2022-en-r&anchor=para_35_b_viii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r124": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "10",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_10&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r125": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r126": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r127": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r128": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_16_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r129": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r13": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "41",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_41_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r130": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r131": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r132": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "27",
   "Paragraph": "17",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=27&code=ifrs-tx-2022-en-r&anchor=para_17_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r133": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "32",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=32&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r134": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "66",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r135": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "67",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_67&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r136": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "68",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_68&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r137": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "70",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_70_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r138": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "70",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_70_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r139": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS33_g70-73A__IAS33_g70-73A_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r14": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r140": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "126",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r141": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "126",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r142": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "126",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r143": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "129",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_129_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r144": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "129",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_129_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r145": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "130",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_130_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r146": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "130",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_130_d_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r147": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "130",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_130&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r148": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r149": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r15": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r150": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r151": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r152": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r153": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r154": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "86",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_86&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r155": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "89",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_89&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r156": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS37_g84-92__IAS37_g84-92_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r157": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r158": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r159": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r16": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r160": {
   "Clause": "vi",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e_vi&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r161": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r162": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r163": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "126",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_126&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r164": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "39",
   "Paragraph": "102",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=39&code=ifrs-tx-2022-en-r&anchor=para_102_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r165": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "76",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2022-en-r&anchor=para_76&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r166": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "79",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2022-en-r&anchor=para_79_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r167": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "79",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2022-en-r&anchor=para_79_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r168": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "41",
   "Paragraph": "50",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2022-en-r&anchor=para_50&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r169": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "41",
   "Paragraph": "54",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2022-en-r&anchor=para_54_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r17": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r170": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "10",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_10&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r171": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "18",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_18_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r172": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "25",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r173": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r174": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "31",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r175": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "39",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r176": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "40",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r177": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "40",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r178": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "40",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r179": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r18": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_h&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r180": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "46",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_46&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r181": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "50",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_50_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r182": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_f_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r183": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "8",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r184": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "8",
   "Paragraph": "29",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2022-en-r&anchor=para_29_c_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r185": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "8",
   "Paragraph": "49",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=8&code=ifrs-tx-2022-en-r&anchor=para_49_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r186": {
   "IssueDate": "2022-03-24",
   "Name": "IFRIC",
   "Number": "17",
   "Paragraph": "16",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRIC&num=17&code=ifrs-tx-2022-en-r&anchor=para_16_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r187": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_24_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r188": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "24",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_24_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r189": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "32",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_32_a_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r19": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r190": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "32",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_32_a_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r191": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "1",
   "Paragraph": "IG10",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=1&code=ifrs-tx-2022-en-r&anchor=para_IG10&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r192": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "10",
   "Paragraph": "22",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=10&code=ifrs-tx-2022-en-r&anchor=para_22&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r193": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "1",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_1&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r194": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_12_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r195": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_12_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r196": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_12_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r197": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "12",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_12_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r198": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "13",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_13_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r199": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r2": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r20": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "j",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_j&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r200": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19B_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r201": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19B",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19B_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r202": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "19B",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_19B_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r203": {
   "Clause": "iv",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "21",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_21_a_iv&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r204": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r205": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r206": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_ii&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r207": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_iii&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r208": {
   "Clause": "iv",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_iv&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r209": {
   "Clause": "ix",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_ix&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r21": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "n",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_n&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r210": {
   "Clause": "v",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_v&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r211": {
   "Clause": "vi",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_vi&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r212": {
   "Clause": "vii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_vii&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r213": {
   "Clause": "viii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B12_b_viii&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r214": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r215": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_d&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r216": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B13",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B13_g&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r217": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B14",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B14_b&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r218": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B16",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B16_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r219": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B16_b&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r22": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "o",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_o&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r220": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B16&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r221": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B4",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B4_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r222": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B4",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B4_b&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r223": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B4",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B4_d&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r224": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r225": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r226": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r227": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "93",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_93&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r228": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS13_g91-99__IFRS13_g91-99_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r229": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "14",
   "Paragraph": "30",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=14&code=ifrs-tx-2022-en-r&anchor=para_30&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r23": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "p",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_p&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r230": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "14",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=14&code=ifrs-tx-2022-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r231": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "14",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=14&code=ifrs-tx-2022-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r232": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "105",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_105&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r233": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "113",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_113_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r234": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "114",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_114&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r235": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "115",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_115&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r236": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "116",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_116_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r237": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r238": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "120",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_120_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r239": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "128",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_128_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r24": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "q",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_q&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r240": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r241": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r242": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r243": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r244": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r245": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_h&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r246": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "Subparagraph": "j",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53_j&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r247": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r248": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "58",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_58&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r249": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "59",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_59&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r25": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "54",
   "Subparagraph": "r",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_54_r&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r250": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "94",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r251": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "97",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_97&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r252": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "C12",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_C12_a&doctype=Appendix&subtype=C",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r253": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "C12",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_C12_b&doctype=Appendix&subtype=C",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r254": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS16_g51-60__IFRS16_g51-60_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r255": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Section": "Presentation",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS16_g47-50__IFRS16_g47-50_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r256": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r257": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r258": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r259": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "47",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_47_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r26": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "55",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r260": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "51",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_51_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r261": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_c&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r262": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_f_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r263": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_f&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r264": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_g_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r265": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_h_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r266": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r267": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67_d_ii&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r268": {
   "Clause": "v",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67_d_v&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r269": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B67",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67_d&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r27": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "56",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_56&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r270": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B67",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B67&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r271": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Section": "Disclosures",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS03_g59-63__IFRS03_g59-63_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r272": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Section": "Disclosures application of paragraphs 59 and 61",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&doctype=Appendix&subtype=B&dita_xref=IFRS03_gB64-B67__IFRS03_gB64-B67_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r273": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r274": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r275": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r276": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r277": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "33",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_33_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r278": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "38",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_38&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r279": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Section": "Presentation and disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS05_g30-42__IFRS05_g30-42_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r28": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "61",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_61_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r280": {
   "Clause": "viii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a_viii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r281": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "21C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_21C&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r282": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "23A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_23A&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r283": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "23B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_23B_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r284": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24A",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_24A_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r285": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24A",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_24A_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r286": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_24A&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r287": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24B",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_24B_b_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r288": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "24H",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_24H_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r289": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "25",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_25&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r29": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "61",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_61_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r290": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "31",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_31&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r291": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r292": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r293": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35H",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35H_b_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r294": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35H",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35H&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r295": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35I",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35I&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r296": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35K",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35K&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r297": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35M",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35M_b_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r298": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35M",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35M&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r299": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "36",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_36&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r3": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r30": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "61",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_61&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r300": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "39",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_39_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r301": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "42E",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_42E_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r302": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "42I",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_42I&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r303": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_6&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r304": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r305": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r306": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r307": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r308": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r309": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8_h&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r31": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "66",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_66&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r310": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "8",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_8&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r311": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Section": "Scope",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS07_g3-5A__IFRS07_g3-5A_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r312": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r313": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r314": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r315": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r316": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23_h&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r317": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r318": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_24_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r319": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r32": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "69",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_69&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r320": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r321": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r322": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r323": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r324": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_32&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r325": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "33",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_33_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r326": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "33",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_33_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r327": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "33",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_33&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r328": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r329": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IFRS08_g20-24__IFRS08_g20-24_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r33": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r330": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "9",
   "Paragraph": "6.5.11",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2022-en-r&anchor=para_6.5.11&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r331": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "9",
   "Paragraph": "6.5.13",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2022-en-r&anchor=para_6.5.13_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r332": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "9",
   "Paragraph": "7.2.34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2022-en-r&anchor=para_7.2.34&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r333": {
   "IssueDate": "2022-03-24",
   "Name": "SIC",
   "Number": "29",
   "Paragraph": "6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=SIC&num=29&code=ifrs-tx-2022-en-r&anchor=para_6&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r334": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "109",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_109&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r335": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "109A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_109A&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r336": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "113",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_113_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r337": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "120",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_120&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r338": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "124",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_124&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r339": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "125",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_125&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r34": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r340": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "127",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r341": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "128",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_128_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r342": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "132",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_132_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r343": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "C32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_C32&doctype=Appendix&subtype=C",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r344": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "9",
   "Paragraph": "7.2.42",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=9&code=ifrs-tx-2022-en-r&anchor=para_7.2.42&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r345": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39L",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39L_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r346": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39L",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39L_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r347": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39M",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39M_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r348": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39M",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39M_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r349": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39M",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39M&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r35": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r350": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "34",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_34_b&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r351": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "37",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_37_b&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r352": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "37",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_37_e&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r353": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "39G",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39G_a&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r354": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "39J",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39J_a&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r355": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "39J",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39J&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r356": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "IG22",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_IG22_f&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r357": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r358": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_20_e&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r359": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "22",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_22_b&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r36": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r360": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "22",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_22&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r361": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "23",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_23_d&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r362": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_24_a_i&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r363": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "8",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_8_f&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r364": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "102",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r365": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r366": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "108",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_108&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r367": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "68",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_68&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r368": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "70",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_70&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r369": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r37": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r370": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r371": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "10",
   "Paragraph": "22",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2022-en-r&anchor=para_22_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r372": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "10",
   "Paragraph": "22",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2022-en-r&anchor=para_22_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r373": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "80",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_80_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r374": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_37_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r375": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_37_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r376": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_37_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r377": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_138_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r378": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_138_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r379": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "147",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_147_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r38": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r380": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "21",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_21_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r381": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "24",
   "Paragraph": "21",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=24&code=ifrs-tx-2022-en-r&anchor=para_21_h&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r382": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "36",
   "Paragraph": "127",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=36&code=ifrs-tx-2022-en-r&anchor=para_127&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r383": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "87",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_87&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r384": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Section": "Example 10 A court case",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&doctype=Illustrative%20Examples&dita_xref=IAS37_IE_C_ex10__IAS37_IE_C_ex10_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r385": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "119",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_119_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r386": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "119",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_119_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r387": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "119",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_119_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r388": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r389": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r39": {
   "Clause": "v",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_v&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r390": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r391": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r392": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r393": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r394": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "44C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_44C&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r395": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "44D",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_44D&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r396": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Section": "A Statement of cash flows for an entity other than a financial institution",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_A__IAS07_IE_A_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r397": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Section": "C Reconciliation of liabilities arising from financing activities",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&doctype=Illustrative%20Examples&dita_xref=IAS07_IE_C__IAS07_IE_C_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r398": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "12",
   "Paragraph": "B10",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=12&code=ifrs-tx-2022-en-r&anchor=para_B10_b&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r399": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "B6",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_B6&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r4": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r40": {
   "Clause": "vi",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_vi&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r400": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "IE63",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_IE63&doctype=Illustrative%20Examples",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r401": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "118",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_118_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r402": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "118",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_118_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r403": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "B89",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_B89_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r404": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "B89",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_B89_b&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r405": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "15",
   "Paragraph": "B89",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=15&code=ifrs-tx-2022-en-r&anchor=para_B89_d&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r406": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "16",
   "Paragraph": "53",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=16&code=ifrs-tx-2022-en-r&anchor=para_53&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r407": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r408": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "IG23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_IG23&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r409": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r41": {
   "Clause": "vii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a_vii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r410": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r411": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "IE72",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_IE72&doctype=Illustrative%20Examples",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r412": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35M",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35M&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r413": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "35N",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_35N&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r414": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "40",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_40_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r415": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B11_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r416": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B11_d&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r417": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B11&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r418": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11D",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B11D_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r419": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B11D",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B11D&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r42": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r420": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35_a&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r421": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35_c&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r422": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35_e&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r423": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35_f&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r424": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35_g&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r425": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "B35",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_B35&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r426": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG20C",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_IG20C&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r427": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG20D",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_IG20D&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r428": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG31A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_IG31A&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r429": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "IG32",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_IG32&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r43": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r430": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "23",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_23&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r431": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r432": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "28",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_28&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r433": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "IG4",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_IG4&doctype=Implementation%20Guidance",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r434": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "113",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_113_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r435": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "96",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_96_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r436": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "96",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_96_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r437": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective 2023-01-01",
   "Number": "17",
   "Paragraph": "96",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=17&code=ifrs-tx-2022-en-r&anchor=para_96_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r438": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Effective on first application of IFRS 9",
   "Number": "4",
   "Paragraph": "39L",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_39L_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r439": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Note": "Expiry date 2023-01-01",
   "Number": "1",
   "Paragraph": "55",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-b&anchor=para_55&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r44": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81A_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r440": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Note": "Expiry date 2023-01-01",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-b&anchor=para_78_e&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r441": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "IG20",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_IG20_a&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r442": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "4",
   "Paragraph": "IG37",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=4&code=ifrs-tx-2022-en-b&anchor=para_IG37_a&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r443": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "36",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_36_c&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r444": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "37",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37_a&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r445": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "37",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37_b&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r446": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG24",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG24_a&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r447": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG24",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG24&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r448": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG28",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG28_b&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r449": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG28",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG28_d&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r45": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81A_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r450": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG29",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG29_a&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r451": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG29",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG29_b&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/exampleRef"
  },
  "r452": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r453": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r454": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "b-2",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r455": {
   "Name": "Exchange Act",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "12",
   "Subsection": "d1-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r456": {
   "Name": "Form 10-K",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "310",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r457": {
   "Name": "Form 20-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "220",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r458": {
   "Name": "Form 40-F",
   "Number": "249",
   "Publisher": "SEC",
   "Section": "240",
   "Subsection": "f",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r459": {
   "Name": "Forms 10-K, 10-Q, 20-F",
   "Number": "240",
   "Publisher": "SEC",
   "Section": "13",
   "Subsection": "a-1",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r46": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81A",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81A_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r460": {
   "Name": "Regulation S-T",
   "Number": "232",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r461": {
   "Name": "Securities Act",
   "Number": "230",
   "Publisher": "SEC",
   "Section": "405",
   "role": "http://www.xbrl.org/2003/role/presentationRef"
  },
  "r462": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "10",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_10_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r463": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "102",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_102&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r464": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "103",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_103&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r465": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r466": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "108",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_108&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r467": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "112",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_112_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r468": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "20",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_20_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r469": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "55",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_55&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r47": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81B_a_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r470": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r471": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r472": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "78",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_78&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r473": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "79",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_79_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r474": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "85",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_85&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r475": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "91",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_91_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r476": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "37",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_37&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r477": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r478": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r479": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "135",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_135_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r48": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81B_a_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r480": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "144",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_144&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r481": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "145",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_145&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r482": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "5",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_5&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r483": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "33",
   "Paragraph": "70",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=33&code=ifrs-tx-2022-en-r&anchor=para_70_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r484": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "37",
   "Paragraph": "84",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=37&code=ifrs-tx-2022-en-r&anchor=para_84&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r485": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r486": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r487": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r488": {
   "Clause": "vii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e_vii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r489": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r49": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81B_b_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r490": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "118",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_118&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r491": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "38",
   "Paragraph": "119",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=38&code=ifrs-tx-2022-en-r&anchor=para_119&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r492": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "40",
   "Paragraph": "79",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=40&code=ifrs-tx-2022-en-r&anchor=para_79_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r493": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "41",
   "Paragraph": "54",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=41&code=ifrs-tx-2022-en-r&anchor=para_54_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r494": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "14",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_14&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r495": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_16&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r496": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "17",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_17&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r497": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r498": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r499": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "20",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_20&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r5": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r50": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "81B",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_81B_b_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r500": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "7",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=7&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r501": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "13",
   "Paragraph": "94",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=13&code=ifrs-tx-2022-en-r&anchor=para_94&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r502": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "2",
   "Paragraph": "45",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=2&code=ifrs-tx-2022-en-r&anchor=para_45&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r503": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "3",
   "Paragraph": "B64",
   "Subparagraph": "i",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2022-en-r&anchor=para_B64_i&doctype=Appendix&subtype=B",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r504": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "5",
   "Paragraph": "38",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=5&code=ifrs-tx-2022-en-r&anchor=para_38&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r505": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "39",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r506": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "7",
   "Paragraph": "7",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2022-en-r&anchor=para_7&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r507": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Number": "8",
   "Paragraph": "34",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=8&code=ifrs-tx-2022-en-r&anchor=para_34&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r508": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Note": "Effective 2023-01-01",
   "Number": "1",
   "Paragraph": "117",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_117&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r509": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Note": "Expiry date 2023-01-01",
   "Number": "1",
   "Paragraph": "117",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-b&anchor=para_117_b&doctype=Standard&forcepdf=true",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r51": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r510": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "16",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_16&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r511": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "37",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37_b&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r512": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "37",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_37&doctype=Standard&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r513": {
   "IssueDate": "2022-03-24",
   "Name": "IFRS",
   "Note": "Expiry date 2023-01-01",
   "Number": "7",
   "Paragraph": "IG29",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=7&code=ifrs-tx-2017-en-b&anchor=para_IG29&doctype=Implementation%20Guidance&book=b",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2009/role/commonPracticeRef"
  },
  "r52": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r53": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r54": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r55": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82",
   "Subparagraph": "ea",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82_ea&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r56": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "82A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_82A&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r57": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "90",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_90&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r58": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "91",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_91_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r59": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "91",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_91_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r6": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r60": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "92",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_92&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r61": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "98",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r62": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "98",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r63": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "98",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r64": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "98",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_98_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r65": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "99",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_99&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r66": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "10",
   "Paragraph": "13",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2022-en-r&anchor=para_13&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r67": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "10",
   "Paragraph": "21",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2022-en-r&anchor=para_21&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r68": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "10",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=10&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS10_g17-22_IAS10_g17-22_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r69": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "79",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_79&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r7": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r70": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "ab",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_ab&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r71": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r72": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_c_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r73": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r74": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r75": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "g",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_g&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r76": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Paragraph": "81",
   "Subparagraph": "h",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&anchor=para_81_h_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r77": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "12",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=12&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS12_g79-88__IAS12_g79-88_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r78": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "39",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_39&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r79": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r8": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r80": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "d",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_d&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r81": {
   "Clause": "i",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_i&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r82": {
   "Clause": "ii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_ii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r83": {
   "Clause": "iii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_iii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r84": {
   "Clause": "vii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_vii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r85": {
   "Clause": "viii",
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e_viii&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r86": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "Subparagraph": "e",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73_e&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r87": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "73",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_73&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r88": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "75",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_75_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r89": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Paragraph": "75",
   "Subparagraph": "b",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&anchor=para_75_b&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r9": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "1",
   "Paragraph": "106A",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2022-en-r&anchor=para_106A&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r90": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "16",
   "Section": "Disclosure",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=16&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS16_g73-79__IAS16_g73-79_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r91": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "138",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_138&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r92": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "140",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_140_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r93": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "141",
   "Subparagraph": "f",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_141_f&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r94": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "142",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_142&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r95": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "145",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_145_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r96": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "145",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_145&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r97": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Paragraph": "147",
   "Subparagraph": "c",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&anchor=para_147_c&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r98": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "19",
   "Section": "Scope",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=19&code=ifrs-tx-2022-en-r&doctype=Standard&dita_xref=IAS19_g2-7__IAS19_g2-7_TI",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  },
  "r99": {
   "IssueDate": "2022-03-24",
   "Name": "IAS",
   "Number": "2",
   "Paragraph": "36",
   "Subparagraph": "a",
   "URI": "https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2022-en-r&anchor=para_36_a&doctype=Standard",
   "URIDate": "2022-03-24",
   "role": "http://www.xbrl.org/2003/role/disclosureRef"
  }
 },
 "version": "2.2"
}