CodeKitHub
English
Everyday Tools

Volume Calculator

Pick a shape — cylinder, sphere, cube, rectangular box or cone — enter its dimensions, and get the volume instantly. The result updates as you type and switches between cubic meters (m³), cubic centimeters (cm³) and cubic feet (ft³) with one click, which makes it useful for water tanks, packaging, storage containers, concrete pours or any job where you need to know how much a shape can hold.

Volume

Everything is calculated in your browser.

What Is This Tool?

A volume calculator applies the right geometric formula to a shape's dimensions and returns how much three-dimensional space it occupies. A cylinder is π times radius squared times height; a sphere is 4/3 times π times radius cubed; a cube is side cubed; a rectangular box is length times width times height; a cone is one-third of π times radius squared times height. Mixing up radius and diameter, or forgetting the 1/3 in the cone formula, are the most common hand-calculation mistakes.

Volume shows up constantly outside of math class: how many liters a water tank or aquarium holds, how much concrete a cylindrical or rectangular slab needs, how much a shipping box can carry, or how much material a cone-shaped pile contains. This tool covers the five shapes that come up most often in those situations, specifically the cylinder — for example, silindirin hacmi (the volume of a cylinder) is one of the most common single-shape volume questions people search for.

Why Use It?

  • Five shapes in one tool: cylinder, sphere, cube, rectangular box and cone.
  • Switch instantly between cubic meters (m³), cubic centimeters (cm³) and cubic feet (ft³).
  • Results update live as you type — no button to press.
  • Handles decimals, so measurements like 3.45 m or 12.5 ft work fine.
  • Free and private — the calculation runs entirely in your browser.

How to Use

  1. Pick the shape tab that matches what you're measuring.
  2. Enter the required dimensions — for example radius and height for a cylinder, or length, width and height for a box.
  3. Read the volume, shown instantly and updated as you adjust the numbers.
  4. Switch units between m³, cm³ and ft³ if you need a different measurement system.

Example

Input

Cylindrical water tank, 0.5 m radius and 1.2 m height

Output

0.94 m³ (about 942 liters)

Volume = π × radius² × height = π × 0.5² × 1.2 ≈ 0.94 m³. Multiply by 1,000 to convert cubic meters to liters.

Volume formulas at a glance

ShapeFormulaNeeds
Cylinderπ × radius² × heightradius, height
Sphere(4/3) × π × radius³radius
Cubeside³side
Rectangular boxlength × width × heightlength, width, height
Cone(1/3) × π × radius² × heightradius, height

Related tools

For converting the resulting volume to a different measurement system, calculating a flat area, or other everyday calculations, these tools pair well with the volume calculator.

Area Calculator · Unit Converter · Liter to ML Converter

Frequently Asked Questions

How do I calculate the volume of a cylinder?

Volume = π × radius² × height. A cylinder with a 0.5 m radius and a 1.2 m height has a volume of π × 0.5² × 1.2 ≈ 0.94 m³. Be careful not to plug the diameter directly into the formula — divide it by 2 first to get the radius.

How do I calculate the volume of a sphere?

Volume = (4/3) × π × radius³. A sphere with a 3-meter radius has a volume of (4/3) × π × 3³ ≈ 113.1 m³.

How do I calculate the volume of a cube or rectangular box?

For a cube, volume = side³ (side × side × side). For a rectangular box, volume = length × width × height. A box 2 m long, 1.5 m wide and 1 m tall holds 2 × 1.5 × 1 = 3 m³.

How do I calculate the volume of a cone?

Volume = (1/3) × π × radius² × height, exactly one-third of a cylinder with the same base and height. A cone with a 1 m radius and a 3 m height has a volume of (1/3) × π × 1² × 3 ≈ 3.14 m³.

How can this help with tanks, packaging or concrete?

Water tanks, aquariums and cylindrical drums use the cylinder formula; shipping boxes and storage containers use length × width × height; a cone-shaped pile of sand or gravel uses the cone formula. Calculate the volume in cubic meters, then multiply by 1,000 to get liters, or use the ft³ unit directly for imperial-based material orders.

Is my data stored anywhere?

No. The calculation runs entirely in your browser with JavaScript; nothing you enter is sent to a server, stored or logged.

Related Tools