Volume of the Solid of Revolution Calculator


Volume of the Solid of Revolution Calculator

An advanced tool to calculate the volume of a function rotated around an axis, complete with dynamic charts and step-by-step explanations.

y =
Enter a valid JavaScript function of ‘x’. Examples: Math.pow(x, 2), Math.sin(x), 4-x.
Invalid function syntax.


The starting x-value for the integration.
Please enter a valid number.


The ending x-value for the integration.
Please enter a valid number.


The axis around which the function will be rotated.


Visual Representation

A 2D plot of the function y = f(x) over the interval [a, b]. The shaded region is rotated around the specified axis to form the solid.

What is a Volume of the Solid of Revolution Calculator?

A volume of the solid of revolution calculator is a computational tool designed to determine the three-dimensional volume of an object created by rotating a two-dimensional curve around an axis. In calculus, this is a fundamental application of integration. This calculator allows mathematicians, engineers, students, and scientists to find volumes of complex shapes without performing manual integration, which can be tedious and error-prone. You simply define a function f(x), specify the interval [a, b], and choose an axis of revolution. The calculator then uses numerical integration to approximate the volume.

This tool is essential for anyone studying or working in fields that involve geometric analysis and design. Common use cases include calculating the capacity of custom-designed containers, finding the mass of an object with variable density (when combined with density functions), and solving problems in physics and engineering related to fluid dynamics and material science. A common misunderstanding is that any shape can be calculated; in reality, the shape must be a “solid of revolution,” meaning it has rotational symmetry around an axis. Our integral calculator can help you understand the underlying math.

Volume of the Solid of Revolution Formula and Explanation

The formula used by the volume of the solid of revolution calculator depends on the method chosen, which is determined by the axis of revolution. The two primary methods are the Disk/Washer Method and the Shell Method.

1. Disk/Washer Method (Rotation around the x-axis)

When a curve y = f(x) is rotated around the x-axis, we can imagine slicing the resulting solid into an infinite number of thin disks. The volume of each disk is dV = π * [radius]² * dx. Here, the radius is the function’s value, f(x). To find the total volume, we integrate this expression over the interval [a, b].

Formula: V = π ∫ab [f(x)]² dx

If we are rotating the region between two curves, f(x) and g(x), we use the washer method, where the volume is the integral of the difference between the outer and inner radii squared: V = π ∫ab ([R(x)]² - [r(x)]²) dx.

2. Cylindrical Shell Method (Rotation around the y-axis)

When rotating y = f(x) around the y-axis, it’s often easier to use the shell method. We imagine the solid as being composed of nested cylindrical shells. The volume of each shell is dV = [circumference] * [height] * [thickness], which translates to dV = (2 * π * x) * f(x) * dx. The total volume is the integral of this expression.

Formula: V = 2π ∫ab x * f(x) dx

This method is particularly useful when solving for x in terms of y is difficult or impossible. Understanding which method to use is key, and our calculator automates this choice. For a deeper dive, see our guide on the disk method calculator.

Variables Used in Volume Calculations
Variable Meaning Unit Typical Range
V Total Volume of the Solid cubic units Non-negative real number
f(x) The function defining the curve units Any valid mathematical function
a, b The lower and upper bounds of integration units Real numbers, typically with a < b
x The variable of integration units The interval [a, b]
π (Pi) The mathematical constant Pi unitless ~3.14159

Practical Examples

Seeing the volume of the solid of revolution calculator in action with practical examples helps clarify its use.

Example 1: Volume of a Paraboloid

Let’s find the volume of the solid generated by rotating the function y = x² around the x-axis from x = 0 to x = 2.

  • Inputs:
    • Function f(x): Math.pow(x, 2)
    • Lower Bound (a): 0
    • Upper Bound (b): 2
    • Axis of Revolution: x-axis
  • Method: Disk Method. Formula: V = π ∫02 (x²)² dx = π ∫02 x⁴ dx.
  • Result: The integral of x⁴ is x⁵/5. Evaluating from 0 to 2 gives π * [(2)⁵/5 – 0] = 32π/5.
  • Calculator Output: ≈ 20.106 cubic units.

Example 2: Volume of a Cone-like Shape

Let’s find the volume of the solid generated by rotating the function y = -x + 3 around the y-axis from x = 0 to x = 3.

  • Inputs:
    • Function f(x): -x + 3
    • Lower Bound (a): 0
    • Upper Bound (b): 3
    • Axis of Revolution: y-axis
  • Method: Shell Method. Formula: V = 2π ∫03 x(-x + 3) dx = 2π ∫03 (-x² + 3x) dx.
  • Result: The integral evaluates to 2π * [-x³/3 + 3x²/2] from 0 to 3, which is 2π * [-9 + 27/2] = 9π.
  • Calculator Output: ≈ 28.274 cubic units. This is the volume of a cone with radius 3 and height 3, which can be confirmed with the formula V = (1/3)πr²h = (1/3)π(3)²(3) = 9π. For more on this, check out our shell method calculator.

