Segment Reporting - Schedule of Segment Information (Details) - USD ($) $ in Thousands |
3 Months Ended | 9 Months Ended | ||
|---|---|---|---|---|
May 31, 2026 |
May 31, 2025 |
May 31, 2026 |
May 31, 2025 |
|
| Segment Reporting [Line Items] | ||||
| Revenues | $ 11,582,089 | $ 9,766,421 | $ 28,799,984 | $ 26,856,724 |
| Cost of goods sold | 11,171,469 | 9,436,610 | 27,974,194 | 26,049,922 |
| Marketing, general and administrative expenses | 302,283 | 258,850 | 838,012 | 769,968 |
| Interest expense | 49,725 | 44,109 | 130,833 | 96,962 |
| Other losses (income) | (21,775) | (27,398) | (91,588) | (74,138) |
| Equity income from investments | (201,826) | (204,605) | (440,891) | (418,970) |
| Income (loss) before income taxes | 282,213 | 258,855 | 389,424 | 432,980 |
| Capital expenditures | 168,745 | 404,233 | 400,638 | 807,535 |
| Depreciation and amortization | 165,317 | 159,370 | 508,781 | 462,082 |
| Total Reportable Segments | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 11,534,862 | 9,721,418 | 28,653,828 | 26,697,030 |
| Energy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 3,307,979 | 1,915,096 | 7,764,425 | 6,026,408 |
| Grains | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 5,660,619 | 5,292,301 | 16,053,061 | 15,947,458 |
| Agronomy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 2,566,264 | 2,514,021 | 4,836,342 | 4,723,164 |
| Corporate and Services | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 47,227 | 45,003 | 146,156 | 159,694 |
| Operating Segments | Total Reportable Segments | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 11,555,143 | 9,724,577 | 28,700,668 | 26,707,108 |
| Cost of goods sold | 11,150,247 | 9,413,025 | 27,905,047 | 25,957,886 |
| Marketing, general and administrative expenses | 277,735 | 239,401 | 774,977 | 713,853 |
| Interest expense | 50,410 | 46,465 | 141,409 | 108,695 |
| Other losses (income) | (28,215) | (27,726) | (104,747) | (89,414) |
| Equity income from investments | (166,894) | (107,771) | (376,760) | (263,628) |
| Income (loss) before income taxes | 251,579 | 158,024 | 313,902 | 269,638 |
| Capital expenditures | 146,594 | 403,800 | 349,346 | 802,941 |
| Depreciation and amortization | 162,029 | 157,602 | 498,517 | 456,847 |
| Operating Segments | Energy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 3,324,889 | 1,917,878 | 7,802,993 | 6,035,646 |
| Cost of goods sold | 3,203,359 | 1,889,165 | 7,474,096 | 5,911,503 |
| Marketing, general and administrative expenses | 94,766 | 84,169 | 262,221 | 246,097 |
| Interest expense | (111) | (1,025) | 184 | (4,558) |
| Other losses (income) | 51 | (427) | 405 | (4,642) |
| Equity income from investments | (185) | (271) | (1,285) | (1,735) |
| Income (loss) before income taxes | 10,099 | (56,515) | 28,804 | (120,257) |
| Capital expenditures | 89,783 | 295,131 | 159,047 | 466,863 |
| Depreciation and amortization | 97,093 | 87,645 | 302,510 | 260,894 |
| Operating Segments | Grains | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 5,663,682 | 5,292,339 | 16,059,992 | 15,947,564 |
| Cost of goods sold | 5,612,504 | 5,238,387 | 15,884,424 | 15,629,652 |
| Marketing, general and administrative expenses | 99,727 | 85,744 | 278,453 | 264,817 |
| Interest expense | 20,736 | 19,678 | 56,043 | 38,476 |
| Other losses (income) | (23,890) | (10,525) | (83,986) | (55,141) |
| Equity income from investments | (14,894) | (8,127) | (66,615) | (56,097) |
| Income (loss) before income taxes | (33,564) | (32,856) | (15,258) | 125,751 |
| Capital expenditures | 43,433 | 92,318 | 154,535 | 279,880 |
| Depreciation and amortization | 46,337 | 54,372 | 138,147 | 152,582 |
| Operating Segments | Agronomy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 2,566,572 | 2,514,360 | 4,837,683 | 4,723,898 |
| Cost of goods sold | 2,334,384 | 2,285,473 | 4,546,527 | 4,416,731 |
| Marketing, general and administrative expenses | 83,242 | 69,488 | 234,303 | 202,939 |
| Interest expense | 29,785 | 27,812 | 85,182 | 74,777 |
| Other losses (income) | (4,376) | (16,774) | (21,166) | (29,631) |
| Equity income from investments | (151,815) | (99,373) | (308,860) | (205,796) |
| Income (loss) before income taxes | 275,044 | 247,395 | 300,356 | 264,144 |
| Capital expenditures | 13,378 | 16,351 | 35,764 | 56,198 |
| Depreciation and amortization | 18,599 | 15,585 | 57,860 | 43,371 |
| Operating Segments | Corporate and Services | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 90,965 | 86,835 | 267,738 | 268,050 |
| Cost of goods sold | 21,222 | 23,585 | 69,147 | 92,036 |
| Marketing, general and administrative expenses | 24,548 | 19,449 | 63,035 | 56,115 |
| Interest expense | 8,796 | 4,579 | 14,936 | 8,381 |
| Other losses (income) | (3,041) | (6,607) | (12,353) | (4,838) |
| Equity income from investments | (34,932) | (96,834) | (64,131) | (155,342) |
| Income (loss) before income taxes | 30,634 | 100,831 | 75,522 | 163,342 |
| Capital expenditures | 22,151 | 433 | 51,292 | 4,594 |
| Depreciation and amortization | 3,288 | 1,768 | 10,264 | 5,235 |
| Intersegment Eliminations | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | 64,019 | 44,991 | 168,422 | 118,434 |
| Intersegment Eliminations | Total Reportable Segments | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (20,281) | (3,159) | (46,840) | (10,078) |
| Intersegment Eliminations | Energy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (16,910) | (2,782) | (38,568) | (9,238) |
| Intersegment Eliminations | Grains | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (3,063) | (38) | (6,931) | (106) |
| Intersegment Eliminations | Agronomy | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (308) | (339) | (1,341) | (734) |
| Intersegment Eliminations | Corporate and Services | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (43,738) | (41,832) | (121,582) | (108,356) |
| Reconciling Amounts | ||||
| Segment Reporting [Line Items] | ||||
| Revenues | (64,019) | (44,991) | (168,422) | (118,434) |
| Interest expense | (9,481) | (6,935) | (25,512) | (20,114) |
| Other losses (income) | 9,481 | 6,935 | 25,512 | 20,114 |
| Income (loss) before income taxes | $ 0 | $ 0 | $ 0 | $ 0 |