XML 228 R200.htm IDEA: XBRL DOCUMENT
v3.21.1

Risks and Financial Instruments - Changes in exchange rate (Detail) R$ in Thousands, $ in Thousands | Dec. 31, 2020 BRL (R$) | Dec. 31, 2020 USD ($) | Dec. 31, 2019 BRL (R$) | Dec. 31, 2019 USD ($)
--- | --- | --- | --- | ---
Scenario I [member] |  |  |  |
Currency swaps receivable in U.S. dollars |  |  |  |
U.S. Dollar / Real swaps |  | $ 1,013,826 |  | $ 700,499
Debts/firm commitments in dollars |  | (1,013,824) |  | (700,465)
Net effect |  | 2 |  | 34
Currency swaps payable in U.S. dollars |  |  |  |
Real / U.S. Dollar swaps |  | 59 |  | 376
Gross margin of Oxiteno/Ipiranga |  | (59) |  |
Gross margin of Oxiteno |  |  |  | (376)
Net effect |  |  |  |
Options |  |  |  |
Options Real / U.S. Dollar swaps |  |  |  |
Gross margin of Oxiteno |  |  |  |
Net effect |  |  |  |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |  |  |
Fixed rate swap - DI | R$ | R$ (39,412) |  | R$ (195,123) |
Fixed rate debt | R$ | 39,412 |  | 195,123 |
Net effect | R$ |  |  |  |
Scenario II [member] |  |  |  |
Currency swaps receivable in U.S. dollars |  |  |  |
U.S. Dollar / Real swaps |  | 1,522,343 |  | 1,668,202
Debts/firm commitments in dollars |  | (1,522,330) |  | (1,668,031)
Net effect |  | 13 |  | 171
Currency swaps payable in U.S. dollars |  |  |  |
Real / U.S. Dollar swaps |  | 17,877 |  | 62,559
Gross margin of Oxiteno/Ipiranga |  | (17,877) |  |
Gross margin of Oxiteno |  |  |  | (62,559)
Net effect |  |  |  |
Options |  |  |  |
Options Real / U.S. Dollar swaps |  |  |  | 42,101
Gross margin of Oxiteno |  |  |  | (42,101)
Net effect |  |  |  |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |  |  |
Fixed rate swap - DI | R$ | (230,705) |  | (137,260) |
Fixed rate debt | R$ | 230,705 |  | 137,260 |
Net effect | R$ |  |  |  |
Scenario III [member] |  |  |  |
Currency swaps receivable in U.S. dollars |  |  |  |
U.S. Dollar / Real swaps |  | 2,030,860 |  | 2,635,905
Debts/firm commitments in dollars |  | (2,030,835) |  | (2,635,596)
Net effect |  | 25 |  | 309
Currency swaps payable in U.S. dollars |  |  |  |
Real / U.S. Dollar swaps |  | 35,694 |  | 124,742
Gross margin of Oxiteno/Ipiranga |  | (35,694) |  |
Gross margin of Oxiteno |  |  |  | (124,742)
Net effect |  |  |  |
Options |  |  |  |
Options Real / U.S. Dollar swaps |  |  |  | 102,917
Gross margin of Oxiteno |  |  |  | $ (102,917)
Net effect | R$ |  |  |  |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |  |  |
Fixed rate swap - DI | R$ | (187,597) |  | (74,027) |
Fixed rate debt | R$ | 187,597 |  | 74,027 |
Net effect | R$ |  |  |  |

X
- Definition Currency swaps option. + References No definition available. + Details
Name: | ugp_CurrencySwapsOptionAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Currency swaps payable in us dollars. + References No definition available. + Details
Name: | ugp_CurrencySwapsPayableInUSDollarsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Currency swaps receivable in us dollars. + References No definition available. + Details
Name: | ugp_CurrencySwapsReceivableInUSDollarsAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Debts/firm commitments in dollars. + References No definition available. + Details
Name: | ugp_DebtsFirmCommitmentsInDollars
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed rate debt. + References No definition available. + Details
Name: | ugp_FixedRateDebt
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed rate swap di. + References No definition available. + Details
Name: | ugp_FixedRateSwapDI
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Fixed rate swap net effect. + References No definition available. + Details
Name: | ugp_FixedRateSwapNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Gross margin of Oxiteno/Ipiranga. + References No definition available. + Details
Name: | ugp_GrossMarginOfOxitenoIpirangaSwapPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Gross margin of Oxiteno option. + References No definition available. + Details
Name: | ugp_GrossMarginOfOxitenoOption
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Gross margin of Oxiteno. + References No definition available. + Details
Name: | ugp_GrossMarginOfOxitenoSwapPayable
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Interest rate swap in brazilian reais debentures cra. + References No definition available. + Details
Name: | ugp_InterestRateSwapInBrazilianReaisDebenturesCRAAbstract
Namespace Prefix: | ugp_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Options real to U.S. dollar swaps. + References No definition available. + Details
Name: | ugp_OptionsRealToDollarSwaps
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Options real to U.S. dollar swaps net effect. + References No definition available. + Details
Name: | ugp_OptionsRealToDollarSwapsNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Real/ U.S. Dollar swaps. + References No definition available. + Details
Name: | ugp_RealToUsDollarSwaps
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Real to us dollar swaps net effect. + References No definition available. + Details
Name: | ugp_RealToUsDollarSwapsNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition U.S. Dollar/ Real swaps. + References No definition available. + Details
Name: | ugp_USDollarToRealSwaps
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition Us dollar to real swaps net effect. + References No definition available. + Details
Name: | ugp_USDollarToRealSwapsNetEffect
Namespace Prefix: | ugp_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario1Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario2Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | ugp_ScenarioAxis=ugp_Scenario3Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |