XML 103 R75.htm IDEA: XBRL DOCUMENT
v3.21.1

Operations - Operational impacts (Details Textuals) baskets in Thousands | 1 Months Ended | 3 Months Ended | 12 Months Ended
--- | --- | --- | ---
Apr. 30, 2020 | Dec. 31, 2020 | Dec. 31, 2020 baskets port
Ultracargo [member] |  |  |
Disclosure of operating segments [line items] |  |  |
Number of basic baskets | baskets |  |  | 3
Number of port terminals | port |  |  | 6
Ipiranga [member] |  |  |
Disclosure of operating segments [line items] |  |  |
Increase percentage of sales volume |  | 5.00% |
Ipiranga [member] | Otto Cycle [Member] |  |  |
Disclosure of operating segments [line items] |  |  |
Decrease percentage of sales volume | 37.00% |  |
Increase percentage of sales volume |  | 18.00% |
Ipiranga [member] | Diesel [Member] |  |  |
Disclosure of operating segments [line items] |  |  |
Decrease percentage of sales volume | 17.00% | 5.00% |
Extrafarma [member] |  |  |
Disclosure of operating segments [line items] |  |  |
Decrease percentage of sales |  |  | 3.00%

X
- Definition Line items represent concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes of the table. + References No definition available. + Details
Name: | ifrs-full_DisclosureOfOperatingSegmentsLineItems
Namespace Prefix: | ifrs-full_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of the entity's sales decreased in comparative period. + References No definition available. + Details
Name: | ugp_DecreasePercentageOfSales
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of the entity's sales volume decreased in comparative period. + References No definition available. + Details
Name: | ugp_DecreasePercentageOfSalesVolume
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The percentage of the entity's sales volume increased in comparative period. + References No definition available. + Details
Name: | ugp_IncreasePercentageOfSalesVolume
Namespace Prefix: | ugp_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of basic baskets. + References No definition available. + Details
Name: | ugp_NumberOfBasicBaskets
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Definition The number of port terminals. + References No definition available. + Details
Name: | ugp_NumberOfPortTerminals
Namespace Prefix: | ugp_
Data Type: | xbrli:integerItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_UltracargoMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ugp_OttoCycleMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_ProductsAndServicesAxis=ugp_DieselMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ifrs-full_SegmentsAxis=ugp_ExtrafarmaMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |