XML 100 R74.htm IDEA: XBRL DOCUMENT
v3.25.1

Trade receivables, reseller financing and other receivables - Additional Information (Detail) | 12 Months Ended
--- | ---
Dec. 31, 2024
Bottom of range [member] |
Summary of trade receivables [line items] |
Reseller financing average payment term | 12 months
Top of range [member] |
Summary of trade receivables [line items] |
Reseller financing average payment term | 60 months

X
- Definition The average payment term of reseller financing. + References No definition available. + Details
Name: | ugp_ResellerFinancingAveragePaymentTerm
Namespace Prefix: | ugp_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_BottomOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_RangeAxis=ifrs-full_TopOfRangeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |