How to calculate
The diagonal forms a right triangle with the sides. Divide the width by the length and take the inverse tangent to get the angle to the length.
Worked example
Enter Length 3 · Width 4. The result is approximately 53.13010235416°.
Units and assumptions
Use one consistent length unit. The result uses that same unit for lengths, its square for areas, and its cube for volumes.