Ireland · Maths & Statistics

Triangle Calculator Ireland

For three-sides mode.
For two-sides-and-angle mode.
Area—

Enter what you know — three sides, two sides and the angle between them, or the two shorter sides of a right triangle — and get every side, every angle, the area and the type of triangle, with the working shown.

How do you find the third side of a right-angled triangle?

Square the two shorter sides, add them, and take the square root. Sides of 6 and 8 give 10: 36 + 64 = 100, and the square root of 100 is 10. That is the Pythagorean theorem, and it is the reason a builder can check a foundation is square with nothing but a tape measure.

How to use this calculator

  1. Choose what you knowThree sides, two sides with the angle between them, or the two shorter sides of a right triangle. The first is what you have when you can measure all three edges.
  2. Enter the lengths in one unitUse metres, feet or millimetres, but not a mix. The area comes out in the square of whatever you chose.
  3. Read the angles as well as the areaRoof pitch, ramp slope and site angles are all in the angle rows. The type line tells you whether it is right-angled, acute or obtuse.
  4. Use the working panel to check homeworkIt shows which rule was used and each step, which is the layout exam answers are marked against.

Triangles in the Irish classroom, on the roof and in the field

Triangles are the first place many students meet proper proof, and the Junior Cycle geometry strand builds directly to the trigonometry in the Leaving Certificate, where the sine and cosine rules and the area formula ½ab sin C are standard tools.

Outside school, the right-angled triangle does most of the work. A builder setting out a foundation measures 6 m along one wall and 8 m along the other, and the diagonal must read exactly 10 m. If it does not, the corner is not square. The 3-4-5 shape and its multiples exist because the sides square to whole numbers.

Roofs are triangles too. A gable roof is a right triangle whose base is half the span and whose height is the rise. The rafter is the hypotenuse, and the pitch is the angle at the eaves. Getting the rafter length wrong by a few centimetres is the difference between a tight ridge and a gap.

Farmland is measured in triangles whenever a boundary is not a rectangle. A field with two known sides and the angle between them can be sized without walking the third boundary, and acres are still the unit most people reach for.

Choosing the right route matters. If you know three sides, use the three-side option, which applies the cosine rule to find each angle. If you know two sides and the angle between them, use the two-sides-and-angle option. A right angle needs only the two shorter sides.

Formulaa² + b² = c² for a right angle, area = ½ × a × b × sin C for two sides and the angle between them

Worked example: squaring a foundation, a rafter and a field

Squaring a corner. Sides of 6 and 8 in right-angle mode give a diagonal of 10, with angles of 36.87° and 53.13°. Measure 6 m and 8 m along the walls and the diagonal must be exactly 10 m.

A rafter. A roof with a half-span of 4.5 m and a rise of 2.1 m is a right triangle with sides 2.1 and 4.5. The rafter comes out at 4.97 m, and the pitch angle at the eaves is 25°. Add the overhang and the cutting allowance to that before ordering timber.

A field. Two boundaries of 120 m and 95 m meeting at 70° enclose 5,356 m², which is 1.32 acres. The third boundary works out at 125 m without anyone having to measure it.

A quick check on any triangle: the largest angle is always opposite the longest side, and the three angles always add to 180°. If either fails, an input is wrong.

Three shapes compared

TriangleSidesBy anglesAreaLargest angle
3-4-53, 4, 5Right-angled690°
Equal sides6, 6, 6Acute15.5960°
Narrow and obtuse5, 7, 10Obtuse16.25111.8°

The 3-4-5 triangle is right-angled, the equal-sided one is acute with three 60° angles, and the narrow 5-7-10 triangle is obtuse because its longest side is long enough to open the largest angle past 90°. The area falls fastest for the obtuse one, because it is thin.

Where triangle calculations go wrong

Mixing units. A rafter measured in metres and a rise in millimetres will give an answer that looks plausible and is wrong by a factor of a thousand.

Using the wrong option. Two sides and an angle that is not between them is a different problem, with two possible answers. The calculator asks for the included angle for that reason.

Confusing the rafter with the run. The rafter is the sloping length, the hypotenuse, not the horizontal distance.

Ignoring measurement error. A one-degree error at the eaves changes the rafter length noticeably on a long span. Measure twice.

Trusting a triangle that cannot exist. Sides of 3, 4 and 8 do not close, because 3 + 4 is less than 8. The calculator says so.

For construction, take the calculated lengths to a qualified builder or engineer. Loads, fixings and building regulations are outside what a geometry calculator can decide.

Assumptions and limitations

  • Sides must satisfy the triangle inequality: any two must add to more than the third
  • Angles are in degrees and are shown to three decimal places
  • Units are whatever you enter: area is in the square of that unit
  • The ambiguous case (two sides and a non-included angle) is not offered
  • Results are computed in floating point and rounded for display
  • Not a substitute for a surveyed drawing or an engineered design

Questions people ask about this in Ireland

How do you find the third side of a right-angled triangle?

Square the two shorter sides, add them, and take the square root. Sides of 6 and 8 give 10.

That is the Pythagorean theorem.

How do you check a foundation is square?

Measure 6 m along one wall and 8 m along the other from the corner. The diagonal between the two points must be exactly 10 m.

Any multiple of 3-4-5 works.

How do you work out the length of a rafter?

Treat half the span and the rise as the two shorter sides of a right triangle. 4.5 m and 2.1 m give a rafter of 4.97 m.

Add overhang and cutting waste.

How do you find the area from two sides and an angle?

Use ½ × a × b × sin C. Sides of 120 m and 95 m at 70° give 5,356 m².

The angle must be the one between the two sides.

Why does the calculator say my triangle cannot exist?

Any two sides must add up to more than the third. Sides of 3, 4 and 8 fail that test.

Check the measurements.

Do the angles always add to 180°?

Yes, on a flat surface. The working panel shows the sum as a check.

If yours does not, an input is wrong.

The same calculator for other markets

The maths is identical everywhere. These versions use local units, currency and worked examples.

Method, source and review date

How it is worked out
Cosine rule, sine rule and Heron's formula
Formula used
Heron: √(s(s−a)(s−b)(s−c)); SAS: ½ab·sin C; right: ½ab
Checked against
Standard geometry
Last reviewed
Confidence
High

Spotted a figure that has moved, or a formula you can show is wrong? Tell us — send a correction. Fixes to rates and formulas are treated as urgent.

Disclaimer

This calculator gives an estimate for guidance only. Check the figures against your own measurements or paperwork before you commit money to them.