Scalene Triangle Calculator

Calculate all properties of a scalene triangle from any valid combination of sides and angles.

Triangle Visualization
Results

Enter your triangle parameters and click "Calculate" to see results.

Calculation steps will appear here.

Law of Cosines

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

Used to find a side when two sides and the included angle are known, or to find an angle when all three sides are known.

Law of Sines

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

Used to find sides or angles when two angles and one side are known, or two sides and a non-included angle are known (ambiguous case).

Heron's Formula

Area = √[s(s-a)(s-b)(s-c)] where s = (a+b+c)/2

Used to find the area when all three sides are known.

Basic Area Formula

Area = (1/2)ab sin(C)

Used to find the area when two sides and the included angle are known.

Triangle Sum Theorem

A + B + C = 180°

Used to find the third angle when two angles are known.

Scalene Triangle Educational Guide

This scalene triangle calculator determines all unknown geometric properties when you provide any three known measurements. The calculator can handle five different input combinations:

  • SSS (Side-Side-Side): All three side lengths are known
  • SAS (Side-Angle-Side): Two sides and the angle between them
  • ASA (Angle-Side-Angle): Two angles and the side between them
  • AAS (Angle-Angle-Side): Two angles and a side not between them
  • SSA (Side-Side-Angle): Two sides and an angle not between them (the ambiguous case)

From your inputs, the calculator computes: missing sides, all three angles, perimeter, area, and the three heights (altitudes).

A scalene triangle is a triangle where all three sides have different lengths and all three angles have different measures. This distinguishes it from:

  • Equilateral triangles: All sides equal, all angles 60°
  • Isosceles triangles: Two sides equal, two angles equal

Key properties of all triangles (including scalene):

  1. Triangle Sum Theorem: The sum of interior angles always equals 180°
  2. Triangle Inequality Theorem: The sum of any two sides must be greater than the third side
  3. Area Formulas: Multiple methods exist depending on what information is known

Scalene triangles are the most general type of triangle and appear frequently in real-world applications where symmetry isn't present.

Understanding triangle labeling convention is essential:

  • Side a: Opposite angle A (connects vertices B and C)
  • Side b: Opposite angle B (connects vertices A and C)
  • Side c: Opposite angle C (connects vertices A and B)
  • Angle A: Located at vertex A, between sides b and c
  • Angle B: Located at vertex B, between sides a and c
  • Angle C: Located at vertex C, between sides a and b

Input Type Explanations:

  • SSS: You know all three side lengths. The calculator verifies triangle inequality and computes angles.
  • SAS: You know two sides and the angle between them. "Included" means the angle is formed by the two sides you know.
  • ASA: You know two angles and the side between them. The third angle is found using the 180° rule.
  • AAS: You know two angles and a side not between them. The calculator finds the third angle first.
  • SSA: The "ambiguous case" where two solutions may exist. The calculator identifies if 0, 1, or 2 valid triangles exist.

Law of Cosines: This generalizes the Pythagorean theorem to non-right triangles. It relates all three sides and one angle. Think: "Side squared equals sum of other sides squared minus twice their product times cosine of opposite angle."

Law of Sines: Shows the ratio of each side to the sine of its opposite angle is constant. This constant equals the diameter of the triangle's circumscribed circle. Useful for finding missing parts when you know angles and at least one side.

Heron's Formula: A clever way to find area using only side lengths. First compute the semi-perimeter (half the perimeter), then multiply it by its differences with each side, then take the square root.

Basic Area Formula: Area = ½ × side1 × side2 × sin(angle between them). Visualize: The area is half the product of two sides times the sine of the angle between them.

Triangle Sum Theorem: The simplest rule: angle A + angle B + angle C = 180°. If you know two angles, subtract their sum from 180° to find the third.

Height Formulas: Height from side a = (2 × Area) / side a. Since area is constant, shorter sides have greater heights.

General Process:

  1. Validation: Check if inputs form a valid triangle (triangle inequality for SSS, angle/side constraints for others).
  2. Complete the Triangle: Use known information to find all missing sides and angles:
    • SSS → Law of Cosines to find angles
    • SAS → Law of Cosines to find third side, then Law of Cosines or Sines for angles
    • ASA or AAS → Triangle Sum Theorem for third angle, then Law of Sines for missing sides
    • SSA → Law of Sines may give 0, 1, or 2 solutions (ambiguous case)
  3. Calculate Perimeter: Simply add the three side lengths.
  4. Calculate Area: Use Heron's formula (if all sides known) or formula with two sides and included angle.
  5. Calculate Heights: Use relationship: Height = (2 × Area) / base side.
  6. Visualization: Scale triangle proportionally to fit canvas while maintaining shape.

