XML 101 R75.htm IDEA: XBRL DOCUMENT
v3.25.1

Inventories - Breakdown of Inventories (Detail) - BRL (R$) R$ in Thousands | Dec. 31, 2024 | Dec. 31, 2023
--- | --- | ---
Summary of inventories [line items] |  |  |
Inventories |  | R$ 3,917,076 | R$ 4,291,431
Fuels, lubricants, and greases [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 3,009,100 | 3,367,094
Raw materials [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 373,544 | 282,197
Purchase for future delivery [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories | [1] | 255,001 | 386,281
Consumable materials and other items for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 129,539 | 121,537
Liquified petroleum gas - LPG [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | 128,098 | 112,100
Properties for resale [member] |  |  |
Summary of inventories [line items] |  |  |
Inventories |  | R$ 21,794 | R$ 22,222
[1] | Refers substantially to ethanol, biodiesel and advances for fuel acquisition.

X
- Definition The amount of current inventories. [Refer: Inventories] + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 2 -IssueDate 2024-01-01 -Paragraph 36 -Subparagraph b -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=2&code=ifrs-tx-2024-en-r&anchor=para_36_b&doctype=Standard -URIDate 2024-03-27 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 54 -Subparagraph g -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_54_g&doctype=Standard -URIDate 2024-03-27 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Name IAS -Number 1 -IssueDate 2024-01-01 -Paragraph 68 -URI https://taxonomy.ifrs.org/xifrs-link?type=IAS&num=1&code=ifrs-tx-2024-en-r&anchor=para_68&doctype=Standard -URIDate 2024-03-27 + Details
Name: | ifrs-full_Inventories
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Summary of inventories. + References No definition available. + Details
Name: | ugp_SummaryOfInventoriesLineItems
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ugp_InventoriesAxis=ugp_FuelsLubricantsAndGreasesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_RawMaterialsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_PurchaseForFutureDeliveryMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_ConsumableMaterialsAndOtherItemsForResaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_LiquifiedPetroleumGasMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_InventoriesAxis=ugp_PropertiesForResaleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |