Area & Perimeter Calculator
Calculate area and perimeter for 2D geometric shapes.
About this topic
Rectangles & Squares Four-sided shapes with right angles and parallel opposite sides.
A rectangle is a quadrilateral with four right angles. A square is a special rectangle where all four sides are equal. Their area represents the 2D space they cover, while the perimeter is the total distance around them.
Key formulas & rules
- •Opposite sides are equal and parallel
- •All internal angles are exactly 90°
- •Area = length × width
- •Perimeter = 2(length + width)
- •Square is a rectangle with equal sides
- •Diagonals bisect each other
Examples
| Input | Output | Note |
|---|---|---|
| Rectangle 10×5 | Area = 50 | 10 × 5 |
| Rectangle 10×5 | Perimeter = 30 | 2(10+5) |
| Square side=6 | Area = 36 | 6² |
| Square side=6 | Perimeter = 24 | 4 × 6 |
Real-world uses
Circles Perfectly round shapes defined by a center and a radius.
A circle is the set of all points equidistant from a center point. The distance from the center to the edge is the radius (r). The perimeter of a circle is called the circumference. All circles are similar.
Key formulas & rules
- •Area = πr²
- •Circumference = 2πr
- •Diameter = 2r
- •π (Pi) ≈ 3.14159
- •Ratio of circumference to diameter is always π
- •Infinite lines of symmetry
Examples
| Input | Output | Note |
|---|---|---|
| Radius = 7 | Area ≈ 153.94 | π × 7² |
| Radius = 7 | Circum ≈ 43.98 | 2π × 7 |
| Radius = 10 | Area ≈ 314.16 | π × 100 |
| Radius = 10 | Circum ≈ 62.83 | 2π × 10 |
Real-world uses
Triangles Three-sided polygons where the angles sum to 180°.
A triangle is the simplest polygon. Its area is half the base times the height. The perimeter is the sum of its three sides. To form a valid triangle, the sum of any two sides must be greater than the third.
Key formulas & rules
- •Area = ½ × base × height
- •Perimeter = a + b + c
- •Angles always sum to 180°
- •Triangle Inequality Theorem applies
- •Height must be perpendicular to base
- •Can be acute, right, or obtuse
Examples
| Input | Output | Note |
|---|---|---|
| Base=8, Height=6 | Area = 24 | ½ × 8 × 6 |
| Sides 5, 6, 7 | Perimeter = 18 | 5+6+7 |
| Base=10, Height=5 | Area = 25 | ½ × 10 × 5 |
| Sides 3, 4, 5 | Perimeter = 12 | 3+4+5 |
Real-world uses
Modes & formulas
Rectangle
A rectangle has equal opposite sides, which is why the perimeter formula multiplies the sum of length and width by 2.
Circle
Pi (π) is the ratio of a circle's circumference to its diameter, approximately 3.14159. The radius is half the diameter.
Triangle
The triangle must satisfy the Triangle Inequality Theorem (the sum of any two sides must be greater than the third side).
Square
A square is a special rectangle where all four sides are exactly equal.