Geometry Calculators

Triangle Calculator

Calculate the missing sides, angles, area and perimeter of a triangle from known measurements with this free online Triangle Calculator.

Bluehost

Triangle Calculator

Enter three known measurements using side lengths and/or angles. Leave unknown measurements blank and the calculator will determine the remaining values when the triangle can be uniquely solved.

Triangle measurement diagram A triangle labelled with sides a, b and c and angles A, B and C. A B C c b a

Enter matching measurements for the labelled sides and angles.

Triangle Measurements

Use the same unit for all side lengths. Angles must be entered in degrees.

Opposite angle A
Opposite angle B
Opposite angle C
Degrees
Degrees
Degrees

Triangle Results

Side a —
Side b —
Side c —
Angle A — degrees
Angle B — degrees
Angle C — degrees
Perimeter —
Area —
Triangle Type —
Calculation method The calculator selects an appropriate triangle-solving method based on the measurements provided.
F-Secure

What Is a Triangle Calculator?

A Triangle Calculator is an online geometry tool for solving a triangle from known side lengths and angles. A triangle has three sides and three interior angles, and when sufficient independent measurements are known, the remaining dimensions can be calculated mathematically.

This calculator is useful for students, teachers, engineers, designers, builders and anyone working with triangle measurements. It can calculate missing sides and angles as well as the triangle's total perimeter and area.

Why Use Triangle Calculator?

The Triangle Calculator brings several common triangle calculations together in one tool, allowing you to enter the measurements you already know and obtain the remaining values without performing the trigonometry manually.

1

Solve Missing Sides

Calculate unknown side lengths when enough side and angle measurements are available.

2

Find Missing Angles

Determine unknown interior angles using established triangle relationships and trigonometric laws.

3

Calculate Area

Find the area of the triangle from its solved side measurements.

4

Calculate Perimeter

Add all three side lengths automatically to determine the triangle's perimeter.

5

Validate Measurements

The calculator checks that supplied sides and angles can form a valid triangle before displaying results.

6

Free and Instant

Perform triangle calculations directly in your browser without installing specialist software.

How to Use Triangle Calculator

Enter the measurements you know and leave the remaining fields empty. The calculator determines whether the supplied information is sufficient to solve a unique triangle.

  1. Enter the known measurements — Enter the available side lengths and angles in the corresponding fields.
  2. Check your units — Use the same unit for every side, while entering angles in degrees.
  3. Calculate the triangle — Select Calculate Triangle to solve the missing measurements.
  4. Review the results — View all three sides, all three angles, the perimeter, area and calculated triangle type.

How to Calculate the Sides and Angles of a Triangle

Triangle calculations depend on which measurements are known. The calculator uses standard geometric and trigonometric relationships to determine the missing values. For three known sides, the Law of Cosines can be used to calculate the angles. For two known sides and an included angle, the Law of Cosines can first determine the third side.

When two angles and one side are known, the third angle can be found because the interior angles of every triangle add up to 180 degrees. The Law of Sines can then be used to determine the remaining sides. These relationships allow a triangle to be solved without manually rearranging complex trigonometric equations.

Triangle Area Formula

Once the three side lengths are known, the area can be calculated using Heron's formula. First calculate the semiperimeter using s = (a + b + c) / 2. The area is then √[s(s − a)(s − b)(s − c)]. This approach is particularly useful when all three side lengths are available.

Triangle Perimeter Formula

The perimeter of a triangle is the total distance around its outside. It is calculated by adding the three side lengths together: P = a + b + c. The three sides must use the same unit for the result to be meaningful.

Triangle Calculator Accuracy and Limitations

The calculator uses JavaScript's mathematical functions and standard trigonometric formulas to produce numerical results. Results are rounded for display, while calculations use the underlying numerical precision available in the browser.

A triangle must satisfy the triangle inequality: the sum of any two side lengths must be greater than the third side. Its three interior angles must also be greater than zero and add to 180 degrees. If the supplied measurements do not describe a valid or uniquely solvable triangle, the calculator displays an error rather than producing an invalid result.

James William Steven Parker, creator of YesTools
Created by

James William Steven Parker

Creator & Developer of YesTools

James William Steven Parker is a web developer and technology professional with extensive experience in web development, web design, SEO, web hosting, systems analysis and cybersecurity. He created YesTools to provide fast, practical and free online tools for everyday tasks and technical work.

Learn more about James and YesTools

Frequently Asked Questions

The Triangle Calculator can determine missing side lengths and angles when enough valid measurements are provided. It also calculates the triangle's area and perimeter.
A triangle can generally be solved when three independent measurements are known, provided they include enough information to determine a unique triangle. Common combinations include three sides, two sides and the included angle, or two angles and one side.
Yes. Enter all three side lengths. The calculator uses the Law of Cosines to determine the three angles and then calculates the area and perimeter.
Yes, when the supplied measurements form a valid and uniquely solvable triangle. The calculator supports combinations of sides and angles and validates the entered measurements before calculating the result.
Enter all side lengths using the same unit, such as centimetres, metres, inches or feet. The calculator returns lengths and perimeter in that same unit, while area is expressed in the corresponding square unit.
Yes. The YesTools Triangle Calculator is free to use and performs the calculations directly in your web browser.

Explore More Free Tools

Explore the YesTools collection of free online tools, calculators, converters, generators and utilities.

Browse All Categories
hide.me VPN