XML 60 R51.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 | 6 Months Ended
--- | --- | ---
Jul. 31, 2021 USD ($) MMBTU T lb bu gal | Jul. 31, 2020 USD ($) | Jul. 31, 2021 USD ($) MMBTU T lb bu gal | Jul. 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 | 10.6 |  | 10.6 |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 639,000 |  | 639,000 |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal | 31.7 |  | 31.7 |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T | 46,000 |  | 46,000 |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 9.6 |  | 9.6 |
Refined Coal [Member] |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |
Fees Incurred By Subsidiary | $ | $ 2.2 | $ 1.1 | $ 3.1 | $ 1.4

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: |