The Wayback Machine - https://web.archive.org/web/20240823063924/https://www.geeksforgeeks.org/area-of-triangle/
Open In App

Area of Triangle | Formula and Examples

Last Updated : 13 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Area of the triangle is a basic geometric concept that calculates the measure of the space enclosed by the three sides of the triangle. Methods for calculating this quantity are of central importance in working out many mathematical problems and applications, most especially in architecture, engineering, art, and design. The formulas to find the area of a triangle include the base-height formula, Heron’s formula, and trigonometric methods.

It is generally calculated with the help of its base and height. To find the Area of a triangle A with base b and height h,

We use the formula, Area of Triangle = [Tex]\frac{1}{2} \times base \times height [/Tex].

Let’s learn about the area formulas for different types of triangles in detail, with the help of solved examples.

What is Area of Triangle?

Area of a triangle is defined as the total surface enclosed by the boundaries of the triangle. It is measured in square units i.e. m2, cm2, etc.

The most general formula for area of triangle is given by half the product of its base and height. It applies to all types of triangles, whether it is equilateral , isosceles triangles, or scalene triangles.

Area of Triangle

Area of Triangle Formula

Formula of area of triangle depends on the dimensions of the triangle. The following table consists of the area of triangle formulas used in different contexts :

Triangle TypeFormula
Right-Angled Triangle
​ ½ × base × height
Equilateral Triangle(√3)/4 × side2
Isosceles Triangle ¼ × b√(4a2 – b2)
Using Heron’s Formula √{s(s-a)(s-b)(s-c)}
,where s = ​ ½ (a+b+c)
When Two Sides and Included Angle (SAS) are given ​ ½ × side 1 × side 2 × sin(θ)

, where θ is the angle between the given two sides

In Coordinate Geometry​ ½ |x1(y2 – y3 ) + x2(y3 – y1) + x3(y1 – y2)|
, where (x1, y1), (x2, y2) and (x3, y3) are the coordinates of triangle.

Let’s discuss them in detail.

Area of Right Angled Triangle

A triangle that contains a right angle is considered a right-angled triangle.

Area of Right Angled Triangle

Area of Right Angled Triangle Formula :

A = 1/2 × a × c

where, 
a is base of the triangle
c is height of the triangle

Read More : Right Angled Triangle

Area of Equilateral Triangle

An equilateral triangle has all three sides equal and all three angles equal, measuring 60 degrees.

Area of Equilateral Triangle

Area of Equilateral Triangle Formula :

A = (√3)/4 × side2 

= (√3)/4 × a2

Read More :

Area of Isosceles Triangle

An isosceles triangle has two equal sides and the angles opposite these equal sides are also equal.

Area of Isosceles Triangle

Area of Isosceles Triangle Formula :

A = ¼ × b√(4a2 – b2)

where, a = both the equal sides

and b= the third unequal side

Learn More :

Area of Triangle By Heron’s Formula

Area of triangle with 3 sides given can be found using Heron’s Formula. This formula is useful when the height is not given.

Triangle Area by Heron's Formula

Heron’s Formula is given by,

Area of Triangle = √{s(s-a)(s-b)(s-c)}

where, a, b, and c are sides of the given triangle
and s = ½ (a+b+c) is the semi perimeter.

Example: What is the area of triangle with sides of 3 cm, 4 cm, and 5 cm?

Solution:

Using Heron’s formula,

s = (a+b+c)/2

  = (3+4+5)/2

  = 12/2 = 6

Area = √{ s(s-a)(s-b)(s-c)}

        = √{ 6(6-3)(6-4)(6-5)}

        = √(6 × 3 × 2 × 1) = √(36) 

        = 6 cm2

Learn More : Heron’s Formula

Area of Triangle With Two Sides and Included Angle (SAS)

Formula for the Area Of SAS Triangle is obtained by using the concept of trigonometry.

Let us assume ABC is right angled triangle and AD is perpendicular to BC.

Area of Triangle in Trigonometry

In the above figure,

Sin B = AD/AB

⇒ AD = AB Sin B = c Sin B

⇒ Area of Triangle ABC = 1/2 ⨯ Base ⨯ Height

