Supplemental financial statement information - Prepaids and Other Assets Net (Details) - USD ($) $ in Thousands |
Oct. 31, 2022 |
Jul. 31, 2022 |
|---|---|---|
| Supplemental Financial Statement Information [Line Items] | ||
| Broker margin deposit assets | $ 35,230 | $ 12,338 |
| Other | 33,300 | 18,426 |
| Prepaid expenses and other current assets | 68,530 | 30,764 |
| Ferrellgas, L.P | ||
| Supplemental Financial Statement Information [Line Items] | ||
| Broker margin deposit assets | 35,230 | 12,338 |
| Other | 33,279 | 18,405 |
| Prepaid expenses and other current assets | $ 68,509 | $ 30,743 |