100% Free No Sign-Up Unlimited Use No Limits Secure & Private
PDF Tools Calculators Categories Guides Contact No Sign-Up Needed to Use This Site
Area
--
Perimeter / Circumference
--
Shape
--
ShapeArea FormulaPerimeter
Square4a
Rectanglel × w2(l+w)
Triangle½ × b × ha+b+c
Circleπr²2πr
Trapezoid½(a+b)ha+b+c+d
Ellipseπab≈2π√((a²+b²)/2)
Parallelogramb × h2(b+s)
Reg. Pentagon(5/4)a²tan(54°)5a
Reg. Hexagon(3√3/2)a²6a
Sector(θ/360)πr²2r+(θ/360)2πr

Calculate the area and perimeter of ten common 2D shapes — squares, rectangles, triangles, circles, trapezoids, ellipses, parallelograms, regular pentagons and hexagons, and circle sectors.

How It Works

How Area Calculator Works

Selecting a shape from the dropdown loads its own formula: a square's area is a², a rectangle is length×width, a triangle is ½×base×height, and a circle is πr² — each shape asks only for the specific dimensions its formula actually needs.

Perimeter is calculated with a matching formula wherever it can be determined from the entered dimensions alone — for example 4a for a square or 2πr for a circle's circumference — but for a general triangle, trapezoid, or parallelogram, only base and height were entered, so the full perimeter (which needs every side length) isn't shown.

The regular pentagon and hexagon formulas come from splitting each polygon into equal triangles radiating from its center, and use trigonometric identities to relate one side length to the whole shape's area; a circle sector's area simply scales the full circle's area (πr²) by the fraction of 360° that its central angle represents.

Worked Example

See It In Action

A square room with side length 6 ft: area = 6² = 36 sq ft, and perimeter = 4×6 = 24 ft of wall or trim needed to go around it.
Real-World Use Cases

Who Uses Area Calculator and Why

  • Estimating flooring, carpet, or paint coverage needed for a square or rectangular room.
  • Calculating an irregular land plot's area from a trapezoid or parallelogram's base and height.
  • Figuring out a pizza slice or sprinkler coverage area from a circle sector's central angle.
  • Laying out a regular hexagon or pentagon paver pattern using each shape's side-length-based area formula.
Common Mistakes

Mistakes to Avoid

  • Expecting a perimeter result for a triangle, trapezoid, or parallelogram when only base and height were entered — a true perimeter needs every side length, which those minimal inputs don't provide.
  • Entering a diameter value where the calculator expects a radius for a circle or sector, doubling or halving the resulting area unintentionally.
  • Assuming the ellipse's perimeter figure is mathematically exact — there's no simple closed-form formula for it, so the calculator uses a well-known approximation instead.
Pro Tips

Tips for Best Results

  • Remember a circle sector's area is always the full circle's area scaled by the fraction of 360° its central angle covers — double-check the angle unit is degrees.
  • For shapes where perimeter didn't display, you'd need to know every individual side length, not just base and height, to calculate it.
Troubleshooting

Fixing Common Problems

The perimeter field is blank or missing for my shape. — Some shapes (general triangle, trapezoid, parallelogram) only need base and height for area, but a true perimeter requires every side length — which those minimal inputs don't supply.

Glossary

Terms Explained

Sector: A 'slice' of a circle bounded by a central angle, whose area is the full circle's area scaled by that angle's fraction of 360°.

Regular polygon: A shape (like a regular pentagon or hexagon) with all sides and angles equal, whose area formula comes from splitting it into equal triangles from its center.

FAQ

Frequently Asked Questions

Why doesn't the calculator show perimeter for every shape?
Some shapes, like a general triangle, trapezoid, or parallelogram, only require base and height to calculate area — but a true perimeter needs every individual side length, which isn't always provided by those minimal inputs.
How is a regular hexagon's area formula derived?
A regular hexagon can be divided into six equal equilateral triangles meeting at its center. Summing the area of those six triangles produces the compact formula A = (3√3/2)a², where a is the hexagon's side length.
What's the difference between a circle's area and a sector's area?
A circle's area (πr²) covers the entire disk. A sector is just a "slice" of that circle bounded by a central angle, so its area is the full circle's area multiplied by the fraction of 360° the slice's angle represents.
Can I calculate an ellipse's exact perimeter?
Not exactly — unlike a circle, an ellipse has no simple closed-form formula for its perimeter. This calculator uses a well-known and reasonably accurate approximation rather than the far more complex exact expression (which requires elliptic integrals).