XML 61 R52.htm IDEA: XBRL DOCUMENT
v3.20.2

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions, $ in Millions | 3 Months Ended | 9 Months Ended
--- | --- | ---
Oct. 31, 2020 USD ($) MMBTU T lb bu gal | Oct. 31, 2019 USD ($) | Oct. 31, 2020 USD ($) MMBTU T lb bu gal | Oct. 31, 2019 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 | 6.2 |  | 6.2 |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 1,391,000 |  | 1,391,000 |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal | 37.6 |  | 37.6 |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T | 109,000 |  | 109,000 |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 32.6 |  | 32.6 |
Refined Coal [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Fees Incurred By Subsidiary | $ | $ 0.5 | $ 0.9 | $ 1.9 | $ 3.6

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: | num: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: | num: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: | num:volumeItemType
Balance Type: | na
Period Type: | instant

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

X
- References No definition available. + Details
Name: | rex_QuantityOfNonFoodGradeCornOilUnderSalesCommitments
Namespace Prefix: | rex_
Data Type: | num: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: |