Area & Perimeter Calculator
Calculate area and perimeter for rectangles, triangles, circles, trapezoids, ellipses, and regular polygons with formula diagrams.
Rectangle Dimensions
Results
Area
—
—
Perimeter
—
—
Enter the required dimensions above to see results.
All Formulae
Rectangle A = l×w, P = 2(l+w)
Square A = s², P = 4s
Triangle A = bh/2, P = a+b+c
Parallelogram A = bh, P = 2(b+s)
Trapezoid A = (a+b)h/2, P = a+b+leg&sub1;+leg&sub2;
Rhombus A = d&sub1;×d&sub2;/2, P = 4×√((d&sub1;/2)²+(d&sub2;/2)²)
Ellipse A = πab, P ≈ π(3(a+b) − √((3a+b)(a+3b)))
Regular Polygon A = ns²/(4tan(π/n)), P = ns
How to use Area & Perimeter Calculator
-
Select a shape
Choose from rectangle, square, triangle, parallelogram, trapezoid, rhombus, ellipse, or regular polygon using the shape selector.
-
Enter dimensions
Fill in the required measurements. The input labels update to match your shape — base, height, radius, side length, etc.
-
Read area and perimeter
Results appear instantly with the formula used. Both area and perimeter are displayed with appropriate units.
-
Check the diagram
The labeled SVG diagram confirms which dimension corresponds to each input field.
-
Adjust and compare
Change any dimension to instantly see how it affects area and perimeter — useful for optimization problems.
Area & Perimeter Calculator FAQ
What shapes are supported?
What formula is used for triangle area?
What formula is used for a trapezoid?
How do I calculate the area of a regular polygon?
What is the difference between area and perimeter?
Can I use this for homework?
What units should I use?
What is a regular polygon?
How is ellipse area different from circle area?
Is any data sent to a server?
Background
Select a 2D shape and enter its dimensions to instantly calculate area and perimeter with the correct formula shown. Supports rectangle, square, triangle, parallelogram, trapezoid, rhombus, ellipse, and regular polygons with 3 to 12 sides. Each result includes a labeled SVG diagram so you can confirm the dimensions match your problem. Ideal for homework, architecture, landscaping, and engineering sketches. Works for students from middle school through college and professionals who need fast geometry checks. The formulas shown include derivations so you can follow the math, not just copy the answer. Trapezoid area uses (a + b)/2 × h; ellipse uses π × a × b; polygon uses the standard apothem formula. No account, no ads in the tool area, and all processing stays in your browser — nothing is sent to a server. Results update instantly as you type, making it easy to explore how changing one dimension affects the others.
Related tools
Volume & Surface Area Calculator
Calculate volume and surface area for spheres, cylinders, cones, cubes, rectangular prisms, pyramids, and more. Capacity conversion included.
Circle Calculator
Calculate radius, diameter, circumference, and area from any single value. Arc length and sector area included with an SVG diagram.
Triangle Calculator
Solve any triangle using SSS, SAS, ASA, AAS, or right-triangle mode. Get sides, angles, area, perimeter, and a live SVG diagram with step-by-step solutions.
Percentage Calculator
Calculate X% of Y, find what percentage X is of Y, or compute percentage increase and decrease. Results update as you type.
Ratio Calculator
Simplify ratios, scale to a target value, compare two ratios for equivalence, and convert between ratios, fractions, and percentages. Aspect ratio presets included.