A wall framed with 92-5/8 in precut studs, one bottom plate and a double top plate stands 97-1/8 in tall. A 4x8 sheet is 96 in. So the usual advice to buy 4x8 sheathing for an 8 ft wall leaves a 1-1/8 in gap at the top, and the real choices are 9 ft sheets or 8 ft sheets with a second narrow course and a blocked joint.
We added a wall sheathing calculator to the wall-framing takeoff tool. Type the house size, wall height, windows and doors; it breaks each 4 ft sheet on a stud, cuts around openings and picks the cheapest single sheet length. On a 40 x 24 ft house with no openings it gives 32 sheets of 4x9 (1,152 sq ft bought for 1,036 sq ft of wall), a figure you can check by hand: 10 sheets on each long wall, 6 on each short one. With 6 windows and 2 doors it is 33 sheets and 22% offcut, because cut-outs rarely yield a usable piece.
It runs in the browser and sends nothing. Openings are spread evenly, so for a real plan use the full takeoff tool, which takes them exactly. Invented house, no real order checked; nailing and shear requirements are not covered.