Free triangle generator
Triangle Maker – Draw and Solve Any Triangle
Triangle Maker draws an accurately labeled triangle from any valid SSS, SAS, ASA, AAS, SSA or right-triangle input, and solves every missing side, angle, area and perimeter instantly. It is free, needs no sign-up, runs in your browser, and exports PNG or SVG for worksheets, tests and slides, including commercial use.
- Free, no sign-up
- Drawn to scale
- Both SSA solutions
- PNG · SVG · copy
- Commercial use OK
1. What do you know?
Three sides. Each side must be shorter than the other two added together.
2. Labels & marks
3. Worksheet question (optional)
Hide values to make a "find x" question. The answer key keeps every value.
PNG size & background
The PNG stores its print size, so Word and Google Docs insert it at about 8 cm wide. Every PNG and SVG also contains the project, so you can drop it back into the Geometry Editor to keep editing.
Solution
This is a scalene, obtuse triangle.
| Side a (BC) | 5 cm |
|---|---|
| Side b (AC) | 7 cm |
| Side c (AB) | 9 cm |
| Angle A | 33.56° |
| Angle B | 50.7° |
| Angle C | 95.74° |
| Area | 17.41 cm² |
| Perimeter | 21 cm |
| Height to BC / AC / AB | 6.96 / 4.97 / 3.87 cm |
| Medians | 7.66 / 6.38 / 4.09 cm |
| Inradius / circumradius | 1.66 / 4.52 cm |
Method: Angles from the law of cosines, e.g. cos A = (b² + c² − a²) / 2bc. Area uses Heron's formula with s = 10.5.
How to use the triangle maker
Making a labeled triangle takes about a minute. Every change redraws the figure and the solution straight away.
- 1
Choose what you know
Pick SSS, SAS, ASA, AAS, SSA or Right △. The input boxes change to match the case.
- 2
Enter the values
Type the side lengths and angles in degrees. If no triangle is possible, the tool tells you why (for example, the triangle inequality fails).
- 3
Style the labels
Rename the vertices, pick a unit and decimals, and turn on equal-side tick marks, the altitude, median, incircle or circumcircle.
- 4
Hide values for a question
Tick the sides or angles students should find. They show as “?” or “x” in the Question version, while the Answer key keeps the numbers.
- 5
Export or copy
Download a print-sized PNG or an SVG, or click Copy image and paste straight into Google Docs, Slides or Word.
- 6
Keep editing later
Every exported image contains the project. Drop it into the Geometry Editor to add more points, lines and labels.
Which inputs can you use? SSS, SAS, ASA, AAS, SSA and right triangles
A triangle is fixed by three independent measurements, as long as at least one of them is a side. The name of each case lists the parts you know, in order around the triangle: S for a side and A for an angle.
| Case | What you enter | Triangles possible | Method |
|---|---|---|---|
| SSS | Three sides a, b, c | 1 (if a + b > c for every pair) | Law of cosines for each angle |
| SAS | Two sides and the angle between them | 1 | Law of cosines for the third side |
| ASA | Two angles and the side between them | 1 (if the angles add up to less than 180°) | Angle sum, then law of sines |
| AAS | Two angles and a side not between them | 1 | Angle sum, then law of sines |
| SSA | Two sides and an angle not between them | 0, 1 or 2 (the ambiguous case) | Law of sines, checking both angle options |
| Right △ | Any two of the legs, hypotenuse and acute angles | 1 | Pythagorean theorem and SOH-CAH-TOA |
| AAA | Three angles only | Infinitely many (same shape, any size) | Not enough: add one side |
Triangle formulas used by this tool
Triangle Maker uses the standard formulas below, the same ones taught in high-school geometry and trigonometry. Sides a, b, c are opposite angles A, B, C.
Angle sum
A + B + C = 180°
Triangle inequality
a + b > c, a + c > b, b + c > a
If any one of these fails, the three lengths cannot close into a triangle. For example, 2, 3 and 9 is impossible because 2 + 3 is less than 9.
Law of sines
a / sin A = b / sin B = c / sin C
Law of cosines
c² = a² + b² − 2ab · cos C
Area
Area = ½ · base · height = ½ · ab · sin C
Heron’s formula works from the three sides alone: with s = (a + b + c) / 2, the area is √[s(s − a)(s − b)(s − c)].
Right triangles
a² + b² = c², sin A = a / c, cos A = b / c, tan A = a / b
Worked examples
Each example below can be opened in the tool with one click, so you can check the drawing and every number.
SSS: sides 5, 7 and 9
cos C = (5² + 7² − 9²) / (2 · 5 · 7) = −0.1, so C ≈ 95.74°. In the same way A ≈ 33.56° and B ≈ 50.70°. The perimeter is 21, s = 10.5 and the area is √(10.5 · 5.5 · 3.5 · 1.5) ≈ 17.41. It is a scalene, obtuse triangle. Open this triangle.
ASA: A = 40°, B = 60°, c = 8
C = 180° − 40° − 60° = 80°. By the law of sines a = 8 · sin 40° / sin 80° ≈ 5.22 and b = 8 · sin 60° / sin 80° ≈ 7.04. Open this triangle.
SSA ambiguous case: A = 30°, a = 7, b = 10
The height from C is h = b · sin A = 5. Because h < a < b, side a can meet the base in two places. sin B = 10 · sin 30° / 7 ≈ 0.714, so B ≈ 45.58° or B ≈ 134.42°. Triangle 1 has C ≈ 104.42° and c ≈ 13.56; triangle 2 has C ≈ 15.58° and c ≈ 3.76. Open both triangles.
Right triangle: legs 3 and 4
c = √(3² + 4²) = 5. The acute angles are about 36.87° and 53.13°, the area is 6 and the perimeter is 12. Open this triangle.
The SSA ambiguous case explained
When you know two sides and an angle that is not between them, the side opposite the angle can swing like a hinge. Depending on its length it misses the base, touches it once, or crosses it twice. Compare side a with the height h = b · sin A:
| Condition | Number of triangles |
|---|---|
| a < b · sin A | 0 – side a is too short to reach the base |
| a = b · sin A | 1 – a right triangle |
| b · sin A < a < b | 2 – the ambiguous case |
| a ≥ b | 1 |
If angle A is right or obtuse, there is one triangle when a > b and none otherwise. Triangle Maker checks all of this for you and draws both triangles when two exist.
Triangle types by sides and by angles
Under the drawing, the solution names the triangle type. Every triangle has one side type and one angle type.
| Type | Rule | Marks on the drawing |
|---|---|---|
| Equilateral | All three sides equal, every angle 60° | One tick on each side, one arc in each angle |
| Isosceles | Two sides equal, base angles equal | Matching ticks on the equal sides |
| Scalene | No equal sides | No ticks |
| Acute | All angles less than 90° | Arcs only |
| Right | One angle exactly 90° | A small square at the right angle |
| Obtuse | One angle greater than 90° | A wide arc at the obtuse angle |
Make a worksheet question and its answer key
Teachers usually need the same figure twice: once with a value missing for the question, and once with every value shown for the answer key. Tick the parts to hide under Worksheet question, choose “?” or a letter such as “x”, then export the Question and Answer key versions one after the other.
Paste into Google Docs, Slides or Word
- Copy image puts a sharp PNG on your clipboard. Paste it with Ctrl+V (⌘V on Mac).
- Download PNG saves a 300 dpi image that remembers its print size, so it lands at the width you chose (8 cm by default).
- SVG stays crisp at any size in Word, PowerPoint, Keynote, Canva and Illustrator.
- Google Docs only accepts images such as PNG and JPEG, so use PNG there.
Who uses this triangle maker?
- Math teachers making quizzes, tests and homework with clean, consistently labeled triangles.
- Worksheet sellers on Teachers Pay Teachers and similar stores. Figures you make here can be used in products you sell, with no attribution needed.
- Tutors who want an accurate figure for every practice problem in seconds.
- Students who want to check a homework answer and see the triangle drawn to scale.
Triangle maker FAQ
A triangle maker draws a triangle from the measurements you enter, such as three sides or two angles and a side, and labels it. GeometryKit's Triangle Maker also solves every missing side and angle and gives the area, perimeter, heights and triangle type.
Choose SSS and enter the three sides. The triangle is drawn to scale straight away. The lengths must satisfy the triangle inequality: each side must be shorter than the other two added together.
The letters list the known parts in order around the triangle. SSS is three sides; SAS is two sides and the angle between them; ASA is two angles and the side between them; AAS is two angles and a side that is not between them; SSA is two sides and an angle that is not between them.
With angle A, side b and the opposite side a, side a can meet the base at two points when b·sin A < a < b. Both triangles are valid, so the tool draws both and lets you switch between them.
Three angles that add up to 180° fix the shape but not the size, so there are infinitely many similar triangles. Enter one side as well (ASA or AAS) to get one specific triangle.
Usually the triangle inequality fails, for example sides 2, 3 and 9, or the angles add up to 180° or more. In the SSA case there is no triangle when the opposite side is shorter than the height b·sin A.
Use Heron's formula: s = (a + b + c) / 2 and area = √[s(s − a)(s − b)(s − c)]. For sides 5, 7 and 9 the area is about 17.41. Triangle Maker calculates it for you.
Yes. Images you create with GeometryKit can be used in classroom materials and in commercial products such as worksheets sold on Teachers Pay Teachers. No attribution is required.
Under Worksheet question, tick the side or angle to hide and type x as the placeholder. Export the Question version for students, then switch to Answer key and export again.
Click Copy image and paste, or download the PNG and insert it. In Word, PowerPoint and Keynote you can also use the SVG, which stays sharp at any size.
Last updated · GeometryKit is free to use for classroom and commercial worksheets.