XML 66 R57.htm IDEA: XBRL DOCUMENT
v3.24.1.1.u2

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions, MMBTU in Millions, $ in Millions | Apr. 30, 2024 USD ($) MMBTU t lb bu gal
--- | ---
Commitments and Contingencies (Details) [Line Items] |
Quantity Of Non Food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 6.3
Capital Projects Remaining Future Payments | $ 14.3
Capital Projects Remaining Future Payments Subset | 9.2
Planned Project Expansion | 5.1
Remaining future payments | $ 4.7
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 | 17.2
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 3.0
Quantity Of Ethanol Under Sales Commitment (in US Gallons) | gal | 51.8
Quantity Of Distillers Grains Under Sales Commitment (in Metric Tons) | t | 77,500

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

X
- References No definition available. + Details
Name: | rex_CapitalProjectsRemainingFuturePaymentsSubset
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
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
- References No definition available. + Details
Name: | rex_PlannedProjectExpansion
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

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

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

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