Hens need:
--space to roost (about 1 linear foot per hen)
--space to nest (at least one nestbox, 2-4 hens can share each box)
--feed and water (available all the time they are awake, in a place that doesn't get rained on or snowed on)
--space to walk around and scratch (at least 4 square feet per hen, constantly available--if someone must open a door for them to reach it, it's not available enough for this purpose.)
It's good to also have an outdoor run, with 10 square feet or more per bird.
Most of the differences in chicken coop sizes are because of different numbers of birds, and partly
Climate also makes a big difference.
Someone in Alaska might have a cozy shed that's as big as a "run," because their chickens do not go outside at all in the winter time.
Someone in Texas might have a structure that looks like a run with a roof, because the climate is so different. (As long as the roosts, feed, and nests are in a safe place that doesn't get rained on, this works fine.)
Some people build a very secure coop and shut the chickens in it at night, and give access to a less-secure run during the day. Automatic chicken doors, that open in the morning and shut in the evening, are handy if you can't be there at just the right time to open or shut the door.
Some people make a coop and a run that are both completely predator roof (covered run, something to keep predators from digging under, and so forth). In that case, shutting the chickens into the coop itself is not necessary.
Have you looked through the articles about coops?
https://www.backyardchickens.com/articles/categories/chicken-coops.12/
Many of them mention how many chickens they have, and where they live, which are two of the biggest things that affect what size it needs to be.