Geometry Shapes Volume Calculator - Volume Calculator

The geometric shapes volume calculator calculates volumes of common shapes including sphere, cone, cube, cylinder, capsule, frustum, ellipsoid, pyramid, tube, and more.

Volumes of geometric shapes are calculated as follows:

  • Volume of a spherical body: (4/3) × π × radius cubed
  • Volume of a cone: (1/3) × π × radius squared × height
  • Volume of a cube: side length cubed
  • Volume of a cylinder: π × radius squared × height
  • Volume of a rectangular tank: length × width × height
  • Volume of a capsule: (4/3) × π × major radius cubed + π × major radius squared × height
  • Volume of a frustum: (1/3) × π × height × (upper base radius squared + (upper base radius × lower base radius) + lower base radius squared)
  • Volume of an ellipsoid: (4/3) × π × a × b × c
  • Volume of a pyramid: (1/3) × base area squared × height
  • Volume of a tube: π × (outer tube diameter squared - inner tube diameter squared) / 4 × 4
You can also use the following calculator to find volumes of geometric shapes:

Sphere Volume Calculation - Sphere Volume Calculator

Sphere Volume Calculation

Cone Volume Calculation - Cone Volume Calculator

Cone Volume Calculation

Cube Volume Calculation - Cube Volume Calculator

Cube Volume Calculation

Cylinder Volume Calculation - Cylinder Volume Calculator

Cylinder Volume Calculator

Rectangular Tank Volume Calculation - Rectangular Tank Volume Calculator

Rectangular Tank Volume Calculator

Calculate Capsule Volume - Capsule Volume Calculator

Capsule Volume Calculation

Calculate Conical Frustum Volume - Conical Frustum Volume Calculator

Conical Frustum Volume Calculation

Calculate Ellipsoid Volume - Ellipsoid Volume Calculator

Calculate Ellipsoid Volume

Pyramid Volume Calculator

Calculate Pyramid Volume

Tube Volume Calculator - Tube Volume Calculator

Tube Volume Calculator

Volume is an estimation of the three-dimensional space occupied by a physical object. The international unit for volume is the cubic meter, or m3. Traditionally, it is preferred that the volume of a container is usually its capacity and the amount of liquid it can hold, rather than the actual space it occupies. Volumes of many shapes can be calculated using well-known formulas. In some cases, more complex shapes can be broken down into simpler composite shapes, and their volumes are summed up to determine the total volume. Volumes of other more complex shapes can be calculated using differential and integral calculus if there is a known formula for the boundaries of the shape. Additionally, volumes of shapes that cannot be described by known equations can be estimated using mathematical methods such as the finite element method. Alternatively, if the density of a substance is known and homogeneous, the volume can be calculated using its weight. This calculator calculates volumes for some of the most common simple shapes.


A sphere is a three-dimensional geometric object resembling a two-dimensional circle. It is a perfectly round geometric structure, mathematically defined as a set of points equidistant from a central point, where the radius (r) is the distance from the central point to any point on the sphere. Although a sphere includes the common understanding of a spherical object, it accurately represents the geometric shape.

Similar to a circle, the diameter (d) refers to the line connecting two points on the sphere through its center, the longest line. The volume of the sphere can be calculated using the following equation:

Volume = 4/3 × π × r³

Example: Dina wants to fill a perfectly spherical water balloon with a radius of 0.15 feet with olive oil and use it in a water balloon fight against her close friend Samia this weekend. The required volume of olive oil can be calculated using the provided equation:

Volume = 4/3 × π × (0.15)³ = 0.141 cubic feet


A cone is a three-dimensional shape smoothly tapering from its circular base to a common point called the apex (or vertex). Mathematically, the cone is formed similarly to the circle, by a set of connected lines converging at a common point, except that the center point is not included in the plane containing the circle (or another base). Here, only the right circular cone is considered, and not cones composed of half-lines, non-circular bases, etc., extending indefinitely. The equation for calculating the volume of the cone is as follows:

Volume = 1/3 × π × r² × h

Where r is the radius of the base and h is the height of the cone.

