Geometry Calculator
Area, perimeter, and volume calculations.
Understanding Geometry Calculator
Geometry is the branch of mathematics concerned with the measurement and relationships of shapes, figures, surfaces, angles, distances, and three-dimensional objects. Geometric calculations are used to determine quantities such as area, perimeter, circumference, volume, surface area, diameter, radius, and diagonal length.
This Geometry Calculator brings several common geometric shapes into one tool. You can select a rectangle, circle, triangle, sphere, or cylinder and enter the dimensions required for that shape. The calculator then applies the appropriate mathematical formulas and presents the result together with the intermediate calculations.
Before you read the final number
Geometry Calculator is intended to show the mathematical relationship behind the answer, not just return a number. Enter the quantities requested by the selected method—such as Width, Height—and keep their units or mathematical meaning consistent. Where this calculator offers different shapes, methods, or forms, choose the one that matches the problem before entering the values.
A useful detail to keep in mind
For a useful check, look at the units and the scale of the answer before accepting it. A formula can be evaluated correctly while an input is still inappropriate for the problem. Repeating the calculation with a simple test value or checking the result against the expected direction of change can help identify an input mistake.
About Geometry Calculator
Geometry is the branch of mathematics concerned with the measurement and relationships of shapes, figures, surfaces, angles, distances, and three-dimensional objects. Geometric calculations are used to determine quantities such as area, perimeter, circumference, volume, surface area, diameter, radius, and diagonal length.
This Geometry Calculator brings several common geometric shapes into one tool. You can select a rectangle, circle, triangle, sphere, or cylinder and enter the dimensions required for that shape. The calculator then applies the appropriate mathematical formulas and presents the result together with the intermediate calculations.
Two-dimensional shapes are generally described using measurements such as area and perimeter. Area measures the amount of two-dimensional surface enclosed by a figure and is expressed in square units. Perimeter measures the total distance around the boundary of a two-dimensional figure and is expressed in linear units.
Three-dimensional objects have volume and surface area. Volume measures the amount of space occupied by an object and is expressed in cubic units. Surface area measures the total area of all exposed surfaces and is expressed in square units.
Rectangle
A rectangle is a quadrilateral with four right angles. Its opposite sides have equal lengths. If the width is w and the height is h, the area is found by multiplying the two dimensions, while the perimeter is twice the sum of the width and height.
A = w × h
Rectangle Perimeter
P = 2(w + h)
Rectangle Diagonal
d = √(w² + h²)
The diagonal formula follows from the Pythagorean theorem because the width, height, and diagonal form a right triangle.
Circle
A circle is the set of all points in a plane that are the same distance from a fixed center. This distance is the radius. The diameter passes through the center and has twice the length of the radius.
A = πr²
Circumference
C = 2πr
Diameter
d = 2r
The constant π represents the ratio between a circle's circumference and its diameter. Its value is approximately 3.141592653589793. Because π is irrational, many circle calculations produce decimal approximations.
Triangle
A triangle is a polygon with three sides and three angles. The area of a triangle can be calculated from its base and corresponding perpendicular height. The height must be measured perpendicular to the selected base.
A = ½ × b × h
Unlike a rectangle or circle, the perimeter of a triangle cannot be determined from only its base and height. The lengths of the three sides, or enough additional information to determine them, are required to calculate the perimeter.
Sphere
A sphere is a three-dimensional object in which every point on its surface is the same distance from its center. This distance is the radius. A sphere has no edges or vertices and has a continuous curved surface.
V = ⁴⁄₃πr³
Sphere Surface Area
SA = 4πr²
Sphere Diameter
d = 2r
Notice that volume depends on the cube of the radius, while surface area depends on the square of the radius. Consequently, increasing the radius can cause the volume to increase much more rapidly than the surface area.
Cylinder
A cylinder is a three-dimensional solid with two parallel, congruent circular bases connected by a curved surface. Its dimensions are commonly described by a radius and a height.
A = πr²
Cylinder Volume
V = πr²h
Lateral Surface Area
LA = 2πrh
Total Surface Area
SA = 2πr(r + h)
The total surface area of a cylinder includes the two circular bases as well as the curved lateral surface. The lateral surface area represents only the curved portion surrounding the cylinder.
Area, Perimeter, Surface Area, and Volume
It is important to distinguish between these geometric quantities. Area measures a two-dimensional region, perimeter measures the boundary around a two-dimensional figure, surface area measures the exterior surfaces of a three-dimensional object, and volume measures the space contained inside a three-dimensional object.
Area: square units
Surface Area: square units
Volume: cubic units
Pythagorean Theorem
The Pythagorean theorem is one of the most important relationships in elementary geometry. For a right triangle, the square of the hypotenuse equals the sum of the squares of the two shorter sides. It is especially useful when finding the diagonal of a rectangle.
For a rectangle with width w and height h, the diagonal can therefore be calculated as:
Examples
Width = 10
Height = 5
Area = 10 × 5 = 50 square units
Perimeter = 2 × (10 + 5) = 30 units
Diagonal = √(10² + 5²) ≈ 11.1803 units
Radius = 5
Area = π × 5² ≈ 78.5398 square units
Circumference = 2π × 5 ≈ 31.4159 units
Base = 10
Height = 5
Area = ½ × 10 × 5
Area = 25 square units
Radius = 5
Volume = ⁴⁄₃π(5³) ≈ 523.5988 cubic units
Surface Area = 4π(5²) ≈ 314.1593 square units
Radius = 5
Height = 10
Volume = π(5²)(10) ≈ 785.3982 cubic units
How to Use the Geometry Calculator
Select the geometric shape you want to calculate and enter its required dimensions. The calculator automatically changes the input fields according to the selected shape. After selecting Calculate, the result displays the primary geometric measurement together with supporting calculations and formulas.
For rectangles, enter the width and height. For circles and spheres, enter the radius. For triangles, enter the base and perpendicular height. For cylinders, enter the radius and height.
Important Mathematical Considerations
Dimensions should be positive real numbers for the geometric objects supported by this calculator. A zero or negative dimension does not represent a valid positive-length geometric measurement for these calculations.
The calculator does not assume a particular physical unit. If the dimensions are entered in centimeters, the resulting area is in square centimeters and volume is in cubic centimeters. If dimensions are entered in meters, the corresponding results are square meters and cubic meters.
For triangles, the supplied height is interpreted as the perpendicular height corresponding to the entered base. For this reason, the area can be calculated accurately from these two values even when the triangle's other side lengths are not provided.
Common Uses of Geometry
Geometry calculations are used in construction, architecture, engineering, interior design, manufacturing, surveying, education, physics, computer graphics, and everyday measurements. Area can be used to estimate floor or surface coverage, perimeter can help determine boundary lengths, and volume can be used to estimate capacity or the amount of space occupied by an object.
Disclaimer
This calculator is intended for informational purposes only. While we strive for accuracy, we cannot guarantee that every result is correct for every situation.