Good quality store bought laying pellets or mash, while an excellent feed for hens, can be expensive and wasteful if not fed in containers. Because they are both made of finely ground feed the hens will scratch them into dust. Even a certain amount of the pellets will crumble into dust and be lost as a feed source unless they are fed in a feeder and kept in the dry.
I only use whole grain corn and small grains such as oats and rye grass seed. They get half and half, corn and small grain, about 5 lbs. of each every day. I have some 40 hens and two cocks in two large yards that I rotate in a feed crop every few months. As long as the hens are not over fed you can throw whole grains out over the ground for them to pick up and scratch for. These are less expensive and less wasteful, but you need to suppliment their diet with greens such as grass clippings, garden wastes, and planted crops. You might also occasionally put some vitamin supplement in their water and be sure to supply them with oyster shells and grit. The ground oyster shells will supply them with calcium for good egg shell development and the grit will help them to be able to digest the whole grain. Only feed the girls what they will clean up in a 20 minute period or you will only be feeding the rats, mice, and wild birds. I also have found that ants will get into and carry off ground feed if it is left out free choice.