Building anything requires trigonometry, unless you just say "fuck it" and hope the thing doesn't fall apart, which is a pretty stupid way to live life.
Chicken coops have a ramp for the entrance, so when building it, you need to know the length of the ramp required for the desired angle, as well as making the"rungs" (I don't know what they are actually called) on said ramp flush with the ground.