Triangle Calculator
Solve any triangle from 3 values including a side. Computes sides, angles, area, perimeter, heights, medians, inradius, circumradius, and classification with a labeled diagram.
Calculator
Sides
Angles
Provide 3 values including at least one side. Radians accept pi/2, pi/4, etc.
Triangle Summary
Heights & Medians
| From side | Altitude | Median |
|---|---|---|
| a | 4.0000 | 4.2720 |
| b | 3.0000 | 3.6056 |
| c | 2.4000 | 2.5000 |
Results
Area
6.0000
Heron’s formula from a, b, c
12.0000
a + b + c
36.87° · 53.13° · 90.00°
Sum exactly 180°
Scalene · Right
By sides and by angles
4.000 · 3.000 · 2.400
2·Area divided by each side
1.0000
Area / semi-perimeter
2.5000
a / (2·sin A)
4.272 · 3.606 · 2.500
Vertex-to-midpoint lengths
Law-of-sines/cosines solution closed by A+B+C=180° with Heron area. SSS and SAS are exact up to rounding; SSA returns the principal acute branch — verify supplements on site.
Visualizations
Side Lengths
Angle Split (degrees)
Largest Angle vs 180°
Inradius vs Circumradius
Formula
Unknown parts come from the cosine law (SSS, SAS) and the sine law (ASA, AAS, SSA) closed by A+B+C=180°. Area then follows from Heron’s formula, altitudes from 2·Area/side, medians from Apollonius, and radii from Area/s and a/(2·sin A).
Alternative Form
Variables
| Symbol | Name | Unit | Description |
|---|---|---|---|
| a, b, c | Side lengths | length | a opposite A, b opposite B, c opposite C |
| A, B, C | Interior angles | ° or rad | Always sum to 180° |
| s | Semi-perimeter | length | (a+b+c)/2 |
| hₐ | Altitude to a | length | 2·Area/a |
| mₐ | Median to a | length | ½√(2b²+2c²−a²) |
| r, R | Inradius, circumradius | length | r=Area/s; R=a/(2·sin A) |
Explanation
Sines scale sides against opposite angles; cosines correct Pythagoras for non-right included angles. Once all six parts are known, area and its derivatives are pure algebra.
Derivation
SSS: cos A=(b²+c²−a²)/(2bc), arccos each angle. SAS: c=√(a²+b²−2ab·cos C), then sine law. ASA/AAS: third angle by subtraction, sides by sine law. SSA: sin B=b·sin A/a with supplement check. Then s, Heron area, h=2A/side, r=A/s, R=a/(2 sin A).
Step-by-Step Calculation
Follow each step to understand how the result is calculated from your inputs.
Start from the entered values and complete the six parts.
Check closure: sides satisfy the inequality and angles sum to 180°.
Compute the semi-perimeter and apply Heron’s formula.
Drop the three altitudes from area.
Compute medians and both radii.
Classify the triangle and verify Pythagoras when right.
Worked Examples
See how the calculator works with different scenarios.
Scenario
Sides a=3, b=4, c=5 with no angles entered.
Inputs
Calculation
cos A=(16+25−9)/(2·4·5)=0.8 → A≈36.87° cos B=(9+25−16)/(2·3·5)=0.6 → B≈53.13° C=180−A−B=90° s=6, area=√(6·3·2·1)=6
Result
Angles 36.87° · 53.13° · 90°; area 6; scalene right; r=1, R=2.5
Interpretation
The solver recognizes 3²+4²=5² and prints the verified identity. Altitudes are 4, 3, and 2.4; medians about 4.27, 3.61, 2.5.
Understanding Your Result
Your Result: Area: 6.0000
Typical range: Valid triangles satisfy a+b>c in all permutations and A+B+C=180°. Altitudes never exceed their adjacent sides; circumradius is at least half the longest side; inradius is well under the shortest altitude.
What This Means
The dashboard reports the full solved triangle: three sides, three angles summing to 180°, Heron area, perimeter, the three altitudes and medians, both circle radii, and the side/angle classification.
Why It Matters
One entry of SSS, SAS, ASA, AAS, or SSA determines everything else. Reading all derivatives together catches mislabeled sides and impossible sets before they reach construction or grading.
Professional Interpretation
Use SSS for fabricated parts, SAS for two-station surveys, ASA/AAS for angle-forward traversing, and treat SSA as provisional until the supplement is ruled out in the field.
Recommendations
- •Sketch which side opposes which angle before typing
- •Prefer SSS or SAS when distances are more reliable than angles
- •Confirm SSA supplements against the site sketch
- •Keep degrees selected unless the source is genuinely in radians
- •Re-run after rounding field notes to check sensitivity
- •Export the diagram with the computation for records
Educational Content
Introduction
A triangle is fixed by three data including a side. This solver walks the standard cases — SSS by cosines, SAS by cosines then sines, ASA/AAS by subtraction then sines, SSA with an ambiguity check — and derives area, heights, medians, and radii.
Concept Explanation
Sine law equates side-to-sine ratios; cosine law adjusts Pythagoras by −2ab·cos(C). Heron’s formula converts the three sides into area, and area converts into altitudes and the incircle while a/(2·sin A) gives the circumcircle.
Applications
Benefits
- •Accepts all five solvable configurations
- •Parses degrees, radians, and pi expressions
- •Reports heights, medians, and both radii together
- •Verifies Pythagoras numerically on right triangles
- •Draws a true-shape labeled diagram
Limitations
- •AAA alone cannot fix scale
- •SSA may hide a second valid triangle supplement
- •Flat-plane geometry only — no spherical excess
- •Display rounds to 4/2 decimals; keep raw values for machining
Best Practices
- •Enter exactly the measured values; leave the rest blank
- •Match the angle-unit switch to the instrument output
- •Plot the diagram against the site sketch as a sanity check
- •Carry extra digits through chained calculations
- •Photograph the setup when SSA yields two candidates
Common Misconceptions
Practical Tips
- •Give exactly 3 values with at least one side
- •Leave unknown fields blank rather than zeroing them
- •Use SSS when all distances are taped accurately
- •Type pi/2 style angles in radian mode
- •Suspect SSA whenever two sides meet one lonely angle
- •Compare the diagram to your sketch before building
- •Re-run with rounded inputs to test sensitivity
Common Mistakes
Assumptions
This calculator makes the following assumptions to provide estimates:
Limitations
Be aware of these limitations when using this calculator:
Frequently Asked Questions
Answers to common questions about this calculator.
What is a triangle?
What are the types of triangles by sides?
What are the types of triangles by angles?
What do SSS, SAS, ASA, AAS, and SSA mean?
How do I solve a triangle?
How do I find angles from three sides (SSS)?
What is the law of sines?
What is the law of cosines?
What is the Pythagorean theorem?
What is the triangle inequality?
How do I find the area with base and height?
What is Heron’s formula?
How do I find area from two sides and the included angle?
What is the ambiguous case (SSA)?
Do angles always sum to 180°?
How do I find the hypotenuse?
What is the median of a triangle?
What is the altitude (height)?
What is the inradius?
What is the circumradius?
What are centroid, orthocenter, circumcenter, incenter?
Can I enter radians or pi expressions?
Why does the solver say "not enough information"?
What is a 30-60-90 triangle?
What is a 45-45-90 triangle?
How are triangles used in real life?
How do I classify a 3-4-5 triangle?
What precision does the solver use?
Related Calculators
Explore more calculators related to this topic.
Related Guides
Deepen your understanding with these educational resources.
Glossary
Technical terms used in mortgage calculations explained in plain language.
- SSS / SAS / ASA / AAS / SSA
- Shorthand for which sides and angles are known going in.
- Law of sines
- a/sin A=b/sin B=c/sin C=2R.
- Law of cosines
- c²=a²+b²−2ab·cos C.
- Heron’s formula
- Area from sides: √(s(s−a)(s−b)(s−c)).
- Semi-perimeter
- s=(a+b+c)/2, the Heron input.
- Altitude
- Perpendicular height hₐ=2·Area/a.
- Median
- Vertex-to-midpoint segment meeting at the centroid.
- Inradius
- Incircle radius r=Area/s.
- Circumradius
- Circumcircle radius R=a/(2·sin A).
- Triangle inequality
- a+b>c in every permutation, else no triangle.
Authoritative References
Trusted sources and standards referenced by this calculator.
Applicable Standards
Was This Calculator Helpful?
Page Information
2026-08-07
2.0.0
Free to use for educational and professional purposes.