⇒ Area of Triangle ABC = 1/2 ⨯ BC ⨯ AD

⇒ Area of Triangle ABC = 1/2 ⨯ a ⨯ c Sin B

= 1/2 ⨯ BC ⨯ AD

Thus,

Area of Triangle = 1/2 ac Sin B

Similarly, we can find that ,

Area of Triangle = 1/2 bc Sin A

Area of Triangle = 1/2 ab Sin C

We conclude that the area of triangle using trigonometry is given as the half the product of two sides and sine of the included angle.

Area of Triangle in Coordinate Geometry

In Coordinate Geometry, if the coordinates of triangle ABC are given as A(x1, y1), B(x2, y2) and C(x3, y3), then its Area is given by the following formula :

Area of △ABC = 1/2[Tex]\begin{vmatrix}x_{1} & y_{1} & 1 \\ x_{2} & y_{2} & 1 \\ x_{3} & y_{3} & 1\end{vmatrix} [/Tex]

⇒ Area of △ABC =[Tex] 1/2 [x_{1}(y_{2} – y_{3} ) + x_{2}(y_{3} – y_{1}) + x_{3}(y_{1} – y_{2})][/Tex]

Solved Examples on Area of Triangle

Let’s solve some example problems on Area of Triangle.

Example 1: What is the area of triangle with sides of 8 cm, 6 cm, and 10 cm (using Heron’s Formula)?

Solution:

Using Heron’s formula,

s = (a+b+c)/2

  = (8+6+10)/2

  = 24/2 = 12

Area = √{ s(s-a)(s-b)(s-c)}

        = √{ 12(12-8)(12-6)(12-10)}

        = √(12×4×6×2) = √(576) 

       = 24 cm2

Example 2: Find the area of a right-angled triangle having base a = 5 cm and height c = 3 cm.

Solution:

Given

Base of the triangle (a) = 5 cm

Height of the triangle (c) = 3 cm

We have,

Area(A) = 1/2 × a × c

             = 1/2 × 5 × 3

            = 7.5 cm2

Example 3: Find the area of an equilateral triangle having side a = 6 cm

Solution:

Given,

side of the triangle (a) = 6 cm

Area(A) = (√3)/4 × a2

            = (√3)/4 × 62

            = 9√3 cm2

Practice Problems on Area of Triangle

Here is a worksheet on Area of Triangle for you to solve.

1. Find the area of triangle with a base of 8 inches and a height of 5 inches.

2. Calculate the area of an equilateral triangle with a side length of 6 centimeters.

3. Given a right triangle with one leg measuring 10 meters and the other leg measuring 24 meters, what is the area of triangle?

4. Determine the area of an isosceles triangle with a base of 12 feet and each of the congruent sides measuring 9 feet.

Conclusion

The area of a triangle is essential for various mathematical and practical applications. Whether using the base-height formula for straightforward triangles, Heron’s formula for those with known side lengths, or trigonometric methods for specific angle-based problems, each approach offers valuable tools for different scenarios. Understanding how to apply these formulas allows for precise and efficient problem-solving in fields ranging from architecture to everyday tasks

Area of Triangle – FAQs

What is Area of triangle?

The region enclosed by the boundary of the triangle i.e. area occupied by the perimeter of the triangle is termed the area of the Triangle.

How to Find Area of Triangle?

Area of the Triangle can be calculated using the following formulas,

1. For a Right Triangle: Area = (1/2) ⨯ base ⨯ height

2. Using Heron’s Formula: Area = √(s ⨯ (s – a) ⨯ (s – b) ⨯ (s – c)), where “s” is the semi-perimeter.

What is Area of Triangle with 3 sides?

If all the three sides of triangle are given, then its area is calculated using the Heron’s Formula.

Area = √{ s(s-a)(s-b)(s-c)}

where, a, b, and c are the sides of triangle and s is semi-perimeter = ​ ½ (a+b+c)

How To Find Area Of Triangle Without Height?

Without height, the area of triangle can be calculated using the Heron’s formula, which is :

Area of a triangle = √{s(s-a)(s-b)(s-c)}

where, a, b, and c are sides of the given triangle

and s = ½ (a+b+c) is the semiperimeter.

What is Area Of Equilateral Triangle?

