Area and Volume Calculator
Compute area or volume of common shapes: square, circle, cube, and cylinder.
Inputs
Allowed range: 0 to 1000000
Allowed range: 0 to 1000000
Allowed range: 0 to 1000000
Results
Area
28.2743 unit²
Circumference
18.8496 unit
Diameter
6.0000 unit
How it works
Square: A = s². Circle: A = π·r², circumference C = 2π·r. Cube: V = s³, surface area S = 6s². Cylinder: V = π·r²·h, surface area S = 2π·r·(r + h).
Complete guide
Pick a shape, then enter the relevant dimensions. Unused inputs are ignored.
For 2D shapes (square, circle) we return area and perimeter/circumference. For 3D shapes (cube, cylinder) we return volume and total surface area.
Units are whatever you put in — results are in the same unit² or unit³.
Frequently asked questions
- Which value of π is used?
- JavaScript's Math.PI (≈ 3.141592653589793).
- Can I use it for a sphere or cone?
- Not in this version — we focus on the four most common shapes. Open an issue if you would like more added.
Related math calculators
Percentage Calculator
Calculate X% of a number, or what percent X is of Y.
Fraction Calculator
Add two fractions and reduce the result.
Percentage Change Calculator
Find the percentage increase or decrease between two values.
Rule of Three Calculator
Solve direct or inverse proportion problems: if A is to B, what is C to X?