Triangle Calculator - Area, Perimeter & Side Solver

optimisation du moteur de recherche
  1. Home
  2. Math Tools
  3. Triangle Calculator
Share: Report

Triangle Calculator

100% free · Runs 100% in your browser · Heron's formula · No signup needed

Area—
Perimeter—
Triangle type—

Heron's formula uses the semiperimeter s = (a + b + c) / 2, with area = √(s(s − a)(s − b)(s − c)); area is also base × height / 2. Example check: a 3-4-5 triangle has s = 6, area = √(6 × 3 × 2 × 1) = 6, and perimeter 12. Three sides must satisfy the triangle inequality — each side shorter than the sum of the other two — or no triangle exists.

Try an example: 3-4-5 right triangle

Sur Triangle Calculator

A triangle is one of the simplest shapes in geometry, yet it appears everywhere: in roofs, bridges, maps, art, and everyday problem solving. When you know some of its sides or its base and height, you can work out its area, its perimeter, and even what kind of triangle it is. The FistHost Triangle Calculator does all of that in seconds. Enter three sides, or a base and a height, and the tool returns the area, the perimeter, the type of triangle, and a warning if the numbers cannot form a real triangle at all.

There are two main ways to use this calculator. In three-sides mode, you enter the lengths of all three sides, and the tool uses Heron formula to find the area. In base and height mode, you enter the base and the vertical height, and the tool uses the simpler formula of base times height divided by two. Both modes also give you the perimeter when the sides are known, and both are useful in different situations. If you are measuring a real object, three sides may be easiest. If you are working from a diagram with a marked height, base and height mode is faster.

Heron formula is a classic piece of mathematics that finds the area of a triangle from its three side lengths alone, without needing any angles or heights. First you calculate the semiperimeter, which is half the perimeter: s = (a + b + c) / 2, where a, b, and c are the three sides. Then the area is the square root of s times (s - a) times (s - b) times (s - c). In symbols, area = sqrt(s(s-a)(s-b)(s-c)). It looks complicated at first glance, but it is really just a few multiplications and one square root, and the calculator handles every step for you.

Here is a worked example using the famous 3-4-5 triangle, a right triangle with sides of 3, 4, and 5 units. First find the semiperimeter: s = (3 + 4 + 5) / 2 = 12 / 2 = 6. Then apply Heron formula: area = sqrt(6 x (6 - 3) x (6 - 4) x (6 - 5)) = sqrt(6 x 3 x 2 x 1) = sqrt(36) = 6 square units. The perimeter is simply 3 + 4 + 5 = 12 units. You can check this against the base and height method too: with a base of 4 and a height of 3, area = 4 x 3 / 2 = 6. Both methods agree, which is a good sign that the maths is right.

The base and height method deserves a closer look, because it is the one most people meet first at school. The area of any triangle is half the area of the rectangle that encloses it, so area = base x height / 2. The catch is that the height must be the perpendicular distance from the base to the opposite corner, not the length of a sloping side. In a right triangle this is easy, because one side is already perpendicular to another. In other triangles the height may fall inside or outside the shape, which is why the three-sides mode with Heron formula is often more practical when you have real measurements.

The calculator also tells you what type of triangle you have. If all three sides are equal, it is equilateral, with three equal angles of 60 degrees each. If exactly two sides are equal, it is isosceles, with two equal angles. If all three sides are different, it is scalene. On top of that, the tool checks whether the triangle is right-angled by testing the Pythagorean relationship: if the square of the longest side equals the sum of the squares of the other two sides, the triangle has a right angle. The 3-4-5 triangle passes this test, since 3 squared plus 4 squared equals 9 plus 16, which is 25, and 5 squared is also 25.

Not every set of three numbers can make a triangle, and the calculator warns you when yours cannot. This is the triangle inequality rule: the sum of any two sides must be greater than the third side. For example, sides of 2, 3, and 10 cannot form a triangle, because 2 + 3 is only 5, which is less than 10, so the two short sides could never meet. When you enter impossible lengths, the tool flags the problem instead of giving you a meaningless area. This is useful for students checking homework and for anyone working with measurements that might contain an error.

Using the tool takes only a few steps. Choose three-sides mode or base and height mode. Enter your numbers in any consistent unit, such as centimetres, metres, inches, or feet, and the results will be in the matching square units for area. Press calculate to see the area, the perimeter, the triangle type, and any warnings. If you change a number, the results update so you can explore how the area changes. Keep your units consistent: mixing centimetres and inches in the same calculation will give a wrong answer, so convert first if needed.

Triangle calculations show up in more places than most people expect. Builders use them to work out roof slopes and floor areas. Gardeners use them to measure odd-shaped plots. Students use them in exams and homework. Crafters and DIY enthusiasts use them to cut fabric, wood, or tiles into triangular pieces. Even navigation and surveying rely on triangles, because any shape can be divided into triangles and measured piece by piece. Having a quick, reliable calculator means you spend your time on the project itself, not on wrestling with square roots by hand.

The step-by-step working is a big part of what makes this tool useful for learning. Instead of just showing an answer, the calculator shows the semiperimeter, the substitution into Heron formula, and the final area, so you can follow the logic and check it against your own working. If your homework answer differs, you can compare each step and find where you went wrong. Teachers can use it to generate examples, and students can use it to verify their answers before handing in their work. It is a learning aid as well as a calculator.

You can also use the calculator to double-check measurements before you cut or build anything. Enter the sides you measured, compare the area the tool gives you with your own estimate, and investigate any big difference before you commit to a cut. Catching a measuring mistake on screen costs nothing, while catching it after the saw has done its work costs time, money, and material. A quick check now can save a wasted board, a spoiled piece of fabric, or a tile order that turns out to be the wrong size.

If you enjoy tools like this, you will love having your own corner of the web to share what you make. FistHost shared hosting starts from just $0.99 per month, so you can launch a blog, a study-notes site, or a portfolio for a very small monthly cost. There are no complicated setup steps to fight with, and you can be online quickly with a site that looks professional. It is an affordable way to publish your projects, your homework help, or your craft ideas.

Choose an annual FistHost hosting plan, starting from just $0.99 per month, and you will also get a free domain with your plan, giving your site its own proper address at no extra cost in the first year. That makes it easy to build a memorable home for your work, whether that is a maths help site, a DIY blog, or a small business page. With cheap hosting and a free domain included, there is very little standing between your idea and a live website.

Need to convert your measurements before you calculate? Our unit converter switches between metric and imperial lengths in seconds, so your triangle inputs are always in consistent units. Try the triangle calculator with the 3-4-5 example first to see how it works, then enter your own measurements and let the tool handle the square roots. Whether you are a student, a builder, or just curious, accurate triangle maths is now only a few clicks away.

User Reviews

No reviews yet. Be the first to review this tool!

Write a Review

★★★★★

Captcha

Reviews are protected by captcha and moderated before they appear.


Limited Offer

Hosting From $0.99/mo

Use code welcomegift
for extra savings today

Claim Offer
Free Domain Your Domain Is On Us Free domain with hosting plans · Code: freedomain Get My Domain