Shape & Dimensions
Area
Enter dimensions above

Area & Perimeter Formulas

ShapeAreaPerimeter / CircumferenceNotes
SquareA = s²P = 4ss = side length
RectangleA = l × wP = 2(l + w)diagonal = √(l²+w²)
TriangleA = ½bh or Heron'sP = a + b + cHeron: s=(a+b+c)/2; A=√(s(s-a)(s-b)(s-c))
CircleA = πr²C = 2πrd = 2r
TrapezoidA = ½(a+b)hP = a+b+c+da, b = parallel sides
ParallelogramA = b × hP = 2(a+b)h = perpendicular height
EllipseA = πabC ≈ π[3(a+b)−√((3a+b)(a+3b))]Ramanujan approximation
SectorA = ½r²θArc = rθθ in radians; perimeter = 2r + arc
Area Converter
Converted Area
Enter a value to convert
Result
Reverse

How to Use This Calculator

1

Select the Shape

Choose rectangle or square as the shape you want to calculate.

2

Enter the Dimensions

Type the width and height (for rectangles) or side length (for squares).

3

View Area and Perimeter

Both the area and perimeter are computed and displayed with the step-by-step solution.

Formula & Methodology

Rectangle Area

A = W × H

Multiply the width by the height to find the area of a rectangle.

Rectangle Perimeter

P = 2(W + H)

Add the width and height, then multiply by two to get the total perimeter.

Square Area

A = s²

The area of a square is the side length squared; its perimeter is 4s.

Rectangle vs. Square Properties

PropertyRectangleSquare
SidesTwo pairs of equal sidesAll four sides equal
Area formulaW × H
Perimeter formula2(W + H)4s
DiagonalsEqual in lengthEqual and perpendicular
AnglesAll 90°All 90°

Key Terms

Area
The amount of two-dimensional space enclosed within a shape, measured in square units.
Perimeter
The total length of the boundary around a two-dimensional shape.
Width (W)
The horizontal measurement of a rectangle.
Height (H)
The vertical measurement of a rectangle; also called length in some contexts.
Square
A special rectangle where all four sides are equal in length.

Real-World Examples

Example 1

Living Room Floor

W = 15 ft, H = 20 ft

Area = 300 ft², Perimeter = 70 ft — useful for flooring and baseboard estimates

Example 2

Garden Bed

s = 4 m

Area = 16 m², Perimeter = 16 m — a square raised garden bed

Area and Perimeter in Everyday Problem Solving

Practical Applications

Area calculations determine how much paint covers a wall, how many tiles fill a floor, or how much sod a lawn requires. Perimeter is used to calculate fencing, trim, or border material. These two measurements are the foundation of virtually every construction, landscaping, and interior-design estimate.

Maximizing Area for a Given Perimeter

Among all rectangles with the same perimeter, the square encloses the maximum area. This principle, known as the isoperimetric property for rectangles, has practical implications—if you have a fixed length of fencing, building a square pen gives your animals the most space.