Example: Lena is determined to get an ice cream cone for $5 she rightfully earned. Despite her preference for regular cones, the delicious waffle cones are undoubtedly much larger. She decides she has a 15% preference for delicious waffle cones over regular cones and needs to calculate if the volume of the waffle cone exceeds 15% of the regular cone's volume. The volume of the delicious waffle cone with a circular base, a radius of 1.5 inches, and a height of 5 inches can be calculated using the equation below:

Volume = 1/3 × π × 1.5² × 5 = 11.781 cubic inches

Lena also calculates the volume of the regular cone and finds the difference to be less than 15%, deciding to purchase the regular cone. Now all she has to do is use her charm and appeal to convince the staff to fill her cone with ice cream.


A cube is the three-dimensional counterpart of the square, a solid bounded by six square faces, where three meet at each corner, and all are perpendicular to their adjacent faces. The cube is considered a special case in many shape classifications in geometry, including being a parallelepiped, an equilateral cuboid, and a right rhombohedron. Here is the equation for calculating the volume of the cube:

Volume = a³

Where a is the length of the cube's edge.

Example: Leila, born in Alaska (dreaming of seeing the sun once), decided to visit her homeland in Hawaii. Enchanted by the beauty of Hawaiian nature, Leila decided to bring a piece of that beauty back home. Leila carries a cubic suitcase with edges of length 3 feet and calculates the volume of the soil she can bring with her using the following method:

Volume = 3³ = 27 cubic feet


The cylinder, in its simplest design, is defined as a surface composed of points at a fixed distance from a certain axis. In its common usage, the term "cylinder" usually refers to a right circular cylinder, where its bases are connected circles across their centers by an axis perpendicular to their surfaces, with a certain height (h) and a radius (r). The equation for calculating the volume of the cylinder is shown below:

Volume = πr²h

Where r is the radius, and h is the height of the cylinder.

Example: Zakaria wants to build a sandcastle in his living room. As a strong advocate for the environment, he retrieved three cylindrical barrels from an illegal dumping site and cleaned them from chemicals using dish soap and water. These barrels have a radius of 3 feet and a height of 4 feet. Zakaria calculates the volume of sand they can hold using the equation below:

Volume = π × 3² × 4 = 113.097 cubic feet

He successfully built a fantastic sandcastle at home, and as an additional bonus, he managed to save electricity by illuminating the sandcastle at night, glowing with a light green color in the dark.


The rectangular tank is a general formation of a cube, where the sides can have varying lengths. It is bounded by six faces, with three meeting at its corners, all perpendicular to their adjacent faces. The equation for calculating the volume of the rectangular tank is shown below:

Volume = Length × Width × Height

Example: Leila loves cake. She visits the gym for 4 hours every day to compensate for her love of cake. She plans a hiking trip to Mount Kalalau in Kauai, and although she is in excellent physical condition, Leila is worried about the absence of cake. She decides to pack only the essentials and wants to fill her rectangular bag with lengths, widths, and heights of 4 feet, 3 feet, and 2 feet, respectively, with cake. The precise volume calculation for the cake she can fit into her bag is as follows:

Volume = 2 × 3 × 4 = 24 cubic feet


The capsule is a three-dimensional geometric shape consisting of a cylinder and two hemispherical ends, where the hemisphere is considered half of a sphere. As a result, the volume of the capsule can be calculated by combining the volume equations of the sphere and the right circular cylinder:

Volume = πr²h + (4/3)πr³ = πr²(4/3r + h)

Where r is the radius, and h is the height of the cylindrical part.

Example: Based on a capsule with a radius of 1.5 feet and a height of 3 feet, determine the volume of melted chocolate cubes that Joe can carry in the time capsule he plans to bury for future generations on his journey to self-discovery through the Himalayas:

Volume = π × 1.5² × 3 + (4/3)π × 1.5³ = 35.343 cubic feet


The frustum is the part of a solid body that remains when a cone is cut by parallel surfaces. This calculator calculates the volume of the right conical frustum specifically. Examples of conical frustums in everyday life include lampshades, water containers, and some drinking cups.

