Has it been mentioned that chickens are not egg machines?
They will slow down due to age, season, weather, mood, stress, molting cycle... sometime complete stop. How to factor that into your cost...
You only keep hens for two years. Cost of raising replacements is factored in, as is any money made selling the adult birds.