XML 64 R55.htm IDEA: XBRL DOCUMENT
v3.21.2

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions, $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
Oct. 31, 2021 USD ($) MMBTU T lb bu gal | Oct. 31, 2020 USD ($) | Oct. 31, 2021 USD ($) MMBTU T lb bu gal | Oct. 31, 2020 USD ($)
One Earth Energy And Nu Gen Energy [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Quantity of Bushels under Forward Purchase Contract (in US Bushels) | bu | 12.4 |  | 12.4 |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 2.1 |  | 2.1 |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal | 50.3 |  | 50.3 |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T | 113,000 |  | 113,000 |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 13.5 |  | 13.5 |
Refined Coal [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Fees Incurred By Subsidiary | $ | $ 2.0 | $ 0.5 | $ 5.1 | $ 1.9

X
- References No definition available. + Details
Name: | rex_CommitmentsandContingenciesDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- References No definition available. + Details
Name: | rex_FeesIncurredBySubsidiary
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Quantity of bushels under forward purchase contract. + References No definition available. + Details
Name: | rex_QuantityOfBushelsUnderForwardPurchaseContract
Namespace Prefix: | rex_
Data Type: | dtr:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition Quantity of distillers grains under sales commitment. + References No definition available. + Details
Name: | rex_QuantityOfDistillersGrainsUnderSalesCommitment
Namespace Prefix: | rex_
Data Type: | dtr:massItemType
Balance Type: | na
Period Type: | instant

X
- Definition Quantity of ethanol under sales commitment. + References No definition available. + Details
Name: | rex_QuantityOfEthanolUnderSalesCommitment
Namespace Prefix: | rex_
Data Type: | dtr:volumeItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | rex_QuantityOfNaturalGasUnderSalesCommitment
Namespace Prefix: | rex_
Data Type: | dtr:energyItemType
Balance Type: | na
Period Type: | instant

X
- References No definition available. + Details
Name: | rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments
Namespace Prefix: | rex_
Data Type: | dtr:massItemType
Balance Type: | na
Period Type: | instant

X
- Details
Name: | dei_LegalEntityAxis=rex_OneEarthEnergyAndNuGenEnergyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | dei_LegalEntityAxis=rex_RefinedCoalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |