Trapezoid
A = (B + b) × h ÷ 2
The average of the two bases times the height.
Geometry solver for 19 flat shapes and solids: square, rectangle, circle, triangles, trapezoid, rhombus, ellipse, sector, regular polygon, cube, cuboid, sphere, cylinder, cone, pyramid and torus. Enter what you know and the tool derives every quantity it can, with the formulas explained.
Choose the shape to solve.
Square
Select the information you already have.
Select the information you already have.
Results update instantly.
Enter valid dimensions to display results.
This geometry calculator solves the main flat shapes and common solids from only the dimensions you know. Pick a shape, enter for example a radius, two sides and an angle, or three dimensions, and the tool works out every quantity that can be derived: area, perimeter, diagonals, angles, apothem, lateral or total surface area and volume. It replaces a dozen separate calculators for revision, homework or job-site estimates.
The calculator works as a solver: for each shape, several combinations of inputs are offered where possible. A circle can be solved from its radius, diameter or circumference; a triangle from three sides, a base and a height, or two sides and the included angle; a right triangle from its two legs or from the hypotenuse and one leg.
The shapes covered are, in 2D: square, rectangle, circle, general triangle, right triangle, trapezoid, parallelogram, rhombus, ellipse, annulus, circular sector and regular polygon; in 3D: cube, cuboid (rectangular box), sphere, cylinder, cone, square pyramid and torus.
Each field has its own unit: lengths are converted to a common unit before the calculation, then the results are expressed in the unit of the first field, squared for areas and cubed for volumes. Angles can be entered in degrees, radians or gradians.
Only quantities that can genuinely be derived are shown. A base and a height are enough for the area of a triangle, but not for its perimeter, so the tool does not make one up. Inconsistent data, such as three sides that break the triangle inequality or a tube radius larger than the major radius of a torus, produce no result.
Only one result is an approximation: the perimeter of an ellipse, which has no simple exact formula. The tool uses Ramanujan's approximation, which is very accurate for everyday ellipses.
Select a 2D shape or a 3D solid from the list.
When several methods exist, choose the combination of dimensions you have.
Type the values with their units; every result that can be calculated appears immediately.
A selection of the relationships the solver applies, for flat shapes and solids.
A = (B + b) × h ÷ 2
The average of the two bases times the height.
A = D × d ÷ 2
The product of the diagonals divided by two.
A = P × a ÷ 2, with a = c ÷ (2 tan(π ÷ n))
Half the product of the perimeter and the apothem a.
P ≈ π(3(a + b) − √((3a + b)(a + 3b)))
Approximation of the perimeter; the exact area is πab.
V = π × r² × h
The base area times the height.
V = base area × h ÷ 3
One third of the cylinder or prism with the same base and height.
V = 4/3 × π × r³, S = 4πr²
Volume and surface area of a ball of radius r.
Example: a ball with a 6 cm radius has a volume of 288π ≈ 904.8 cm³.
Check an area, perimeter or volume from middle school to high school, and verify intermediate values: diagonal, slant height, apothem, angles.
Calculate the volume of a tank, a planter, a silo, a raised bed or a hole in m³ or ft³, then convert it to liters (1 m³ = 1,000 L).
Estimate the lateral area of a cylinder to paint, the surface of a conical roof or an annulus to pave.
Size a regular polygon, a sector or an ellipse for cutting, 3D printing or woodworking.
V = π × 0.5² × 1.2 ≈ 0.942 m³, about 942 liters (roughly 249 US gallons).
Input
cylinder, r = 0.5 m, h = 1.2 mResult
V ≈ 0.942 m³V = 4/3 × π × r³ and S = 4πr²; the volume is about 4.19 liters.
Input
r = 10 cmResult
V ≈ 4,188.8 cm³, S ≈ 1,256.6 cm²The slant height is √(3² + 4²) = 5 cm; V = π × 9 × 4 ÷ 3 ≈ 37.70 cm³ and the total surface area is π × 3 × (3 + 5) ≈ 75.40 cm².
Input
r = 3 cm, h = 4 cmResult
slant height 5 cm, V ≈ 37.70 cm³(10 + 6) × 4 ÷ 2 = 32 m²; the midline is 8 m.
Input
bases 10 and 6 m, height 4 mResult
A = 32 m²Apothem ≈ 1.732 cm, perimeter 12 cm, A = 12 × 1.732 ÷ 2 ≈ 10.39 cm².
Input
6 sides of 2 cmResult
A ≈ 10.39 cm²The arc length is r × θ (θ in radians) and the area r² × θ ÷ 2.
Input
r = 5 cm, angle 60°Result
arc ≈ 5.24 cm, A ≈ 13.09 cm²Twelve flat shapes (square, rectangle, circle, general and right triangle, trapezoid, parallelogram, rhombus, ellipse, annulus, sector, regular polygon) and seven solids (cube, cuboid, sphere, cylinder, cone, square pyramid, torus).
A shape is not always fully determined by the data you enter. With a base and a height, the area of a triangle is known but not its sides, so not its perimeter either. The solver only shows what can be calculated with certainty.
V = π × r² × h: the area of the circular base times the height. With r = 10 cm and h = 30 cm, V ≈ 9,425 cm³, or about 9.4 liters.
Sphere: V = 4/3 × π × r³. Cone: V = π × r² × h ÷ 3, one third of the cylinder with the same base and height. The same goes for a pyramid compared with a prism.
No, it is an approximation: there is no simple exact formula. The tool uses Ramanujan's, whose error is negligible for everyday use.
Yes. Each dimension has its own selector (mm, cm, m, km, inches, feet, yards) and the conversion happens before the calculation.
Related tools
Tools similar or complementary to this one.
Find the hypotenuse or a missing leg of a right triangle, or check whether a triangle is right-angled with the converse, with a full worked solution.
Find the area of a circle from its radius, diameter or circumference, in the unit of your choice.
Find the area of a triangle from the base and height, all three sides (Heron's formula) or two sides and the included angle.
Learn how to calculate areas, perimeters, diagonals, angles, surfaces and volumes, and open the Bethemesh geometry calculator directly on the shape you need.
Understand and convert length, mass, volume, temperature, speed, pressure, energy, digital storage and many other units with practical examples.