XML 133 R107.htm IDEA: XBRL DOCUMENT
v3.25.1

Intangible assets - Balances of goodwill (Detail) - BRL (R$) R$ in Thousands | 12 Months Ended
--- | ---
Dec. 31, 2024 | Dec. 31, 2023
Disclosure of reconciliation of changes in goodwill [line items] |  |
Goodwill | R$ 982,359 | R$ 943,125
Ipiranga [member] |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ipiranga |
Goodwill | 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
Stella [member] |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ultragaz |
Goodwill | R$ 103,051 | 103,051
Iconic (CBLSA)[member] |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ipiranga |
Goodwill | R$ 69,807 | 69,807
WTZ (27.b) [member] |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ultragaz |
Goodwill | R$ 52,038 | 0
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
Neogás [Member] |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ultragaz |
Goodwill | R$ 7,761 | 7,761
Serra Diesel |  |
Disclosure of reconciliation of changes in goodwill [line items] |  |
Segment | Ultrapar |
Goodwill | R$ 1,413 | 14,217
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

X
- Definition 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]] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IFRS -Number 3 -IssueDate 2024-01-01 -Paragraph B67 -Subparagraph d -Clause ii -URI https://taxonomy.ifrs.org/xifrs-link?type=IFRS&num=3&code=ifrs-tx-2024-en-r&anchor=para_B67_d_ii&doctype=Appendix&subtype=B -URIDate 2024-03-27 + Details
Name: | ifrs-full_AdditionalRecognitionGoodwill
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition 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. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfReconciliationOfChangesInGoodwillLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The description of goodwill acquisition segment. + References No definition available. + Details
Name: | ugp_GoodwillAcquisitionSegment
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_IpirangaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_UniaoTerminaisMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TexacoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_StellaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_IconicCblsamemberMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_WtzParticipacoesSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TemmarMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_DNPMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_RepsolMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_NeogasGroupMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_SerraDieselMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_BusinessCombinationsAxis=ugp_TEASTerminalExportadorDeAlcoolDeSantosLtdaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |