XML 64 R56.htm IDEA: XBRL DOCUMENT
v3.23.3

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions | Oct. 31, 2023 USD ($) MMBTU T lb bu gal | Jan. 31, 2023 USD ($)
--- | --- | ---
Commitments and Contingencies (Details) [Line Items] |  |
Loss Contingency, Estimate of Possible Loss | $ 250,000 | $ 250,000
Capital Projects Remaining Future Payments | 38,100,000 |
Capital Projects Remaining Future Payments Subset | 31,200,000 |
Planned Project Expansion | $ 6,900,000 |
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 | 13.8 |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 1.6 |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal | 53.8 |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T | 111,000 |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 14.2 |

X
- Definition Capital Projects Remaining Future Payments + References No definition available. + Details
Name: | rex_CapitalProjectsRemainingFuturePayments
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

X
- Definition Relates to capital projects remaining future payments + References No definition available. + Details
Name: | rex_CapitalProjectsRemainingFuturePaymentsSubset
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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

X
- Definition Related to capital projects remaining future payments + References No definition available. + Details
Name: | rex_PlannedProjectExpansion
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | na
Period Type: | instant

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
- Definition Reflects the estimated amount of loss from the specified contingency as of the balance sheet date. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 3 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-3 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483076/450-20-50-4 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 450 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 9 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org//1943274/2147483076/450-20-50-9 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 460 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org//1943274/2147482425/460-10-50-2 + Details
Name: | us-gaap_LossContingencyEstimateOfPossibleLoss
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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