The volume of the right conical frustum is calculated using the following equation:

Volume = (1/3) × πh(r2 + rR + R2)

Where r and R are the radii of the frustum bases, and h is the height of the frustum.

Example:

Dreams successfully acquired some ice cream in sugar cones and consumed it in a way that leaves the ice cream compressed inside the cone. Her brother decides to grab the cone and take a bite from the bottom of the cone, which is parallel to the previous opening. Dreams now holds a right conical frustum leaking ice cream, and she needs to calculate the volume of the ice cream she must quickly consume due to an elevation of 4 inches, with the bottom radius of 1.8 inches and the top radius of 0.3 inches.

Volume = (1/3) × π × 4(0.32 + 0.3 × 1.8 + 1.82) = 12.547 cubic inches


The ellipsoid is a three-dimensional shape that arises from the distortion of a sphere due to changes in the scale of its directional elements. The center of the ellipsoid is defined at the intersection point of three orthogonal symmetry axes, and the lines that define these axes are called the principal axes. If it has a different length for each of the three, the ellipsoid shape is usually described as triaxial. The equation for calculating the volume of the ellipsoid is as follows:

Volume = (4/3) × πabc

Where a, b, and c are the lengths of the axes.

Example:

Leila only loves eating sweets, but her mother wants to monitor the amount of candy she consumes. Her mother allows her to eat candy that fits into an ellipsoidal cake. Leila carves the cake to achieve the maximum volume of candy she can fit into the carved cake. After finding that the cake has axis lengths of 2.5 inches, 3 inches, and 6 inches, Leila calculates the volume of candy she can fit into the sculpted cake as follows:

Volume = (4/3) × π × 2.5 × 3 × 6 = 94.247 cubic inches


In mathematical geometry, a pyramid is a three-dimensional shape formed by connecting a polygonal base to a point known as its apex. The polygonal shape is a flat shape defined by a number of straight lines. There can be different shapes for the base of the pyramid, and a square pyramid has a square base. The position of the apex distinguishes different types of pyramids, where a right pyramid has its apex directly above the center of its base. The volume of a pyramid, regardless of the apex position, can be calculated using the following formula:

General Pyramid Volume:

Volume = (1/3) × base area × height

Where the base area is denoted by 'b' and the height is denoted by 'h'.

Square Pyramid Volume:

Volume = (1/3) × base edge length² × height

Where the edge length is denoted by 'a'.

Example:

Adam has a special admiration for ancient civilizations and structures like pyramids. Being the eldest among his siblings one, two, and three, he can easily direct them. Taking advantage of this, Adam decides to revive ancient times and makes his siblings pretend to be workers building a clay pyramid with a base length of 5 feet and a height of 12 feet. The volume of this pyramid can be calculated using the formula for a square pyramid:

Volume = (1/3) × 5² × 12 = 100 cubic feet


A tube, often referred to as a pipe, is a hollow cylinder commonly used for transporting liquids or gases. Calculating the volume of the tube essentially involves using the same formula as for calculating the volume of a cylinder (Volume = πr²h), except in this case, the diameter is used instead of the radius, and the length is used instead of the height. So, the formula involves measuring the internal and external diameters of the cylinder, calculating the volume of each, and subtracting the volume of the internal cylinder from the external one. Based on the mentioned length and diameters, the formula for calculating the tube volume is as follows:

Volume = π × (d₁² - d₂²) / 4 × l

Where d₁ is the external diameter, d₂ is the internal diameter, and l is the length of the tube.

Example:

Nada is committed to maintaining the environment, using eco-friendly materials in her construction company. A customer has a vacation home in the forest and wants to build a path across a water table without impacting his favorite fishing spot. Nada plans to build a tube across the table to bypass the dams created by beavers. The required low-impact concrete volume for building a tube with an external diameter of 3 feet, internal diameter of 2.5 feet, and length of 10 feet can be calculated as follows:

Volume = π × (3² - 2.5²) / 4 × 10 = 21.6 cubic feet