About the Area & Volume Calculator
Find the area of a circle, rectangle, triangle or trapezoid, or the volume of a sphere, cylinder, rectangular prism or cone, with the formula shown under every answer. DIY projects, homework and material estimates are the usual reasons. The tool is unit-agnostic: enter every measurement in the same unit and the answer comes back in square or cubic units of that unit.
How to use the Area & Volume Calculator
- Choose 2D Area or 3D Volume.
- Pick a shape from the Shape dropdown.
- Fill in every field shown, such as Radius (r) and Height (h), using one unit throughout.
- Read the Area or Volume (up to six decimal places) and the formula used.
Worked example: how much water a cylindrical rain barrel holds
A barrel with a 0.3 m radius and a 1.2 m height. Choose 3D Volume, then Cylinder, and enter 0.3 and 1.2. Volume = pi x 0.3 x 0.3 x 1.2 = 0.339292 cubic meters, shown with the formula pi x r² x h.
Since 1 cubic meter is 1,000 liters, the barrel holds about 339.3 liters.
| Shape | Inputs | Result |
|---|---|---|
| Circle | r = 4 | 50.265482 |
| Trapezoid | a = 6, b = 10, h = 4 | 32 |
| Sphere | r = 3 | 113.097336 |
| Cone | r = 3, h = 4 | 37.699112 |
Units and conversions
Because the tool does not convert units, mixing them is the most common error. A cylinder measured as 30 cm radius and 1.2 m height must be entered as 0.3 and 1.2 (meters) or 30 and 120 (centimeters). The two give 0.339292 cubic meters and 339,292 cubic centimeters, the same volume.
Area scales with the square of the unit and volume with the cube: 1 m² = 10,000 cm² and 1 m³ = 1,000,000 cm³ = 1,000 liters. One cubic foot is about 7.48 US gallons. For other conversions, use the unit converter, and to turn a volume into a mass, the density calculator.
Common mistakes
- Entering the diameter as the radius. Halve the diameter first; using the full diameter makes a circle's area four times too big and a sphere's volume eight times too big.
- Using a slanted side as a triangle or trapezoid height. The height must be perpendicular to the base.
- For a trapezoid, Side a and Side b are the two parallel sides, not the slanted ones.
- For a cube, choose Rectangular Prism and enter the same length three times. Zero or negative values produce no result.
Geometry in the real world
Calculating area and volume is essential for construction, manufacturing, landscaping, and design. A contractor needs the area of a room to estimate flooring costs. A painter needs the area of walls to calculate paint required. A farmer needs the area of a field to determine seeding rates and irrigation needs.
Volume calculations determine material quantities: concrete for a cylindrical foundation, gravel for a conical pile, water for a spherical tank. Shipping and storage depend on volume—calculate how many items fit in a container or how much liquid a tank holds.
Area formulas for common shapes
Circle: pi times r^2. Rectangle: length times width. Triangle: (1/2) times base times height. Trapezoid: (1/2) times (a + b) times height where a and b are parallel sides. Parallelogram: base times perpendicular height. Ellipse: pi times a times b where a and b are the semi-major and semi-minor axes.
For irregular shapes, approximate by dividing into known shapes and summing areas. For shapes defined by coordinates, the shoelace formula computes exact area from vertex coordinates. This calculator shows each formula so you can verify inputs match your physical measurements.
Volume formulas for common solids
Cube: s^3. Cuboid: l times w times h. Sphere: (4/3) times pi times r^3. Cylinder: pi times r^2 times h. Cone: (1/3) times pi times r^2 times h. Pyramid: (1/3) times base area times h.
Practical uses: calculating concrete for a cylindrical column, paint for a spherical tank, or gravel for a conical pile. The calculator displays the formula so you can verify inputs match your physical measurements.
Instant calculations in your browser
Calculate area and volume on a job site, in a classroom, or at home without uploading measurements to a server. Enter every length in the same unit and the answer comes back in that unit, squared or cubed.
Area & Volume Calculator: frequently asked questions
- What is the formula for the area of a circle?
- Area = pi times r^2, where r is the radius. For radius 5: area = 3.14159 times 25 = 78.54 square units. If you know the diameter, radius = diameter divided by 2.
- What is the formula for the volume of a sphere?
- Volume = (4/3) times pi times r^3. For radius 3: volume = (4/3) times 3.14159 times 27 = 113.1 cubic units.
- How do I calculate the area of a triangle?
- Area = (1/2) times base times height, where height is perpendicular to the base. With three side lengths, use Heron's formula: s = (a+b+c)/2, area = sqrt(s(s-a)(s-b)(s-c)).
- What units does the calculator use?
- Enter measurements in any consistent unit (meters, feet, inches). The result is in square units for area and cubic units for volume, matching whatever unit you used.