XML 69 R56.htm IDEA: XBRL DOCUMENT
v3.24.2.u1

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions, MMBTU in Millions, $ in Millions | Jul. 31, 2024 USD ($) MMBTU t lb bu gal
--- | ---
Commitments and Contingencies (Details) [Line Items] |
Capital Projects Remaining Future Payments | $ 17.8
Capital Projects Remaining Future Payments Subset | 5.3
Planned Project Expansion | 12.5
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 | 15.0
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 2.0
Quantity Of Ethanol Under Sales Commitment (in US Gallons) | gal | 59.4
Quantity Of Distillers Grains Under Sales Commitment (in Metric Tons) | t | 102,600
Quantity Of Non Food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 8.9

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