How this calculation works
Choose the shape before entering dimensions. A square uses one side, a circle uses a radius, a rectangle uses length and width, and a right triangle uses its perpendicular legs. The result distinguishes squared-unit area from ordinary-unit perimeter and redraws the boundary using equal coordinate scales.
Rectangle: A=lw, P=2(l+w); circle: A=πr², C=2πr; right triangle: A=ab/2A worked example
A rectangle measuring 5 by 3 units encloses 15 square units and has perimeter 2(5+3) = 16 units. A right triangle with legs 3 and 4 has area 6, hypotenuse 5 and perimeter 12.
Good to know
Positive dimensions up to one million units. Shapes are flat and ideal; circle input is radius, and triangle inputs must meet at a right angle. No arbitrary polygon, wall thickness, geodesic measurement or unit conversion is inferred. Rounded displays do not establish measurement precision.
Reference: OpenStax Prealgebra: geometry and measurement (opens in a new tab) ↗
The same perimeter can enclose different areas
A 1-by-9 rectangle and a 5-by-5 square both have perimeter twenty units. Their areas are nine and twenty-five square units. Boundary length therefore does not determine enclosed area by itself, even within the rectangle family.
Scaling every length by two multiplies perimeter by two and area by four. This comes from multiplying two lengths in an area formula. The circle calculator demonstrates the same distinction between circumference and area, while the Pythagorean calculator supplies a right triangle’s missing hypotenuse.
The circle field is a radius, not a diameter. For a right triangle, the two entered legs meet at ninety degrees and provide the base and perpendicular height directly. An arbitrary pair of sides from a non-right triangle does not justify the same half-product formula.
Use the sketch to inspect proportions, then read the units
The SVG uses equal horizontal and vertical scales, so a long narrow rectangle remains long and narrow. It depicts the selected ideal shape from the supplied dimensions. A sketch at browser size is still not a measurement tool for the original physical object.
Linear quantities use ordinary units, and area uses their square. If one entered dimension is centimetres and another is metres, convert them before applying the formula. The length converter can put a measurement into one common unit first.
For a three-dimensional closed object, use the surface area calculator. Adding the areas of exterior faces is a different task from finding the area enclosed by one flat boundary. Neither result automatically includes waste, overlap, thickness or application coverage.
A few questions, answered
Why are the triangle inputs called perpendicular legs?
The half-product formula and hypotenuse calculation assume a right angle between them.
Does the circle input mean diameter?
No. Enter the radius, which is half the diameter.
Can two shapes have equal perimeter but unequal area?
Yes. The 1×9 and 5×5 rectangle examples both have perimeter 20 but different areas.