Use any unit you prefer (cm, m, inches…). The area/volume will be in the corresponding squared/cubed unit. For example, if you enter cm, area will be in cm².
Compute area, perimeter and volume of 2D shapes and 3D solids with formulas.
The calculator gathers the most common plane figures (circle, rectangle, square, triangle and trapezoid) and the most used solids in math and physics courses (cube, rectangular box, cylinder, sphere and cone). For each 2D figure it returns the area and, when it makes sense, the perimeter; for each 3D solid it returns the volume and the surface area. The formulas are the classic ones: circle area A = π·r², sphere volume V = (4/3)·π·r³, cylinder volume V = π·r²·h and so on, and the tool shows each one next to the result. For the cone, the lateral area uses the slant height g = √(r² + h²), computed automatically from the radius and height. One important detail: all measurements must be in the same linear unit, and the result comes out in the matching unit, area in unit² and volume in unit³. The math uses 64-bit floating point (π to ~15 digits) and displays up to 8 significant figures. Everything runs locally in your browser.
For plane figures, area measures the interior region and perimeter measures the outline. Here: circle A = π·r² and perimeter 2·π·r; rectangle A = b·h and P = 2·(b + h); square A = l² and P = 4·l; triangle A = (b·h)/2; trapezoid A = (a + b)·h/2. For the triangle and trapezoid, the perimeter depends on all the sides, which the area does not need, so it appears as not applicable when you provide only base and height.
For solids, volume measures the space occupied and surface area measures the "skin". Cube: V = a³, S = 6·a². Rectangular box: V = c·l·a, S = 2·(cl + ca + la). Cylinder: V = π·r²·h, S = 2·π·r·(r + h). Sphere: V = (4/3)·π·r³, S = 4·π·r². Cone: V = (1/3)·π·r²·h, S = π·r·(r + g), with slant height g = √(r² + h²).
Example 1, circle of radius r = 5. The area is A = π × 5² = 25π ≈ 78.5398, and the circumference is C = 2 × π × 5 = 10π ≈ 31.4159. The unit follows along: if r is in cm, the area comes out in cm² and the perimeter in cm.
Example 2, cylinder of radius r = 3 and height h = 10. The volume is V = π × 3² × 10 = 90π ≈ 282.7433, and the surface area (two caps plus the side) is S = 2π × 3 × (3 + 10) = 78π ≈ 245.0442.
The most common mistake is mixing units: use the same one for every dimension, since area comes in unit² and volume in unit³. Also be careful not to confuse a cone's height (h, perpendicular to the base) with its slant height (g, the inclined side): the tool asks for the height and computes the slant by Pythagoras. Since all measurements represent lengths, negative or zero values are not accepted.
These computations come up constantly outside the classroom: square meters of flooring or paint (area and surface), liters a water tank or vessel holds (volume), packaging material, part sizing and physics problems involving density and pressure. Remember that 1 liter = 1 dm³, handy for converting volume into capacity.
Paste the code into your HTML and the tool shows up on your page, without J-Kit's navigation and ads. It still runs in the browser of whoever visits your site.
<iframe
src="https://jkit.tools/embed/en-US/area-volume-calculator"
width="100%"
height="600"
style="border:0"
loading="lazy"
title="Area & Volume Calculator"
></iframe>These references help contextualize formulas, standards, APIs and limitations used on this page. They do not replace professional validation when a result has legal, financial, medical or operational impact.
Use any unit you prefer (cm, m, inches…). The area/volume will be in the corresponding squared/cubed unit. For example, if you enter cm, area will be in cm².
All calculations stay in your browser. No data is sent to any server.