Area and Volume Calculator
Area and perimeter of circles, rectangles and polygons, and volume and surface area of cubes, cylinders, cones and spheres.
Runs in your browser. Nothing is uploaded.
Area
–
Formulas
How to use the Area and Volume Calculator
- Choose a shape: a flat shape for area or a solid for volume.
- Enter its measurements and pick the unit.
- Read the area and perimeter, or the volume and surface area.
- For solids, the capacity is also shown in litres and US gallons.
Area, perimeter, volume and surface area
Whether you’re working out paint for a wall, soil for a planter, water in a tank or a homework question, this calculator covers the common shapes in one place. Pick a shape, enter its measurements, and see the answer with the formula behind it.
Flat shapes
| Shape | Area | Perimeter |
|---|---|---|
| Rectangle | length × width | 2(l + w) |
| Circle | πr² | 2πr |
| Triangle | ½ × base × height | – |
| Trapezoid | ½(a + b) × h | – |
| Regular polygon | n s² ÷ (4 tan(π/n)) | n × s |
Solids
| Shape | Volume | Surface area |
|---|---|---|
| Cuboid | l × w × h | 2(lw + lh + wh) |
| Cylinder | πr²h | 2πr(r + h) |
| Sphere | ⁴⁄₃πr³ | 4πr² |
| Cone | ⅓πr²h | πr(r + √(r² + h²)) |
| Square pyramid | ⅓s²h | s² + 2s√(s²/4 + h²) |
Units
Choose millimetres, centimetres, metres, kilometres, inches, feet, yards or miles. Areas come out in square units and volumes in cubic units. For solids, the calculator also gives the capacity in litres and US gallons, which makes it easy to size tanks, aquariums and containers.
Radius, not diameter
Circles, cylinders, cones and spheres use the radius, half the distance across. If you measured straight across, halve it first.
Private
All calculations run in your browser.
Frequently asked questions
Which shapes are included?
Flat shapes: square, rectangle, circle, triangle, trapezoid, parallelogram, ellipse, circle sector and regular polygon. Solids: cube, cuboid, sphere, hemisphere, cylinder, cone and square pyramid.
How do I get litres from a volume?
Choose the unit you measured in, and the calculator converts the volume to litres. One litre is 1,000 cm³, and one cubic metre is 1,000 litres.
Why is there no perimeter for a trapezoid?
The perimeter of a trapezoid or parallelogram needs the slanted sides as well, which the area formula doesn't use. Add all four side lengths to get it.
How accurate is the ellipse perimeter?
There is no simple exact formula, so the calculator uses Ramanujan's approximation, which is accurate to a tiny fraction of a percent for everyday shapes.
Is anything uploaded?
No. Everything is calculated in your browser.
Tutorials
How to work out how many litres a tank holds
Measure a rectangular tank, find its volume in cubic centimetres and convert it to litres with the area and volume calculator.