The defaults form the classic 3-4-5 triangle: legs of 3 and 4 give a hypotenuse of exactly 5, an area of 6, and angles of 36.87° and 53.13°. Enter the two legs of a right triangle and this calculator returns the hypotenuse from the Pythagorean theorem, plus the area, both acute angles, and the perimeter.
Suppose you put the default values into Triangle Calculator:
Plug those into the formula c = √(a² + b²); area = ab/2 and the result is:
Triangle Calculator uses the formula shown in the math card and is computed from first principles. Inputs are validated for sensible ranges; results are computed client-side for instant feedback and do not leave your browser.
Last reviewed July 2, 2026 · Editorial policy