XML 218 R191.htm IDEA: XBRL DOCUMENT
v3.19.1

Risks and Financial Instruments - Changes in exchange rate (Detail) - BRL (R$) | Dec. 31, 2018 | Dec. 31, 2017
--- | --- | ---
Scenario I [member] |  |
Currency swaps receivable in U.S. dollars |  |
U.S. Dollar / Real swaps | R$ 372,022 | R$ 198,138
Debts/firm commitments in dollars | (372,019) | (198,130)
Net effect | 3 | 8
Currency swaps payable in U.S. dollars |  |
Real / U.S. Dollar swaps | (65) | (97)
Gross margin of Oxiteno | 65 | 97
Net effect | 0 | 0
Options |  |
Gross margin of Oxiteno | 7,641 |
Net effect | 7,641 |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |
Fixed rate swap - CDI | (311,993) | 13,691
Fixed rate debt | 311,993 | (13,691)
Net effect | 0 | 0
Scenario II [member] |  |
Currency swaps receivable in U.S. dollars |  |
U.S. Dollar / Real swaps | 1,039,669 | 690,432
Debts/firm commitments in dollars | (1,039,661) | (690,415)
Net effect | 8 | 17
Currency swaps payable in U.S. dollars |  |
Real / U.S. Dollar swaps | 8,545 | 7,486
Gross margin of Oxiteno | (8,545) | (7,486)
Net effect | 0 | 0
Options |  |
Options Real / U.S. Dollar swaps | 97,938 |
Gross margin of Oxiteno | (138,993) |
Net effect | (41,055) |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |
Fixed rate swap - CDI | (254,409) | 95,292
Fixed rate debt | 254,409 | (95,292)
Net effect | 0 | 0
Scenario III [member] |  |
Currency swaps receivable in U.S. dollars |  |
U.S. Dollar / Real swaps | 1,707,316 | 1,182,726
Debts/firm commitments in dollars | (1,707,303) | (1,182,700)
Net effect | 13 | 26
Currency swaps payable in U.S. dollars |  |
Real / U.S. Dollar swaps | 17,154 | 15,069
Gross margin of Oxiteno | (17,154) | (15,069)
Net effect | 0 | 0
Options |  |
Options Real / U.S. Dollar swaps | 244,572 |
Gross margin of Oxiteno | (285,627) |
Net effect | (41,055) |
Interest rate swap (in Brazilian Reais) - Debentures-CRA |  |
Fixed rate swap - CDI | (188,047) | 192,204
Fixed rate debt | 188,047 | (192,204)
Net effect | R$ 0 | R$ 0

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 cdi. + References No definition available. + Details
Name: | ugp_FixedRateSwapCdi
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 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: |