XML 75 R62.htm IDEA: XBRL DOCUMENT
v3.25.2

Commitments and Contingencies (Details) lb in Millions, gal in Millions, bu in Millions, MMBTU in Millions |  | 3 Months Ended | 6 Months Ended
--- | --- | --- | ---
Feb. 01, 2019 | Jul. 31, 2025 USD ($) MMBTU t lb bu gal | Jul. 31, 2024 USD ($) | Jul. 31, 2025 USD ($) MMBTU t lb bu gal | Jul. 31, 2024 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 |  | 15.0 |  | 15.0 |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU |  | 1.1 |  | 1.1 |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal |  | 68.8 |  | 68.8 |
Quantity of Distillers Grains Under Sales Commitment (in Metric Tons) | t |  | 88,100 |  | 88,100 |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb |  | 14.6 |  | 14.6 |
One Earth Energy [Member] |  |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |  |
Derivative, Term of Contract | 15 years |  |  |  |
Long-Term Purchase Commitment, Amount |  | $ 88,000 | $ 88,000 | $ 176,000 | $ 176,000
Lessee, Operating Lease, Liability, to be Paid |  | 7,100,000 |  | 7,100,000 |
Machinery and Equipment, Gross |  | $ 38,200,000 |  | $ 38,200,000 |
Monthly [Member] | One Earth Energy [Member] |  |  |  |  |
Commitments and Contingencies (Details) [Line Items] |  |  |  |  |
Long-Term Purchase Commitment, Specified Form of Payment | $29,250 |  |  |  |

X
- References No definition available. + Details
Name: | rex_CommitmentsandContingenciesDetailsLineItems
Namespace Prefix: | rex_
Data Type: | xbrli:stringItemType
Balance Type: | na
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
- Definition Quantity Of Natural Gas Under Sales Commitment + 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 Period the derivative contract is outstanding, in 'PnYnMnDTnHnMnS' format, for example, 'P1Y5M13D' represents the reported fact of one year, five months, and thirteen days. + References No definition available. + Details
Name: | us-gaap_DerivativeTermOfContract
Namespace Prefix: | us-gaap_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of lessee's undiscounted obligation for lease payment for operating lease. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 942 -SubTopic 235 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477314/942-235-S99-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 4 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-4 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 3 -Subparagraph (SX 210.12-04(a)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-3 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 842 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147478964/842-20-50-6 + Details
Name: | us-gaap_LesseeOperatingLeaseLiabilityPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The minimum amount the entity agreed to spend under the long-term purchase commitment. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The form of payment, such as cash, equity securities, and nonmonetary items, specified to be given to the supplier under the terms of the long-term purchase agreement. + References No definition available. + Details
Name: | us-gaap_LongTermPurchaseCommitmentSpecifiedFormOfPayment
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount before accumulated depreciation of tangible personal property used to produce goods and services, including, but is not limited to, tools, dies and molds, computer and office equipment. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 360 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147482099/360-10-50-1 + Details
Name: | us-gaap_MachineryAndEquipmentGross
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: |

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

X
- Details
Name: | rex_FrequencyAxis=rex_MonthlyMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |