v3.20.4

Related Party Transactions - Coffeyville MSA (Details) - The Coffeyville Facility |  | 12 Months Ended
--- | --- | ---
Jan. 01, 2020 T Mcf | Dec. 31, 2020
Hydrogen Purchase and Sale Agreement | CRRM | Hydrogen |  |
Related Party Transaction [Line Items] |  |
Monthly production volume of product to be delivered (in mscf) | Mcf | 90,000 |
Raw Water and Facilities Sharing | CRNF |  |
Related Party Transaction [Line Items] |  |
Percentage interest in water rights |  | 50.00%
Raw Water and Facilities Sharing | CRRM |  |
Related Party Transaction [Line Items] |  |
Percentage interest in water rights |  | 50.00%
Coke Supply Agreement | CRRM | Petroleum coke |  |
Related Party Transaction [Line Items] |  |
Percentage of annual production of pet coke to be delivered | 100.00% |
Annual production of pet coke (in tons) | 500,000 |
Coke Supply Agreement | CRRM | Petroleum coke | Minimum |  |
Related Party Transaction [Line Items] |  |
Monthly production volume of product which allows for the purchasing party the option to purchase any excess at rates stated in the agreement (in tons) | 41,667 |

X
- Definition Represents the volume of product to be delivered annually under the agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionAnnualProductionVolumeOfProductToBeDelivered
Namespace Prefix: | cvi_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Facilities Sharing, Percent Of Undivided Interest In Water Rights + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionFacilitiesSharingPercentOfUndividedInterestInWaterRights
Namespace Prefix: | cvi_
Data Type: | num:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Represents the monthly production volume of product which allows for the purchasing party the option to purchase any excess at rates stated in the agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionMonthlyProductionVolumeOfProductAllowingForOptionToPurchaseExcessAtAgreementRate
Namespace Prefix: | cvi_
Data Type: | num:massItemType
Balance Type: | na
Period Type: | duration

X
- Definition Related Party Transaction, Monthly Production Volume of Product to be Delivered + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionMonthlyProductionVolumeofProducttobeDelivered
Namespace Prefix: | cvi_
Data Type: | num:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition Represents the percentage of annual production of product to be delivered under the agreement. + References No definition available. + Details
Name: | cvi_RelatedPartyTransactionPercentageOfAnnualProductionOfProductToBeDelivered
Namespace Prefix: | cvi_
Data Type: | num:percentItemType
Balance Type: | na
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_RelatedPartyTransactionLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=cvi_HydrogenPurchaseandSaleAgreementMember
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_RelatedPartyTransactionsByRelatedPartyAxis=cvi_CoffeyvilleResourcesRefiningAndMarketingLLCMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=cvi_RawWaterAndFacilitiesSharingMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

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

X
- Details
Name: | us-gaap_RelatedPartyTransactionAxis=cvi_CokeSupplyAgreementMember
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: | srt_RangeAxis=srt_MinimumMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |