Input Dimensions
Results
Overview
This geometry calculator finds the area and perimeter of common 2D shapes — circles, triangles and rectangles — and the volume and surface area of five 3D solids: spheres, cylinders, cones, cubes and rectangular prisms. Students can use it to check homework, and homeowners and makers can use it to estimate paint, flooring, soil, concrete or the capacity of a tank.
Each shape uses its standard formula with full-precision π: a circle's area is πr² and its circumference 2πr; a triangle's area comes from Heron's formula using only its three side lengths; a cylinder's volume is πr²h; a cone's is ⅓πr²h with a surface area that includes its slanted side and circular base. Results are shown to up to four decimal places.
The calculator is unit-agnostic: enter every dimension in the same unit (inches, feet, centimeters or meters) and the answer is in that unit, squared for areas and cubed for volumes. Mixing units, such as a radius in inches with a height in feet, will give a wrong answer.
How to Use
- Choose a shape from the Select Shape menu — 2D shapes (Circle, Triangle, Rectangle) or 3D shapes (Sphere, Cylinder, Cone, Cube, Rectangular Prism).
- Enter the dimensions shown for that shape: a radius, three side lengths, length and width, a radius and height, or a single side length. All values must be positive.
- Click Calculate.
- Read the Results panel: Area and Perimeter / Circumference for 2D shapes, or Volume and Surface Area for 3D shapes.
- Click Clear All, or pick a different shape, to reset the inputs.
Frequently Asked Questions
How do you find the area and circumference of a circle?
Area is π times the radius squared (A = πr²) and circumference is 2π times the radius (C = 2πr). For a circle with a radius of 5 cm, the area is π × 25 ≈ 78.5398 cm² and the circumference is 10π ≈ 31.4159 cm. If you only know the diameter, divide it by two to get the radius before entering it.
How do you find the area of a triangle from three sides?
Use Heron's formula. First compute the semi-perimeter s = (a + b + c) ÷ 2, then area = √[s(s − a)(s − b)(s − c)]. For sides 7, 8 and 9, s = 12 and the area is √(12 × 5 × 4 × 3) = √720 ≈ 26.8328 square units. The three sides must satisfy the triangle inequality — each side shorter than the sum of the other two — or the calculator reports that they cannot form a triangle.
How do you calculate the volume of a cylinder?
Multiply the area of the circular base by the height: V = πr²h. A cylinder with a 3-inch radius and 10-inch height holds π × 9 × 10 ≈ 282.7433 cubic inches. Its total surface area, including the top and bottom, is 2πrh + 2πr² ≈ 245.0442 square inches. To convert cubic inches to US gallons, divide by 231.
What is the formula for the volume and surface area of a sphere?
A sphere's volume is V = (4/3)πr³ and its surface area is A = 4πr². With a radius of 6 units, the volume is (4/3) × π × 216 ≈ 904.7787 cubic units and the surface area is 4 × π × 36 ≈ 452.3893 square units. Because volume grows with the cube of the radius, doubling the radius makes the volume eight times larger.
How is the surface area of a cone calculated?
A cone's total surface area is the curved side plus the circular base: A = πrℓ + πr², where ℓ is the slant height √(r² + h²). The calculator finds ℓ for you from the radius and vertical height. For r = 3 and h = 4, ℓ = 5, so the surface area is 15π + 9π ≈ 75.3982 and the volume is ⅓ × π × 9 × 4 ≈ 37.6991.
What units does the geometry calculator use?
It works in whatever unit you type, labeled generically as "units." Enter all dimensions in the same unit and read areas in square units and volumes in cubic units. For example, a rectangular prism measured in feet gives a volume in cubic feet; divide by 27 to convert to cubic yards when ordering concrete or mulch.