What this geometry calculator can find
This free geometry calculator brings common area, perimeter, volume, and surface-area calculations together in one place. It works with plane figures such as circles and polygons and three-dimensional solids such as cylinders and prisms. Select a shape to see only the measurements needed for that calculation; optional dimensions are clearly marked.
Area and perimeter
Area measures the two-dimensional region enclosed by a shape. It is reported in square units, such as cm². Perimeter measures the total boundary length; a circle’s perimeter is called its circumference. These are different quantities, so area uses squared units while perimeter uses ordinary length units.
Volume and surface area
Volume measures the space inside a solid and uses cubic units, such as m³. Surface area is the combined area of the solid’s outside faces and uses square units. For curved solids, curved area and total surface area can differ because total area includes any flat bases.
Common 2D geometry formulas
For a flat shape, choose the formula that matches the information you know. The calculator labels each result in the selected unit and shows which measurements were substituted.
| Shape | Area | Perimeter or boundary |
|---|
| Square | A = s² | P = 4s |
| Rectangle | A = lw | P = 2(l + w) |
| Triangle | A = bh/2 or √[s(s−a)(s−b)(s−c)] | P = a + b + c |
| Circle | A = πr² | C = 2πr |
| Semicircle | A = πr²/2 | P = πr + 2r |
| Parallelogram | A = bh | P = 2(a + b) |
| Rhombus | A = d₁d₂/2 | P = 4s |
| Trapezoid | A = (a + b)h/2 | P = a + b + c + d |
| Kite | A = d₁d₂/2 | P = 2(a + b) |
| Regular n-gon | A = ns²/[4 tan(π/n)] | P = ns |
Common 3D geometry formulas
For solids, use perpendicular heights in volume formulas. Slant height is a different measurement and is used for a cone’s or pyramid’s lateral surface area.
| Solid | Volume | Surface area |
|---|
| Cube | V = s³ | S = 6s² |
| Cuboid | V = lwh | S = 2(lw + lh + wh) |
| Sphere | V = 4πr³/3 | S = 4πr² |
| Hemisphere | V = 2πr³/3 | S = 3πr² including the base |
| Cylinder | V = πr²h | S = 2πr(h + r) |
| Cone | V = πr²h/3 | S = πr(r + ℓ), ℓ = √(r² + h²) |
| Square pyramid | V = s²h/3 | S = s² + 2sℓ |
| Triangular prism | V = AᵦL | S = PᵦL + 2Aᵦ |
| Regular polygonal prism | V = Aᵦh | S = Pᵦh + 2Aᵦ |
How to use the geometry calculator
- Choose whether to work with a 2D shape or a 3D solid from the Shape menu.
- Select the measurement method when more than one valid method is available. For example, a triangle’s area can use base and perpendicular height or all three sides with Heron’s formula.
- Choose one length unit and enter each measurement in that same unit. Enter positive values; polygon side counts must be whole numbers.
- Select Calculate. The answer appears beside the inputs on desktop and directly below them on smaller screens.
- Review the formula and substitutions, then copy the measurements if you need them for homework or a design check.
Worked geometry examples
Rectangle: area, perimeter, and diagonal
For length 12 cm and width 5 cm, area is 12 × 5 = 60 cm², perimeter is 2(12 + 5) = 34 cm, and diagonal is √(12² + 5²) = 13 cm.
Triangle: area from three sides
For sides 5, 6, and 7 cm, the semiperimeter is 9 cm. Heron’s formula gives √[9 × 4 × 3 × 2] = 6√6 ≈ 14.697 cm²; the perimeter is 18 cm.
Circle: circumference and area
A circle with radius 5 cm has area 25π ≈ 78.540 cm² and circumference 10π ≈ 31.416 cm.
Cylinder: volume and outside area
For radius 3 cm and height 8 cm, volume is 72π ≈ 226.195 cm³. Total surface area is 66π ≈ 207.345 cm², including both circular ends.
Cone: derive slant height first
With radius 3 cm and perpendicular height 4 cm, slant height is √(3² + 4²) = 5 cm. Volume is 12π ≈ 37.699 cm³; total surface area is 24π ≈ 75.398 cm².
Geometry calculator questions
What is a geometry calculator?
It is a tool that applies geometric formulas to dimensions you provide. This page calculates measures for common 2D figures and 3D solids, with units and working shown.
How do I calculate the area of a shape?
Choose the shape and use the matching dimensions. For example, rectangle area is length times width; a triangle’s area is half its base times its perpendicular height; and circle area is π times radius squared.
What is the difference between area and perimeter?
Area is the amount of flat surface enclosed by a shape. Perimeter is the distance around its boundary. Area uses square units; perimeter uses linear units.
How do I calculate the volume of a 3D shape?
Select a solid and enter its dimensions. The calculator applies its volume formula, such as V = πr²h for a cylinder or V = lwh for a cuboid, and reports cubic units.
What is the difference between surface area and volume?
Surface area measures the outside of a solid and uses square units. Volume measures the space inside it and uses cubic units.
Can I use different units?
Yes. Choose millimeters, centimeters, meters, kilometers, inches, feet, or yards. Enter all dimensions in the selected unit; the result labels use that unit, its square, or its cube as appropriate.
Is this geometry calculator free?
Yes. You can calculate without creating an account.
Can students use it for homework?
Yes. Use the steps to understand how a formula is substituted and evaluated, and check that your input measurements match the problem statement.
When can a triangle’s perimeter be calculated?
The perimeter needs all three side lengths. If you enter only a base and height, the triangle’s area is determined, but its other side lengths and perimeter are not.
Related geometry calculators
Open a focused calculator for a particular measurement or shape: