Best Calculator Hub

Triangle Solver Calculator

Calculate all properties of a triangle by entering the known values.

Triangle Input Method

Enter Triangle Measurements

Invalid triangle. The sum of any two sides must be greater than the third side.
Invalid triangle. Angle must be greater than 0° and less than 180°.
Invalid triangle. The sum of angles must be less than 180°.
Invalid combination. This may result in 0, 1, or 2 possible triangles.

Enter any two values to solve the right triangle (angle C = 90°)

Please enter exactly two values (with at least one side).

Triangle Solution

Side a
0.00
cm
Side b
0.00
cm
Side c
0.00
cm
Angle A
0.00
°
Angle B
0.00
°
Angle C
0.00
°

Triangle Properties

Area 0.00 cm²
Perimeter 0.00 cm
Semi-perimeter 0.00 cm
Height from A 0.00 cm
Height from B 0.00 cm
Height from C 0.00 cm
Inradius 0.00 cm
Circumradius 0.00 cm
Type by Angles -
Type by Sides -
Triangle Laws
Triangle Types
Formulas
Common Problems

Essential Triangle Laws

Understanding these fundamental laws is key to solving any triangle:

Law of Sines
sin(A)/a = sin(B)/b = sin(C)/c

The Law of Sines establishes that the ratio of the sine of an angle to the length of the side opposite that angle is constant for all three angles and sides of a triangle. This law is particularly useful when working with triangles where you know at least one side and the angles.

Law of Cosines
c² = a² + b² - 2ab·cos(C)
b² = a² + c² - 2ac·cos(B)
a² = b² + c² - 2bc·cos(A)

The Law of Cosines generalizes the Pythagorean theorem to any triangle. It relates the square of any side to the sum of squares of the other two sides minus twice their product times the cosine of the included angle. This law is essential for solving triangles when you know three sides (SSS) or two sides and the included angle (SAS).

Angle Sum Property
A + B + C = 180° (in degrees)
A + B + C = π (in radians)

The sum of all interior angles in any triangle is always 180 degrees (π radians). This property allows you to find the third angle when two angles are known.

Triangle Inequality Theorem
a + b > c
a + c > b
b + c > a

The sum of the lengths of any two sides of a triangle must be greater than the length of the remaining side. This theorem determines whether it's possible to construct a triangle with given side lengths.

Triangle Types and Classifications

Classification by Sides
  • Equilateral Triangle: All three sides have equal length (a = b = c)
  • Isosceles Triangle: Two sides have equal length (a = b or b = c or a = c)
  • Scalene Triangle: All three sides have different lengths (a ≠ b ≠ c)
Classification by Angles
  • Acute Triangle: All three angles are less than 90° (A, B, C < 90°)
  • Right Triangle: One angle is exactly 90° (typically C = 90°)
  • Obtuse Triangle: One angle is greater than 90° (A or B or C > 90°)
Combined Classifications
  • Equilateral Acute Triangle: All sides equal and all angles equal 60°
  • Isosceles Right Triangle: Two sides equal and one angle equals 90°
  • Isosceles Obtuse Triangle: Two sides equal and one angle greater than 90°
  • Scalene Right Triangle: All sides different and one angle equals 90°
Special Triangles
  • 30-60-90 Triangle: A right triangle with angles of 30°, 60°, and 90°. If the shortest side has length x, then the hypotenuse has length 2x and the remaining side has length x√3.
  • 45-45-90 Triangle: A right isosceles triangle with two 45° angles. If the equal sides have length x, then the hypotenuse has length x√2.
  • 3-4-5 Triangle: A right triangle with sides of length 3, 4, and 5 units (or any multiple thereof).

Triangle Calculation Formulas

