Fruit Boxes

A grocer wants to sell fruit in boxes. He wants to make the boxes from square card 36 inches long and 36 inches.

Suppose he starts with the same square of card, but changes the 4 inches to a different measurement. What is the largest volume he can make the box?