XML 80 R62.htm IDEA: XBRL DOCUMENT
v3.25.1

COMMITMENTS (Details) lb in Millions, gal in Millions, bu in Millions, MMBTU in Millions | 12 Months Ended
--- | ---
Jan. 31, 2025 USD ($) MMBTU T lb gal bu | Jan. 31, 2024 USD ($) | Jan. 31, 2023 USD ($)
COMMITMENTS (Details) [Line Items] |  |  |
Fees Incurred By Subsidiary | $ 15,400,000 |  |
One Earth Energy And Nu Gen Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Forward Purchase Contracts, Quantity (in US Bushels) | bu | 24.4 |  |
Quantity Of Natural Gas Under Sales Commitment (in Millions of British Thermal Units) | MMBTU | 0.8 |  |
Quantity of Ethanol under Sales Commitment (in US Gallons) | gal | 51.2 |  |
Quantity of Distillers Grains Under Sales Commitment (in US Tons) | T | 88,000 |  |
Quantity of Non-food Grade Corn Oil Under Sales Commitments (in Pounds) | lb | 12.0 |  |
One Earth Energy And Nu Gen Energy [Member] | Distillers Grains Marketing Services [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Marketing Expense | $ 1,110,000 | $ 1,199,000 | $ 1,159,000
One Earth Energy [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Payments to Acquire Projects | 9,600,000 |  |
Payments for Rent | $ 4,700,000 |  |
One Earth Energy [Member] | Natural Gas Pipeline [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Lease Expiration Period | 10 years |  |
Operating Leases, Future Minimum Payments Due | $ 351,000 | $ 351,000 | $ 351,000
One Earth Energy [Member] | Natural Gas Pipeline [Member] | Renewal [Member] |  |  |
COMMITMENTS (Details) [Line Items] |  |  |
Lease Expiration Period | 15 years |  |
Installment amount | $ 29,250 |  |

X
- References No definition available. + Details
Name: | rex_COMMITMENTSDetailsLineItems
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
- References No definition available. + Details
Name: | rex_ForwardPurchaseContractsQuantity
Namespace Prefix: | rex_
Data Type: | dtr:volumeItemType
Balance Type: | na
Period Type: | instant

X
- Definition Installment amount. + References No definition available. + Details
Name: | rex_InstallmentAmount
Namespace Prefix: | rex_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Lease expiration period. + References No definition available. + Details
Name: | rex_LeaseExpirationPeriod
Namespace Prefix: | rex_
Data Type: | xbrli:durationItemType
Balance Type: | na
Period Type: | duration

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_QuantityOfNaturalGasUnderSalesCommitmen
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 Expenditures for planning and executing the conception, pricing, promotion, and distribution of ideas, goods, and services. Costs of public relations and corporate promotions are typically considered to be marketing costs. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 220 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 2 -Subparagraph (SX 210.5-03(4)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147483621/220-10-S99-2 + Details
Name: | us-gaap_MarketingExpense
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Amount of required minimum rental payments for leases having an initial or remaining non-cancelable letter-terms in excess of one year. + References Reference 1: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 40 -Subparagraph (Note 3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481418/840-10-55-40 Reference 2: http://fasb.org/us-gaap/role/ref/otherTransitionRef -Topic 840 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481501/840-20-50-2 + Details
Name: | us-gaap_OperatingLeasesFutureMinimumPaymentsDue
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Cash payments to lessor's for use of assets under operating leases. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section 45 -Paragraph 25 -Subparagraph (g) -SubTopic 10 -Topic 230 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-25 + Details
Name: | us-gaap_PaymentsForRent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

X
- Definition The cash outflow from the amount invested for projects in hopes of getting a future return or interest from it. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 230 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 13 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482740/230-10-45-13 + Details
Name: | us-gaap_PaymentsToAcquireProjects
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | duration

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

X
- Details
Name: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_DistillersGrainsMarketingServicesMember
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: | us-gaap_PropertySubjectToOrAvailableForOperatingLeaseAxis=rex_NaturalGasPipelineMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_LeaseContractualTermAxis=rex_RenewalMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |