All Tools

Area & Perimeter Explorer

Pick a shape, drag the sliders, and watch the area and perimeter update in real time. Every answer includes the formula and a step-by-step calculation. All computation runs in your browser.

Shape

Dimensions

8
5

Try an example

w = 8h = 5

Area

40

square units

Perimeter

26

units

Area Calculation

A=w×hA = w \times h
A=8×5A = 8 \times 5
A=40A = 40

Perimeter Calculation

P=2(w+h)P = 2(w + h)
P=2(8+5)P = 2(8 + 5)
P=2×13P = 2 \times 13
P=26P = 26

Reference Guide

Rectangle and Square

A rectangle has four right angles. A square is a special rectangle where all sides are equal.

A=w×hA = w \times h
P=2(w+h)P = 2(w + h)

For a square with side ss, the area simplifies to s2s^2 and the perimeter to 4s4s.

Triangle

The area of a triangle is half the product of its base and height. The height must be perpendicular to the base.

A=12×b×hA = \frac{1}{2} \times b \times h

The perimeter is the sum of all three sides. For a right triangle with legs aa and bb, the hypotenuse is c=a2+b2c = \sqrt{a^2 + b^2}.

Parallelogram and Trapezoid

A parallelogram has two pairs of parallel sides. Its area formula is the same as a rectangle using the perpendicular height, not the slant side.

Aparallelogram=b×hA_{\text{parallelogram}} = b \times h

A trapezoid has one pair of parallel sides. Its area uses the average of the two bases.

Atrapezoid=12(b1+b2)×hA_{\text{trapezoid}} = \frac{1}{2}(b_1 + b_2) \times h

Circle

A circle is defined by its radius rr. Its perimeter is called the circumference.

A=πr2A = \pi r^2
C=2πrC = 2\pi r

The constant π3.14159\pi \approx 3.14159 is the ratio of every circle's circumference to its diameter. You can also write the circumference as C=πdC = \pi d where d=2rd = 2r.