Area Calculator
Calculate the area of 16 geometric shapes with this free area calculator. Choose a shape, enter its dimensions, and get the result in square units. You can also convert between area units or work backward from a target area to find one missing length.
Whether you need the area of a rectangle, a triangle, a circle, or a regular polygon, select the matching shape and enter the measurements you know.
How to Use the Area Calculator
- Choose a shape. Select the geometric shape you want to measure.
- Select a calculation method. Some shapes offer more than one method. Choose the method that matches the dimensions you have.
- Enter the measurements. Fill in the required lengths, such as a side, base, height, radius, or diagonal. Enter an angle when the selected method asks for one.
- Choose your units. Each length has its own unit. The result has a separate area unit.
- Read the result. The area, formula, and calculation details update from the current dimensions.
Changing a dimension runs a forward calculation. Changing the Area field solves for one unlocked length. Locked lengths stay as entered.
Calculate the Area of Different Shapes
Each method below uses the same formula the calculator displays. Results that are not exact are shown to six decimal places, with trailing zeros removed.
1. Square
A square has four equal sides and four right angles.
Formula:
A = a²
A square with a side of 5 cm has an area of 25 cm².
2. Rectangle
A rectangle has two pairs of equal opposite sides.
Formula:
A = l × w
A rectangle 10 cm long and 6 cm wide has an area of 60 cm².
3. Triangle
The triangle area depends on which measurements you have.
Base and height:
A = b × h / 2
The height is perpendicular to the selected base.
Two sides and the included angle:
A = a × b × sin(γ) / 2
Sides a and b meet at angle γ.
Three sides (Heron’s formula):
A = √[s × (s − a) × (s − b) × (s − c)]
s = (a + b + c) / 2
The value s is the semiperimeter. The three lengths must satisfy the triangle inequality: each side is shorter than the sum of the other two.
One side and the two adjacent angles:
A = a² × sin(β) × sin(γ) / [2 × sin(β + γ)]
Side a lies between angles β and γ. Both angles are positive, and their sum is less than 180°.
4. Circle
Formula:
A = π × r²
The radius r is the distance from the center to the circumference. A radius of 3 cm gives an area of 28.274334 cm².
5. Sector
A sector is the region bounded by two radii and the arc between them.
Formula:
A = π × r² × θ / 360
θ is the central angle in degrees. Enter an angle greater than 0° and at most 360°.
6. Ellipse
Formula:
A = π × a × b
a and b are the semi-major axis and the semi-minor axis. For a = 6 cm and b = 4 cm, the area is 75.398224 cm².
7. Trapezoid
The two parallel sides and the perpendicular height between them determine the area.
Formula:
A = (a + b) × h / 2
With parallel sides of 10 cm and 6 cm and a height of 4 cm:
A = (10 + 6) × 4 / 2 = 32 cm²
8. Parallelogram
Base and height:
A = b × h
The height is perpendicular to the base.
Two sides and the included angle:
A = a × b × sin(α)
α is the angle between sides a and b. This formula does not divide by 2.
Two diagonals and the included angle:
A = d1 × d2 × sin(θ) / 2
θ is the angle between the full diagonals.
Included angles in these methods are greater than 0° and less than 180°.
9. Rhombus
A rhombus has four equal sides.
Side and height:
A = a × h
Diagonals:
A = d1 × d2 / 2
Side and included angle:
A = a² × sin(α)
α is an angle between two sides.
10. Kite
A kite has two pairs of adjacent equal sides.
Diagonals:
A = d1 × d2 / 2
Adjacent sides and the included angle:
A = a × b × sin(γ)
a and b are adjacent sides, and γ is the angle between them. This formula does not divide by 2.
11. Regular Pentagon
A regular pentagon has five equal sides and five equal interior angles.
Formula:
A = a² × √(25 + 10√5) / 4
This is the same value as 5 × a² / [4 × tan(36°)].
12. Regular Hexagon
Formula:
A = 3 × √3 × a² / 2
13. Regular Octagon
Formula:
A = 2 × (1 + √2) × a²
14. Annulus
An annulus is the region between two concentric circles.
Formula:
A = π × (R² − r²)
R is the outer radius and r is the inner radius. The outer radius must be greater than the inner radius.
15. Quadrilateral
For a convex quadrilateral whose diagonals cross inside the shape:
Formula:
A = d1 × d2 × sin(θ) / 2
d1 and d2 are the diagonal lengths, and θ is the angle between them.
16. Regular Polygon
A regular polygon has equal sides and equal interior angles. The side count n can be any whole number from 3 to 1000.
Formula:
A = n × a² / [4 × tan(π / n)]
π / n is the same angle as 180° / n. The pentagon, hexagon, and octagon formulas above are the same relationship written for a fixed number of sides.
Find a Missing Dimension from a Known Area
The Area field can also be a target. The calculator then solves one unlocked length and checks that the forward area matches the target.
- Enter the dimensions you already know.
- Lock any lengths that must stay unchanged.
- Edit the Area field and enter the target area.
- The calculator solves the first unlocked length, following the order of the input fields.
- The dimensions, area, formula, and diagram update together.
Only one length changes. Angles and the polygon side count stay as entered. If every solvable length is locked, or the target has no single valid positive length, the existing dimensions stay in place.
A rectangle 10 cm by 5 cm has an area of 50 cm². A target of 60 cm², with the width left at 5 cm, gives a length of 12 cm.
For a triangle with all three sides fixed except one, some targets cannot be reached. A 3 cm, 4 cm, 5 cm triangle has an area of 6 cm². A target of 60 cm² cannot be reached by changing only one side. If a three-side target has two different legal side lengths, the calculator does not choose one of them.
Area Units and Conversions
Area uses square units because it measures a two-dimensional surface. Lengths can use different units in the same calculation. The calculator converts each length to meters, calculates the area in square meters, and then displays the selected area unit.
Length units: millimeters (mm), centimeters (cm), meters (m), kilometers (km), inches (in), feet (ft), yards (yd), miles (mi), and nautical miles (nmi).
Area units: square millimeters (mm²), square centimeters (cm²), square meters (m²), square kilometers (km²), square inches (in²), square feet (ft²), square yards (yd²), square miles (mi²), hectares (ha), and acres (ac).
Common Area Conversions
A length conversion and an area conversion are different. One meter is 100 centimeters, so one square meter is 100 × 100 = 10,000 square centimeters.
Area vs. Perimeter
Area is the surface enclosed by a shape, measured in square units such as cm², m², or ft². Perimeter is the distance around the boundary, measured in linear units such as cm, m, or ft.
A rectangle measuring 10 cm by 5 cm has an area of 50 cm² and a perimeter of 30 cm. The same distinction applies to floors, walls, and land: area estimates the surface, and perimeter estimates the boundary length.
Frequently Asked Questions
How do I calculate the area of an irregular shape?
Use the quadrilateral method when you know both diagonals and the angle between them, and the diagonals cross inside a convex four-sided shape. A more complicated outline can be split into supported shapes, calculated separately, and added together.
Can I calculate area using different units?
Yes. Each dimension can use its own length unit, and the result can use a different area unit. The conversion happens before the formula is applied.
Can I find a missing side from the area?
Yes, when one unlocked length has a single valid positive solution. Enter the target area and lock the lengths you want to keep. The calculator solves the first unlocked length in field order.
Why can’t the calculator find some dimensions?
A target can be impossible while the other lengths stay fixed. A triangle with three known sides can also have two legal replacements for one side, and the calculator leaves the dimensions unchanged in that case. Angles and the number of polygon sides are not solved from the target area.
Is height always the same as a side length?
No. Height is the perpendicular distance from a base to the opposite side or to the line parallel to that base. On a triangle or parallelogram, that distance can be shorter than either sloping side.
What is the difference between radius and diameter?
The radius runs from the center of a circle to its edge. The diameter runs across the circle through the center and is twice the radius.
Does the area formula change when I use different units?
The geometric formula stays the same. Measurements entered in different length units are converted to one consistent unit before that formula is used.
Calculate Area with the Area Calculator
Choose one of the 16 shapes, enter the dimensions you know, and select the units for those measurements. The calculator returns the area, the matching formula, and the calculation details. You can also enter a target area to solve one unlocked length while every locked length stays unchanged.