v3.20.4

Commitments - Additional Information (Details) T in Thousands, $ in Millions | 12 Months Ended
--- | ---
Dec. 31, 2020 USD ($) T $ / T | Dec. 31, 2019 USD ($) | Dec. 31, 2018 USD ($)
Pet Coke Purchase Agreement |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Expenses related to agreement | $ | $ 17.9 | $ 10.3 | $ 4.8
Utility Service Agreement |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Expenses related to agreement | $ |  | 3.7 | 10.6
The Coffeyville Facility | Messer Agreement |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Initial term of agreement | 15 years |  |
Expenses related to agreement | $ | $ 4.2 | 4.2 | 3.8
Natural Gas |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Cost of materials and other and direct operating expenses (exclusive of depreciation and amortization) | $ | $ 32.4 | $ 33.1 | $ 42.4
Petroleum coke | Pet Coke Purchase Agreement |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Number of tons of pet coke agreed to purchase at fixed price through end of term | T | 275 |  |
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | CRRM |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Average percentage of pet coke obtained during the last five years | 60.00% |  |
Period for which average percentage of product obtained | 5 years |  |
Average percentage of pet coke obtained during the current year | 33.00% |  |
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) | 25 |  |
UAN-based netback price, exclusive of transportation cost, under the related party agreement (in dollars per ton) | 205 |  |
Pet coke price adjustment for every $1.00 change in the UAN netback price, exclusive of transportation cost, used to calculate the UAN-based price under the related party agreement (in dollars per ton) | 0.50 |  |
UAN-based netback price change, exclusive of transportation cost, under the related party agreement (in dollars per ton) | 1.00 |  |
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | Minimum | CRRM |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) | 40 |  |
Petroleum coke | The Coffeyville Facility | Coffeyville MSA | Maximum | CRRM |  |  |
Long-term Purchase Commitment [Line Items] |  |  |
Rate petroleum coke price used to determine urea ammonium nitrate based price (in dollars per ton) | 5 |  |

X
- Definition Long-Term Purchase Commitment Agreement, Initial Term + References No definition available. + Details
Name: | cvi_LongTermPurchaseCommitmentAgreementInitialTerm
Namespace Prefix: | cvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the expenses associated with long term purchase commitment agreements. + References No definition available. + Details
Name: | cvi_LongTermPurchaseCommitmentExpenses
Namespace Prefix: | cvi_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Purchase Commitment, Tons Agreed to Purchase at Fixed Price + References No definition available. + Details
Name: | cvi_PurchaseCommitmentTonsAgreedtoPurchaseatFixedPrice
Namespace Prefix: | cvi_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the average percentage of product obtained during the last five years pursuant to the agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAveragePercentageOfProductObtainedDuringLastFiveYears
Namespace Prefix: | cvi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction Average Percentage of Product Obtained During Current Year + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAveragePercentageofProductObtainedDuringCurrentYear
Namespace Prefix: | cvi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the period for which the average percentage of product was obtained pursuant to the supply agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionPeriodforwhichAveragePercentageofProductObtained
Namespace Prefix: | cvi_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the petroleum coke price adjustment due to changes in the urea and ammonia nitrate netback price, exclusive of transportation cost, which is used for calculating the urea and ammonia nitrate-based price in determining the rate under the related party agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionRatePetroleumCokePriceAdjustmentUsedtoDetermineUreaAmmoniumNitrateBasedPrice
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the petroleum coke price which is used for calculating the urea and ammonia nitrate-based price in determining the rate under the related party agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionRatePetroleumCokePriceUsedtoDetermineUreaAmmoniumNitrateBasedPrice
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the change in the urea and ammonia nitrate netback price, exclusive of transportation cost, used in determining the rate under the related party agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionRateUreaAmmoniumNitrateBasedChangetoNetbackPriceExclusiveofTransportationCost
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the urea and ammonia nitrate netback price, exclusive of transportation cost, used in determining the rate under the related party agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionRateUreaAmmoniumNitrateBasedNetbackPriceExclusiveofTransportationCost
Namespace Prefix: | cvi_
Data Type: | srt-types:perUnitItemType
Balance Type: | na
Period Type: | duration

X
- Definition Cost of product sold and service rendered, excluding depreciation, depletion, and amortization. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(2)(a)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Publisher FASB -Name Accounting Standards Codification -Topic 220 -SubTopic 10 -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(2)(d)) -URI http://asc.fasb.org/extlink&oid=120395209&loc=SL114868664-224227 + Details
Name: | us-gaap_CostOfGoodsAndServiceExcludingDepreciationDepletionAndAmortization
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

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

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=cvi_PetCokePurchaseObligationMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=cvi_UtilityServiceAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ConsolidatedEntitiesAxis=srt_SubsidiariesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=cvi_MesserAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=srt_NaturalGasReservesMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_ProductOrServiceAxis=cvi_PetroleumCokeMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_TypeOfArrangementAxis=cvi_CoffeyvilleMSAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_RelatedPartyTransactionsByRelatedPartyAxis=cvi_CoffeyvilleResourcesRefiningAndMarketingLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | srt_RangeAxis=srt_MaximumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |