Volume calculator

Rectangular box volume = length × width × height. Surface area = 2 × (length × width + length × height + width × height).

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

Volume (ft³)

24

More results

Volume = length × width × height

Step-by-step calculation

Each step uses the numbers you entered. Steps show 12 significant digits; the answer uses full precision.

    Compare with other numbers

    Save the current answer, then change an input to compare. This clears when you leave.

    Rounding and decimal places

    Rounding changes how numbers are shown, not how they are calculated.

    Automatic precision rounds answers for reading: up to six significant digits, with whole numbers kept in full. Thousands separators such as 1,000 are accepted; use a dot for decimals.

    More
    Quick calculator

    Use +, −, ×, ÷, parentheses and %. This doesn’t change the tool above.

    Keyboard shortcuts

    Sharing and starting over

    A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

    Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

    How it works

    Choose the shape, then fill in the sizes its drawing shows. A round shape takes a radius or a diameter: switch between them and the labels and the drawing follow.

    Every size uses the unit you choose. The volume is in that unit cubed, and in liters and US gallons; for a tank or box you mean to fill, measure the inside.

    Next: Pipe volume calculator

    Worked example

    A box 4 ft long, 3 ft wide and 2 ft high has a volume of 24 cubic feet, a surface area of 52 sq ft and a space diagonal of 5.39 ft.

    Next: Cylinder volume calculator

    Next: Gravel calculator

    Before you rely on the result

    Each shape is a perfect solid: wall thickness, rounded corners and dents are left out. The triangular prism, ellipsoid and spherical cap give their volume without a surface area.

    Next: Sphere calculator

    Next: Cone volume calculator

    How the volume changes with length

    Other inputs keep their starting values: Shape: Box (rectangular prism); Unit: ft; Width: 3; Height: 2. Examples only, not recommendations.

    LengthVolume (ft³)
    212
    424
    848
    Cite this page

    ToolOctopus. “Volume calculator.” Updated . https://tooloctopus.com/volume-calculator.

    Add an access date if your instructions require one.

    Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

    Find a tool

    Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.