What is a cuboid, and what does its volume tell you?
A %s is %s. Its area is the amount of flat space it covers, measured in square units — square centimetres, square metres, or square feet, depending on the numbers you type in. This calculator works it out from the measurements you already have, so you do not need to remember the formula.
The page gives you more than the area alone. %s That extra line matters, because most real jobs need two or three numbers at once: the area for covering a surface, and a length such as the perimeter for edging or framing it.
Everything runs in your browser, so your numbers never leave your device. There is no sign-up, no upload, and no waiting. Change any measurement and every result updates live. Cuboids are the shape of most things that get packed, shipped, or built. Their volume is the capacity — how much fits inside a box, a tank, or a room — and it is the number that decides the size of a carton, the air in a room, or the concrete in a foundation.
How a cuboid volume calculator works
The calculation rests on one formula: Volume = length × width × height; Surface area = 2 × (lw + lh + wh). The volume is length × width × height: the area of the base, length × width, stacked height high. The surface area adds the three pairs of faces: 2(lw + lh + wh). The space diagonal is √(l² + w² + h²). It looks simple, and it is — the skill lies in feeding it the right numbers, in the right units, and in the right places.
Here is the default example on this page, worked through slowly. Take the defaults on this page: length 3 cm, width 4 cm, height 5 cm. The volume is 3 × 4 × 5 = 60 cubic centimetres. The surface area is 2 × (12 + 15 + 20) = 94 square centimetres, and the space diagonal is √(9 + 16 + 25) = √50 = 7.07 cm. If the result looks far too big or far too small, the first thing to check is always the inputs: a missing decimal point or a centimetre typed as a metre is the usual cause.
One point about units deserves attention. Volume comes out in cubic units and surface area in square units. A box 3 by 4 by 5 centimetres holds 60 cubic centimetres, which is 60 millilitres. Keep all three measurements in the same unit, or the volume will be wrong by a large factor. Keep every measurement in the same unit before you type it in — all centimetres, or all metres, or all inches. Mixing units is the fastest way to get a confident-looking wrong answer.
Length, width, height: does the order matter?
The measurement people get wrong most often here is which side is the length and which is the width. It does not matter at all. The volume multiplies all three together, so 3 × 4 × 5 is 60 whichever order you type them in, and the surface area and diagonal come out the same too. What matters is measuring three different edges that meet at one corner — one running each way — and not measuring the same edge twice. The difference sounds small on paper, but it changes the answer directly, so it is worth getting clear before you type anything.
A practical way to measure it is pick one corner and measure the three edges that meet there: one along the bottom, one across the bottom, and one straight up. Those are your three numbers. The longest of the three is usually called the length, but the calculator does not care about the names. Once you have that number, the rest is straightforward: type it in, check the other fields, and read the result.
The same care applies to the other fields. All three fields are lengths, and all three are needed. If two of them are equal, the box is a square prism; if all three are equal, it is a cube, and the volume is simply the side cubed. Short version: measure twice, type once, and glance at the answer before you act on it. A result that is double or half what you expected almost always means one input is wrong.
A worked example: a carton 2 cm by 3 cm by 6 cm
Let us work a full example from scratch. A small carton measures 2 cm by 3 cm by 6 cm. The packer needs its capacity and the amount of cardboard in its surface. Write the inputs down first, then the formula, then substitute the numbers. That order — inputs, formula, substitution — is the habit that keeps school and site work free of silly errors.
Volume = 2 × 3 × 6 = 36 cubic centimetres. The surface area is 2 × (6 + 12 + 18) = 72 square centimetres. The space diagonal is √(4 + 9 + 36) = √49 = 7 cm exactly — the longest item that would fit inside the carton. The intermediate steps are worth a look, not just the final answer. A neat check: the three face areas are 6, 12, and 18, each appearing twice, so 2 × 36 = 72. And the diagonal of 7 is longer than the longest edge, 6, as it must be. When you run the same numbers through this calculator, the results match these figures exactly, to two decimal places.
Now change one input and watch what happens. Double the height from 6 to 12 and the volume doubles, from 36 to 72. Double all three sides and the volume multiplies by eight, to 288. Each side pulls the volume in direct proportion, so the longest side is worth measuring most carefully only because its errors are biggest in absolute terms. That sensitivity is useful in real life: it tells you which measurement is worth re-checking with the tape and which one barely moves the answer.
Where cuboid volume does real work
Shippers and warehouse staff use it for cartons, and builders use it for rooms and foundations. For example, a room 4 metres long, 3 metres wide, and 3 metres high holds 36 cubic metres of air, which is the figure an air-conditioner is sized on. A carton 40 cm by 30 cm by 20 cm holds 24,000 cubic centimetres, or 24 litres. The calculator fits naturally into that workflow because it answers in seconds and lets you compare sizes without redoing the maths by hand each time.
It also decides concrete for a rectangular footing, water in a rectangular tank, and soil in a raised bed. A tank 2 metres by 1 metre by 1 metre holds 2 cubic metres, which is 2,000 litres. Students meet the same shape in school, usually in geometry class, where the task is to show the working as well as the answer. The formula box on this page and the worked example above give the steps in the form a teacher expects.
A third group uses it for checking. A homeowner checking whether a sofa fits through a door, using the space diagonal, or a seller checking a courier's volume claim. If a courier charges for 100 litres on a 40 by 30 by 20 centimetre carton, the calculator says the true volume is 24 litres. A quick check against the calculator either confirms the figure or flags a mistake before money is spent or marks are lost. That is the real value of a tool like this: not the arithmetic, but the second opinion, delivered instantly. Related shapes are covered by the square root calculator and the percentage calculator.
Cuboid volume vs cube volume
People often ask whether to use this calculator or a rectangle area calculator. The honest answer is that they answer different questions, and the right one depends on the shape in front of you. The flat cousin is the rectangle: its area is length × width, in square units, and it is one face of the cuboid. The cuboid volume is that face area times the height, so the rectangle calculator gives you the base and this one finishes the job. A 3 by 4 face covers 12 square units; stacked 5 high it holds 60 cubic units.
The confusion is understandable, because people sometimes use the cube formula, side cubed, for a box whose sides differ. That only works when all three are equal. For a 3 by 4 by 5 box, cubing any one side gives 27, 64, or 125 — none of which is the true volume of 60. If you are unsure which shape you have, count the sides and check the angles: the shape with the matching description is the one to calculate.
A useful rule is to pick the calculator by the shape, not by the answer you want. If all three sides are equal, either calculator works. If they differ, use this one and measure all three edges. The square area calculator is the flat cousin for a box whose sides are all equal, while the rectangle calculator gives the area of one face. Both tools are free and live on this site, so switching between them costs nothing — but using the wrong one costs you the correct answer.
Common cuboid mistakes
The first mistake is measuring the same edge twice. The three numbers must be three different edges meeting at one corner. Measuring the length twice and skipping the width gives a wrong volume that still looks plausible. It is easy to do when you are in a hurry, and the result looks plausible, which is what makes it dangerous.
The second mistake is forgetting that the surface area has six faces. The three face areas — 12, 15, and 20 for the default box — each appear twice, so the total is 94, not 47. Halving the answer is the classic slip. A good habit is to write the unit next to every measurement as you take it, and to convert everything to one unit before you start typing.
The third mistake is mixing units across the three sides. A length in metres, a width in centimetres, and a height in millimetres will give nonsense. Convert all three to one unit first, then type them in. Check the result against a rough estimate in your head before you trust it: if the rough figure and the calculator disagree by a lot, re-measure before you believe either one.
The fourth mistake is using the face diagonal instead of the space diagonal. The diagonal across the 3-by-4 face is 5 cm, but the space diagonal through the box is 7.07 cm. A rod of 6 cm fits across the face and inside the box, but a rod of 7 cm only fits on the space diagonal. The calculator gives you the numbers; the units, the shape, and the sense-check are still yours.
How to use this cuboid volume calculator
Using the calculator takes under a minute. Pick one corner of the box and measure the three edges that meet there — one along, one across, and one up — then type the three numbers in. Type the numbers into the labelled boxes — each box says what it wants, and the unit sits beside it. The results appear below as you type, with the headline answer highlighted at the top.
Read the headline result first, then the supporting rows. The surface area sits below it, for paint, cardboard, or wrapping, and the space diagonal below that — the longest straight item that will fit inside the box. If you are buying material, round up to the next whole unit and add a little extra for cutting and waste; the calculator gives the exact figure, and the real world always needs a margin.
Your data stays on your device. Nothing is uploaded, stored, or shared, and there is no account to create. You can share the page with the share button or print the result for a quote, a bill, or a homework sheet.