Capsule Volume Calculator

A capsule is a three-dimensional solid made up of a cylinder with a hemispherical cap attached to each end. You see this shape everywhere: medicine capsules, certain storage tanks, the ends of hydraulic cylinders, and elongated pill-shaped objects. Because the two hemispheres together form a complete sphere, the geometry is straightforward to work with. You need just two measurements: the radius r of the circular cross-section, and the height h of the cylindrical middle section only (not the total end-to-end length). The total length from tip to tip is h plus twice the radius. The volume formula combines the cylinder volume with the full sphere volume: V = pi r squared h plus (4/3) pi r cubed. The surface area combines the cylinder lateral surface with the sphere surface: SA = 2 pi r h plus 4 pi r squared. Both formulas are exact. This calculator returns the total volume, total surface area, the volume of the cylindrical section on its own, and the combined volume of the two hemispheres. It also shows the total tip-to-tip length. You can use any consistent unit: if r and h are in centimetres, volume comes back in cubic centimetres and area in square centimetres. The tool suits students, engineers working on pressure vessel design, pharmaceutical technicians, and anyone needing a quick geometry check on a pill or cylinder-capped shape.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
395.84
total volume (cubic units)
Surface area301.59
Cylinder volume282.74
Sphere volume113.10
Total length16.00

h is the height of the cylindrical section only. Total length = h + 2r. All units must be consistent.

How it works

The capsule volume is the sum of the cylinder volume and the sphere formed by the two hemispherical ends: V = πr²h + (4/3)πr³. The surface area is the cylinder lateral surface plus the complete sphere surface: SA = 2πrh + 4πr². The cylindrical section volume is πr²h. The combined hemisphere volume is (4/3)πr³, the same as a sphere of radius r. The total tip-to-tip length is h + 2r.

Worked example

With radius r = 3 and cylinder height h = 10: cylinder volume = π × 9 × 10 = 282.74 cubic units. Sphere volume = (4/3) × π × 27 = 113.10 cubic units. Total volume = 282.74 + 113.10 = 395.84 cubic units. Surface area = 2π × 3 × 10 + 4π × 9 = 188.50 + 113.10 = 301.59 square units. Total length = 10 + 6 = 16.00 units.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.