How the cylinder volume formula works
A cylinder is a circle given height. That is the whole idea. The base is a circle with area πr², and the volume is that circular area carried straight up through the height h. So the formula V = πr²h is really just "area of the base times height," the same base-times-height logic you already use for a box.
One consequence worth knowing: height and radius do not pull equal weight. Double the height and the volume doubles. Double the radius and the volume quadruples, because the radius gets squared. If you are sizing a tank and want more capacity, going wider beats going taller.
The formula
V is the volume, r is the radius of the circular base (half the diameter), and h is the height. If you measured the diameter d instead, use r = d ÷ 2 first, or pick the diameter option above and we do it for you.
Surface area of a cylinder
Two formulas cover it. The lateral surface area is the curved side only: 2πrh, which is what you get if you unroll the side into a flat rectangle (the circumference 2πr wide, h tall). The total surface area adds the two circular ends: 2πrh + 2πr². Use lateral area for wrapping a label around a can; use total area for painting a closed tank. For an open-top container, add just one end: 2πrh + πr².
This is secretly a tank calculator
Half the people searching "volume of a cylinder" are not doing homework. They are standing next to a water tank, a rain barrel, a propane cylinder, a pipe, or a five gallon bucket, and the real question is "how much does this thing hold?" Cubic inches are a terrible answer to that question, so we do not stop there. Pick inches, feet, centimeters, or meters above and the result includes gallons and liters. Measure the inside of the container if you can (walls steal a little capacity), measure across the middle for the diameter, and let the calculator handle the rest. For pools with a shallow and deep end, use our pool volume calculator instead, since depth varies.
Worked example
Find the volume of a cylinder with radius 3 and height 10.
Step 1: square the radius. r² = 3 × 3 = 9.
Step 2: multiply by the height. 9 × 10 = 90.
Step 3: multiply by pi. V = 90π ≈ 282.74 cubic units.
Surface area comes along for free: lateral area = 2πrh = 2π × 3 × 10 = 60π ≈ 188.50, and total area = 60π + 2π(3²) = 78π ≈ 245.04 square units.
The mistake that quadruples your answer
The single most common cylinder error is putting the diameter where the radius belongs. Since the formula squares r, using d instead of r inflates the volume by a factor of exactly 4. If your answer looks suspiciously large, or a "12 inch" bucket seems to hold 47 gallons, check which measurement you took. Measuring across the whole circle gives diameter; the formula wants half of that. This calculator's radius or diameter toggle exists precisely because of this mistake.