1. Home
  2. Calculators
  3. Volume Calculator

Volume Calculator

For tanks, packaging, concrete and homework: pick a shape, enter its dimensions and read the volume, the surface area and the capacity in liters.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Volume Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Twelve common solids including frustum and torus
  • Volume, total and lateral surface area and key lengths
  • Millimeters, centimeters, meters, inches or feet
  • Volume also in liters, US gallons and cubic meters
  • Clear labels for each dimension

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Volume Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • The ellipsoid surface area is approximate (about 1%); all other formulas are exact.
  • The shapes are solid and regular; hollow or irregular objects need to be split into parts.

Guide

Volume and surface area of twelve solids, in liters and gallons

Volume tells you how much a container holds, how much material a part needs or how much concrete a footing takes, and surface area tells you how much paint, wrap or insulation covers it. This calculator handles twelve common solids, asks only for the dimensions each one needs, and returns volume, surface area and the lengths that go with them, plus the volume as liters, US gallons and cubic meters.

The shapes and their formulas

Cube: V = a³, surface 6a². Cuboid: V = abc, surface 2(ab + bc + ac). Sphere: V = 4⁄3 πr³, surface 4πr². Hemisphere: half the sphere with a flat base, V = ⅔πr³, surface 3πr². Cylinder: V = πr²h, lateral 2πrh. Cone: V = ⅓πr²h with slant height √(r² + h²). Frustum: V = πh(r₁² + r₁r₂ + r₂²)/3. Rectangular pyramid: V = abh/3. Triangular prism: base area × length. Torus: V = 2π²Rr², surface 4π²Rr. Capsule: a cylinder with a hemisphere at each end.

Using the calculator

Choose the Shape and the Unit of length (millimeters, centimeters, meters, inches or feet), then fill in the dimensions that appear. The page opens on a cylinder with radius 3 and height 10 in centimeters and gives the volume 282.7433388 cm³, total surface 245.044227 cm², lateral surface 188.4955592 cm², base area 28.27433388 cm², and the capacity 0.28274334 liters, 0.074692888 US gallons and 0.000282743339 cubic meters. Sample chips load five examples.

The extra rows

Each shape adds the length that matters for it: the space diagonal and face diagonal of a cube, the space diagonal of a box, the great-circle circumference of a sphere, the slant height of a cone or frustum, the slant heights of a pyramid’s two pairs of faces, the base area and perimeter of a prism, the tube circumference of a torus and the overall length of a capsule. They save a second calculation when you are cutting material or checking that something fits.

Liters and gallons

The volume in your unit is converted by cubing the unit size: one cubic meter is 1,000 liters, and one US gallon is 3.785411784 liters. A 1.2 m cube holds 1.728 m³ = 1,728 liters = 456.5 US gallons, which is the water tank sample. The imperial gallon is not used here; divide liters by 4.54609 if you need it. For other volume units, use the converters linked below.

Worked examples

A sphere of radius 6 cm has volume 904.7786842 cm³, surface 452.3893421 cm² and a great-circle circumference of 37.69911184 cm. A cone of radius 3 and height 4 has slant height 5, volume 37.69911184, lateral area 47.1238898 and total area 75.39822369. A 2 × 3 × 4 m box has 24 m³, a surface of 52 m² and a space diagonal of 5.385164807 m, enough to know whether a 5.3 m pole fits inside. A 6 × 6 base pyramid of height 4 has volume 48 and surface 96.

Dimension names and the frustum

The labels change with the shape so that each dimension is unambiguous: the torus asks for the ring radius R measured to the centre of the tube and the tube radius r, the frustum for bottom and top radii, and the capsule for the end radius and the cylinder length between the ends. For a frustum with equal radii the page asks you to choose the cylinder instead. Radius and height must be positive numbers.

Limits

The shapes are solid and regular. Hollow parts, such as a pipe wall, must be found as the difference of two volumes, and irregular objects must be split into pieces. The surface area of a general ellipsoid has no closed form, so the tool uses Knud Thomsen’s formula with p = 1.6075, accurate to about 1%; its volume is exact, and with equal axes it reproduces the sphere. Results are in the unit you choose, cubed or squared.

Checked against the current version of the Volume Calculator on .

Frequently asked questions

How do I find how many liters a rectangular tank holds?

Choose the rectangular box, enter its three inside dimensions in one unit and read the row Volume in liters. A tank of 2 × 3 × 4 meters holds 24 cubic meters, which is 24,000 liters. If you measured in centimeters, divide the cubic-centimeter volume by 1,000 to get liters.

What is the difference between lateral and total surface area?

Lateral area counts only the side of a shape and leaves out the bases, while total area adds the bases. A cylinder of radius 3 and height 10 has lateral area 188.4955592 and total area 245.044227, the difference being the two circular ends of 28.27433388 each. Use lateral area for a label or wrap, total area for paint.

How do I get liters from cubic centimeters?

One liter is 1,000 cm³, so divide the volume in cm³ by 1,000. The tool shows liters and gallons for any unit you choose.

How accurate is the ellipsoid surface area?

There is no closed form, so it uses Knud Thomsen’s formula, accurate to about 1%. The volume is exact.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.