MATH · FREE TOOL
Right triangle calculator
Solve a right triangle from two sides, with area, perimeter and acute angles.
On-device processing · No account · No ads
Files and entered values are processed in your browser, without uploading them to Toolfred. Our tools do not automatically save your work or send it to embedded analytics.
Pages, libraries and shared reference files still download from our host. Downloads you save, browser recovery and hosting logs have separate retention. Local processing is not a guarantee of anonymity or secure deletion.
See where data goes →Your inputs
Preparing the local calculator. If controls stay inactive, reload this page.
Use the active fields and the stated conventions. Exact integer/fraction tools retain exact values; floating-point results are rounded for display. Calculations stay on this device.
YOUR RESULT
Your right triangle result
Enter the active inputs, then choose Calculate. The method and limits are explained below.
Save calculation JSON ↓Calculation breakdown
Scroll sideways to see every column. You can also focus the table and use the arrow keys.
How this calculation works
The Pythagorean theorem gives c²=a²+b², where c is the hypotenuse. To solve a leg, compute √[(c−a)(c+a)] to reduce cancellation. Angles use atan2. Positive sides1e−9–1e12; the hypotenuse must exceed the known leg. This covers right triangles only.
Reference: method and limitations. Method reviewed October 23, 2026.
Check the assumptions
Use the stated units and conventions. This tool supports the workflow described here; it does not infer missing information or outside rules.