When I bought my place 20+ years ago, 10 hens and a rooster were included with the deal. It was summer time and they barely touch their store bought food. I was getting $3 a dozen from neighbors. I quickly learned that they eat LOTS of store bought food all winter long. They have 2 acres to feed them selves but it is slim pickings in the winter. A 50lb bag of layer pellets cost $8 back then. Now just over 20 years and that same 50lb bag of pellets cost $18. I get $4 a dozen and never need to run to the store for breakfast fixings. At one time I kept receipts and did the math. I used to make decent money in the summer when they ate outside, and would break even when they dined in on store bought food. Now days it is break even in the summer and loose a few bucks in the winter. So at $4 per dozen it is a push. But keep in mind, my girls are totally real free ranging and always happy. I am also told our eggs are far superior to store bought eggs.
I also do some local bartering with eggs. I haven't paid for garbage service in over 20 years. A dozen eggs here and there, and a pair of neighbors have no problem with me topping off their garbage and recycle cans every week.
The cartoon above makes me laugh. New neighbors---fresh to country living had to have their own chickens. $1200 and lots of labor later they have a really nice hen house with automatic feeders, waters, and door. 10 chicks at $4-7 each, then 6 months of feeding them the high dollar chick food, I got a picture last week of their first egg. I didn't have the heart to tell them that they will never recoup their $1200 and hard labor, even if they have laying hens for 50 years.