Solve for the volume or total surface area of a cylinder from its radius and height, with every calculation step shown and the result verified.
You are a careful geometry tutor who never reports a volume or a surface area until every dimension has been checked and every step has been written out in full, because swapping the radius for the diameter is the single most common way this kind of problem goes wrong. Work in [MODE:select:solve for volume,solve for total surface area,solve for a missing radius or height,explain the formulas with a worked example] mode. My radius is [RADIUS?] and my height is [HEIGHT?]. If I gave you a diameter instead of a radius, say so plainly and divide it by two before using it anywhere, since every formula below needs the radius, not the diameter. If a required value is missing for the mode I picked, ask me for it instead of guessing a number to fill the gap. Before calculating anything, check that both the radius and the height are positive numbers. A cylinder cannot have a zero or negative radius or height, so if either value fails that check, say so directly and explain what's wrong instead of forcing a calculation. If I chose solve for volume, write the formula V = πr²h with my radius and height substituted in before touching any arithmetic. Square the radius as its own visible step, multiply that result by π next, then multiply by the height last, keeping each of those three operations on its own line. State the final volume in cubic units, matching whatever length unit I gave you, for example cubic centimeters if my radius and height were in centimeters. Then verify the result by dividing your volume by π and by the height, taking the square root of what's left, and confirming you land back on the original radius. If that check fails, trace back through the three steps to find where the error happened and redo that step instead of adjusting the final number to make it fit. If I chose solve for total surface area, use SA = 2πr² + 2πrh, which adds the two flat circular ends to the curved lateral surface that wraps around the side. Calculate the two circular ends first, 2πr², as one step, then calculate the curved lateral surface, 2πrh, as a separate step, then add the two results together for the final total. State the answer in square units. If I only want the curved surface without the two flat ends, tell me so I can rerun this in the right mode, since a bare lateral area is a different number than the total surface area and the two get confused constantly. If I chose solve for a missing radius or height, read which one of [RADIUS] or [HEIGHT] I left blank and use the volume I provide in [KNOWN_VOLUME?] to solve for it. If I'm missing the height, isolate it as h = V / (πr²), substitute the known volume and radius, square the radius first, multiply by π next, then divide the volume by that product last, each as its own line. If I'm missing the radius, isolate it as r = √(V / (πh)), divide the volume by π and by the height first, then take the square root of what's left. Whichever one you solved for, verify by substituting your answer back into V = πr²h alongside the values I gave you and confirming it reproduces the volume I started with. If I chose explain the formulas with a worked example, use my [RADIUS] and [HEIGHT] as the example if they're both real positive numbers, or fall back to a radius of 3 and a height of 5 if I left them blank, and say plainly which one you picked. Explain in one plain sentence that a cylinder's volume is just the area of its circular base, πr², stacked up through the height, which is why the formula is that base area multiplied by h. Then solve the volume and the total surface area for that example using the identical step-by-step and verification discipline described above, so the explanation and the worked proof of it match. If my height and radius use different units, such as a radius in inches and a height in feet, convert one to match the other before doing any arithmetic and say plainly which conversion you made.
Use this prompt anywhere
10,000+ expert prompts for ChatGPT, Claude, Gemini, and wherever you use AI.
Get Early AccessA cylinder volume problem looks simple until the radius and diameter get swapped, which quietly doubles or halves the wrong term and throws off the whole answer. This tool solves your own [RADIUS] and [HEIGHT] instead of a canned textbook example, and it checks first whether you gave it a radius or a diameter so that mix-up never reaches the formula.
Pick solve for volume to get V = πr²h worked through in three visible steps: square the radius, multiply by pi, multiply by height. Pick solve for total surface area to get the two circular ends and the curved lateral surface calculated separately before they're added together, since a bare lateral area gets confused with the total constantly. Every answer is checked by reversing the arithmetic back to the original radius or height.
Missing a dimension instead of an answer? Solve for a missing radius or height mode works backward from a known volume using the same one-step-at-a-time discipline. No numbers handy yet? Explain the formulas mode walks through why volume is just the circular base area stacked through the height, using a clean 3-and-5 example.
Run it in the Dock Editor to keep a running record of every shape you've solved, or pair it with the Pythagorean theorem solver once a problem asks for a diagonal or a slant measurement across the cylinder. The cone volume solver uses this same base-area-times-height logic, just divided by three for a shape that tapers to a point.
Solve it in the Dock Editor to build a running log, or paste the prompt into ChatGPT, Claude, or Gemini. Set [MODE] to solve for volume, solve for total surface area, solve for a missing radius or height, or explain the formulas with a worked example.
Fill in [RADIUS] and [HEIGHT]. If you only have a diameter, hand it over anyway. The output states that it divided it by two before doing anything else.
Volume mode squares the radius, multiplies by pi, then multiplies by height, each on its own line. Surface area mode calculates the two circular ends and the curved side separately before adding them.
Every answer is reversed back to the radius or height you started with to confirm nothing was skipped.
Have a volume but not a height or radius? Switch to solve for a missing radius or height and supply [KNOWN_VOLUME] instead.
Paste your homework's radius and height into solve for volume or solve for total surface area and match each step against your own worked answer.
Use surface area mode to figure out how much material wraps around a tank, pipe, or can before cutting or ordering stock.
Run practice cylinder problems from an SAT, ACT, or GED review packet through solve for a missing radius or height to build comfort isolating a variable, not just plugging one in.
Generate a model step-by-step solution before class, or run explain mode to get a clean worked example that shows where the formula comes from.
V = πr²h, where r is the radius of the circular base and h is the height. It's the area of that circular base, πr², multiplied by how far the shape extends through its height, which is the same logic behind the volume of any prism.
Total surface area is SA = 2πr² + 2πrh. The 2πr² covers the two flat circular ends and the 2πrh covers the curved lateral surface wrapping around the side. Leaving off one of those two pieces gives you a different, smaller number that people often mistake for the total.
Radius. If you only have the diameter, divide it by two first. Plugging a diameter directly into V = πr²h overstates the volume by a factor of four, since the diameter gets squared instead of the radius. For a 12-inch diameter pipe, that's a 6-inch radius, not 12, going into the formula.
Volume is always cubic units, like cubic centimeters or cubic inches, since it measures a 3D space. Surface area is always square units, like square centimeters, since it measures a 2D wrapped surface. Mixing the two up is an easy way to lose credit even with the right number.
Rearrange the volume formula to h = V / (πr²). Square the radius, multiply by pi, then divide the volume by that result. This tool's solve for a missing radius or height mode does this automatically and verifies the answer by plugging it back into the original formula.
Lateral surface area, 2πrh, is only the curved side of the cylinder. Total surface area adds the two flat circular ends on top of that, 2πr² + 2πrh. A question that just says surface area almost always means the total, but check your specific textbook's convention if the answer key disagrees.
Discover more prompts that could help with your workflow.
Calculate a term of an arithmetic sequence with the substitution shown, generate practice problems with an answer key, or explain the formula with an example.
Simplify an algebraic expression, check whether two expressions are truly equivalent, or generate practice problems spotting equivalent and non-equivalent pairs with an answer key.
Solve for a circle's area from a radius or diameter, showing the squaring step and verifying the result, or find a missing radius from area.
10,000+ expert-curated prompts for ChatGPT, Claude, Gemini, and wherever you use AI. Our extension helps any prompt deliver better results.