Right triangle calculator

About

This calculator calculates the unknown sides/angles of a right triangle.

Usage

Fill in either 2 sides, or 1 side + 1 angle and then press the "Calculate unknowns" button.
Angles are in degrees (which of course must be be less than 90°). Sides are in whatever unit you wish (the long side, hypotenuse, must of course be greater than each side).

When inputs are marked red it means that it has incorrect data or that too many or too few inputs were given. Inputs that are marked green indicates that these values have been calculated. Inputs marked white indicates that they have been entered by you or that no value has been entered. Extremely large values (10^100) will show up wrong since the result gets truncated when printed.