Volume Calculator
Volume formulas by shape: Cube: side³. Rectangular prism: length × width × height. Cylinder: πr²h. Sphere: (4/3)πr³. Cone: (1/3)πr²h. For example, a cylinder with 5 cm radius and 10 cm height: V = π(5²)(10) = 785.4 cm³. Convert units: 1 liter = 1000 cm³, 1 gallon = 3,785 cm³, 1 cubic meter = 1,000 liters. Use in engineering (tank capacity), cooking (ingredient volume), construction (concrete needed), shipping (package size).
Calculate volume and surface area for 3D shapes: cube, rectangular prism, sphere, cylinder, cone, pyramid, and torus. Shape-specific inputs with SVG diagrams, formula display, and unit conversion between cubic feet, cubic meters, cubic inches, cubic centimeters, gallons, and liters.
Works OfflineDark ModeNo Ads
Shape
Dimensions
Diagram
Units
How to Use
- Enter your value in the input field
- Click the Calculate/Convert button
- Copy the result to your clipboard
Frequently Asked Questions
- How do I calculate the volume of a cylinder?
- The volume of a cylinder is calculated using the formula V = πr²h, where r is the radius of the base and h is the height. For example, a cylinder with radius 5 cm and height 10 cm has a volume of π × 25 × 10 = 785.4 cubic cm. This calculator also computes the surface area: SA = 2πr(r + h).
- What is the formula for the volume of a sphere?
- The volume of a sphere is V = (4/3)πr³, where r is the radius. For example, a sphere with a radius of 6 inches has a volume of (4/3) × π × 216 = 904.78 cubic inches. The surface area of a sphere is SA = 4πr².
- How do I convert cubic feet to gallons?
- 1 cubic foot equals approximately 7.48052 US gallons. To convert, multiply cubic feet by 7.48052. For example, 10 cubic feet = 74.8 gallons. This is useful for calculating water tank capacity, pool volume, or aquarium size. Our calculator converts between cubic feet, cubic meters, cubic inches, cubic centimeters, gallons, and liters automatically.
- What is the difference between volume and surface area?
- Volume measures the 3D space inside a shape (in cubic units like cu ft, cu m, liters), while surface area measures the total area of the outer surface (in square units like sq ft, sq m). Volume tells you how much a container can hold; surface area tells you how much material is needed to cover or wrap the shape.
- How do I calculate the volume of a torus (donut shape)?
- The volume of a torus is V = 2π²Rr², where R is the major radius (center of the tube to the center of the torus) and r is the minor radius (radius of the tube). The surface area is SA = 4π²Rr. For example, a torus with R = 10 and r = 3 has a volume of 2 × π² × 10 × 9 = 1,776.5 cubic units.
- What units can I use for volume calculations?
- This calculator supports cubic feet (cu ft), cubic meters (cu m), cubic inches (cu in), cubic centimeters (cu cm), US gallons, and liters. Enter dimensions in your preferred unit, and the calculator will convert the result to all other units automatically. This is useful for construction, shipping, cooking, and science applications.