Safe ladder positioning – Yes, there is such a thing.
You should always read the ladder instructions before using it. But a simple rule for setting it up at the proper angle is to place the base a distance from the vertical wall equal to one-fourth the working length of the ladder.
A worker standing erect with toes against the feet of the ladder and holding the side rails with arms extended horizontally will set up a ladder at approximately the right angle.