{"id":67248,"date":"2026-10-20T13:06:01","date_gmt":"2026-10-20T10:06:01","guid":{"rendered":"https:\/\/wpcalc.com\/en\/?p=67248"},"modified":"2026-10-20T13:06:01","modified_gmt":"2026-10-20T10:06:01","slug":"tank-volume-calculator","status":"publish","type":"post","link":"https:\/\/wpcalc.com\/en\/converters\/tank-volume-calculator\/","title":{"rendered":"Tank Volume Calculator"},"content":{"rendered":"<section class=\"not-prose calculator-box\" aria-labelledby=\"calculator-title\"><div class=\"flex items-baseline sm:items-center justify-between gap-2 sm:gap-3\"><div class=\"flex flex-col sm:flex-row sm:items-center gap-2\"><span class=\"icon icon-calculator text-primary-700! text-base! dark:text-primary-300!\" aria-hidden=\"true\"><\/span><h2 id=\"calculator-title\" class=\"text-lg font-display font-bold\">Calculate Total and Filled Tank Volume<\/h2><\/div><div class=\"calcdash-favorite group\">\n  <button type=\"button\" class=\"favorite\" id=\"favorite\" data-favorite-id=\"67248\" data-favorite-title=\"Tank Volume\" data-favorite-url=\"https:\/\/wpcalc.com\/en\/converters\/tank-volume-calculator\/\" data-favorite-excerpt=\"Calculate the total and filled volume of cylindrical, capsule, oval, rectangular and cone-bottom tanks. Enter the tank dimensions and the measured liquid depth to get the volume in liters, gallons, ft\u00b3 and m\u00b3, plus the fill percentage.\" aria-label=\"Add to Favorites\" data-favorite-icon=\"icon icon-volume\">\n    <span class=\"icon icon-shape-star-empty\" aria-hidden=\"true\"><\/span>\n  <\/button>\n  <div class=\"calcdash-favorite__tip\" aria-hidden=\"true\">\n   <span class=\"favorite-tooltip\" id=\"favorite-tooltip\"><\/span>\n  <\/div>\n  <span class=\"sr-only\" role=\"status\" id=\"favorite-status\"><\/span>\n<\/div><\/div><form action=\"https:\/\/wpcalc.com\/en\/converters\/tank-volume-calculator\/\" method=\"POST\" class=\"calculator\" id=\"calculator-67248\" data-post=\"67248\"><fieldset class=\"fieldset-input is-2\"><legend class=\"sr-only\">Input Fields<\/legend><div class=\"field is-single\" id=\"input-1\"><label for=\"field-1\">Tank shape<\/label><div class=\"grid grid-cols-1\"><select id=\"field-1\" name=\"tank_shape\"><option value=\"h_cyl\" selected>Horizontal cylinder (flat ends)<\/option><option value=\"v_cyl\">Vertical cylinder<\/option><option value=\"rect\">Rectangular (box)<\/option><option value=\"h_caps\">Horizontal capsule (rounded ends)<\/option><option value=\"v_caps\">Vertical capsule (rounded top and bottom)<\/option><option value=\"h_oval\">Horizontal oval \/ elliptical<\/option><option value=\"cone\">Cone-bottom vertical cylinder<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><div class=\"field has-term\" id=\"input-2\"><label for=\"field-2\">Diameter (D)<\/label><div class=\"term\">D<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"diameter_d\" id=\"field-2\" aria-describedby=\"calc-info-2\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"48\"\/><div class=\"grid grid-cols-1\"><select id=\"field-3\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-2\">Inside diameter.<\/small><\/div><div class=\"field has-term\" id=\"input-3\"><label for=\"field-4\">Length (L)<\/label><div class=\"term\">L<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"length_l\" id=\"field-4\" aria-describedby=\"calc-info-4\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"120\"\/><div class=\"grid grid-cols-1\"><select id=\"field-5\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-4\">For capsules: the straight cylindrical section, not counting the rounded ends.<\/small><\/div><div class=\"field has-term\" id=\"input-4\" hidden><label for=\"field-6\">Height (H)<\/label><div class=\"term\">H<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"height_h\" id=\"field-6\" aria-describedby=\"calc-info-6\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"36\"\/><div class=\"grid grid-cols-1\"><select id=\"field-7\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-6\">For an oval tank: the vertical diameter of the cross-section.<\/small><\/div><div class=\"field has-term\" id=\"input-5\" hidden><label for=\"field-8\">Width (W)<\/label><div class=\"term\">W<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"width_w\" id=\"field-8\" aria-describedby=\"calc-info-8\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"30\"\/><div class=\"grid grid-cols-1\"><select id=\"field-9\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-8\">For an oval tank: the horizontal diameter of the cross-section.<\/small><\/div><div class=\"field has-term\" id=\"input-6\" hidden><label for=\"field-10\">Cylinder height (Hc)<\/label><div class=\"term\">Hc<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"cylinder_height_hc\" id=\"field-10\" aria-describedby=\"calc-info-10\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"24\"\/><div class=\"grid grid-cols-1\"><select id=\"field-11\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-10\">Height of the straight section: between the rounded caps, or above the cone.<\/small><\/div><div class=\"field has-term\" id=\"input-7\" hidden><label for=\"field-12\">Cone height (Hk)<\/label><div class=\"term\">Hk<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"cone_height_hk\" id=\"field-12\" aria-describedby=\"calc-info-12\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"12\"\/><div class=\"grid grid-cols-1\"><select id=\"field-13\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-12\">Height of the conical bottom.<\/small><\/div><div class=\"field has-term\" id=\"input-8\"><label for=\"field-14\">Fill height (h)<\/label><div class=\"term\">h<\/div>  <div class=\"absolute bottom-0 left-16 top-8 w-2 h-0.5 bg-blue-500\"><\/div><div class=\"field-group\"><input type=\"text\" name=\"fill_height_h\" id=\"field-14\" aria-describedby=\"calc-info-14\" data-number inputmode=\"decimal\" autocomplete=\"off\" spellcheck=\"false\" min=\"0\" value=\"12\"\/><div class=\"grid grid-cols-1\"><select id=\"field-15\" name=\"unit\" aria-label=\"Unit\"><option value=\"in\" selected>in<\/option><option value=\"ft\">ft<\/option><option value=\"mm\">mm<\/option><option value=\"cm\">cm<\/option><option value=\"m\">m<\/option><\/select><svg class=\"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4\" viewBox=\"0 0 16 16\" fill=\"currentColor\" aria-hidden=\"true\" data-slot=\"icon\">\n              <path fill-rule=\"evenodd\" d=\"M4.22 6.22a.75.75 0 0 1 1.06 0L8 8.94l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.28a.75.75 0 0 1 0-1.06Z\" clip-rule=\"evenodd\" \/>\n            <\/svg><\/div><\/div><small id=\"calc-info-14\">Depth of liquid measured from the very bottom of the tank. Must not exceed the diameter (horizontal tanks) or the total height (vertical tanks).<\/small><\/div><\/fieldset><div class=\"buttons\"><button type=\"submit\" data-text=\"Re-Calculate\" id=\"calculate-button\" data-post=\"67248\">Calculate<\/button><button type=\"reset\">Reset<\/button><\/div><div class=\"field is-checkbox hidden!\" id=\"field-auto-calc\"><input type=\"checkbox\" id=\"auto-calc\"><label for=\"auto-calc\">Calculate automatically<\/label><small>If enabled, the result will update automatically when you change any value.<\/small><\/div><div class=\"fieldset-result is-hidden\" aria-labelledby=\"result-title\" aria-live=\"polite\" role=\"region\"> <h3 class=\"result-title bg-gradient-to-r from-primary-50 to-gray-50 dark:from-primary-900 dark:to-gray-800\" id=\"result-title\"><span class=\"icon icon-s-pulse\" aria-hidden=\"true\"><\/span> Volume Results<\/h3><div class=\"result-box\"><div class=\"field-result\" id=\"output-1\"><span class=\"field-title\"><span>Total volume<\/span><\/span><span class=\"field-value\" id=\"result-1\" data-unit=\"liters\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-2\"><span class=\"field-title\"><span>Total volume<\/span><\/span><span class=\"field-value\" id=\"result-2\" data-unit=\"US gal\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-3\"><span class=\"field-title\"><span>Total volume<\/span><\/span><span class=\"field-value\" id=\"result-3\" data-unit=\"ft\u00b3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-4\"><span class=\"field-title\"><span>Total volume<\/span><\/span><span class=\"field-value\" id=\"result-4\" data-unit=\"m\u00b3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-5\"><span class=\"field-title\"><span>Filled volume<\/span><\/span><span class=\"field-value\" id=\"result-5\" data-unit=\"liters\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-6\"><span class=\"field-title\"><span>Filled volume<\/span><\/span><span class=\"field-value\" id=\"result-6\" data-unit=\"US gal\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-7\"><span class=\"field-title\"><span>Filled volume<\/span><\/span><span class=\"field-value\" id=\"result-7\" data-unit=\"ft\u00b3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-8\"><span class=\"field-title\"><span>Filled volume<\/span><\/span><span class=\"field-value\" id=\"result-8\" data-unit=\"m\u00b3\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result\" id=\"output-9\"><span class=\"field-title\"><span>Fill level<\/span><\/span><span class=\"field-value\" id=\"result-9\" data-unit=\"%\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-10\"><span class=\"field-title\"><span>Tank diagram (liquid level shown)<\/span><\/span><span class=\"field-value\" id=\"result-10\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><div class=\"field-result is-column\" id=\"output-11\"><span class=\"field-title\"><span>Calculation details<\/span><\/span><span class=\"field-value\" id=\"result-11\"><\/span><button type=\"button\" class=\"copy-result\" data-tooltip=\"Copy Result\" aria-label=\"Copy Result\"><span class=\"copy-icon icon icon-document-copy\" aria-hidden=\"true\"><\/span><\/button><\/div><\/div><div class=\"result-actions\"><button type=\"button\" class=\"copy-link\"><svg viewBox=\"0 0 20 20\" fill=\"currentColor\" aria-hidden=\"true\"><path d=\"M12.232 4.232a2.5 2.5 0 0 1 3.536 3.536l-1.225 1.224a.75.75 0 0 0 1.061 1.06l1.224-1.224a4 4 0 0 0-5.656-5.656l-3 3a4 4 0 0 0 .225 5.865.75.75 0 0 0 .977-1.138 2.5 2.5 0 0 1-.142-3.667l3-3Z\"\/><path d=\"M11.603 7.963a.75.75 0 0 0-.977 1.138 2.5 2.5 0 0 1 .142 3.667l-3 3a2.5 2.5 0 0 1-3.536-3.536l1.225-1.224a.75.75 0 0 0-1.061-1.06l-1.224 1.224a4 4 0 1 0 5.656 5.656l3-3a4 4 0 0 0-.225-5.865Z\"\/><\/svg><span class=\"copy-link__text\">Copy link to this calculation<\/span><\/button><span class=\"sr-only\" role=\"status\" id=\"copy-link-status\"><\/span><\/div><\/div><a href=\"#respond\" class=\"hidden transition-opacity duration-300 opacity-0 w-50 text-sm justify-center items-center gap-2 px-4 py-2 rounded bg-gray-200 text-gray-700 hover:bg-gray-300\" id=\"leave-comment\"><span class=\"icon icon-comments\" aria-hidden=\"true\"><\/span>Leave a Comment<\/a><\/form><\/section><section id=\"calc-reactions\" class=\"not-prose hidden my-12 bg-gradient-to-r from-primary-50 to-gray-50 border border-indigo-100 rounded-xl px-6 py-4 shadow-sm\" data-post=\"67248\" aria-live=\"polite\" aria-labelledby=\"calc-reactions-title\"><p id=\"calc-reactions-title\" class=\"text-sm text-gray-500 text-center mb-2\">How did this result make you feel?<\/p><div role=\"group\" aria-labelledby=\"calc-reactions-title\" class=\"grid grid-cols-3 sm:flex sm:flex-row sm:justify-around gap-4 sm:items-center sm:flex-wrap\"><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"like\"><span class=\"reaction-count\" data-reaction-count=\"like\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude00 <\/span><span class=\"reaction-description font-medium\">Like <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"helpful\"><span class=\"reaction-count\" data-reaction-count=\"helpful\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\udca1 <\/span><span class=\"reaction-description font-medium\">Helpful <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"confused\"><span class=\"reaction-count\" data-reaction-count=\"confused\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude15 <\/span><span class=\"reaction-description font-medium\">Confused <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"disappointed\"><span class=\"reaction-count\" data-reaction-count=\"disappointed\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\ud83d\ude1e <\/span><span class=\"reaction-description font-medium\">Disappointed <\/span><\/button><button type=\"button\" aria-pressed=\"false\" class=\"reaction-btn flex flex-col items-center gap-1 text-sm text-gray-700 hover:text-primary-600 cursor-pointer transition-transform hover:scale-105\" data-reaction=\"inaccurate\"><span class=\"reaction-count\" data-reaction-count=\"inaccurate\">0<\/span><span class=\"reaction text-3xl\" aria-hidden=\"true\">\u274c <\/span><span class=\"reaction-description font-medium\">Inaccurate <\/span><\/button><\/div><div id=\"reaction-message\" class=\"hidden mt-8 rounded-md border border-primary-100 bg-white\/50 backdrop-blur-sm px-4 py-2 text-sm text-center shadow-sm\"><\/div><\/section><div class=\"calcdash-ad not-prose calcdash-ad--calc_result calcdash-ad--in-article\"><ins class=\"adsbygoogle\" style=\"display:block\" data-ad-client=\"ca-pub-1721569815777345\" data-ad-slot=\"6317458308\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\"><\/ins><script>(adsbygoogle = window.adsbygoogle || []).push({});<\/script><\/div>\n<style id=\"wpcoderpro-inline-1\">.formula-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section class=\"formula-box\" aria-labelledby=\"formula-title\">\r\n\t<div id=\"formula-title\" class=\"not-prose font-display mb-4\"><span class=\"icon icon-formula\" aria-hidden=\"true\"><\/span><h2>Tank Volume Formula<\/h2><\/div>\r\n\t<figure class=\"not-prose formula\">\r\n\t\t<figcaption class=\"formula-title\">Formula<\/figcaption>\r\n\t\t<div class=\"text-base text-gray-800\" id=\"formula\">\n\\[ V_{total} = \\pi \\left(\\frac{D}{2}\\right)^{2} L \\\\\\\\ A(h) = r^{2} \\arccos\\!\\left(\\frac{r-h}{r}\\right) - (r-h)\\sqrt{2rh - h^{2}} \\\\\\\\ V_{filled} = A(h) \\cdot L, \\quad r = \\frac{D}{2} \\]\n<\/div>\r\n\t<\/figure>\r\n\t<\/p>\n<p><strong>Where:<\/strong><\/p>\n<ul>\n<li>\\(D\\) \u2014 inside diameter of the tank (m)<\/li>\n<li>\\(L\\) \u2014 length of the cylindrical section (m)<\/li>\n<li>\\(r\\) \u2014 radius, equal to half the diameter<\/li>\n<li>\\(h\\) \u2014 fill height, i.e. the depth of liquid measured from the bottom of the tank (m)<\/li>\n<li>\\(A(h)\\) \u2014 area of the circular segment covered by liquid at depth \\(h\\)<\/li>\n<\/ul>\n<p>The formulas above describe a horizontal cylinder with flat ends, the default shape. The total volume is simply the cross-section area times the length, while the filled volume multiplies the length by the circular segment area wetted by the liquid. For every other supported shape the calculator applies the analogous exact formula \u2014 an elliptical segment scaled by \\(a\/b\\) for oval tanks, spherical-cap volumes for capsule ends, and a cubic term for the cone section of cone-bottom tanks.<\/p>\n<p>\r\n<\/section>\n<style id=\"wpcoderpro-inline-459\">.calculation-box {\r\n\tborder-bottom: none !important;\r\n}<\/style><section id=\"calculation\" class=\"calculation-box\" aria-labelledby=\"calculation-title\">\r\n\t<div id=\"calculation-title\" class=\"not-prose font-display\"><span class=\"icon icon-unordered-list\" aria-hidden=\"true\"><\/span><h2>Tank Volume \u2013 Calculation Example<\/h2><\/div>\r\n\r\n<\/p>\n<p><strong>Example:<\/strong> a horizontal cylindrical tank with an inside diameter of \\(D = 48\\) in (4 ft) and a length of \\(L = 120\\) in (10 ft), containing liquid to a depth of \\(h = 12\\) in (1 ft).<\/p>\n<p>\\[ V_{total} = \\pi \\times \\left(\\frac{4\\ \\text{ft}}{2}\\right)^{2} \\times 10\\ \\text{ft} = 125.66\\ \\text{ft}^{3} \\approx 3558\\ \\text{L} \\approx 940\\ \\text{US gal} \\]<\/p>\n<p>The liquid depth of 1 ft equals half the radius (\\(r = 2\\) ft, so \\(h = r\\)), meaning the circular segment is exactly half of the circle:<\/p>\n<p>\\[ V_{filled} = \\frac{V_{total}}{2} = 62.83\\ \\text{ft}^{3} \\approx 1779\\ \\text{L} \\approx 470\\ \\text{US gal} \\]<\/p>\n<p><strong>Result:<\/strong> the tank holds about 3.558 m\u00b3 (3558 L, 940 US gal, 125.66 ft\u00b3) in total, and the liquid fills 1.779 m\u00b3 (1779 L, 470 US gal, 62.83 ft\u00b3) \u2014 the tank is exactly <strong>50%<\/strong> full.<\/p>\n<p>\n\r\n<\/section>\n<h2>How to Use the Calculator<\/h2>\n<ol>\n<li>Select the <strong>Tank shape<\/strong> from the dropdown: horizontal or vertical cylinder, rectangular box, horizontal or vertical capsule, horizontal oval, or a cone-bottom vertical cylinder.<\/li>\n<li>Enter the tank dimensions \u2014 <strong>Diameter (D)<\/strong>, <strong>Length (L)<\/strong>, <strong>Height (H)<\/strong>, <strong>Width (W)<\/strong>, <strong>Cylinder height (Hc)<\/strong> and\/or <strong>Cone height (Hk)<\/strong> \u2014 using the unit dropdown next to each field. Only the fields used by the selected shape are shown, so you never have to guess what to leave blank.<\/li>\n<li>Enter the <strong>Fill height (h)<\/strong>: the vertical depth of liquid measured from the very bottom of the tank. Use 0 for an empty tank. For horizontal shapes it must not exceed the diameter; for vertical shapes it must not exceed the total height.<\/li>\n<li>Read the <strong>Volume Results<\/strong>: total and filled volume in liters, US gallons, cubic feet and cubic meters, the fill level in percent, a to-scale diagram with the liquid level, and a step-by-step calculation detail showing the exact formula used.<\/li>\n<\/ol>\n<h2>What the Results Mean and Why They Matter<\/h2>\n<p>Knowing a tank's <strong>total volume<\/strong> tells you its capacity \u2014 what it can hold when completely full. The <strong>filled volume<\/strong> tells you how much liquid is actually inside right now. Together they answer everyday questions: how much fuel is left, how much a delivery truck must bring to top the tank off, how much chemical to add to reach a target concentration, or whether rainwater storage is sufficient for a dry spell.<\/p>\n<p>An important subtlety: for <strong>horizontal<\/strong> tanks (horizontal cylinders, capsules and ovals), the relationship between fill height and volume is <em>non-linear<\/em>. Because the tank is wider in the middle than near the top and bottom, a dipstick reading of 25% of the diameter corresponds to only about 19.5% of the volume, and the half-full mark sits exactly at the centerline. This is why gauge charts and this calculator must use the segment formulas rather than simple proportions. For <strong>vertical<\/strong> tanks the math is linear \u2014 fill percentage equals depth percentage.<\/p>\n<p>The <strong>fill level<\/strong> result makes interpretation easy: 100% means the liquid reaches the very top, 50% means half the capacity is used. If you need the <em>weight<\/em> of the contents rather than the volume, multiply the filled volume by the liquid's density with our <a href=\"https:\/\/wpcalc.com\/en\/converters\/density-units-converter\/\">density unit converter<\/a>.<\/p>\n<h2>Total Volume Formulas for Each Shape<\/h2>\n<table>\n<thead>\n<tr>\n<th>Tank shape<\/th>\n<th>Total volume formula<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Horizontal cylinder (flat ends)<\/td>\n<td>\\(V = \\pi\\left(\\frac{D}{2}\\right)^{2} L\\)<\/td>\n<\/tr>\n<tr>\n<td>Vertical cylinder<\/td>\n<td>\\(V = \\pi\\left(\\frac{D}{2}\\right)^{2} H\\)<\/td>\n<\/tr>\n<tr>\n<td>Rectangular (box)<\/td>\n<td>\\(V = L \\times W \\times H\\)<\/td>\n<\/tr>\n<tr>\n<td>Horizontal capsule<\/td>\n<td>\\(V = \\pi\\left(\\frac{D}{2}\\right)^{2} L + \\frac{4}{3}\\pi\\left(\\frac{D}{2}\\right)^{3}\\)<\/td>\n<\/tr>\n<tr>\n<td>Vertical capsule<\/td>\n<td>\\(V = \\pi\\left(\\frac{D}{2}\\right)^{2} H_c + \\frac{4}{3}\\pi\\left(\\frac{D}{2}\\right)^{3}\\)<\/td>\n<\/tr>\n<tr>\n<td>Horizontal oval (elliptical)<\/td>\n<td>\\(V = \\pi \\left(\\frac{W}{2}\\right)\\left(\\frac{H}{2}\\right) L\\)<\/td>\n<\/tr>\n<tr>\n<td>Cone-bottom vertical cylinder<\/td>\n<td>\\(V = \\pi\\left(\\frac{D}{2}\\right)^{2} H_c + \\frac{1}{3}\\pi\\left(\\frac{D}{2}\\right)^{2} H_k\\)<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>For the horizontal capsule, the two hemispherical ends together hold exactly as much liquid as one full sphere of the same radius filled to the same depth \u2014 a useful shortcut the calculator exploits. For the cone-bottom tank, the filled volume inside the cone grows with the <em>cube<\/em> of the depth, because the liquid radius grows linearly as the cone widens.<\/p>\n<h2>Assumptions, Limitations and Practical Tips<\/h2>\n<ul>\n<li>Enter <strong>inside (internal) dimensions<\/strong>. If you can only measure the outside, subtract twice the wall thickness from each dimension to avoid overestimating capacity.<\/li>\n<li>Capsule ends are assumed to be <strong>perfect hemispheres<\/strong> with radius equal to half the diameter. Real pressure vessels often have shallower dished or ASME heads, so their true capacity is somewhat lower.<\/li>\n<li>The horizontal cylinder assumes <strong>flat end caps<\/strong>; the cone-bottom tank assumes a sharp conical tip. Real tanks may include rounded transitions, outlet sumps or internal fittings that shift volumes slightly.<\/li>\n<li>Tanks are assumed to be level and symmetric. Tilting a horizontal tank noticeably changes the height-to-volume relationship.<\/li>\n<li>When measuring in mixed imperial units, the <a href=\"https:\/\/wpcalc.com\/en\/converters\/feet-and-inches-calculator\/\">feet and inches calculator<\/a> helps convert readings such as 4' 6\" into a single decimal unit before entering them.<\/li>\n<li>Results are in US gallons; for imperial (UK) gallons, divide the liters figure by 4.54609. Quick metric conversions are also available with the <a href=\"https:\/\/wpcalc.com\/en\/converters\/meters-to-feet\/\">meters to feet converter<\/a>.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Calculate the total and filled volume of cylindrical, capsule, oval, rectangular and cone-bottom tanks. Enter the tank dimensions and the measured liquid depth to get the volume in liters, gallons, ft\u00b3 and m\u00b3, plus the fill percentage.<\/p>\n","protected":false},"author":3168,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[3],"tags":[40],"class_list":["post-67248","post","type-post","status-publish","format-standard","hentry","category-converters","tag-volume-units"],"acf":[],"_links":{"self":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67248","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/users\/3168"}],"replies":[{"embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/comments?post=67248"}],"version-history":[{"count":1,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67248\/revisions"}],"predecessor-version":[{"id":67259,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/posts\/67248\/revisions\/67259"}],"wp:attachment":[{"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/media?parent=67248"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/categories?post=67248"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpcalc.com\/en\/wp-json\/wp\/v2\/tags?post=67248"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}