Triangle Calculator
Find a triangle’s area, perimeter, angle type and equilateral, isosceles or scalene side type. Angle comparisons are scaled; side equality uses the entered lengths exactly.
- Explicit formulas and worked examples
- Check your inputs, then calculate
- Data is calculated in this browser only
Check the stated input format, calculation convention and limits before using the result.
Check the example inputs, then calculate. Your values stay in this browser.
Sides must be positive, use one length unit and satisfy the strict triangle inequality.
Understand the Triangle Calculator
Choose the right record before calculating
Measure all three sides in one length unit. They must satisfy strict triangle inequality before area and angle type are meaningful. Heron’s formula returns area in squared units; perimeter remains a length. Near a flat triangle, remeasure because a small side change can greatly alter area.
Content and calculation reviewed:
Understand the calculation
How to use it and the math behind it
Four steps to check your inputs and results
- Find a triangle’s area, perimeter, angle type and equilateral, isosceles or scalene side type. Angle comparisons are scaled; side equality uses the entered lengths exactly.
- Enter First side, Second side, Third side in the stated format. Baseline values are for reproduction.
- Check the output unit and convention: Read area (heron) with its stated unit and convention. The default example and the independent worked scenario use different inputs, so compare the assumptions before comparing the numbers.
- Change one input and compare the result. Sides must be positive, use one length unit and satisfy the strict triangle inequality. Angle classification uses a stated binary64 tolerance; a nearly right measured triangle may be reported as right. Side equality is exact for parsed input lengths, without a measurement-error tolerance. Nearly equal measurements are not automatically equilateral or isosceles.
Triangle Calculator: calculation relationships
Heron’s formula uses the semi-perimeter. For sides 5, 5 and 6, s=8 and area=√(8×3×3×2)=12 square units; perimeter is 16 length units. An independent check drops the altitude onto half the base: height=√(25−9)=4, and 6×4/2=12. Side feasibility must be checked before taking the square root. Angle type uses the largest side: compare its square with the sum of the other two squares. Greater means obtuse, smaller acute and equal within floating-point tolerance right; the calculation first scales all sides.
s = (a+b+c)/2; area = √(s(s−a)(s−b)(s−c)); angle type compares largest² with other₁² + other₂²; side type compares entered lengths
The detailed guide adds variable definitions, a reproducible example, a practice question and model limitations.
Questions before you calculate
Do any three positive lengths form a triangle?
No. The shorter two must sum to more than the longest.
Why is semiperimeter used?
Heron’s expression is s(s − a)(s − b)(s − c), with s equal to half the perimeter.
How is an obtuse triangle identified?
The longest-side square exceeds the sum of the other two squares.
Does an isosceles triangle have to be acute?
No. Side equality and angle type are independent classifications.
Can measurement precision justify all output digits?
No. Report precision supported by the original measurements.
From question to result