Copied!
Free Tool • Step-by-Step • SSS SAS ASA AAS SSA

Triangle Calculator

Solve any triangle — find missing sides, angles, area & perimeter with visual diagram & step-by-step solutions

Right Triangle

Enter any two values — sides or angles

Angle unit:
Samples:

Triangle Diagram

📐

Enter any known values to solve the triangle

Supports right triangles, oblique triangles, and all 5 solving methods

Why Use Our Triangle Calculator?

📐

7 Modes

Right, SSS, SAS, ASA, AAS, SSA & Coords

📝

Step-by-Step

Detailed solution breakdown

👁️

Visual Diagram

Live triangle drawing with labels

📏

Full Properties

Area, perimeter, inradius, circumradius

🎓

All Types

Right, acute, obtuse, equilateral, isosceles

💰

100% Free

No sign-up, no limits ever

Triangle Calculator — Solving Triangles with Accuracy Using Trigonometry and Geometry

A triangle is one of the most fundamental geometric shapes in mathematics, physics, engineering, and everyday life. From architectural blueprints to GPS navigation, from construction measurements to computer graphics — triangles appear everywhere. A reliable triangle calculator eliminates the manual labor of applying the Pythagorean theorem, law of sines, law of cosines, or Heron's formula, giving you instant, accurate results along with a complete breakdown of every step in the solution process.

Our free triangle calculator solves all types of triangles using seven different input configurations: right triangle mode, SSS (three sides known), SAS (two sides and the included angle), ASA (two angles and the included side), AAS (two angles and a non-included side), SSA (two sides and a non-included angle — the ambiguous case), and coordinate mode (three vertex points). Each mode applies the appropriate mathematical theorem automatically, so you don't need to decide which formula to use — just enter what you know.

What Is the Pythagorean Theorem and When Is It Used?

The right triangle calculator mode applies the Pythagorean theorem: c² = a² + b², where c is the hypotenuse (the longest side, opposite the 90° angle) and a, b are the two legs. This relationship holds exclusively for right triangles — triangles with exactly one 90° angle. If you know any two sides of a right triangle, the third can be found instantly. If you know one side and one acute angle, trigonometric ratios (sine, cosine, tangent) fill in the rest.

The right angle triangle solver also computes the two acute angles using inverse trigonometric functions. For instance, if side a = 3 and hypotenuse c = 5, then angle A = arcsin(3/5) = 36.87°, and angle B = 90° − 36.87° = 53.13°. This classic 3-4-5 right triangle is one of several Pythagorean triples — sets of integers satisfying the theorem — that appear frequently in standardized tests and practical measurements.

What Are SSS, SAS, ASA, AAS, and SSA Triangle Configurations?

An oblique triangle calculator (for triangles without a 90° angle) requires knowing either specific sides, specific angles, or combinations of both. The five standard configurations are named by which elements are known. The SSS triangle calculator — where all three sides are given — uses the law of cosines to find all angles. The SAS triangle calculator — two sides and the angle between them — also uses the law of cosines, then the law of sines for remaining parts. ASA and AAS configurations, where two angles are known, first determine the third angle (since all angles must sum to 180°), then apply the law of sines to find the missing sides.

The SSA configuration (two sides and an angle that is not between them) is known as the "ambiguous case" because it can produce zero, one, or two valid triangles depending on the values. Our calculator handles all three scenarios — displaying both solutions when two valid triangles exist — and clearly labels each outcome. This is a common source of confusion for students learning trigonometry, and having a triangle solver online that addresses it explicitly provides significant educational value.

How Does the Law of Sines Work?

The law of sines calculator function applies the principle that in any triangle, the ratio of each side to the sine of its opposite angle is constant: a/sin(A) = b/sin(B) = c/sin(C). This ratio equals the diameter of the triangle's circumscribed circle (2R, where R is the circumradius). The law of sines is most useful when you know two angles and any side (ASA or AAS), or two sides and a non-included angle (SSA).

For example, if you know angle A = 45°, angle B = 60°, and side b = 10, you can find angle C = 180° − 45° − 60° = 75°, then use the law of sines to find: a = b × sin(A)/sin(B) = 10 × sin(45°)/sin(60°) ≈ 8.165, and c = b × sin(C)/sin(B) = 10 × sin(75°)/sin(60°) ≈ 11.154. Every step of this calculation is shown in the step by step triangle calculator output.

How Does the Law of Cosines Work?

The law of cosines calculator generalizes the Pythagorean theorem to all triangles: c² = a² + b² − 2ab·cos(C). When angle C = 90°, cos(90°) = 0, reducing the formula to the Pythagorean theorem. This law is used in SSS mode (to find angles from all three sides) and SAS mode (to find the third side from two sides and the included angle).

For the SSS case with sides a=5, b=7, c=9: cos(C) = (25 + 49 − 81)/(2×5×7) = −7/70 = −0.1, so C = arccos(−0.1) ≈ 95.74°. Since C is obtuse, the triangle is obtuse-angled. Then using the law of sines: A = arcsin(5 × sin(95.74°)/9) ≈ 33.56°, and B = 180° − 95.74° − 33.56° ≈ 50.7°. The sss triangle calculator feature performs all these computations automatically.

How Is the Area of a Triangle Calculated?

The area of a triangle calculator offers multiple formulas depending on what information is available. The basic formula Area = ½ × base × height requires knowing the height, which may not be directly given. When all three sides are known, Heron's formula is used: first compute s = (a+b+c)/2 (the semi-perimeter), then Area = √(s(s−a)(s−b)(s−c)). When two sides and the included angle are known, Area = ½ × a × b × sin(C).

