What's your climate? I don't know about ducks so someone else will need to weigh in but chickens should have closer to 4 sq ft per bird for standards, up to 6-8 sq ft if you have an extreme cold climate.
Nest boxes do not count as usable floor space, so consider elevating them (for chickens) to save on floor space, or have them external to the structure.