Chicken Coop Size Calculator
Enter how many birds you keep, how big they are and whether they get a run, and this returns the coop floor area, the run area, the length of roost perch, the number of nest boxes and the ventilation opening. A second tab works the other way, taking the coop and run you already have and saying how many birds that supports and which of the two is the limit. Every per-bird allowance it uses is printed on the result and the two biggest can be overridden. These are husbandry figures rather than a building code, and crowding is what causes feather pecking, so round up.