Area and Perimeter Calculator
Pick a shape, enter its measurements, and Axiom shows the formula and working.
How to use this calculator
Pick the unit first: it labels every field and result, and the tool never converts between units. Then choose a shape and say what you know: a triangle takes either its base and perpendicular height or its three sides, and a circle takes a radius or a diameter. Press Calculate and the diagram and working name each step.
How the calculation works
Perimeter measures the boundary; area measures the space inside. A rectangle has P = 2(length + width) and A = length × width; a square is the special case with four equal sides, P = 4s and A = s². A triangle has A = base × perpendicular height ÷ 2 and P = side a + side b + side c. A parallelogram has A = base × perpendicular height and P = 2(base + slant side). A trapezium has A = (parallel side a + parallel side b) × height ÷ 2 and P = a + b + c + d. A rhombus has A = diagonal p × diagonal q ÷ 2 and P = 4s. A circle has circumference 2πr and area πr², where r is half the diameter.
Worked examples
1. Measure a rectangle
For a rectangle 6 cm by 4 cm, enter 6 and 4. Perimeter = 2(6 + 4) = 20 cm; area = 6 × 4 = 24 cm².
2. Use a triangle’s perpendicular height
For an isosceles triangle with sides 5, 5, 6 cm, use base 6 and height 4. Area = 6 × 4 ÷ 2 = 12 cm²; perimeter = 5 + 5 + 6 = 16 cm.
3. Measure a circle
With radius 3 cm, circumference = 6π cm, approximately 18.84955592 cm. Area = 9π cm², approximately 28.27433388 cm².
Frequently asked questions
Why is area written in square units?
Area counts unit squares, so multiplying centimetres by centimetres gives cm². Perimeter is a single length, so it stays in cm.
Can I use a triangle’s sloping side as its height?
Only if that side is perpendicular to the chosen base. Otherwise you need the altitude, not a slanted edge.
Does the tool check that triangle measurements fit together?
Every set of numbers it is given has to describe one shape. Three triangle sides must satisfy the triangle inequality, so the two shorter sides add up to more than the longest; a base and a perpendicular height need no other check, and that mode returns the area alone because the perimeter needs sides it does not have. A rhombus is built from its two diagonals, so its side and perimeter can never contradict its area. A trapezium’s sloping sides are refused unless they lean exactly across the gap between the parallel sides, and a parallelogram’s slant side cannot be shorter than the height.
Is a trapezium the same as a trapezoid?
Yes — two names for a four-sided shape with one pair of parallel sides. Trapezium is common in UK English and trapezoid in US English; the formulas are identical either way.
Can I enter the diameter instead of the radius?
Choose Diameter on the Circle tab and enter it; the working halves it as step 1, so a diameter of 10 gives a radius of 5. Convert mixed length units before calculating, because the tool does not convert them automatically.
Keep learning with related tools
Use the Unit Converter before combining measurements, and the Pythagorean tool when a right triangle’s height is missing. The area and perimeter lesson helps distinguish boundary length from enclosed space. Related tools: Unit Converter, Pythagorean Theorem Calculator. Read the Perimeter & Area lesson or practice perimeter & area to build confidence without relying on a calculator.