Enter the side length of the cube. You get the volume (side × side × side) and, for input in cm, the volume converted to liters (L) and m³.
Table of Contents
-
What you can do on this page
-
What is this calculation used for?
-
How to Use
-
Formulas and figures
-
Symbols and terms
-
Good to know before you start
-
How to calculate it in Excel
-
How to calculate it in Google Sheets
-
How to calculate it in Python
-
How to write it in LaTeX and other math languages (copy and paste)
-
How to have ChatGPT do the calculation
-
DataChef Features
-
Related Features
-
NumberChef Calculators List
What you can do on this page
- Enter the side length, and you get the volume of the cube (volume = side × side × side) right away
- Unit conversions are shown at the same time (for input in inches, US gallons and cubic feet). Switch "Units" to Metric to get liters and m³ for input in cm
- The result is also shown as a 3D figure (drag it with the mouse to turn it around)
- A plain-language explanation of the formulas and copy-and-paste formulas for Excel, Google Sheets and Python are all on this page
What is this calculation used for?
Storage totes are often sold by capacity in gallons, such as "18-gallon tote". A cube-shaped box 16 in on each side has a volume of \(16 \times 16 \times 16 = 4096\,\mathrm{in^3}\), and dividing by 231 gives about 17.7 gallons.
Convert your own boxes or the space you want to fill to gallons with this formula, and you can compare them directly with the capacity listed in stores and online.
Fill a cube aquarium 12 in on each side, and the water volume is \(12 \times 12 \times 12 = 1728\,\mathrm{in^3} = 1\,\mathrm{ft^3}\), about 7.48 gallons. Water weighs about 8.34 lb per gallon, so the water alone is about 62 lb.
How much water conditioner to add depends on the gallons, and checking whether your stand can hold it takes the weight. This formula is the starting point for both.
Many carriers charge by the actual weight or the "dimensional weight" (a weight worked out from the volume), whichever is greater. A cube-shaped box 12 in on each side has a volume of \(12^3 = 1728\,\mathrm{in^3}\). With the divisor of 139 used by major US carriers, the dimensional weight is \(1728 \div 139 \approx 12.4\) lb, which they round up to 13 lb (divisors vary by carrier and service).
Light, bulky packages are hit hardest by dimensional weight, so working out the volume before you ship gives you a good idea of the cost.
Planters, raised beds and post holes that are close to a cube can be estimated with this formula too. A hole 18 in (1.5 ft) on each side is \(1.5 \times 1.5 \times 1.5 = 3.375\,\mathrm{ft^3}\).
Bagged soil is sold by the cubic foot (such as 1.5 ft³ bags) and ready-mix concrete and gravel by the cubic yard, so find the volume first and then convert it to bags (\(3.375 \div 1.5 = 2.25\), so 3 bags) or to an order (\(3.375 \div 27 = 0.125\) yd³).
A common guideline for storing drinking water is 1 gallon per person per day. A cube-shaped water container 8 in on each side holds \(8 \times 8 \times 8 = 512\,\mathrm{in^3}\), or about 2.2 gallons, which is about 2 days for one person.
The volume also tells you it will weigh about 18.5 lb when full (water is about 8.34 lb per gallon). You can check both the storage space and how heavy it is to carry before you buy.
Formulas and figures
Symbols and terms
Symbols
| \(V\) | vee | A symbol often used for volume, from the first letter of "volume". On this page it is the volume of the cube. |
| \(a\) | a | The side length of the cube. All 12 edges of a cube are the same length, so one letter is enough. |
| \(a^3\) | a cubed (a to the third power) | The number \(a\) multiplied by itself 3 times (\(a \times a \times a\)). The small 3 at the upper right is an exponent that tells you to use the number 3 times in a multiplication. |
| \(\mathrm{in^3}\) | cubic inches | A unit of volume. A cube with 1-inch sides has a volume of 1 in³. It is also written "cu in". |
| \(\mathrm{ft^3}\) | cubic feet | A unit of volume. A cube with 1-foot sides has a volume of 1 ft³. \(1\,\mathrm{ft^3} = 1728\,\mathrm{in^3} \approx 7.48\,\mathrm{gal}\). |
| \(\mathrm{gal}\) | gallon | A unit of volume (capacity). The US liquid gallon is exactly \(231\,\mathrm{in^3}\) (about 3.785 L). It is the familiar unit on milk jugs and at the gas pump. |
Terms
| cube | A solid whose faces are all squares of the same size. It has 6 faces, 12 edges and 8 vertices, and every edge is the same length. Dice and a Rubik's Cube are everyday examples. |
| volume | The amount of space a solid takes up, as a number. It is measured by how many unit cubes (such as 1 in³) fit inside. |
| cubed | Multiplying a number by itself 3 times, also called "to the third power". The name comes from this very formula for the volume of a cube. |
| capacity | How much a container can hold. It is measured the same way as volume, using the inside measurements of the container. Gallons, quarts and fluid ounces (or liters and milliliters) are common units. |
| unit conversion | Writing the same amount in a different unit. For volume, the key point is that the length factor cubed is the volume factor (1 ft = 12 in, so 1 ft³ = 1728 in³). |
Good to know before you start
Here is what helps you use the calculation on this page with real understanding, not just by pressing the button.
| Multiplication (Grades 3–4) |
|
| Cubes and rectangular prisms (Grades 1–5) |
|
| What volume is, and its units (Grade 5) |
|
| Multiplying decimals (Grades 5–6) |
|
How to calculate it in Excel
| Side length | 10 |
| Volume of the cube | =B1^3 |
| Volume in in³ | 1000 |
| Volume in gallons | =B1/231 |
| Volume in in³ | 1728 |
| Volume in ft³ | =B1/1728 |
"B1" in a formula stands for "the number in that cell". "^" is a power (how many times to multiply) and "/" is division. "=B1^3" cubes the side, that is, side × side × side.
In the first table, for example, B2 shows 10 × 10 × 10 = 1000 (in³ if you entered inches). The second table shows about 4.33 (gal) in B2, and the third shows 1 (ft³). Just replace the input with your own length.
How to calculate it in Google Sheets
| Side length | 10 |
| Volume of the cube | =B1^3 |
| Volume in in³ | 1000 |
| Volume in gallons | =B1/231 |
| Volume in in³ | 1728 |
| Volume in ft³ | =B1/1728 |
How to calculate it in Python
a = 10 # side length (inches in this example)
volume = a ** 3 # volume of the cube (input unit cubed; in3 in this example)
volume_gal = volume / 231 # for input in inches, the volume in US gallons
print(f"Volume of the cube: {volume} in3")
print(f"In gallons: {volume_gal} gal")
How to write it in LaTeX and other math languages (copy and paste)
V = a³
V = a^{3}
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<mi>V</mi>
<mo>=</mo>
<msup><mi>a</mi><mn>3</mn></msup>
</mrow>
</math>
V = a^3
a^3
V := a^3;
V = a^3;
V = a^3
V[gal] = V[in³] ÷ 231
V_{\mathrm{gal}} = V_{\mathrm{in^3}} \div 231
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<msub><mi>V</mi><mi>gal</mi></msub>
<mo>=</mo>
<msub><mi>V</mi><mrow><msup><mi>in</mi><mn>3</mn></msup></mrow></msub>
<mo>÷</mo>
<mn>231</mn>
</mrow>
</math>
V_(gal) = V_(in^3) -: 231
vIn3/231
vGal := vIn3/231;
v_gal = v_in3/231;
V(gal) = V(in³)/231
V[ft³] = V[in³] ÷ 1728
V_{\mathrm{ft^3}} = V_{\mathrm{in^3}} \div 1728
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow>
<msub><mi>V</mi><mrow><msup><mi>ft</mi><mn>3</mn></msup></mrow></msub>
<mo>=</mo>
<msub><mi>V</mi><mrow><msup><mi>in</mi><mn>3</mn></msup></mrow></msub>
<mo>÷</mo>
<mn>1728</mn>
</mrow>
</math>
V_(ft^3) = V_(in^3) -: 1728
vIn3/1728
vFt3 := vIn3/1728;
v_ft3 = v_in3/1728;
V(ft³) = V(in³)/1728
How to have ChatGPT do the calculation
You are a math calculation assistant. Do the following calculation by actually running Python code, and base your answer only on the numbers from the execution result (do not answer by mental math or guessing). A cube-shaped box is 10 in on each side. Find each of the following: 1. The volume of this cube in in³ 2. That volume in US gallons (1 gal = 231 in³) 3. That volume in ft³ Show the formulas you used and the numbers from the execution result.
How to Use
-
1Enter your numbersType the numbers you want to calculate with into the input fields
-
2CalculatePress the "Calculate" button
-
3Check the resultThe result appears on the spot. The same page also explains the idea behind the calculation and the formula
DataChef Features
No technical knowledge required.
Intuitive and user-friendly operation.
Can be used without registering personal information.
Automatic file deletion by clicking "download".
and rapid file conversion.
No attribution required.
No need to contact us for commercial use permission.
