Pick a shape, enter its measurements, and get the area instantly: squares, rectangles, triangles, circles, trapezoids, parallelograms, rhombuses, ellipses and regular polygons, with perimeter where it exists, the substituted formula, and a drawing to scale.
Area is the amount of two-dimensional space a shape covers: the paint needed to coat it, the sod needed to fill it, the floor space it occupies. It is always measured in square units, because area is literally a count of unit squares that fit inside the boundary. A rectangle 6 units long and 4 units wide holds 24 of those squares, which is all the formula 6 × 4 = 24 is saying out loud.
Units matter and they square automatically. A room measured in feet gives an area in square feet; measured in meters it gives square meters. The calculator works in whatever unit you enter, so keep every field in the same unit and the answer inherits it, square units and all.
This page runs through the rectangle 6 × 4 as its working example, and every number quoted below can be checked against the calculator above.
Each shape below shows the formula and a worked example. In every case the numbers were verified against the engine on this page.
A = s × s A = l × w
s side of the square · l, w length and width
A square of side 5 has area 5 × 5 = 25 and perimeter 4 × 5 = 20. A rectangle 6 by 4 has area 24 and perimeter 2 × (6 + 4) = 20. The square is just the rectangle with l = w, which is why one formula covers both.
A = b × h ÷ 2 A = √(s(s-a)(s-b)(s-c))
b, h any base and its perpendicular height · s the semiperimeter (a + b + c) ÷ 2 in Heron's formula
With a base of 6 and a height of 4, the triangle area is 6 × 4 ÷ 2 = 12. When only the three sides are known, Heron's formula takes over: for sides 3, 4 and 5 the semiperimeter is 12 ÷ 2 = 6, the product is 6 × 3 × 2 × 1 = 36, and the area is √36 = 6. A pair of sides that cannot close into a triangle, such as 2, 3 and 10, is rejected rather than silently producing a nonsense number.
A = πr2 C = 2πr
r radius · C circumference
A circle of radius 2 has area π × 4 = 12.566371 and, by a coincidence of this particular size, a circumference of the same 12.566371. The twin values only coincide when r = 2, since A = C means πr² = 2πr.
A = (a + b) × h ÷ 2 A = b × h
a, b the two parallel sides of the trapezoid · b, h base and perpendicular height of the parallelogram
A trapezoid with bases 3 and 5 and height 4 has area (3 + 5) × 4 ÷ 2 = 16: average the two parallel sides, then multiply by the distance between them. A parallelogram with base 6 and height 3 has area 18, the same rectangle formula with a slant, because a slanted side moved sideways changes the shape, not the space it covers.
A = d1 × d2 ÷ 2
d₁, d₂ the two diagonals · side = √((d₁/2)² + (d₂/2)²)
Rhombuses with diagonals 6 and 8 have area 6 × 8 ÷ 2 = 24, each side √(9 + 16) = 5, and perimeter 20. The diagonals of a rhombus cross at right angles and split it into four identical right triangles, which is where the half-product rule comes from.
A = πab A = n × s2 ÷ (4·tan(180°/n))
a, b the semi-axes of the ellipse · n sides and s side length of the regular polygon
An ellipse with semi-axes 4 and 2 has area π × 4 × 2 = 25.132741, exactly the area of a circle of radius √8. A regular hexagon with side 4 has area 6 × 16 ÷ (4 × tan 30°) = 41.569219 and perimeter 6 × 4 = 24, which is six equilateral triangles of side 4 sitting side by side.
Every other shape on this page has an exact perimeter you could write in one line. The ellipse does not, and this is a genuine theorem rather than a missing homework. The circumference of an ellipse involves the complete elliptic integral of the second kind, an object that no combination of roots, powers and π can express exactly. What software does, including this page, is use Srinivasa Ramanujan's remarkably tight approximation:
p ≈ π(3(a + b) - √((3a + b)(a + 3b)))
with a and b the semi-axes. For a = 4 and b = 2 this gives about 19.376
The area, by contrast, is trivially exact: πab. The asymmetry is worth knowing when a specification asks for an "exact" ellipse fence length; the honest answer is a very good approximation, accurate to well under a millimeter per kilometer for ordinary shapes.
Land and rooms are measured in a zoo of units, and the conversions are not always intuitive. The essential ones:
| Unit | In square meters | Worth knowing |
|---|---|---|
| 1 square meter | 1 | The SI base unit of area |
| 1 square foot | 0.092903 | A tile about 30.5 cm on a side |
| 1 square yard | 0.836127 | 9 square feet |
| 1 acre | 4,046.856 | Exactly 43,560 square feet |
| 1 hectare | 10,000 | 100 m by 100 m, about 2.471 acres |
| 1 square kilometer | 1,000,000 | 100 hectares |
A useful anchor: a standard American football field, excluding end zones, is very close to 1.1 acres, and an average city lot is often a quarter of that. When the calculator returns a figure in square feet, dividing by 43,560 converts it to acres in one step.
Area and perimeter both describe a shape's size, but they answer different questions and behave differently. The perimeter is the walking distance around the boundary, in plain units; the area is the covering needed inside it, in square units. Two shapes can share one and not the other: a 6 × 4 rectangle and a square of side √24 both have area 24, but the rectangle's perimeter of 20 beats the square's 19.596. Squeeze the same area into a long 24 × 1 strip and the perimeter balloons to 50.
This is the mathematics behind the counterintuitive fact that the shape holding the most area for a fixed fence length is the circle. It also explains why fencing suppliers quote by the meter while sod suppliers quote by the square meter: the two costs have nothing to do with each other, and a shape efficient in one can be wasteful in the other.
Measuring area began as tax collection. After each Nile flood washed away boundary markers, Egyptian surveyors re-established who owned what, and the geometry they developed, recorded in the Rhind Papyrus around 1550 BC, included correct methods for rectangles, trapezoids and triangles. Greek geometers then turned the practical rules into proof: Euclid's Elements deduces area relationships from axioms, and Archimedes squared the circle's cousin, the parabolic segment, two thousand years before calculus was named.
The units themselves carry the history. The acre was originally the area a yoke of oxen could plow in one day, a long narrow strip, which is why it equals the awkward 43,560 square feet: one chain wide and one furlong long. The hectare arrived with the metric system in the 1790s as a clean 100 meters on a side. Ramanujan, working in Madras in the 1910s, published his ellipse perimeter approximations in a two-page note, and they remain the standard shortcut a century later.
Split it into simple pieces and add. An L-shaped room becomes two rectangles; a plot with a curved boundary becomes a strip of thin trapezoids whose areas add up. Compute each piece with this calculator, then total them. The only rule is that the pieces must not overlap and must cover everything, which is easy to check on a sketch.
Perimeter is the distance around the outside, in plain units; area is the surface inside, in square units. They are independent: a 6 by 4 rectangle and a square of side 4.899 both have area 24, but perimeters of 20 and 19.596. Fencing is bought by the perimeter, flooring by the area, and one number never predicts the other.
Because area is a count of unit squares, not unit lengths. Multiplying two lengths multiplies their units too: feet times feet gives square feet, exactly as 6 meters times 4 meters gives 24 square meters. Writing an area in plain meters is always an error, and the square in the unit is a reminder of where the number came from.
Exactly 43,560 square feet, about 4,046.86 square meters, or roughly 208.7 feet on a side if square. In everyday terms it is a bit more than an American football field without end zones, about 16 tennis courts, or a generous suburban lot. The odd number survives from the acre's origin as a furlong (660 ft) by one chain (66 ft), the strip an ox team plowed in a day.
Use base times height divided by 2 whenever you know a true perpendicular height, which is the case on drawings and blueprints. Use Heron's formula when you know only the three side lengths, which is the case when you measure a real plot with a tape. Both appear on this calculator as separate modes, and both agree when the same triangle is entered both ways.
The exact perimeter requires the complete elliptic integral of the second kind, which has been proven impossible to write with a finite combination of algebraic operations and pi. Ramanujan's approximation used on this page is within a hair of the true value for any ordinary ellipse, so for fencing and material estimates it is effectively exact, but it is honest to label it an approximation because that is what it is.
No. Every calculation runs in your browser. Nothing is stored or transmitted.