Triangle Calculator

Solve triangle area, perimeter, sides, and angles using SSS, SAS, AAS/ASA, right-triangle, or base-and-height inputs.

Angles are entered in degrees. For AAS/ASA, side a is treated as the side opposite angle A.

Use this Triangle Calculator to calculate triangle sides, angles, perimeter, and area using SSS, SAS, AAS/ASA, right-triangle, or base-and-height information.

Calculation Methods

Perimeter:

P = a + b + c

Base and height area:

A = ½ × base × height

Heron’s formula when all three sides are known:

s = (a + b + c) ÷ 2

A = √[s(s − a)(s − b)(s − c)]

Law of Cosines:

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

Law of Sines:

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

For a right triangle:

a² + b² = c²

Example

For a triangle with sides 5, 6, and 7:

s = (5 + 6 + 7) ÷ 2 = 9

Area = √[9 × 4 × 3 × 2]

Area ≈ 14.70 square units

Important Note

A valid triangle must satisfy the triangle inequality: the sum of any two sides must be greater than the third side. In standard Euclidean geometry, the three interior angles total 180°.

Source

Disclaimer: This Triangle Calculator uses standard Euclidean geometry and trigonometry formulas for educational and general measurement purposes. Results depend on accurate side lengths, angle values, selected units, and the correct solving method. Impossible side combinations, inconsistent angle entries, mixed units, or incorrect included-angle placement can produce invalid results. For construction, engineering, surveying, or safety-critical work, verify all measurements with appropriate professional tools or guidance.

More of our calculators...

Log Calculator (Logarithm)

Log Calculator helps you solve logarithms with base 10, base e, base 2, or any custom base. Get fast and accurate log results online.

Percentage Increase Calculator

Find the percentage increase between two numbers. Enter original and new values to get % increase, change amount, and final value. Reverse solve from % too. Instant steps & PDF.

Mean Median Mode Calculator

Use our Mean Median Mode Calculator to find the average, median, and mode from any data set. Supports raw numbers, value:count input, and sorted preview.

Basic Calculator

Use this free basic calculator to solve addition, subtraction, multiplication, division, decimals, percentages, and parentheses-based math expressions.

Percentage of a Percentage Calculator

Percentage of a percentage calculator to find cumulative percentage and final value from two related percentage changes.

Surface Area Calculator

Calculate total surface area, lateral area, and base area for common 3D shapes including cubes, spheres, cylinders, cones, and prisms.

Significant Figures Calculator

Use our Significant Figures Calculator to count sig figs, round numbers or expressions, and show decimal, scientific, and E notation.

Slope Calculator

Use our Slope Calculator to find slope, angle, percent grade, line equation, y-intercept, rise/run, and distance using two points or other methods.

Fraction to Decimal Calculator

Use this Fraction to Decimal Calculator to convert proper, improper, and mixed fractions into decimal values, percentages, simplified fractions, and steps.