How to calculate area: shapes, formulas and units
Choose a shape, match the letters on the diagram and select a unit for each length. Enter a decimal, fraction or scientific notation. Angles use degrees or radians; in radians you can also enter an expression such as π/3.
Measure the shape
Area measures the space inside a flat boundary. Measure the lengths that match the letters in the sketch. Perimeter measures the boundary and uses length units, such as metres. Area uses square units, such as m².
Use the formula for your inputs
The formula above the form follows the selected mode. A triangle accepts three sides, perpendicular base and height, or two sides and the angle between them. The examples below show a set of usable measurements for every mode.
Formulas and examples for each shape
Rectangle
Multiply perpendicular length and width. The perimeter is twice their sum.
A=lw; P=2(l+w)
Example
l=3 m; w=4 m ⇒ A≈12 m²
Square
All sides have the same length. Square it for area and multiply by four for perimeter.
A=s²; P=4s
Example
s=4 m ⇒ A≈16 m²
Triangle — three sides
Use three lengths that can form a triangle. Heron’s formula finds area without measuring height.
s₀=(a+b+c)/2; A=√[s₀(s₀−a)(s₀−b)(s₀−c)]
Example
a=3 m; b=4 m; c=5 m ⇒ A≈6 m²
Triangle — base and height
Measure the height at right angles to the base. A sloping side is not the height.
A=bh/2
Example
b=4 m; h=3 m ⇒ A≈6 m²
Triangle — two sides and included angle
Enter the angle between the two supplied sides. The calculator can also find the third side.
A=ab sin(θ)/2
Example
a=3 m; b=4 m; θ=90 ° ⇒ A≈6 m²
Trapezoid
Use the two parallel sides and the perpendicular distance between them.
A=(b₁+b₂)h/2
Example
b₁=4 m; b₂=7 m; h=2 m ⇒ A≈11 m²
Circle
Measure from the centre to the edge. If you know the diameter, divide it by two.
A=πr²; P=2πr
Example
r=3 m ⇒ A≈28.2743 m²
Circular sector
Use the radius and the central angle. At 360° the shape is a full circle.
A=r²θ/2; L=rθ; θ_rad=θ_degπ/180
Example
r=4 m; θ=90 ° ⇒ A≈12.5664 m²
Ellipse
Enter half of each full axis length. Either order gives the same area.
A=πab
Example
a=3 m; b=2 m ⇒ A≈18.8496 m²
Parallelogram
Use a base and its perpendicular height. A sloping side does not give that height.
A=bh
Example
b=4 m; h=3 m ⇒ A≈12 m²
Annulus
Subtract the inner disk from the outer disk. A zero inner radius gives a circle.
A=π(R−r)(R+r); P=2π(R+r)
Example
R=5 m; r=2 m ⇒ A≈65.9734 m²
Regular polygon
All sides and all angles must be equal. The drawing shows a six-sided example.
A=ns²/[4tan(π/n)]; P=ns
Example
n=6; s=2 m ⇒ A≈10.3923 m²
Angles, radii and special cases
An ellipse takes two semi-axes, each measured from the centre. A sector takes a central angle: 90° and π/2 rad describe the same quarter disk. Its perimeter includes the arc and the two radii for a partial sector, but only the circumference for a full circle. The annulus perimeter adds the outside and inside boundary lengths.
Convert square units
The calculation converts each length to metres before using the formula. Square the length conversion factor for area: 1 ft = 0.3048 m, so 1 ft² = 0.09290304 m². One hectare is 10,000 m². One international-foot acre is 43,560 ft² or 4046.8564224 m².
Check what the inputs determine
A triangle’s base and height determine its area but not its perimeter. The trapezoid and parallelogram modes also omit perimeter because they do not have enough side data. The ellipse mode reports area without an approximate perimeter. For an irregular flat figure, add the areas of non-overlapping pieces and subtract holes.
Read, round and reuse the result
The steps show the formula and the supplied measurements in compatible units. Copy or download a CSV to keep the results with their units. Choose a display precision that reflects how well the dimensions were measured. This is planar geometry, so curved terrain or land with surveyed boundaries may require a different method.
If a triangle’s missing side or angle is needed first, use the Triangle Calculator. The Slope Calculator can check a line’s rise and run when you are working from a coordinate drawing. Once you know the base area of a prism, use the Scientific Calculator to multiply it by the perpendicular length, or select a matching solid in the Volume Calculator. Use the Ratio Calculator to scale a drawing and the Exponent Calculator to see why doubling every length multiplies area by four. For arc length, chord length or a circle solved from circumference, use the Circle Calculator.
The BIPM SI Brochure describes SI units and the hectare; ISO 80000-2:2019 provides a reference for mathematical notation. The NIST — Revised Unit Conversion Factors explains the international-foot acre and how it differs from the legacy survey-foot acre. See OpenStax — Rectangles, Triangles and Trapezoids and OpenStax — Circles and Irregular Figures for plane figures, OpenStax — Law of Cosines and Heron’s Formula for three-sided triangles, and Wolfram MathWorld — Circular Sector, Wolfram MathWorld — Ellipse and Wolfram MathWorld — Regular Polygon for those shapes.
Common questions
Can I mix feet and metres?
Yes. Choose the unit beside each length. For example, a rectangle 2 ft by 1 m has an area of 0.6096 m².
How do I find a triangle’s area without its height?
Use the three-sides mode if you know all sides. Or use the two-sides mode if you know the angle between them.
Is a sector’s perimeter the same as its arc length?
Only for the full circle in this calculator. In a partial sector, add the two straight radii to the arc length.
How do I get acres from square feet?
Divide by 43,560 when both values use the international foot. The calculator labels the resulting acre conversion.
What are significant digits?
Count from the first nonzero digit, wherever the decimal point sits. With 3 significant digits, 123.456 becomes 123 and 0.00123456 becomes 0.00123.
Does an oval take full width and height?
Use half of each full axis in the ellipse mode. For an ellipse 8 m wide by 6 m high, enter 4 m and 3 m.
Explore related tools
- Right Triangle Calculator
- Pythagorean Theorem Calculator
- Surface Area Calculator
- Circle Calculator
- Distance Calculator
- Slope Calculator
- Volume Calculator
- Triangle Calculator
- Confidence Interval Calculator
- Z-score Calculator
- Permutation and Combination Calculator
- Mean, Median, Mode & Range Calculator
- Statistics Calculator
- Probability Calculator
- Sample Size Calculator
- Number Sequence Calculator
- Standard Deviation Calculator
- Random Number Generator
- Scientific Notation Calculator
- Big Number Calculator
- Root Calculator
- Log Calculator
- Matrix Calculator
- Rounding Calculator
- Exponent Calculator
- Fraction Calculator
- Scientific Calculator
- Percentage Calculator
- Percent Error Calculator
- Quadratic Formula Calculator
- Least Common Multiple Calculator
- Greatest Common Factor Calculator
- Factor Calculator
- Ratio Calculator