Area, perimeter, volume and surface area for 24 flat shapes and solids, in metric or imperial units, with formulas, drawings to scale and checks.
Initializing in your browser…
A scientific calculator with exact fractions and decimals, degrees or radians, 34 functions and a desk-calculator mode. Rounded answers are labelled as rounded.
Plot up to eight functions of x, find their roots, turning points and intersections, shade integrals and draw derivatives. Pan, zoom and share any graph.
Plot 3D surfaces from z = f(x, y), polar z = f(r, theta) or parametric formulas, rotate them by mouse or touch, and export STL or OBJ for 3D printing.
You are edging an oval table top 1.6 m long and 0.9 m wide and need the length of edge banding, plus the area for varnish.
Ellipse, in metres
Semi-major axis a = 0.8 Semi-minor axis b = 0.45
Results
Area: 1.13097335529 m² Perimeter: 4.00434461279 m Ramanujan's approximation: 4.00434461248 m Eccentricity: 0.826797284708
The semi-axes are half the length and width. The area is π × 0.8 × 0.45, about 1.13 m². The perimeter of an ellipse has no simple formula, so the tool computes it numerically and gets 4.004 m, which matches a direct numerical integration of the definition; Ramanujan's formula is only 0.3 nanometres short here. Buy a little over 4 m of banding to allow for the joint.
Area, perimeter, volume and surface area for 24 shapes, from circles and triangles to cones, tori and tetrahedra. Pick a shape, type its measurements in any unit from millimetres to miles, and every result appears with its formula, a drawing to scale for flat shapes, and the same results in other units.
Twelve flat shapes and twelve solids. The flat shapes are the circle, ellipse, annulus (ring), circular sector, rectangle, parallelogram, rhombus, trapezoid, regular polygon and three kinds of triangle: from three sides, from a base and a height, and from two sides and the angle between them. The solids are the sphere, hemisphere, cylinder, cone, cone frustum, torus, ellipsoid, cube, cuboid, square pyramid, triangular prism and regular tetrahedron. Each gives more than the headline figure: a triangle from three sides also gets all three angles, its heights, the inradius and the circumradius; a regular polygon gets its interior angle, apothem and circumradius; a cone gets its slant height and lateral area.
Honest about what your numbers decide. Some measurements do not pin a shape down. A base of 10 and a height of 6 always give a triangle of area 30, but the perimeter depends on where the top corner sits, so the tool shows the two common cases by name: right-angled (27.66) and isosceles (25.62). A parallelogram needs a slanted side as well as a base and height, and a trapezoid needs to know how far its top edge is shifted; leave the offset blank for the symmetrical case. A short note under the inputs says what each shape assumes.
Accurate where formulas get awkward. The perimeter of an ellipse has no simple formula. The tool computes it numerically to full double precision and shows Ramanujan's well-known approximation beside it with the size of its error. An ellipsoid's surface area is given by Knud Thomsen's formula, which is marked as an approximation. The area of a triangle from three sides uses a careful rearrangement of Heron's formula that stays accurate for long, thin triangles, where the textbook version loses digits, and the textbook value is shown alongside for comparison.
Checked, drawn and converted. Each result is checked against a second route where one exists: the angles of a triangle must add to 180 degrees and satisfy the law of sines, a parallelogram's diagonals must obey the parallelogram law, and a torus must agree with Pappus's theorem. Flat shapes are drawn to scale, which makes a mistyped measurement easy to spot. A table converts lengths, areas and volumes into millimetres, centimetres, metres, kilometres, inches, feet, yards and miles; areas convert by the square of the length factor and volumes by the cube, and because the inch is exactly 2.54 cm every conversion is exact. Impossible measurements, such as a negative radius or sides that cannot close into a triangle, are explained instead of producing a number.
From three sides: area 6, perimeter 12, angles 36.87, 53.13 and 90 degrees, inradius 1 and circumradius 2.5, half the hypotenuse.
Base 10 and height 6 give an area of 30. The perimeter is 27.66 if the triangle is right-angled and 25.62 if it is isosceles.
A 100 cm by 100 cm rectangle has an area of 10,000 cm², which is exactly 1 m² and 10.7639 square feet.
Work out the area of a flower bed, the volume of a planter, or how much edging an oval table needs.
Check areas, volumes and triangle angles, and see the formula used for each.
Find the volume of concrete for a cylindrical footing or the surface area of a box to be painted, in metric or imperial units.
Show why a base and height fix a triangle's area but not its perimeter, or how Ramanujan's ellipse formula compares with the exact value.
Because a base and a height fix the area and nothing else. The top corner can slide along a line parallel to the base without changing the area, and every position gives different sides. The tool shows the two cases people usually mean: a right-angled triangle with the corner above one end, and an isosceles triangle with it above the middle.
It is computed numerically to the full precision of the calculation, so for practical purposes yes. There is no simple closed formula for it. Ramanujan's approximation is shown beside it with its error, which is tiny for most ellipses and grows for very long, thin ones.
Millimetres, centimetres, metres, kilometres, inches, feet, yards and miles. Choose the unit your measurements are in; the results come out in the same unit, and the table at the bottom gives every length, area and volume in all eight.
A side or radius of zero or less does not describe a shape, so any area or volume computed from it would be meaningless. The message says which measurement needs fixing.
Each one recomputes something a second way. For a triangle the angles must add to 180 degrees and the law of sines must hold; for a torus the volume and surface must match Pappus's theorem. A tick means the two routes agree on the numbers shown.
From 3 up to 1,000, given the length of one side. The results include the circumradius, the distance from the centre to a corner, and as the number of sides grows the area gets ever closer to that of the circle with that radius.
Every calculation runs locally in your browser. Your numbers and expressions are not transmitted or stored.