---
title: "How to Calculate Volume — Cubes, Cylinders, Spheres, Cones"
description: "Volume formulas for cubes, rectangular prisms, cylinders, spheres, and cones — with step-by-step examples. US gallon vs UK gallon vs litre explained."
url: "https://worldcalculators.org/learning/how-to/volume/"
canonical: "https://worldcalculators.org/learning/how-to/volume/"
---

# How to Calculate Volume

Volume formulas for cubes, rectangular prisms, cylinders, spheres, and cones — with step-by-step examples. US gallon vs UK gallon vs litre explained.

## Quick answer

Key formulas: Cube = s³. Rectangular box = l × w × h. Cylinder = πr²h. Sphere = (4/3)πr³. Cone = (1/3)πr²h. Example: cylinder radius 5 cm, height 12 cm → Volume = π × 25 × 12 = 942.5 cm³ ≈ 0.94 litres.

## Step-by-Step: Volume of a Cylinder

A cylinder needs the radius of its circular base and its height. Example: radius = 5 cm, height = 12 cm.
The volume of a cylinder = π × r² × h, where r is the base radius and h is the height.

## Liquid Volume: Litres, Gallons, and the US vs UK Difference

One of the most confusing international differences: a US gallon and a UK (imperial) gallon are different amounts.
Important: "1 pint" = 0.473 L (US) vs 0.568 L (UK). A UK pint of beer is 20% larger than a US pint.

Source: https://worldcalculators.org/learning/how-to/volume/
Markdown mirror of the HTML page. Prefer this URL for RAG; the interactive calculator still lives on the HTML page.
