Skip to content · 跳到主要内容

Triangle Calculator

Solve a triangle from any three valid side and angle values, including ambiguous SSA cases

Area
--
--
Angle A
--
Angle B
--
Angle C
--
Side a
--
Side b
--
Side c
--
Perimeter
--
Semiperimeter
--
Inradius
--
Circumradius
--
Median mₐ
--
Median mᵦ
--
Median m꜀
--
Triangle type

Solving a triangle from three values

Enter exactly three of the six side and angle values, including at least one side. The calculator handles SSS with the law of cosines, SAS with the cosine law, ASA/AAS with the sine law, and SSA with both possible configurations when they exist. It then reports all three sides and angles, area, perimeter, inradius, circumradius and medians.

A+B+C=π
a/sin(A)=b/sin(B)=c/sin(C)
a²=b²+c²−2bc cos(A)
area=√(s(s−a)(s−b)(s−c))

Frequently Asked Questions

Why does the calculator need at least one side?

Three angles determine shape but not scale. At least one side is needed to determine the actual dimensions and area.

What is the SSA ambiguous case?

Two sides and a non-included angle can describe two different triangles, one triangle or no triangle. The calculator lists both solutions when two are valid.

Can I enter π fractions for angles?

Yes. Select radians and enter expressions such as pi/2 or 3pi/4. Degree mode accepts numeric degree values.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision