I live in New Zealand, so the prices are not particularly relevant, but I'll put them into my experience anyway.
TL;DR: having hens is worth it for us, saves us about 23c per egg. Hatching isn't - and cost us a lot.
It cost me around $500 to set up with a coop & moveable chicken fence (or thereabouts). I paid around $20 per chicken, I have 2 commercial layers (Hylines), and 2 heritage breeds. I paid another $100 for special feeders/drinkers - stuff is stupidly expensive here in NZ cos it all has to be imported. The coop was cheap, so after 11 months it needed replacing - that cost me $800.
My ongoing costs for my layers are minimal, around $25 a month for feed.
I get around 90 eggs a month from 4 layers, usually more, but I'll stick with that number, for ease of calculation

So from my 4 layers it costs me 27c per egg.
This will, of course, vary based on molting, time of year, weather patterns, brooding hens, etc... I have very non-broody hens who molt one feather at a time and keep laying, so we haven't had too much disruption.
I buy in straw as well, but at $15 per bale, and it takes me 9 months to go through a bale, seems kind of negligible.
Bought eggs cost around $6 per 12 for free range eggs. Far more for organic. Thats around 50c per egg.
For us, yes, having hens is absolutely worth it. Especially when you consider that bought eggs can be a month or more old, but we get daily, fresh eggs. The difference in taste is amazing. If you have enough eggs you can always sell them to your neighbours to recoup some costs too.
Now, I've tried raising eggs, and had such terrible luck. The first lot - 6 eggs cost me $18 to buy eggs + $20 petrol to go pick the suckers up. $200 for another coop to house mama while brooding. Mama killed them all at 15 days, so that was a complete bust.
2nd lot of eggs cost me $36 to have shipped. Put under a different mama, and she hatched 1 egg. The rest died at varying stages of development (blood ring, 4x quitters at day 15-18, one hatched then died). We got 1 single chick (thankfully a pullet).
Chick starter and grower are both around $15 per bag, which lasts about 2 months with 1 single chick.
That equals around $37 for food for 1 chick for 5 months - before it's even laid a single egg. Assuming it's a pullet - I'd eventually make that back, but for a rooster, nope. Roosters are hard to rehome here, esp if they're not purebred lookers. If they're not an 'eating' breed, and you end up with a lot of roosters, you'll lose a lot of $$.
I guess at the end of the day, raising chicks, for us, is not worth it, simply due to the cost of buying eggs and big losses. We don't often have the option of buying already hatched 1 day old chicks here.
The enjoyment of having chickens totally makes it worth it for us to have hens though, even if we didn't have cheaper eggs from them. We have chickens with such random and awesome personalities
Time-wise I don't spend much time as they're free range. They're clean in the nesting boxes, so that's no biggie. The coop is bottomless, so every week or so I just shift it on the lawn and voila - clean. The kids enjoy feeding them daily and checking for eggs - which takes 5 minutes. We often go and just sit and watch them be idiots, but that's just for the lulz.