Volume Calculator – Cube, Box, Cylinder

Easily calculate the volume of cubes, rectangular boxes, and cylinders with our free online volume calculator. Enter your dimensions, click calculate, and get instant results in cubic units.

Share this result:

Subscribe for updates

🔢 Volume Calculator – How It Works

This volume calculator helps you quickly calculate the volume of common 3D geometric shapes.
Choose a shape, enter the required dimensions, and get instant results in metric or imperial units.

All variables shown in the diagrams match the input fields below the calculator.


📦 Supported Shapes & Formulas

Cube

What: A cube with equal side length.
Variable:

  • a – side length

Formula:
V = a³


Rectangular Box

What: A box with different length, width, and height.
Variables:

  • l – length

  • w – width

  • h – height

Formula:
V = l · w · h


Cylinder

What: A cylinder with circular base.
Variables:

  • r – radius

  • h – height

Formula:
V = π · r² · h


Sphere

What: A perfect sphere.
Variable:

  • r – radius

Formula:
V = 4/3 · π · r³


Cone

What: A cone with circular base tapering to a point.
Variables:

  • r – base radius

  • h – height

Formula:
V = 1/3 · π · r² · h


Capsule

What: A cylinder with two hemispherical ends.
Variables:

  • r – radius

  • h – height of the cylindrical part

Formula:
V = π · r² · h + 4/3 · π · r³


Hemisphere

What: Half of a sphere.
Variable:

  • r – radius

Formula:
V = 2/3 · π · r³


Square Pyramid

What: A pyramid with a square base.
Variables:

  • a – base side length

  • h – vertical height (from base center to apex)

Formula:
V = 1/3 · a² · h


Rectangular Pyramid

What: A pyramid with a rectangular base.
Variables:

  • l – base length

  • w – base width

  • h – vertical height

Formula:
V = 1/3 · l · w · h


Triangular Prism

What: A prism with a triangular cross-section.
Variables:

  • b – triangle base

  • ht – triangle height

  • l – prism length

Formula:
V = 1/2 · b · ht · l


Spherical Cap

What: A portion (cap) cut from a sphere.
Variables:

  • R – radius of the full sphere

  • h – cap height (measured from the cut plane to the top of the sphere)

Valid for: 0 ≤ h ≤ 2R

Formula:
V = 1/3 · π · h² · (3R − h)


Conical Frustum

What: A cone with the top cut off.
Variables:

  • R – bottom radius

  • r – top radius

  • h – height

Formula:
V = 1/3 · π · h · (r² + rR + R²)


Ellipsoid

What: A stretched or compressed sphere.
Variables:

  • a, b, c – semi-axes in three perpendicular directions

⚠️ If you know the full diameters, enter half the value.

Formula:
V = 4/3 · π · a · b · c


Tube / Pipe

What: The material volume of a hollow cylinder.
Variables:

  • d1 – outer diameter

  • d2 – inner diameter

  • l – length

Condition: d1 > d2

Formula:
V = π · (d1² − d2²) / 4 · l


Torus (Donut Shape)

What: A ring-shaped solid.
Variables:

  • R – distance from center to tube center

  • r – tube radius

Formula:
V = 2 · π² · R · r²


What shapes can I calculate with this tool?

This volume calculator supports a wide range of common 3D shapes, including:

  • Cube

  • Rectangular box

  • Cylinder

  • Sphere

  • Cone

  • Capsule

  • Hemisphere

  • Square pyramid

  • Rectangular pyramid

  • Triangular prism

  • Spherical cap

  • Conical frustum

  • Ellipsoid

  • Tube / pipe

  • Torus (donut shape)

Each shape includes a visual diagram and uses standard geometric formulas for accurate volume calculations.

You can choose between Metric (m³ and liters) or Imperial (in³ and ft³).

No. Simply enter the dimensions in the selected unit system. The calculator will automatically display the results in the correct cubic units.

Yes, but remember the result will then be in cm³ instead of m³. If you want liters, enter the dimensions in meters.

Yes, our volume calculator is 100% free with no signup required.

Yes. The diagrams highlight the corresponding dimension when you enter a value, making it easier to understand each variable.

🔹 About

This free online volume calculator is designed to quickly compute the capacity of common 3D shapes. Whether you are solving a geometry problem, checking storage space, or estimating container capacity, the calculator makes the process simple and accurate.

It supports both Metric and Imperial units, so you can switch between systems depending on your needs.

© 2025 Eqsy.io – Free Online Tools