Area & Perimeter Calculator - Calculate Any Shape with Formulas Free
Calculate area and perimeter for any shape. Free geometry tool for rectangles, circles, triangles, and polygons with step-by-step formulas and solutions.
Units:
Select Shape
Rectangle
A quadrilateral with four right angles and opposite sides equal.
Rectangles are fundamental in architecture, used in doors, windows, and floor plans.
The golden rectangle (ratio 1:1.618) is considered aesthetically pleasing in design.
Area: A = length × width
Perimeter: P = 2(length + width)
Measurements
Need to find the area of a room or determine the boundary length of a garden? Whether you're working on homework, planning a home improvement project, or solving a professional design challenge, this calculator helps you determine both area and perimeter for over 30 different shapes. From simple rectangles and circles to complex irregular polygons and ovals, you'll get accurate results with step-by-step explanations. The tool handles everything from basic geometric forms to specialized shapes like ellipses, composite L and T forms, and even custom irregular polygons using coordinate points. Simply select your shape, enter the measurements, and get instant results with formulas explained clearly.
How to Use Area & Perimeter Calculator
Select a Shape
Browse shapes by category to find what you need. Basic forms include rectangles, squares, and circles. For triangles, choose from right, equilateral, isosceles, or use Heron's formula. Explore regular polygons like pentagons and hexagons, curved forms such as ellipses and sectors, composite shapes like L and T forms, or special geometries including kites and star patterns.
Enter Measurements
Provide the measurements needed for your chosen shape. You can work in metric units like millimeters, centimeters, meters, or kilometers, or use imperial units such as inches, feet, yards, or miles. The tool checks your entries and will alert you if any values need correction.
View Results
After clicking "Calculate", you'll see the area and perimeter values. When applicable, the tool also shows related measurements such as a circle's diameter or a right triangle's hypotenuse. You can copy any result with a single click. Every shape includes helpful information about its properties and where you might encounter it in practice.
Calculator Features
Wide Variety of Shapes
From simple rectangles to complex composite forms
Multiple Units
Support for metric (mm, cm, m, km) and imperial (in, ft, yd, mi) units
Input Validation
Automatic validation with helpful error messages for invalid inputs
Copy Results
One-click copy to clipboard for area and perimeter values
Helpful Information
Learn about each shape's properties and where it appears in everyday life
Extra Details
See related measurements like diameter, hypotenuse, or arc length when they apply
Accurate Results
Reliable calculations based on standard mathematical formulas
Responsive Design
Works perfectly on desktop, tablet, and mobile devices
Complete Function List
- Over 30 different geometric forms from basic to advanced:
- Eight unit options covering metric and imperial systems:
- Input checking with clear error messages:
- Quick copy function for calculated values:
- Background information about each shape:
- Related measurements shown when applicable:
- Shapes grouped by type for easier browsing:
- Works well on phones, tablets, and computers:
- Precise mathematical calculations:
- Automatic triangle validation:
- Coordinate-based input for custom polygons:
- Support for combined shapes like L and T forms:
- Unique geometries including star patterns and curved forms:
Common Calculations & Examples
Example 1: Calculate Rectangle Area and Perimeter
Problem: Find the area and perimeter of a rectangle with length 8 cm and width 5 cm
Steps:
- Select "Rectangle" from Basic Shapes
- Enter length: 8
- Enter width: 5
- Select unit: cm
- Click "Calculate"
Explanation: Multiply the length by the width to get the area: 8 × 5 = 40 square centimeters. For the perimeter, add the length and width, then double the result: 2(8 + 5) = 26 centimeters. These calculations help when planning floor layouts or estimating materials for rectangular areas.
Example 2: Calculate Circle Area and Perimeter
Problem: Find the area and circumference of a circle with radius 6 cm
Steps:
- Select "Circle" from Basic Shapes
- Enter radius: 6
- Select unit: cm
- Click "Calculate"
Explanation: Square the radius and multiply by π to find the area: π × 6² ≈ 113.10 square centimeters. The circumference equals 2π times the radius, giving approximately 37.70 centimeters. The tool also displays the diameter, which is 12 centimeters. These measurements are important when working with round objects such as wheels, pipes, or circular furniture.
Example 3: Calculate Right Triangle Area and Perimeter
Problem: Find the area and perimeter of a right triangle with legs 3 cm and 4 cm
Steps:
- Select "Right Triangle" from Triangles
- Enter leg a: 3
- Enter leg b: 4
- Select unit: cm
- Click "Calculate"
Explanation: Multiply the two legs and divide by two for the area: (3 × 4) / 2 = 6 square centimeters. Use the Pythagorean theorem to find the hypotenuse: √(3² + 4²) = √25 = 5 centimeters. Add all three sides for the perimeter: 3 + 4 + 5 = 12 centimeters. This example shows the well-known 3-4-5 right triangle pattern.
Example 4: Calculate Regular Hexagon Area and Perimeter
Problem: Find the area and perimeter of a regular hexagon with side length 4 cm
Steps:
- Select "Regular Hexagon" from Regular Polygons
- Enter side length: 4
- Select unit: cm
- Click "Calculate"
Explanation: For a regular hexagon, the area formula is (3√3 × side²) / 2, which gives approximately 41.57 square centimeters when the side is 4. The perimeter is simply six times the side length, resulting in 24 centimeters. Hexagons are efficient for packing space, as seen in honeycomb structures, and are commonly used in engineering designs.
Example 5: Finding the Perimeter of a Rectangular Garden
Problem: You need to install fencing around a rectangular garden that measures 12 feet by 8 feet. How much fencing material do you need?
Steps:
- Select "Rectangle" from Basic Shapes
- Enter length: 12
- Enter width: 8
- Select unit: ft
- Click "Calculate"
Explanation: The perimeter tells you the total distance around the garden, which is exactly what you need for fencing. For this rectangle, the boundary length is 2(12 + 8) = 40 feet. This means you'll need 40 feet of fencing material to go around the entire garden. The area (96 square feet) helps you know how much space you have for planting. This type of calculation is essential for any project involving boundaries, whether it's fencing, edging, or trim work.
Example 6: Calculating Both Area and Perimeter for a Room
Problem: You're planning to install new flooring and baseboards in a room that's 15 feet long and 10 feet wide. Find both the floor area and the perimeter for baseboard installation.
Steps:
- Select "Rectangle" from Basic Shapes
- Enter length: 15
- Enter width: 10
- Select unit: ft
- Click "Calculate"
Explanation: The area calculation (15 × 10 = 150 square feet) tells you how much flooring material to purchase. The perimeter (2(15 + 10) = 50 feet) shows how much baseboard trim you'll need to go around the room. Having both values helps you plan your project accurately and avoid buying too much or too little material. This is a common scenario in home improvement where you need both measurements for different purposes - one for surface coverage and one for linear trim or edging.
Example 7: Determining the Boundary Length of an Oval Pool
Problem: An oval swimming pool has a length (semi-major axis) of 20 feet and a width (semi-minor axis) of 12 feet. Find the area for pool liner and the perimeter for coping stones.
Steps:
- Select "Ellipse" from Curved Shapes
- Enter semi-major axis (a): 20
- Enter semi-minor axis (b): 12
- Select unit: ft
- Click "Calculate"
Explanation: The area calculation (π × 20 × 12 ≈ 753.98 square feet) helps you determine how much pool liner material you'll need to cover the bottom and sides. The perimeter (approximately 101.31 feet) tells you how many coping stones you need if each stone covers 1 foot. Ovals and ellipses use more complex formulas than circles, but this calculator handles the calculations automatically. The perimeter of an ellipse requires special formulas because it's not as simple as a circle's circumference, making this tool particularly valuable for curved shapes.
Example 8: Working with Irregular-Shaped Plots
Problem: A land plot has four corners with coordinates: (0,0), (30,0), (30,20), and (0,20) feet. Calculate both the area and perimeter of this irregular quadrilateral.
Steps:
- Select "Irregular Polygon" from Special Shapes
- Enter coordinates as JSON: [{"x":0,"y":0},{"x":30,"y":0},{"x":30,"y":20},{"x":0,"y":20}]
- Select unit: ft
- Click "Calculate"
Explanation: For irregular shapes, you provide coordinate points instead of standard measurements. The calculator uses the shoelace method to find the area and calculates the perimeter by measuring distances between consecutive points. In this case, it's actually a rectangle, but the coordinate method works for any polygon shape. This approach is invaluable for land surveys, custom designs, or any situation where you have GPS coordinates or survey data rather than simple length and width measurements. The tool handles the complex geometry automatically.