| Net sales and revenue | $650.5M+1.2% | $642.5M-22.9% | $833.4M-2.5% | $855.0M+10.4% | $774.8M |
| Cost of sales (includes $86.4 million, $99.2 million and $117.0 million with related parties for the years ended January 31, 2026, 2025 and 2024, respectively) | $556.8M+1.0% | $551.0M-25.0% | $735.2M-8.8% | $806.4M+17.9% | $684.2M |
| Gross profit | $93.7M+2.4% | $91.5M-6.9% | $98.2M+102.1% | $48.6M-46.4% | $90.6M |
| Selling, general and administrative expenses | -$32.6M-20.1% | -$27.1M+7.6% | -$29.4M-28.7% | -$22.8M-6.0% | -$21.5M |
| Equity in income of unconsolidated affiliates | $12.5M+33.0% | $9.4M-32.6% | $13.9M+59.2% | $8.7M+32.0% | $6.6M |
| Interest and other income, net | $15.0M-21.7% | $19.2M+21.8% | $15.7M+21.3% | $13.0M+9868.5% | $130K |
| Income before income taxes | $88.6M-4.6% | $92.9M-5.7% | $98.5M+107.4% | $47.5M-37.4% | $75.8M |
| Benefit (provision) for income taxes | $6.5M+130.4% | -$21.4M+5.2% | -$22.6M-136.4% | -$9.5M+49.9% | -$19.0M |
| Net income | $95.1M+33.0% | $71.5M-5.8% | $75.9M+100.1% | $37.9M | — |
| Net income attributable to noncontrolling interests | -$12.1M+9.0% | -$13.3M+11.1% | -$15.0M-46.4% | -$10.2M-10.9% | -$9.2M |
| Net income attributable to REX common shareholders | $83.0M+42.6% | $58.2M-4.5% | $60.9M+120.0% | $27.7M-47.1% | $52.4M |
| Weighted average shares outstanding – basic (in Shares) | 33.2M-5.9% | 35.3M+101.8% | 17.5M-0.9% | 17.6M-1.7% | 17.9M |
| Basic net income per share attributable to REX common shareholders (in Dollars per share) | $2500.00+51.5% | $1650.00-52.7% | $3490.00+122.3% | $1570.00-46.2% | $2920.00 |
| Weighted average shares outstanding – diluted (in Shares) | 33.2M-5.9% | 35.3M+100.7% | 17.6M-0.4% | 17.6M-1.7% | 17.9M |
| Diluted net income per share attributable to REX common shareholders (in Dollars per share) | $2500.00+51.5% | $1650.00-52.4% | $3470.00+121.0% | $1570.00-46.2% | $2920.00 |