Cuboid Calculator

A cuboid, also called a rectangular box or rectangular prism, is the most common solid shape in everyday life, the form of a room, a shipping carton, a brick, a fish tank or a concrete footing, and this calculator works out its key properties from the three measurements that define it: length, width and height. Enter those and it returns the volume, the total surface area, the space diagonal and the combined length of all the edges, updating as you type. The volume is the simplest result of all, just the three dimensions multiplied together, and it tells you the capacity, how much the box holds or how much material fills it. The surface area takes a little more thought, because a cuboid has three pairs of matching rectangular faces, so it is twice the sum of length times width, length times height and width times height; this is exactly what you need when working out paint, wrapping, cladding or sheet material. The space diagonal is the longest straight line that fits inside the box, running corner to opposite corner through the middle, and it comes from a three-dimensional version of Pythagoras, useful for checking whether a long item will fit in a carton or a vehicle. That makes the tool genuinely useful for a huge range of practical jobs: tradespeople estimating concrete or fill, movers and couriers checking capacity and fit, aquarium owners working out water volume, and students learning solid geometry. Because every result updates live, you can adjust any dimension and immediately see the effect on volume, surface and diagonal, which makes it easy to compare options or scale a design. The formulas and a worked example are explained clearly below.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner
0
volume
Surface area0
Space diagonal0
Total edge length0

How it works

For length l, width w and height h: the volume is l times w times h; the surface area is 2 times (l times w, plus l times h, plus w times h); the space diagonal is the square root of l squared plus w squared plus h squared; and the total edge length is 4 times (l plus w plus h), since a cuboid has four edges of each dimension.

Worked example

For a box 4 by 3 by 2: the volume is 4 times 3 times 2, which is 24. The surface area is 2 times (12 plus 8 plus 6), which is 52. The space diagonal is the square root of 16 plus 9 plus 4, the square root of 29, about 5.39.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About

Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2019 to 2026 Calculate.co.nz. All rights reserved.