Area of equilateral triangle is given by the following formula :

A = (√3)/4 × side2. 

What is Area Of Isosceles Triangle?

Area of Isosceles Triangle is given by the following formula :

A = ¼ × b√(4a2 – b2), where a= the two equal sides and b= the third side.

What is Area of Triangle in Coordinate Geometry?

When all three vertices of the triangle A(x1, y1), B(x2, y2) and C(x3, y3) are given then its area is calculated using the formula,

Area = 1/2 × [x1(y2 – y3) + x2(y3 – y1) + x3(y1 – y2)]

What is Area of Triangle in Vector form?

If a triangle is formed by two vectors u, and v then its area is given by half of magnitude of product of the given vectors i.e.

Area = 1/2|[Tex]\vec{u}    [/Tex]×[Tex]\vec{v}    [/Tex]|



Previous Article
Next Article

Similar Reads

Area and Perimeter of Shapes | Formula and Examples
Area and Perimeter are the two fundamental properties related to 2-dimensional shapes. Defining the size and length of its boundary. By learning about the areas of 2D shapes, we can easily determine the surface areas of 3D bodies and perimeter helps us to calculate the length of the boundary of any 2D closed shape. The method and parameters require
11 min read
Circumcenter of Triangle: Formula, Properties, Examples
The circumcenter of Triangle is a specific point where the perpendicular bisectors of the sides of the triangle intersect. This point is significant because it is equidistant from all three vertices of the triangle. It makes it the center of circle that can be circumscribed around the triangle which is known as circumcircle. Table of Content Circum
11 min read
Scalene Triangle: Definition, Properties, Formula, Examples
A triangle is one of the simplest shapes in geometry, consisting of three sides and three angles. Among the various types of triangles, the scalene triangle stands out because it has unique properties that distinguish it from others. In a scalene triangle, all three sides have different lengths, and all three angles are different. Scalene Triangle
9 min read
Area Between Two Curves: Formula, Definition and Examples
Area Between Two Curves in Calculus is one of the applications of Integration. It helps us calculate the area bounded between two or more curves using the integration. As we know Integration in calculus is defined as the continuous summation of very small units. The topic "Area Between Two Curves" has applications in the various fields of engineeri
7 min read
Surface Area of Sphere | Formula, Derivation and Solved Examples
A sphere is a three-dimensional object with all points on its surface equidistant from its center, giving it a perfectly round shape. The surface area of a sphere is the total area that covers its outer surface. To calculate the surface area of a sphere with radius r, we use the formula: Surface Area of Sphere = 4πr2 This formula shows that the sur
8 min read
Area of Rhombus: Formula, Derivation and Examples
Rhombus is a parallelogram in which all four sides are equal and opposite pairs of lines are congruent. The opposite angles in a rhombus are equal. The area of Rhombus is the total space occupied by a Rhombus in a 2d Plane. It is a special type of parallelogram in which all sides are equal to each other. The internal angle of the Rhombus is not man
9 min read
Which figure encloses more area: a square of side 2 cm a rectangle of side 3 cm and 2 cm a triangle of side 4 cm and height 2 cm?
Square is a closed two-dimensional figure with four sides and four corners. The length of all four sides is equal and parallel to each other.  A square is a quadrilateral in which: The opposite sides are parallel.All four sides are equal.All angles measure 90°.Area of a Square Area of a square is the space enclosed within its boundary. It is given
6 min read
Maximum size of subset of given array such that a triangle can be formed by any three integers as the sides of the triangle
Given an array arr[] consisting of N integers, the task is to find the size of the largest subset of the array such that a triangle can be formed from any of the three integers of the subset as the sides of a triangle. Examples: Input: arr[] = {1, 4, 7, 4}Output: 3Explanation: A possible subsets that follow the given conditions are {1, 4, 4} and {4
7 min read
Area of a Circle: Formula, Derivation, Examples
Area of a Circle is the measure of the two-dimensional space enclosed by a circle. It is mostly calculated by the size of the circle's radius. Let's learn how to find the area of the circle using the formulas, with the help of examples. Table of Content Area of CircleArea of Circle with RadiusArea of Circle in terms of DiameterArea of a Circle usin
11 min read
Area of a Trapezium | Formula, Derivation, Examples
The area of a trapezium is the number of unit squares that can fit into the trapezium, measured in square units. Let’s understand in detail the formula of the trapezium area and how to derive it. Area of the trapezium is the region covered by a trapezium in a two-dimensional plane. It is the space enclosed in 2D geometry and measured in square unit
9 min read
Program to calculate the Area and Perimeter of Incircle of an Equilateral Triangle
Given the length of sides of an equilateral triangle, the task is to find the area and perimeter of Incircle of the given equilateral triangle. Examples: Input: side = 6 Output: Area = 9.4. Perimeter = 10.88 Input: side = 9 Output: Area = 21.21, Perimeter = 16.32 Properties of an Incircle are: The center of the Incircle is same as the center of the
4 min read
Area of triangle formed by the axes of co-ordinates and a given straight line
Given a straight line with equation coefficients as a, b & c(ax + by + c = 0), the task is to find the area of the triangle formed by the axes of co-ordinates and this straight line.Examples: Input: a = -2, b = 4, c = 3 Output: 0.5625 Input: a = 4, b = 3, c = 12 Output: 6 Approach: Let PQ be the straight line having AB, the line segment between
4 min read
Area of Triangle using Side-Angle-Side (length of two sides and the included angle)
Given two integers A, B representing the length of two sides of a triangle and an integer K representing the angle between them in radian, the task is to calculate the area of the triangle from the given information.Examples: Input: a = 9, b = 12, K = 2 Output: 49.1 Explanation: Area of triangle = 1 / 2 * (9 * 12 * Sin 2) = 35.12Input: A = 2, B = 4
4 min read
Area of a triangle with two vertices at midpoints of opposite sides of a square and the other vertex lying on vertex of a square
Given a positive integer N representing the side of a square, the task is to find the area of a triangle formed by connecting the midpoints of two adjacent sides and vertex opposite to the two sides. Examples: Input: N = 10Output: 37.5 Input: N = 1Output: 0.375 Approach: The given problem can be solved based on the following observations: The one s
5 min read
How to find the perimeter and area of a triangle?
Geometry is a branch of mathematics as old as arithmetic itself. It deals with the properties of figures, their measurements, the distance between two shapes or points, and their relative positions. In other words, geometry is a branch of mathematics that deals with surfaces, points, shapes, planes, coordinates, etc. Every kind of shape observed in
5 min read
Minimum height of a triangle with given base and area
Given two integers a and b, find the smallest possible height such that a triangle of at least area "a" and base "b" can be formed. Examples: Input : a = 2, b = 2Output : Minimum height of triangle is 2Explanation: Input : a = 8, b = 4Output : Minimum height of triangle is 4Minimum height of Triangle with base "b" and area "a" can be evaluated by h
5 min read
How to find the area of an equilateral triangle when given the perimeter and height?
In mathematics, the proportions, measurements, dimensions, forms, shapes, and angles of different objects around us are studied under the branch called geometry. Geometry is one of the oldest branches of mathematics and has a very significant application and impact on our daily lives. We are surrounded by innumerable objects in our lives. All these
3 min read
How to find the area and perimeter of an equilateral triangle?
In mathematics or in daily lives geometry and geometrical shapes always play an essential role. Starting from a simple tray to a big building, we are always surrounded by geometry in different shapes and sizes. The shape and surface to be taken up by such shapes need to be calculated so as to store them without any difficulty, or to meet the needs
4 min read
Find all sides of a right angled triangle from given hypotenuse and area | Set 1
Given hypotenuse and area of a right angle triangle, get its base and height and if any triangle with given hypotenuse and area is not possible, print not possible.Examples: Input : hypotenuse = 5, area = 6 Output : base = 3, height = 4 Input : hypotenuse = 5, area = 7 Output : No triangle possible with above specification. Recommended PracticeArea
9 min read
Check if right triangle possible from given area and hypotenuse
Given area and hypotenuse, the aim is to print all sides if right triangle can exist, else print -1. We need to print all sides in ascending order. Examples: Input : 6 5 Output : 3 4 5 Input : 10 6 Output : -1 We have discussed a solution of this problem in below post. Find all sides of a right angled triangle from given hypotenuse and area | Set 1
6 min read
Rydberg Formula: Formula, Proof and Solved Examples
The Rydberg formula predicts the wavelength of light produced by an electron moving between atomic energy levels. Each element has a unique spectral fingerprint. When an element's gaseous state is heated, light is produced. When this light passes through a prism or a diffraction grating, bright lines of various hues can be discerned. In some manner
6 min read
Program to calculate area of Circumcircle of an Equilateral Triangle
Given the length of sides of an equilateral triangle. We need to write a program to find the area of Circumcircle of the given equilateral triangle.Examples: Input : side = 6 Output : Area of circumscribed circle is: 37.69 Input : side = 9 Output : Area of circumscribed circle is: 84.82 All three sides of equilateral triangle are of equal length an
4 min read
Find the height of a right-angled triangle whose area is X times its base
Given that the area of a right-angled triangle is X times its base b. The task is to find the height of the given triangle. Examples: Input: X = 40 Output: 80Input: X = 100 Output: 200 Approach: We know that the area of a right-angled triangle, Area = (base * height) / 2 and it is given that this area is X times the base i.e. base * X = (base * hei
3 min read
Find the coordinates of a triangle whose Area = (S / 2)
Given an integer S, the task is to find the coordinates of a triangle whose area is (S / 2). Examples: Input: S = 4 Output: (0, 0) (1000000000, 1) (999999996, 1) Input: S = 15 Output: (0, 0) (1000000000, 1) (999999985, 1) Approach: It is known than the area of the triangle whose coordinates are (X1, Y1), (X2, Y2) and (X3, Y3) is given by A = ((X1 *
5 min read
Area of Equilateral triangle inscribed in a Circle of radius R
Given an integer R which denotes the radius of a circle, the task is to find the area of an equilateral triangle inscribed in this circle. Examples: Input: R = 4 Output: 20.784 Explanation: Area of equilateral triangle inscribed in a circle of radius R will be 20.784, whereas side of the triangle will be 6.928 Input: R = 7 Output: 63.651 Explanatio
4 min read
Area of Circumcircle of an Equilateral Triangle using Median
Given the median of the Equilateral triangle M, the task is to find the area of the circumcircle of this equilateral triangle using the median M. Examples: Input: M = 3 Output: 12.5664 Input: M = 6 Output: 50.2655 Approach: The key observation in the problem is that the centroid, circumcenter, orthocenter and incenter of an equilateral triangle all
4 min read
Area of a Triangle from the given lengths of medians
Given three integers A,B and C which denotes length of the three medians of a triangle, the task is to calculate the area of the triangle. A median of a triangle is a line segment joining a vertex to the midpoint of the opposite side, thus bisecting that side. Examples: Input: A = 9, B = 12, C = 15 Output: 72.0Input: A = 39, B = 42, C = 45 Output:
4 min read
Minimum area of the triangle formed by any tangent to an ellipse with the coordinate axes
Given two integers A and B, representing the length of the semi-major and semi-minor axis of an ellipse with the equation (x2 / A2) + (y2 / B2) = 1, the task is to find the minimum area of the triangle formed by any tangent to the ellipse with the coordinate axes. Examples: Input: A = 1, B = 2Output: 2 Input: A = 2, B = 3Output: 6 Approach: The ide
4 min read
Maximize area of triangle formed by points on sides of given rectangle
Given a rectangle [(x1, y1), (x2, y2)] denoting the coordinates of bottom-left corner and top-right corner whose sides are parallel to coordinates axes and N points on its perimeter (at least one on each side). The task is to maximize the area of a triangle formed by these points. Examples: Input: rectangle[][]= {{0, 0}, {6, 6}}, coordinates[][] =
10 min read
Program to find area of a triangle
Given the sides of a triangle, the task is to find the area of this triangle. Examples : Input : a = 5, b = 7, c = 8 Output : Area of a triangle is 17.320508 Input : a = 3, b = 4, c = 5 Output : Area of a triangle is 6.000000Recommended PracticeArea of a triangleTry It! Approach: The area of a triangle can simply be evaluated using following formul
10 min read
three90RightbarBannerImg