Triangle Calculator
A triangle calculator finds missing sides, angles, area or perimeter from the measurements you already have. For a garden plot with sides of 7 m, 9 m and 12 m, the perimeter is 28 m and the area is about 31.3 m² — the sort of check that prevents over-ordering turf.
Paste a list, choose a method
Commas, spaces, tabs and newlines all work. Weighted mode needs a weight for each value.
Your results
- Mean
- 16.2
- Mode
- 15
- Weighted mean
- —
- Sum
- 81
- Range
- 9
- Standard deviation
- 3.031
- Lower quartile
- 15
- Upper quartile
- 18
Adding 0 as an extra value gives a mean of 16.2 across 5 values.
Average calculation result.
| Item | Value |
|---|
| Value | Times seen |
|---|
Your sorted values
The chart shows up to twelve sorted values so an outlier is easy to spot.
Choosing the right triangle rule
There is no single triangle formula; the useful one depends on what you know. With all three sides, use Heron's formula for area and the cosine rule for angles. With two sides and the angle between them, area is half the product of the sides times the sine of that angle, and the third side follows from the cosine rule. With two angles and one side, the sine rule finds the remaining lengths. For a right angle, Pythagoras handles sides and elementary trigonometry handles angles.
Before calculating anything, check that a triangle can exist. The sum of any two sides must exceed the third; sides of 4 m, 5 m and 10 m cannot close into a triangle at all. Also remember that angles sum to 180 degrees in ordinary flat geometry. On a very large land survey, curvature and measurement error require different methods, but for a room, a garden bed or a sheet of plywood, flat geometry is exactly what you need.
Units must match. Mixing centimetres with metres is the fastest way to produce an answer that is wrong by a factor of a hundred. Convert before you calculate, and square the conversion factor when an area is involved: one square metre is 10,000 square centimetres, not 100.
Worked example: a three-sided garden bed
A landscaper measures a triangular border with sides of 7 m, 9 m and 12 m. The semi-perimeter is 14 m. Heron's formula gives the area as the square root of 14 × 7 × 5 × 2, about 31.30 m². That figure drives the order of topsoil and edging.
| Measure | Value | Method |
|---|---|---|
| Side a | 7 m | Measured along the patio edge. |
| Side b | 9 m | Measured along the fence. |
| Side c | 12 m | Measured across the lawn. |
| Perimeter | 28 m | 7 + 9 + 12. |
| Semi-perimeter | 14 m | Half of 28 m. |
| Area | 31.30 m² | √(14 × 7 × 5 × 2). |
| Edging to buy | 28 m plus waste | Allow extra for cuts and corners. |
2026/27 context for triangle maths
Last checked 27/11/2026. Geometry itself has no UK tax rate or statutory threshold: a triangle's area is the same in every tax year. Where money enters the picture is in the materials bought to fill or edge it. GOV.UK lists the standard VAT rate at 20%, so a £240 materials order including VAT contains £40 of VAT; check the GOV.UK VAT rates page if you need the current treatment for a specific item.
No official body publishes a “correct” triangle area for your garden, so the source that matters is your own measurement. This page does not invent a rate or a compliance rule. If the calculation supports a planning application or a structural decision, use a qualified surveyor or structural engineer rather than relying on a DIY measurement alone.
Tips and common mistakes
Measure the shortest distance between two points, not a taped line that sags over uneven ground. Mark each corner clearly and label sides before you start; swapping two sides rarely changes the area by much but can change an angle significantly. For large areas, add a sensible wastage allowance to materials rather than ordering exactly to the square metre.
Do not assume a triangle is right-angled because it looks square on a sketch. Applying Pythagoras to a scalene plot gives a false answer. Rounding the side lengths too early also accumulates error: keep at least one decimal place until the final step. And remember that area and perimeter answer different questions — turf is sold by area, edging by length.
Comparison scenarios
| Scenario | Area | What changes |
|---|---|---|
| Right triangle, 3 m, 4 m, 5 m | 6.00 m² | Pythagorean triple; half of 3 × 4. |
| Equilateral, 6 m sides | 15.59 m² | √3 ÷ 4 × side². |
| Scalene, 7 m, 9 m, 12 m | 31.30 m² | Heron's formula from the worked example. |
| Isosceles, 10 m, 10 m, 12 m | 48.00 m² | Height of 8 m from split-base geometry. |
Frequently asked questions
What does a triangle calculator actually calculate?
It derives missing measurements such as sides, angles, area, perimeter and height from the values you supply. Which results are possible depends on whether you know three sides, two sides and an angle, two angles and a side, or a right angle plus sides.
Which UK rules apply to triangle calculations in 2026/27?
None. Geometry is not governed by a tax band or statutory threshold. If your calculation leads to a materials purchase, GOV.UK VAT rates are relevant to the price; that rate was last checked 27/11/2026 and is separate from the maths.
Can I use a triangle calculator on a mobile phone?
Yes. Enter your measurements at the site and check that the numbers look plausible before ordering materials. A quick sketch on your phone helps confirm which side is which.
What information do I need before I start?
At minimum, three independent measurements: three sides, two sides plus the included angle, or two angles plus a side. For right-angled problems, two sides are enough.
How accurate is a triangle calculation?
The maths is exact for the numbers entered. Real accuracy depends on taping, corner definition and whether the ground is level; a few centimetres of error on a small plot can change the area noticeably.
Where can I check official figures?
There is no official triangle table to check. For related costs, use the GOV.UK VAT rates page. For measurements that affect a legal boundary or structure, ask a chartered surveyor or structural engineer.
Why can't my three sides form a triangle?
Because the two shorter sides together must be longer than the longest side. If they are not, the ends cannot meet; re-measure or reconsider whether the points are collinear.
Related calculators
For related geometry checks, try the Pythagoras calculator for right-angled sides, the area calculator for regular shapes and the trigonometry calculator for angles.
Sources and review
Official sources were last reviewed 27 November 2026. No official rate governs the geometry. GOV.UK VAT rates was consulted for the materials-price note; all geometric methods are standard school mathematics.