Important Check: For SSA (ambiguous case), the calculator checks if side a is greater than, equal to, or less than the altitude (b × sin(A)) to determine how many solutions exist.

Verifying Your Results:

  • Angle Sum: Check that A + B + C = 180° (allowing for tiny rounding differences)
  • Triangle Inequality: Each side should be less than the sum of the other two sides
  • Area Consistency: The area should be positive and reasonable for your side lengths
  • Height Relationships: Longest side has smallest height, shortest side has largest height

Understanding the Visualization:

  • The triangle is scaled to fit the canvas while maintaining proportions
  • Vertex A is at bottom-left, B at bottom-right, C at top
  • Angles are measured counterclockwise from the horizontal
  • The drawing preserves the actual shape, not necessarily the exact size

Special Cases to Note:

  • Obtuse Triangles: One angle > 90° is valid for scalene triangles
  • Acute Triangles: All angles < 90°
  • SSA Ambiguity: Two different triangles can sometimes satisfy the same SSA inputs

Scalene triangles appear everywhere in engineering, architecture, and nature:

  • Surveying & Navigation: Triangulation to find distances to inaccessible points
  • Roof Trusses: Asymmetric roof designs for modern architecture
  • Mechanical Engineering: Calculating forces in non-symmetric structures
  • Computer Graphics: Polygon mesh generation (all complex shapes decompose to triangles)
  • Geography: Calculating land areas with irregular boundaries
  • Physics: Vector resolution and force analysis
  • Art & Design: Creating dynamic, non-repetitive patterns
  • Construction: Determining material requirements for irregular shapes

Practical Example: If you know two sides of a triangular garden plot and the angle between them (SAS), you can calculate exactly how much fencing material you need (perimeter) and how much soil to order (area).

Input Errors:

  • Violating Triangle Inequality: Entering sides like 3, 4, 8 (3+4<8) creates impossible triangle
  • Angle Sum Exceeding 180°: Two angles already sum to 180° or more
  • Confusing Included vs. Non-Included Angles: SAS requires the angle to be BETWEEN the two sides
  • Using Radians Instead of Degrees: This calculator expects angles in degrees, not radians

Conceptual Errors:

  • Assuming Right Triangles: Scalene triangles generally have no right angles
  • Mixing Up Law of Sines and Cosines: Use Law of Cosines when you have SAS or SSS; use Law of Sines when you have AAS, ASA, or SSA
  • Forgetting SSA Ambiguity: Two sides and a non-included angle may give 0, 1, or 2 solutions
  • Area Formula Misapplication: Using ½bh when height is unknown instead of Heron's formula

Calculation Tips: Always check that smallest side is opposite smallest angle, and largest side is opposite largest angle.

Units and Measurement Notes:

  • Consistency is Crucial: Use the same unit for all side length inputs
  • Area Units: Area results are in square units of your input (cm², m², etc.)
  • Angle Units: Angles are always in degrees (0-180°, exclusive)
  • Unit Conversion: Convert all measurements before inputting (e.g., convert 1.5m to 150cm if using cm)

Accuracy and Rounding Notes:

  • Decimal Precision: Choose precision appropriate to your measurement accuracy
  • Rounding Accumulation: Multiple calculations may compound rounding errors
  • Internal Precision: Calculations use full JavaScript double precision internally
  • Display vs. Calculation: Displayed values are rounded; internal values are not
  • Angle Sum Slight Deviations: Due to rounding, angles may sum to 179.999° or 180.001°

Student Learning Tips:

  • Start with SSS examples to understand basic triangle properties
  • Use the "Load Example" button to see worked examples for each input type
  • Check the Calculation Steps tab to see exactly how formulas are applied
  • Practice identifying which formula applies to which situation
  • Use visualization to build intuition about side-angle relationships
  • Try changing precision to see how rounding affects final results

Visualization Interpretation Guide:

  • Proportional Scaling: The triangle is scaled to fit the canvas while maintaining shape proportions
  • Vertex Labeling: A (bottom-left), B (bottom-right), C (top) - standard geometry convention
  • Side Labeling: Side a opposite angle A, side b opposite angle B, side c opposite angle C
  • Angle Display: Angles are shown near each vertex
  • Dark Mode Adaptation: Colors adjust automatically for better visibility
  • Responsive Design: Visualization adjusts to different screen sizes

Accessibility Notes:

  • Keyboard Navigation: All calculator functions are accessible via keyboard
  • Screen Readers: Text results are fully accessible; canvas visualization is supplemental
  • Color Contrast: Both light and dark modes maintain WCAG contrast standards
  • Text Alternatives: All numerical results are available in text format
  • Form Labels: All input fields have descriptive labels

Tool Version Information: January 2026 - Geometry Calculator v2.1. Educational enhancements added. All mathematical calculations remain unchanged from original validated algorithms.