Area Formulas
  • Using base and height: Area = (1/2) × base × height
  • Using sides (Heron's formula): Area = √(s(s-a)(s-b)(s-c)), where s = (a+b+c)/2 is the semi-perimeter
  • Using two sides and included angle: Area = (1/2) × a × b × sin(C)
  • Using the Law of Sines: Area = (1/2) × bc × sin(A) = (1/2) × ac × sin(B) = (1/2) × ab × sin(C)
Height Formulas
ha = (2 × Area) / a
hb = (2 × Area) / b
hc = (2 × Area) / c

Where ha is the height from vertex A perpendicular to side a, etc.

Median Formulas

Medians are lines from a vertex to the midpoint of the opposite side.

ma = (1/2)√(2b² + 2c² - a²)
mb = (1/2)√(2a² + 2c² - b²)
mc = (1/2)√(2a² + 2b² - c²)
Incircle and Circumcircle
  • Inradius (radius of inscribed circle): r = Area / s, where s is the semi-perimeter
  • Circumradius (radius of circumscribed circle): R = (a × b × c) / (4 × Area)
Angular Bisector Formulas

The length of an angle bisector from vertex to the opposite side:

ta = (2bc×cos(A/2)) / (b+c)
tb = (2ac×cos(B/2)) / (a+c)
tc = (2ab×cos(C/2)) / (a+b)

Common Triangle Problems and Solutions

Problem: The Ambiguous Case (SSA)

When given two sides and a non-included angle (Side-Side-Angle or SSA), there might be zero, one, or two possible triangles that satisfy the conditions. This is called the ambiguous case.

  • If the given angle is opposite to the shorter of the two sides and the sine of the angle is less than the ratio of the shorter side to the longer side, then two triangles are possible.
  • If the given angle is opposite to the longer side and sin(angle) × longer side > shorter side, no triangle is possible.
  • If the given angle is 90° and the side opposite to it is not the longest side, no triangle is possible.
Problem: Rounding Errors in Calculations

Trigonometric calculations can lead to rounding errors, especially when working with very small or very large triangles. To minimize these:

  • Use more precise methods like Heron's formula for area when all three sides are known
  • Keep intermediate calculations at high precision and round only the final result
  • Check that the sum of calculated angles is close to 180° (within rounding error)
  • Verify that the triangle inequality holds for the calculated sides
Problem: Working with Very Small or Very Large Triangles

When dealing with triangles of extreme sizes:

  • Express measurements in appropriate units to avoid very small or very large numbers
  • Be aware that small measurement errors have proportionally larger effects on small triangles
  • For astronomical or microscopic applications, consider using logarithmic scales or scientific notation
Problem: Determining if a Triangle is Valid

Before attempting to solve a triangle, verify that it's mathematically possible by checking:

  • Triangle inequality for the sides (a + b > c, a + c > b, b + c > a)
  • The sum of any two angles must be less than 180°
  • All sides must be positive
  • All angles must be greater than 0° and less than 180°
Picture of Dr. Evelyn Carter

Dr. Evelyn Carter

Author | Chief Calculations Architect & Multi-Disciplinary Analyst

Table of Contents

Triangle Solver Calculator: Calculate All Triangle Properties with Ease

Our comprehensive triangle solver calculator helps you solve for all properties of a triangle using just a few known values. Whether you’re working on a geometry problem, construction project, or educational assignment, this powerful tool delivers instant results with detailed explanations.

Key Features of Our Triangle Solver

  • Multiple input methods – Solve triangles using SSS, SAS, ASA/AAS, SSA, or right triangle methods
  • Complete solutions – Calculate all sides, angles, area, perimeter, heights, and more
  • Visual representation – See your triangle displayed with all measurements labeled
  • Customizable units – Work with degrees or radians, and various length units
  • Built-in validation – Automatically checks if your inputs can form a valid triangle

Understanding Triangle Calculation Methods

Triangles are uniquely determined when the right combination of sides and angles are known. Our calculator supports all standard methods for solving triangles:

Three Sides (SSS)

The Side-Side-Side (SSS) method requires knowing all three sides of the triangle (a, b, and c).

  • Uses the Law of Cosines to find the angles
  • Formula: cos(A) = (b² + c² – a²)/(2bc)
  • The most straightforward method when all side measurements are available
  • Always produces a unique solution if the triangle inequality is satisfied
  • Particularly useful in construction and engineering applications

The triangle inequality theorem states that the sum of the lengths of any two sides must be greater than the length of the remaining side.

Two Sides and Included Angle (SAS)

The Side-Angle-Side (SAS) method uses two sides and the angle between them.

  • Uses the Law of Cosines to find the third side
  • Formula: c² = a² + b² – 2ab·cos(C)
  • Then uses the Law of Sines to find the remaining angles
  • Always produces a unique solution
  • Common in surveying and navigation problems

This method is particularly reliable because the included angle directly determines the shape of the triangle.

Two Angles and One Side (ASA/AAS)

These methods use two angles and one side of the triangle.

  • Angle-Side-Angle (ASA): Two angles and the included side
  • Angle-Angle-Side (AAS): Two angles and a non-included side
  • First calculates the third angle (sum of angles = 180°)
  • Then uses the Law of Sines to find the remaining sides
  • Both methods always produce a unique solution

These methods are frequently used in astronomy, physics, and when measuring distances to inaccessible points.

Side-Side-Angle (SSA)

The Side-Side-Angle (SSA) method uses two sides and a non-included angle.

  • Also known as the “ambiguous case”
  • Can result in zero, one, or two possible triangles
  • Uses the Law of Sines to determine possibilities
  • Requires careful analysis of the relationship between the given angle and sides
  • The least straightforward method but still valuable in certain situations

The ambiguity arises because the same inputs can sometimes describe two different triangles, requiring additional information to determine the correct solution.

Right Triangle

A specialized case where one angle is exactly 90 degrees.

  • Only needs two values to solve completely (if at least one is a side)
  • Uses the Pythagorean theorem: a² + b² = c²
  • Employs trigonometric functions: sin, cos, tan
  • The most commonly encountered triangle in practical applications
  • Forms the foundation of trigonometry

Right triangles are essential in countless applications from architecture and construction to navigation and engineering.

Essential Triangle Laws and Formulas

Our calculator employs these fundamental mathematical principles to solve triangles:

Law of Sines

sin(A)/a = sin(B)/b = sin(C)/c

The Law of Sines establishes a relationship between the sides of a triangle and the sines of the angles opposite to those sides. It’s essential for finding unknown sides when angles are known, or vice versa.

This law is particularly useful in the ASA, AAS, and SSA solution methods.

Law of Cosines

c² = a² + b² – 2ab·cos(C)

The Law of Cosines extends the Pythagorean theorem to any triangle. It relates the square of one side to the sum of squares of the other two sides minus twice their product times the cosine of the included angle.

This formula is critical for the SSS and SAS solution methods.

Angle Sum Property

A + B + C = 180° (degrees)
A + B + C = π (radians)

In any triangle, the sum of all interior angles is always 180 degrees (or π radians). This fundamental property allows us to find the third angle when two angles are known.

This property applies to all triangles, regardless of their shape or size.

Area Formulas

Area = (1/2) × base × height
Area = (1/2) × ab × sin(C)
Area = √(s(s-a)(s-b)(s-c))

Multiple formulas exist for calculating a triangle’s area. Heron’s formula (the third one listed) is particularly versatile as it requires only the three side lengths, where s is the semi-perimeter: s = (a+b+c)/2.

Pythagorean Theorem

a² + b² = c²

This theorem applies specifically to right triangles, where c is the hypotenuse (the side opposite the right angle), and a and b are the other two sides (the legs).

The Pythagorean theorem is a special case of the Law of Cosines where the included angle is 90°.

Height Formulas

ha = (2 × Area) / a
hb = (2 × Area) / b
hc = (2 × Area) / c

These formulas calculate the height (altitude) from any vertex to the opposite side. Each height is perpendicular to its corresponding side.

Heights are important in many geometric calculations and physical applications.

Triangle Types and Classifications

Triangles can be classified based on their sides or angles. Our calculator determines the exact type of triangle from your inputs:

Classification by Sides

Equilateral Triangle

All three sides are equal.
a = b = c

Isosceles Triangle

Two sides are equal.
a = b or b = c or a = c

Scalene Triangle

All sides have different lengths.
a ≠ b ≠ c

Classification by Angles

Acute Triangle

All angles are less than 90°.
A, B, C < 90°

Right Triangle

One angle is exactly 90°.
Typically C = 90°

Obtuse Triangle

One angle is greater than 90°.
A or B or C > 90°

Practical Applications of Triangle Calculations

Triangle calculations are fundamental in numerous fields and everyday applications:

Engineering and Construction

  • Structural analysis: Calculating forces and loads in trusses and frameworks
  • Surveying: Determining distances and angles for property boundaries
  • Architecture: Designing roof pitches, staircase angles, and support structures
  • Civil engineering: Building bridges, calculating slopes, and planning road gradients
  • Mechanical engineering: Analyzing forces in machines and mechanisms

Triangles are fundamental building blocks in construction due to their inherent stability and strength.

Navigation and Geography

  • Triangulation: Determining position by measuring angles to known points
  • GPS systems: Calculating position based on distances to satellites
  • Aviation: Planning flight paths and calculating headings
  • Marine navigation: Plotting courses and determining positions at sea
  • Cartography: Creating accurate maps and measuring distances between locations

Before modern GPS, triangulation was the primary method for creating accurate maps and determining location.

Physics and Astronomy

  • Vector analysis: Breaking forces into components using trigonometry
  • Optics: Calculating light paths and refraction angles
  • Astronomy: Measuring stellar distances through parallax
  • Mechanics: Analyzing inclined planes, pendulums, and projectile motion
  • Electromagnetism: Understanding field vectors and wave propagation

The mathematical properties of triangles are essential for describing and predicting physical phenomena.

Computer Graphics and Design

  • 3D modeling: Creating complex shapes from triangular meshes
  • Video games: Rendering graphics and calculating collision detection
  • CAD software: Designing products and structures
  • Computer vision: Processing images and detecting patterns
  • Animation: Creating realistic movements and transformations

Triangles are the fundamental building blocks of 3D computer graphics because any 3D surface can be approximated using triangular facets.

Education and Mathematics

  • Geometry education: Teaching fundamental spatial concepts
  • Trigonometry: Understanding sine, cosine, and tangent relationships
  • Calculus: Approximating areas under curves using triangles
  • Proofs: Developing logical reasoning through geometric demonstrations
  • Problem-solving: Applying triangle properties to solve complex problems

Triangle studies serve as a gateway to advanced mathematics and develop critical spatial reasoning skills.

Art and Design

  • Perspective drawing: Creating realistic depth in artwork
  • Architecture: Designing aesthetically pleasing and structurally sound buildings
  • Graphic design: Developing balanced and visually appealing layouts
  • Photography: Composing images using the “rule of thirds” and triangular arrangements
  • Fashion: Creating patterns and designs for clothing

The triangle is one of the most dynamic and visually stable shapes in design, often used to create movement or stability.

Tips for Accurate Triangle Calculations

Choosing the Right Solution Method

Select the most appropriate method based on your known values:

  • If you know all three sides, use the SSS method
  • If you know two sides and the included angle, use the SAS method
  • If you know two angles and any side, use the ASA/AAS method
  • If you know two sides and a non-included angle, use the SSA method (but be aware of the possible ambiguity)
  • If you know it’s a right triangle, you only need two additional values (with at least one being a side)

Using the optimal method for your available data will yield the most accurate results with the least calculation.

Working with the Ambiguous Case (SSA)

When using the Side-Side-Angle method:

  • Be aware that there may be zero, one, or two possible solutions
  • If the given angle is opposite the shorter side and sin(angle) < shorter/longer, two triangles are possible
  • If the given angle is opposite the longer side and sin(angle) × longer > shorter, no triangle is possible
  • If additional information is available, use it to determine which solution is correct
  • When in doubt, draw a sketch to visualize the possible configurations

The ambiguous case is a reminder that not all combinations of sides and angles uniquely determine a triangle.

Minimizing Calculation Errors

To ensure accurate results:

  • Use consistent units for all measurements
  • Maintain sufficient decimal precision during intermediate calculations
  • Verify that the sum of calculated angles is close to 180° (within rounding error)
  • Check that the triangle inequality holds for the calculated sides
  • When possible, use multiple methods to cross-verify your results

Our calculator handles these precautions automatically, but they’re important to understand when doing manual calculations.

Frequently Asked Questions

How many values do I need to solve a triangle?

To solve a triangle completely, you need three independent values (as long as at least one is a side length). A triangle has six main elements—three sides and three angles—but they’re not all independent because of the constraint that angles must sum to 180°. The minimum information required depends on which values you have: three sides (SSS); two sides and their included angle (SAS); two angles and any side (ASA/AAS); or two sides and a non-included angle (SSA, which may yield multiple solutions). For right triangles, you only need two values (if at least one is a side) because one angle is already known to be 90°. Our calculator analyzes your inputs and selects the appropriate method automatically, calculating all remaining sides, angles, and additional properties like area, perimeter, heights, and the triangle’s type classification. If you provide insufficient or inconsistent information, the calculator will alert you that a unique solution is not possible.

What is the difference between the Law of Sines and Law of Cosines?

The Law of Sines and Law of Cosines serve different purposes in triangle calculations. The Law of Sines (sin(A)/a = sin(B)/b = sin(C)/c) establishes proportionality between the sides of a triangle and the sines of their opposite angles. It’s ideal for finding unknown sides when you know angles, or unknown angles when you know sides, particularly when the known values aren’t directly related (not an included angle). The Law of Cosines (c² = a² + b² – 2ab·cos(C)) is a generalization of the Pythagorean theorem and works for any triangle. It’s especially useful when you know two sides and their included angle (SAS) or all three sides (SSS). The Law of Sines can yield ambiguous results in some cases (the SSA case), potentially indicating two possible triangles, while the Law of Cosines always provides a unique solution when properly applied. In practice, these laws are often used together: the Law of Cosines to find one unknown element, followed by the Law of Sines to determine the remaining unknowns. Our calculator applies both laws appropriately based on your input method.

Why does my triangle have two possible solutions?

When you encounter two possible triangle solutions, you’re dealing with the “ambiguous case,” which occurs specifically when using the Side-Side-Angle (SSA) method under certain conditions. This ambiguity arises when you know two sides and an angle that is not between them. The geometric reason is straightforward: if you imagine fixing one side and the angle, then trying to place the second side of a given length, there may be two possible positions where it intersects the third side. This happens specifically when: 1) The known angle is opposite the shorter of the two known sides; 2) The sine of the known angle is less than the ratio of the shorter side to the longer side; and 3) The triangle inequality can be satisfied in two different configurations. In practical applications, additional constraints or measurements are typically used to determine which solution is correct. For example, in surveying, physical limitations like terrain features might make only one solution feasible. In physics problems, other physical constraints often eliminate one possibility. Our calculator will alert you when an ambiguous case is detected and provide both potential solutions when applicable, allowing you to apply additional context to determine the correct one.