How to Use This Volume of the Solid of Revolution Calculator

Using our calculator is straightforward. Follow these steps for an accurate calculation:

  1. Enter the Function: In the “Function f(x)” field, type your function. You must use standard JavaScript syntax. For example, use Math.pow(x, 2) for x², Math.sqrt(x) for √x, and Math.sin(x) for sin(x).
  2. Set the Bounds: Enter the starting point of your interval in the “Lower Bound (a)” field and the ending point in the “Upper Bound (b)” field.
  3. Choose the Axis: Select either the “x-axis” or “y-axis” from the “Axis of Revolution” dropdown. The calculator will automatically select the correct method (Disk/Washer for x-axis, Shell for y-axis).
  4. Calculate: Click the “Calculate Volume” button.
  5. Interpret the Results: The calculator will display the total volume in “cubic units”. It also shows intermediate values like the method used and the number of slices for the numerical approximation. The chart will update to show a graph of your function, helping you visualize the 2D area being rotated. The formula used is also explicitly shown.

Key Factors That Affect the Volume

Several factors critically influence the final volume calculated by the volume of the solid of revolution calculator.

  • The Function f(x): This is the most important factor. Functions with larger values (further from the axis of rotation) will generate significantly more volume.
  • The Interval [a, b]: A wider interval (larger difference between b and a) almost always results in a larger volume, as you are rotating a larger area.
  • The Axis of Revolution: Changing the axis from x to y can dramatically alter the shape and volume of the solid. A rotation around the y-axis (Shell Method) considers the distance from the y-axis (x) as a lever arm, giving more weight to parts of the function further from the y-axis.
  • Function Being Negative: If f(x) is negative, the Disk method (f(x)²) still produces a positive volume. The geometry is the same as rotating |f(x)|.
  • Bounds Crossing Zero: The position of the interval relative to x=0 can be very important in the Shell Method, as the radius ‘x’ changes.
  • Units: While our calculator is unitless, remember that the result is in “cubic units”. If your inputs ‘x’ and ‘y’ are in centimeters, the volume will be in cm³. If they are in meters, the volume is in m³. See our guide on integration for more.

Frequently Asked Questions (FAQ)

1. What does “cubic units” mean?

It means the result’s units are the cube of the units used for the function’s variables. If your function and bounds are measured in inches, the volume is in cubic inches. The calculator remains generic because the mathematical process is independent of the specific unit system.

2. Why does the calculator use “numerical integration”?

Computers cannot easily perform symbolic integration (like humans do) for any arbitrary function a user might enter. Numerical integration, like Simpson’s rule used here, approximates the integral by summing the volumes of a large number of small, simple shapes (disks or shells). With enough slices, this approximation becomes extremely accurate.

3. What happens if my function is invalid?

The calculator will show an error message. Ensure your function uses valid JavaScript syntax (e.g., use Math.pow(x, 2) not x^2) and that it is defined across the entire interval [a, b].

4. Can I calculate the volume between two curves?

This specific calculator is designed for rotating a single function f(x) around an axis. To find the volume between two curves (the Washer Method), you would need to calculate the volume for the outer curve and subtract the volume for the inner curve. Our Washer Method calculator is specifically designed for this purpose.

5. Why did the result change so much when I switched to the y-axis?

Rotating around the y-axis creates a completely different 3D shape than rotating around the x-axis. The Shell Method (for y-axis rotation) calculates volume based on cylindrical shells, where radius is `x`, while the Disk Method (for x-axis rotation) uses disks where radius is `f(x)`. The formulas are fundamentally different.

6. What if my lower bound ‘a’ is greater than my upper bound ‘b’?

The calculator will automatically swap them. The integral from a to b is the negative of the integral from b to a, but since volume must be positive, the tool calculates the volume over the correctly ordered interval.

7. Can this calculator handle improper integrals?

No. The bounds ‘a’ and ‘b’ must be finite numbers. Calculating volumes from improper integrals (where a or b is infinity) requires different mathematical techniques involving limits, which are beyond the scope of this standard numerical calculator.

8. How accurate is the result from this volume of the solid of revolution calculator?

The accuracy is very high. By using 10,000 slices for its numerical approximation (Simpson’s Rule), the difference between the calculated value and the true analytical value is typically negligible for most well-behaved functions.

© 2026 Your Website Name. All rights reserved. Please use this calculator for educational and illustrative purposes.



Leave a Reply

Your email address will not be published. Required fields are marked *