Heron's formula is particularly elegant because it requires no angle measurement — just the three side lengths. It was named after the Greek mathematician Heron of Alexandria (c. 10–70 CE) and remains one of the most useful tools in geometry for the perimeter of a triangle calculator context, since both area and perimeter can be derived from the same SSS information.

What Are Triangle Types and How Are They Classified?

The geometry triangle calculator automatically classifies any solved triangle into its type based on both sides and angles. By angles: an acute triangle has all three angles less than 90°; a right triangle has exactly one 90° angle; an obtuse triangle has one angle greater than 90°. By sides: an equilateral triangle has all three sides equal (and therefore all angles equal 60°); an isosceles triangle has exactly two equal sides; a scalene triangle has all sides of different lengths.

The equilateral triangle calculator is a special case where entering one side immediately gives all results: each angle is 60°, the area is (√3/4) × a², and the perimeter is 3a. The isosceles triangle calculator requires the base and equal sides (or base angles) as inputs. The scalene triangle calculator is the most general case where no sides or angles repeat, requiring the full SSS, SAS, or other methods.

What Is the Coordinate Triangle Calculator Mode?

The coordinate triangle calculator mode allows you to enter three vertex points (x₁,y₁), (x₂,y₂), (x₃,y₃) in a Cartesian coordinate system. The calculator then computes all three side lengths using the distance formula: d = √((x₂−x₁)² + (y₂−y₁)²), then proceeds with the SSS method to find all angles, area, and perimeter. This mode is particularly useful for computer graphics, CAD applications, map calculations, and any situation where triangles are defined by point locations rather than measurements.

The area from coordinates can also be computed directly using the shoelace formula: Area = |½|(x₁(y₂−y₃) + x₂(y₃−y₁) + x₃(y₁−y₂))|, which our calculator uses as a verification step alongside Heron's formula to ensure accuracy.

How to Read the Visual Triangle Diagram?

The interactive diagram drawn by our visual triangle calculator displays the solved triangle with labeled vertices (A, B, C), side labels (a, b, c — where side a is opposite vertex A, and so on), and angle arcs. The diagram updates in real time as values are entered. For right triangles, the right angle is marked with a small square at vertex C. For obtuse triangles, the obtuse angle is clearly visible as the widest arc. Color coding distinguishes input values (white labels) from calculated values (colored labels), helping you immediately see which properties were derived.

The triangle is scaled to fit the display area while preserving the correct proportions, so you get an accurate visual impression of whether the triangle is tall and narrow, wide and flat, or roughly equidimensional. This visual feedback is particularly valuable for catching input errors — if the diagram looks obviously wrong (like a triangle that appears to have a very small side despite a large entered value), it suggests a unit mismatch or transcription error worth reviewing.

What Are Inradius and Circumradius?

The inradius (r) is the radius of the largest circle that fits inside the triangle, touching all three sides. It's calculated as r = Area/s where s is the semi-perimeter. The circumradius (R) is the radius of the circle passing through all three vertices: R = abc/(4 × Area). Both values appear in our trigonometry triangle calculator results and have significant geometric meaning — the inradius relates to the inscribed circle center (incenter) while the circumradius relates to the circumscribed circle center (circumcenter).

For a right triangle with hypotenuse c, the circumradius is simply R = c/2, because the hypotenuse is a diameter of the circumscribed circle. This beautiful property — that any right angle inscribed in a circle will see the diameter as its hypotenuse — is known as Thales' theorem and is one of the earliest results in Greek geometry.

Whether you need a quick missing side triangle calculator for homework, a triangle hypotenuse calculator for a construction project, or a comprehensive solve triangle step by step tool for learning trigonometry, this calculator delivers accurate results with complete mathematical transparency. The combination of multiple input modes, real-time visual feedback, step-by-step solutions, and comprehensive property computation makes it the most versatile free online triangle solver available.

Frequently Asked Questions

Use c² = a² + b² (Pythagorean theorem). If finding a leg: a = √(c² − b²). With one angle and one side, use sin/cos/tan ratios. Our right triangle calculator handles all cases automatically.

c² = a² + b² − 2ab·cos(C). It applies to any triangle and generalizes the Pythagorean theorem. Used for SSS (finding angles) and SAS (finding the third side) configurations.

a/sin(A) = b/sin(B) = c/sin(C). This ratio equals 2R (diameter of circumscribed circle). Used for ASA, AAS, and SSA configurations.

½ × base × height, or Heron's formula √(s(s-a)(s-b)(s-c)) where s=(a+b+c)/2, or ½ab·sin(C) when two sides and included angle are known.

SSA (two sides, non-included angle) may produce 0, 1, or 2 valid triangles. Our calculator detects all cases and shows both triangles when two solutions exist.

All interior angles of any triangle always sum to exactly 180° (π radians). This is a fundamental theorem of Euclidean geometry used to find the third angle when two are known.

The hypotenuse is the longest side of a right triangle, always opposite the 90° angle. Formula: c = √(a² + b²). It equals 2R (diameter of the circumscribed circle).

An equilateral triangle has all three sides equal and all angles equal to 60°. Area = (√3/4)a². One side measurement is sufficient to compute all properties.

No. Two right angles sum to 180°, leaving 0° for the third angle — impossible. A valid Euclidean triangle has angles summing to exactly 180°.

Yes, completely free with no registration. All calculations run in your browser using validated formulas. No data is stored or transmitted. Use it unlimited times.