How do I determine if three sides can form a valid triangle?

To determine if three sides can form a valid triangle, you need to apply the Triangle Inequality Theorem. This fundamental principle states that the sum of the lengths of any two sides must be greater than the length of the remaining side. For sides a, b, and c, all three of these conditions must be true: a + b > c, a + c > b, and b + c > a. Additionally, all sides must have positive length (a, b, c > 0). If any of these conditions is violated, it’s physically impossible to construct a triangle with the given sides. Intuitively, this makes sense: if two sides are too short compared to the third side, they won’t be able to meet when trying to form the triangle. Our calculator automatically checks these conditions and will alert you if your inputs can’t form a valid triangle. This validation is particularly important in the SSS method, where all three sides are directly specified. Similar validation checks apply to angles: all angles must be greater than 0° and less than 180°, and their sum must equal exactly 180°. These validation rules ensure that the results represent a physically constructible triangle.

What are the most important properties of a triangle?

The most important properties of a triangle include both its basic elements and derived characteristics. The fundamental elements are its three sides (typically denoted a, b, c) and three angles (A, B, C). From these, we can determine several significant properties: the area, which measures the space enclosed by the triangle; the perimeter, which is the sum of all side lengths; the semi-perimeter, half the perimeter, used in Heron’s formula; the three heights (altitudes), which are perpendicular distances from each vertex to the opposite side; the three medians, lines from each vertex to the midpoint of the opposite side; the incircle radius (inradius), the radius of the circle inscribed within the triangle; and the circumcircle radius (circumradius), the radius of the circle passing through all three vertices. Additionally, triangles are classified by their sides (equilateral, isosceles, or scalene) and by their angles (acute, right, or obtuse). Our calculator provides all these properties automatically, giving you a comprehensive understanding of your triangle’s characteristics. These properties are crucial in various applications from basic geometry to engineering, physics, and architecture, where triangles serve as fundamental building blocks.

