Geometry • Core Flagship Pillar

Volume Calculator

Calculate the 3D volume, total surface area, lateral area, and space diagonal for rectangular prisms, cylinders, spheres, cones, square pyramids, and cubes with isometric wireframe projections.

|
Last Updated: September 2026
|
ISO 80000-3 Metric Volume Standard

Rectangular Prism Dimensions

Isometric 3D Wireframe Projection
Total Volume (V)
160.00
Cubic units (u³)
Surface Area (SA)
184.00
Total 2D boundary
Lateral Area
104.00
Side walls only
Space Diagonal (d)
10.25
Corner-to-corner
∫

Step-by-Step Volume & Surface Area Derivation

Direct Answer & Overview
Verified Educational Guide

How to Calculate 3D Volume

To calculate the volume of a 3D solid: 1. Rectangular Prism: V = length × width × height. 2. Cylinder: V = πr²h. 3. Sphere: V = ⁴⁄₃πr³. 4. Cone: V = ⅓πr²h. 5. Square Pyramid: V = ⅓a²h. 6. Cube: V = s³. Volume measures total 3D capacity in cubic units (cm³, m³, in³, ft³, gallons, liters).

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
Vprism=lwh,Vcyl=πr2h,Vsphere=43πr3,Vcone=13πr2hV_{\text{prism}} = lwh, \quad V_{\text{cyl}} = \pi r^2 h, \quad V_{\text{sphere}} = \frac{4}{3}\pi r^3, \quad V_{\text{cone}} = \frac{1}{3}\pi r^2 h
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Shape type (Box, Cylinder, Sphere, Cone, Pyramid, Cube)
2
Linear dimensions in consistent units (length, radius, height)
Expected Outputs
Calculated
Total 3D volume (cubic units) and total surface area (square units)
Lateral wall surface area, space diagonal, and step-by-step derivation
Worked Numerical Example
Instant Verification
Cylinder with radius r = 4 m and height h = 10 m
→ V = π(4)²(10) = 160π ≈ 502.65 m³; SA = 2π(4)(10) + 2π(4)² ≈ 351.86 m²
Volume ≈ 502.65 m³ | Surface Area ≈ 351.86 m²

3D Geometric Solids & The Square-Cube Law

Volume ($V$) quantifies the three-dimensional space enclosed within a closed geometric boundary, expressed in cubic units. Surface Area ($SA$) measures the total two-dimensional area of the exterior boundary faces.

The Square-Cube Law (Galileo Galilei, 1638)
When an object undergoes a proportional scale increase by a linear factor of k, its surface area grows by k², and its volume grows by k³.

Consequence: Doubling the length of a storage container (k = 2) quadruples its surface material cost (2² = 4×) while octupling its cargo capacity (2³ = 8×).

Prisms & Cylinders (V = Base Area × Height)

Rectangular Prism / Box
V = l · w · h, SA = 2(lw + lh + wh)

Space diagonal connecting opposite 3D corners: d = √(l² + w² + h²).

Right Circular Cylinder
V = πr²h, SA = 2πrh + 2πr²

Base area is circle πr² extruded along perpendicular height h.

Pyramids & Cones (The One-Third Principle)

Any right pyramid or cone tapering to an apex holds exactly one-third the volume of the prism or cylinder having the identical base and vertical height:

Circular Cone
V = ⅓πr²h, SA = πrs + πr²

Slant height s = √(r² + h²).

Square Pyramid
V = ⅓a²h, SA = a² + 2as

Slant height s = √[h² + (a/2)²].

Spherical Geometry & Archimedes’ Sphere-Cylinder Ratio

Archimedes proved in 225 BCE that a sphere inscribed inside a cylinder of radius $r$ and height $h = 2r$ occupies exactly $\frac23$ of the cylinder's volume and $\frac23$ of its total surface area:

V_sphere = ⁴⁄₃πr³
SA_sphere = 4πr²

The derivative of sphere volume with respect to radius equals its surface area: dV/dr = d/dr [4/3 πr³] = 4πr².

Real-World Engineering & Industrial Applications

Concrete & Construction

Contractors compute slab and footing volumes in cubic yards ($V = \text{length} \times \text{width} \times \text{depth} / 27$) for ready-mix concrete batch orders.

Logistics & Cargo Freight

Freight carriers calculate dimensional weight ($CBM = l \times w \times h$) to determine ISO shipping container utilization.

Chemical Tank Storage

Industrial engineers size pressure vessels and spherical storage tanks (4/3 πr³) to optimize structural hoop stress distribution.

Step-by-Step Worked Numerical Solutions

Example 1: Cylinder Volume & Surface Area Cylinder

Problem: Find volume and surface area of a cylinder with radius r = 4 cm and height h = 10 cm.

1. Volume: V = πr²h = π × (4)² × 10 = 160π ≈ 502.65 cm³.
2. Lateral Wall Area: LA = 2πrh = 2π(4)(10) = 80π ≈ 251.33 cm².
3. Two circular ends: 2 × πr² = 2 × 16π = 32π ≈ 100.53 cm².
4. Total Surface Area: SA = 80π + 32π = 112π ≈ 351.86 cm².
Result: Volume ≈ 502.65 cm³, Total SA ≈ 351.86 cm²

Common Pitfalls & Mistakes

Using Slant Height for Volume

Cones and pyramids require perpendicular vertical height h for volume (⅓Bh). Slant height s is only used for lateral surface area.

Inconsistent Measurement Units

Multiplying length in feet by width in inches without converting yields an invalid volume. Convert all inputs to a uniform unit first.

Omitting Cylinder Base Lids

Surface area is 2πrh + 2πr². Forgetting the 2πr² term calculates only the hollow open pipe wall.

Fact-Checked & Verified • Computational Accuracy Standards
Updated August 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

How do you calculate the volume and surface area of a rectangular prism?
For a rectangular box with length l, width w, and height h: Volume V = l · w · h. Total Surface Area SA = 2(lw + lh + wh). 3D Space Diagonal d = √(l² + w² + h²).
What is the formula for the volume and surface area of a cylinder?
For a cylinder with base radius r and height h: Volume V = πr²h. Total Surface Area SA = 2πrh + 2πr² (lateral curved wall area 2πrh plus top and bottom circular lids 2πr²).
How do you find the volume and surface area of a sphere?
For a sphere of radius r: Volume V = ⁴⁄₃πr³ (four-thirds pi r cubed). Total Surface Area SA = 4πr².
How is the volume of a cone related to a cylinder?
A cone with base radius r and height h holds exactly one-third of the volume of a cylinder with the same dimensions: V_cone = ⅓πr²h. Its total surface area is SA = πrs + πr², where s = √(r² + h²) is the slant height.
Why does doubling the dimensions of a 3D object increase its volume by 8×?
Volume is a three-dimensional cubic measurement (scale factor cubed). If linear dimensions double (2×), the new volume scales by 2³ = 8× (800%), while surface area increases by 2² = 4×. This square-cube law explains biological and architectural scaling limits.
What is the formula for a square pyramid?
For a square pyramid with base side edge a and vertical altitude h: Volume V = ⅓a²h. Total Surface Area SA = a² + 2as, where s = √[h² + (a/2)²] is the slant height of each triangular face.