Cuboid Calculator
Calculate cuboid volume, surface areas and space diagonal.
Free online tool by SOCE. Check inputs and results before using them for important decisions.
Cuboid Calculator – Free Online Volume, Surface Area and Diagonal Guide
The SOCE Cuboid Calculator page provides a mathematical reference for understanding cuboid geometry, including volume, surface area, length, width, height, and space diagonal.
A cuboid, also called a rectangular prism, is a three-dimensional solid with six rectangular faces. It has three mutually perpendicular dimensions: length, width, and height.
Cuboid calculations are useful in mathematics, civil engineering, architecture, construction, manufacturing, packaging, and geometric modelling.
This Cuboid Calculator guide explains standard formulas, inverse calculations, measurement units, and practical worked examples for rectangular prisms.
What Is a Cuboid Calculator?
A Cuboid Calculator is a mathematical tool used to determine the geometric properties of a cuboid from known dimensions.
Common cuboid calculations include:
- Volume.
- Total surface area.
- Lateral surface area.
- Base area.
- Length, width, and height.
- Base diagonal.
- Space diagonal.
- Sum of all edge lengths.
For example, consider a cuboid with:
Length = 8 cm
Width = 5 cm
Height = 3 cm
Volume:
V = 8 × 5 × 3
Volume = 120 cm³
Total surface area:
A = 2(8 × 5 + 8 × 3 + 5 × 3)
Total surface area = 158 cm²
Space diagonal:
d = √(8² + 5² + 3²)
Space diagonal = √98 ≈ 9.90 cm
Understanding Cuboid Geometry
Length
Length is one of the three mutually perpendicular dimensions of a cuboid.
It is commonly represented by l.
Width
Width is another dimension perpendicular to the length.
It is represented by w.
Height
Height is the perpendicular distance between the bottom and top faces when the cuboid is oriented with a horizontal base.
It is represented by h.
Faces
A cuboid has six rectangular faces arranged in three pairs of opposite, congruent faces.
Edges
A cuboid has 12 edges.
Four edges have length l, four have length w, and four have length h.
Vertices
A cuboid has eight vertices.
Base Area
When the base dimensions are l and w:
B = lw
Space Diagonal
The space diagonal connects two opposite vertices through the interior of the cuboid.
d = √(l² + w² + h²)
How to Use a Cuboid Calculator
The general calculation procedure is:
- Identify the three perpendicular dimensions.
- Enter or record the length, width, and height.
- Convert all dimensions into consistent units.
- Select the required geometric property.
- Apply the appropriate formula.
- Calculate the result.
- Check the measurement units.
- Verify the calculation using another relationship where possible.
Example
Length = 10 m
Width = 6 m
Height = 4 m
Volume:
V = 10 × 6 × 4
Volume = 240 m³
Total surface area:
A = 2(60 + 40 + 24)
Total surface area = 248 m²
Cuboid Calculator Formulas
The following formulas apply to a rectangular cuboid.
| Property | Formula |
|---|---|
| Volume | V = lwh |
| Base area | B = lw |
| Total surface area | A = 2(lw + lh + wh) |
| Lateral surface area | Aₗ = 2h(l + w) |
| Base perimeter | P = 2(l + w) |
| Base diagonal | dᵦ = √(l² + w²) |
| Space diagonal | d = √(l² + w² + h²) |
| Total edge length | E = 4(l + w + h) |
| Height from volume | h = V/(lw) |
| Length from volume | l = V/(wh) |
| Width from volume | w = V/(lh) |
| Height from total area | h = (A/2 − lw)/(l + w) |
Where:
- l = length.
- w = width.
- h = height.
- V = volume.
- A = total surface area.
- Aₗ = lateral surface area.
- dᵦ = base diagonal.
- d = space diagonal.
All dimensions must be positive for a non-degenerate cuboid.
Cuboid Volume Calculator
The volume of a cuboid represents the three-dimensional space enclosed by its six faces.
Cuboid Volume Formula
V = l × w × h
Worked Example
Length = 12 cm
Width = 8 cm
Height = 5 cm
Volume:
V = 12 × 8 × 5
Answer = 480 cm³
Why Does the Formula Work?
A cuboid has a rectangular base.
Base area:
B = lw
Multiplying by perpendicular height:
V = Bh
Therefore:
V = lwh
Cuboid Surface Area Calculator
The total surface area is the combined area of all six rectangular faces.
There are three pairs of opposite faces:
- Two faces of area lw.
- Two faces of area lh.
- Two faces of area wh.
Therefore:
A = 2(lw + lh + wh)
Worked Example
Length = 8 cm
Width = 5 cm
Height = 3 cm
A = 2(8 × 5 + 8 × 3 + 5 × 3)
A = 2(40 + 24 + 15)
Answer = 158 cm²
This formula assumes all six faces are included.
Cuboid Lateral Surface Area Calculator
The lateral surface area is the combined area of the four side faces, excluding the top and bottom faces.
Formula
Aₗ = 2h(l + w)
Worked Example
Length = 8 cm
Width = 5 cm
Height = 3 cm
Aₗ = 2 × 3 × (8 + 5)
Answer = 78 cm²
Relationship with Total Surface Area
Total surface area:
A = 2lw + Aₗ
Therefore:
A = 2lw + 2h(l + w)
This is useful for checking calculations.
Cuboid Diagonal Calculator
A cuboid has face diagonals and space diagonals.
Base Diagonal Formula
For the rectangular base:
dᵦ = √(l² + w²)
Worked Example
Length = 12 cm
Width = 5 cm
dᵦ = √(12² + 5²)
dᵦ = √169
Answer = 13 cm
Space Diagonal Formula
The space diagonal is:
d = √(l² + w² + h²)
Worked Example
Length = 3 cm
Width = 4 cm
Height = 12 cm
d = √(3² + 4² + 12²)
d = √169
Answer = 13 cm
Derivation
First, apply the Pythagorean theorem to the base:
dᵦ² = l² + w²
Then apply the Pythagorean theorem using the base diagonal and height:
d² = dᵦ² + h²
Therefore:
d² = l² + w² + h²
Taking the positive square root gives the space diagonal.
Cuboid Length Calculator
If volume, width, and height are known:
V = lwh
Rearranging:
l = V/(wh)
Worked Example
Volume = 360 cm³
Width = 6 cm
Height = 5 cm
l = 360/(6 × 5)
Answer = 12 cm
Cuboid Width Calculator
If volume, length, and height are known:
w = V/(lh)
Worked Example
Volume = 240 cm³
Length = 10 cm
Height = 4 cm
w = 240/(10 × 4)
Answer = 6 cm
Cuboid Height Calculator
If volume, length, and width are known:
h = V/(lw)
Worked Example
Volume = 480 cm³
Length = 12 cm
Width = 8 cm
h = 480/(12 × 8)
Answer = 5 cm
Height from Total Surface Area
Given:
A = 2(lw + lh + wh)
Rearranging:
A/2 − lw = h(l + w)
Therefore:
h = (A/2 − lw)/(l + w)
Worked Example
Total surface area = 158 cm²
Length = 8 cm
Width = 5 cm
h = (158/2 − 40)/(8 + 5)
h = 39/13
Answer = 3 cm
Cuboid Base Area Calculator
The base of a cuboid is a rectangle.
Formula
B = lw
Worked Example
Length = 9 cm
Width = 4 cm
B = 9 × 4
Answer = 36 cm²
Base Perimeter
P = 2(l + w)
For the same dimensions:
P = 2(9 + 4)
Answer = 26 cm
Total Edge Length of a Cuboid
A cuboid has 12 edges.
Four edges correspond to each of its three dimensions.
Therefore:
E = 4(l + w + h)
Worked Example
Length = 8 cm
Width = 5 cm
Height = 3 cm
E = 4(8 + 5 + 3)
Answer = 64 cm
This formula can be useful in geometric frame-length calculations.
Cuboid vs Cube
A cube is a special type of cuboid in which all three dimensions are equal.
| Property | Cuboid | Cube |
|---|---|---|
| Length | l | a |
| Width | w | a |
| Height | h | a |
| Volume | lwh | a³ |
| Total surface area | 2(lw + lh + wh) | 6a² |
| Space diagonal | √(l² + w² + h²) | a√3 |
| Number of faces | 6 | 6 |
| Number of edges | 12 | 12 |
| Number of vertices | 8 | 8 |
Every cube is a cuboid, but not every cuboid is a cube.
Cuboid vs Rectangular Prism
The terms cuboid and rectangular prism are commonly used for the same geometric solid.
Both have six rectangular faces, 12 edges, and eight vertices.
In many educational contexts, cuboid is common in British English and South Asian mathematics curricula, while rectangular prism is common in American English.
Both terms are relevant when searching for geometry formulas and calculators.
Cuboid Volume in Litres
A cuboid can represent the internal shape of a rectangular tank or container.
Formula
V = lwh
When dimensions are measured in centimetres:
Volume in litres = lwh/1000
Worked Example
Internal length = 50 cm
Internal width = 40 cm
Internal height = 30 cm
Volume:
V = 50 × 40 × 30
V = 60,000 cm³
Convert to litres:
V = 60,000/1000
Answer = 60 L
This is the ideal full internal capacity.
Actual usable capacity may be lower.
Cuboid Unit Conversion
Cuboid calculations involve linear, square, and cubic units.
Linear Measurements
Length, width, height, and diagonal use linear units.
Examples:
mm, cm, m, in, ft.
Surface Area Measurements
Surface area uses square units.
Examples:
mm², cm², m², in², ft².
Volume Measurements
Volume uses cubic units.
Examples:
mm³, cm³, m³, in³, ft³.
Important Conversion Factors
1 m = 100 cm
1 m² = 10,000 cm²
1 m³ = 1,000,000 cm³
1 L = 1,000 cm³
1 in = 2.54 cm exactly
1 ft = 0.3048 m exactly
Worked Example
Length = 200 cm
Width = 100 cm
Height = 50 cm
Convert to metres:
l = 2 m
w = 1 m
h = 0.5 m
Volume:
V = 2 × 1 × 0.5
Answer = 1 m³
Total surface area:
A = 2(2 × 1 + 2 × 0.5 + 1 × 0.5)
Answer = 7 m²
Cuboid Calculator for Civil Engineering
Cuboid geometry is frequently used in civil engineering, construction, architecture, and quantity estimation.
Rectangular Concrete Columns
The gross geometric volume of a rectangular concrete column is:
V = bdh
Where:
b = section width.
d = section depth.
h = column height.
Worked Example
Column width = 0.3 m
Column depth = 0.4 m
Column height = 3 m
Volume:
V = 0.3 × 0.4 × 3
Answer = 0.36 m³
This is the ideal gross volume before project-specific deductions.
Rectangular Beams
For a prismatic rectangular beam:
V = b × d × L
Where L is the beam length.
Actual material quantity calculations may require adjustments at beam-column intersections and other locations.
Rectangular Footings
For an ideal rectangular footing with uniform thickness:
V = L × B × t
Worked Example
Length = 2 m
Width = 1.5 m
Thickness = 0.5 m
Volume:
V = 2 × 1.5 × 0.5
Answer = 1.5 m³
Rectangular Water Tanks
The ideal internal capacity of a rectangular tank is:
V = lwh
Internal dimensions must be used when calculating storage capacity.
Construction Excavations
For a rectangular excavation with uniform dimensions:
V = lwh
Actual excavation quantities depend on site geometry, slopes, and other conditions.
Structural Modelling
Cuboid geometry is relevant to three-dimensional CAD modelling, solid elements, geometric discretisation, and finite element analysis.
Common Mistakes in Cuboid Calculations
- Confusing area with volume: Surface area uses square units; volume uses cubic units.
- Forgetting one dimension in volume: Cuboid volume requires length, width, and height.
- Using the wrong surface area formula: Total area includes all six faces.
- Confusing base diagonal with space diagonal.
- Using inconsistent measurement units.
- Using external dimensions to calculate internal container capacity.
- Forgetting the factor two in total surface area.
- Using cube formulas for a cuboid with unequal dimensions.
- Ignoring the difference between gross and net construction quantities.
- Rounding intermediate calculations too early.
Frequently Asked Questions About Cuboid Calculator
1. What is a Cuboid Calculator?
A Cuboid Calculator is a mathematical tool used to calculate cuboid properties such as volume, surface area, dimensions, and diagonal length.
2. What is the cuboid volume formula?
V = lwh.
3. What is the cuboid surface area formula?
A = 2(lw + lh + wh).
4. What is the lateral surface area of a cuboid?
Aₗ = 2h(l + w), when the base dimensions are l and w.
5. How do you calculate the diagonal of a cuboid?
The space diagonal is d = √(l² + w² + h²).
6. How do you calculate the base diagonal?
dᵦ = √(l² + w²).
7. How do you find cuboid height from volume?
h = V/(lw).
8. How do you find cuboid length from volume?
l = V/(wh).
9. How do you find cuboid width from volume?
w = V/(lh).
10. What is the difference between a cuboid and a cube?
A cube has three equal dimensions. A general cuboid can have different length, width, and height values.
11. Is a cuboid the same as a rectangular prism?
Yes. These terms commonly describe the same three-dimensional solid.
12. How many faces does a cuboid have?
A cuboid has six rectangular faces.
13. How many edges does a cuboid have?
A cuboid has 12 edges.
14. How many vertices does a cuboid have?
A cuboid has eight vertices.
15. How do you calculate rectangular tank capacity?
Multiply the internal length, width, and height to obtain the ideal internal volume.
16. Why is cuboid geometry important in civil engineering?
Cuboid geometry is used in concrete quantity estimation, rectangular tanks, beams, columns, footings, excavation calculations, and geometric modelling.
Learn Cuboid Geometry with SOCE
The SOCE Cuboid Calculator page provides mathematical formulas, worked examples, and practical explanations for understanding cuboid geometry.
Use this Cuboid Calculator guide to study volume, surface area, length, width, height, base diagonal, and space diagonal.
Explore additional mathematics and engineering resources through the SOCE Geometry Calculators collection.