Special Triangle Cases and Examples

45-45-90 Triangle (Isosceles Right Triangle)

45° 45° 90°

If the legs have length 1, then:

  • Hypotenuse = √2
  • Area = 0.5
  • Equal angles of 45°

This triangle appears frequently in construction, engineering, and mathematics.

30-60-90 Triangle

30° 60° 90°

If the shortest side has length 1, then:

  • Middle side = √3
  • Hypotenuse = 2
  • Area = √3/2

This triangle is often created by bisecting an equilateral triangle.

3-4-5 Triangle (Pythagorean Triple)

3 4 5

Properties:

  • Sides: 3, 4, 5 (or any multiple)
  • Right angle opposite side 5
  • Area = 6 square units
  • Angles: ~37°, ~53°, 90°

Widely used in construction for creating perfect right angles.

Equilateral Triangle

60° 60° 60°

If side length is s:

  • All angles equal 60°
  • Area = (√3/4) × s²
  • Height = (√3/2) × s
  • Inradius = s/(2√3)
  • Circumradius = s/√3

Known for its perfect symmetry and structural stability.

Mathematical References and Standards

Our triangle calculator adheres to established mathematical principles recognized by educational and professional organizations:

  • The triangle laws and formulas used follow standards defined by the National Council of Teachers of Mathematics (NCTM)
  • Calculations are consistent with principles taught in Common Core Mathematics Standards
  • The trigonometric functions and algorithms follow IEEE Standard 754 for floating-point computation
  • The educational content incorporates geometric concepts aligned with international mathematical education frameworks
  • Our validation rules are based on fundamental geometric axioms and theorems from Euclidean geometry

Our calculator and accompanying educational content are regularly reviewed to ensure accuracy and adherence to current mathematical standards.

Usage Notes

The Triangle Solver Calculator is provided for educational and reference purposes. While we strive for mathematical accuracy, results should be verified for critical applications. Due to the nature of floating-point calculations, very small rounding errors may occur, particularly when working with angles close to 0° or 180°.

For professional applications requiring high precision, consider verifying critical results with multiple methods or consulting with a qualified professional in the relevant field.

Last Updated: March 3, 2025 | Next Review: March 3, 2026