Find the perimeter and area of a square, rectangle, circle, or triangle from its dimensions.
Perimeter
— cm
Area — cm²
Inputs and checks
Choose Square, Rectangle, Circle, or Triangle to show the matching dimensions.
Enter positive lengths in one consistent unit; length fields use steps of 0.1.
Use Calculate or change a value to update the result; switching shapes keeps the other shapes’ entered values.
Reading the result
Perimeter is the distance around the shape; area measures the space inside it. Both appear with two decimal places and no unit label.
For triangles, all three sides must be positive and their lengths must form a triangle; otherwise dashes appear. Other shapes do not reject negative dimensions, so enter positive values.
Only the four listed shapes are supported, not arbitrary polygons.
Examples
Rectangle with sides 8 and 5
Input
Select Rectangle; length 8; width 5.
Result
Perimeter 26.00; area 40.00.
How to check it
Add 8 and 5, then double for perimeter 26; multiply 8 by 5 for area 40.
Triangle with sides 3, 4, 5
Input
Select Triangle; sides 3, 4, and 5.
Result
Perimeter 12.00; area 6.00.
How to check it
The three sides add to 12; the 3-4-5 right triangle has area 3 × 4 ÷ 2 = 6.
Frequently asked questions
Can I use metres instead of centimetres?
Yes. Use the same length unit for every input. The results have no unit suffix.
Why does my triangle show dashes?
The sides must be positive, and any two sides together must be longer than the third.
Can I enter a five-sided shape?
No. Use the Regular Polygon Calculator for equal-sided, equal-angled polygons.