A clear answer. Here’s how.
For a right-angled triangle, c = √(a² + b²). The area is ab/2. Enter the two perpendicular sides using the same unit.
How this is checked
3 reference checks passed These 3 cases were run when this page was built, on 3 December 2026, and all reproduce within the stated tolerance. The same cases are part of the automated tests that run on every change to Toolmoz. Engine version 1.
See the checks and where each expected answer comes from
Case 1
- Inputs
- Shorter side a 3Shorter side b 4
- Expected, and what Toolmoz gave
- Hypotenuse expected 5, Toolmoz 5Area (square units) expected 6, Toolmoz 6
- Where the expected answer comes from
- The 3-4-5 triple: √(9 + 16) = 5 and 3 × 4 ÷ 2 = 6
- Allowed difference
- ±1e-12
Case 2
- Inputs
- Shorter side a 5Shorter side b 12
- Expected, and what Toolmoz gave
- Hypotenuse expected 13, Toolmoz 13Area (square units) expected 30, Toolmoz 30
- Where the expected answer comes from
- The 5-12-13 triple: √(25 + 144) = 13 and 5 × 12 ÷ 2 = 30
- Allowed difference
- ±1e-12
Case 3
- Inputs
- Shorter side a 1Shorter side b 1
- Expected, and what Toolmoz gave
- Hypotenuse expected 1.4142135623730951, Toolmoz 1.4142135623730951Area (square units) expected 0.5, Toolmoz 0.5
- Where the expected answer comes from
- The diagonal of a unit square is √2; the area is 1 × 1 ÷ 2
- Allowed difference
- ±1e-12
What this shows: the engine reproduces independently worked values for these cases. It does not prove every possible input is right. To test an answer you were given, see how to check a number; to see what is and is not checked across Toolmoz, see the accuracy ledger.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- Shorter side a
- 3
- Shorter side b
- 4
Example result
- Hypotenuse
- 5
- Area (square units)
- 6