Look for upholstery foam at a local craft store, such as Joann. That's probably the cheapest way to buy some without having to buy in significant bulk.
Try an upholstery place. We went to a place that makes and repairs furniture and got a literal truckload of foam that they were discarding. All for free.