Skip to content

Tank Volume Calculator

Find the filled volume of a rectangular tank or a round tank, standing or lying on its side.

Result

Choose a shape and enter the size

How to Use

  1. 1 Choose rectangular, vertical cylinder, or horizontal cylinder.
  2. 2 Enter the dimensions and the fill height in one unit.
  3. 3 Read the filled volume. A fill of zero is an empty tank.

Example Output

  • A 2 by 3 rectangle filled to 4 is 24.
  • A standing cylinder of diameter 2 and fill height 10 is 31.4159265359.

About This Tool

Rectangular volume is length times width times fill height. A standing cylinder is pi times the radius squared times the fill height. A cylinder on its side uses the circular segment for a partial fill. Units stay as you typed them.

Using the Tank Volume Calculator

This page returns the filled volume of a tank. Choose a rectangular box, a vertical cylinder, or a horizontal cylinder. A rectangle uses length times width times fill height. A 2 by 3 tank filled to a height of 4 returns 24. A vertical cylinder uses pi times the radius squared times the fill height. A diameter of 2 and a fill height of 10 return 31.4159265359, with pi set to 3.14159265359.

A horizontal cylinder uses that same full-cylinder volume when the fill height equals the diameter. A partial fill uses the circular segment. A diameter of 2, a cylinder length of 10, and a fill height of 1, which is the halfway mark, return 15.70796327. The fill cannot be taller than the tank in the direction you are filling. Units stay as you typed them.

What the Shape Choices Mean

Rectangular needs a length, a width, a full height, and a fill height. The fill height replaces the full height in the product. The full height is still required, because the fill is not allowed to exceed it. A fill of zero is an empty tank and the volume is 0.

Vertical cylinder reads the first size field as the inside diameter and the height field as the full height of the standing tank. Width is ignored for cylinders. The fill height is how high the liquid stands. The radius is half the diameter you typed.

Horizontal cylinder reads the first size field as the inside diameter and the height field as the length of the cylinder lying on its side. The fill height is measured from the bottom of the circle up toward the top. It cannot exceed the diameter. Halfway up the circle is half the volume, which is the 15.70796327 check.

How the Rectangle and the Standing Cylinder Work

Length 2, width 3, and fill 4 multiply to 24. The full height must be at least 4. If you type a full height of 4, the tank is full and the volume is still 24. If you type a full height of 5 and a fill of 4, the volume is still 24, because the empty slice above the liquid is not included. The full height’s job is the limit, not a hidden extra factor.

The standing cylinder with diameter 2 has radius 1. Pi times 1 times a fill of 10 is 31.4159265359. That matches a full round pipe of the same diameter and length. The Pipe Volume Calculator is the full cylinder only, with no fill field and no rectangle. Use it when you want the whole pipe. Use this page when the tank may be partly full or may not be round.

A fill above the full height is rejected for the rectangle and the standing cylinder. The page does not clamp the fill down to the rim. A clamp would hide a typing error and report a full tank you did not ask for.

The Cylinder on Its Side

When the fill equals the diameter, the horizontal tank is full and the volume is pi times the radius squared times the cylinder length. Diameter 2, length 10, fill 2 should match the standing result 31.4159265359. If it does not, the full-cylinder path is inconsistent.

When the fill is half the diameter, the liquid surface passes through the center and the filled area is half the circle. Diameter 2, length 10, fill 1 returns 15.70796327, half of the full volume at this rounding. That halfway case is the clean check. Other fill heights use the circular segment and will not be a simple fraction of the height. A tank that is 10 percent full by height is not 10 percent full by volume.

A negative fill is rejected. A fill of zero returns 0. Width can stay blank or unused for both cylinder shapes. It is required only for the rectangle.

A Note for the 2 by 3 by 4 Box

Write “rectangular, length 2, width 3, full height 4, fill 4, volume 24” and the unit. The number 24 is exact for those inputs. It does not depend on pi. If a later edit switches the shape to a cylinder and the volume becomes a long decimal, the shape change is why. The old 24 is not trapped inside the cylinder formula.

A lumber volume is a different product. The Board Foot Calculator turns a board’s thickness, width, and length into board feet. A board foot is not the cubic units this page prints. Do not send a tank’s fill height to that page and call the result a tank volume.

Keep the shape name in the note. “24” from a rectangle and “24” from some other product can sit side by side in a job file and look like confirmation. They are the same digits only. The shape label is what makes them the same kind of result.

Inside Size, Not Outside Size

Type the inside dimensions of the space the liquid occupies. An outside length that includes the wall overstates the volume. The page has no wall-thickness field. Subtract the walls before you type, and write the subtraction in the note.

For a round tank, the diameter is the inside diameter. Half of that is the radius the cylinder formula uses. Do not halve it yourself and also let the page halve it. One halving is enough. The rectangle does not halve anything. Length and width are used as typed.

Partial fill on the horizontal tank is the easy place to be wrong by eye. The surface moves through a circle, so equal steps of height are not equal steps of volume. Use the page for the height you measured. Do not scale the full volume by the height fraction unless the tank is the standing cylinder or the rectangle, where that scaling is actually right.

Mistakes that Change the Volume

Leaving the shape on rectangular while you type a diameter into the length field produces length times width times fill, which is a box, not a cylinder. Check the shape control before you read the headline. The shape is also repeated in the result lines.

Using the horizontal formula’s halfway intuition on a tank that is not half full will not match the segment result. Compute the fill you measured. The halfway value 15.70796327 is a check, not a shortcut for other heights.

Sheet goods are a different geometry. The Drywall Calculator counts sheets for a wall with openings. It does not return cubic volume. A tank and a wall can share a job site and still need different pages.

How the Volume Moves

For a rectangle, doubling the fill height doubles the volume, until you hit the full-height limit. Doubling the length or the width does the same. There is no square in the rectangle, so a one-percent error in any one side is about a one-percent error in the volume.

For a standing cylinder, doubling the fill height doubles the volume. Doubling the diameter multiplies the volume by four, because the radius is squared. A diameter error hurts more than a fill error of the same percent.

For a horizontal cylinder, doubling the length doubles the volume at the same fill height. Doubling the fill height does not double the volume, except in the special sense that going from empty to half and from half to full are both halves of the full volume. Between those marks the segment is not linear. Read the headline. Do not interpolate the volume from the height in your head.

Writing a Filled Volume down

Record the shape, every size you typed, the fill, the unit, and the headline. For a round tank, add the pi value when the last digits matter. A reader with a shorter pi will not match 31.4159265359 exactly, and the note should show which pi was used.

A hand product is easy to check for the rectangle. The 4-Function Calculator multiplies the numbers you type. 2 times 3 times 4 is 24. It will not select a tank shape. Use it to confirm the box, then compare the cylinder with the pi line on this page.

What the Page Does Not Do

It does not convert cubic units to liters or gallons. Apply your own factor and keep it visible. It does not estimate weight, because weight needs a density. It does not know whether the liquid is water.

Shape, Sizes, Fill, and Volume

One line is enough when it is complete. “Horizontal, diameter 2, length 10, fill 1, volume 15.70796327” can be recomputed. “Half full, about 15.7” cannot, because the diameter and the length are missing and the rounding is hidden. Put the exact headline in the note and round in a second phrase if a crew needs fewer digits.

Partial Fill Is the Case that Surprises People

A standing tank and a box reward intuition. Higher liquid, in proportion, means more volume, in proportion. A tank on its side does not. Near the bottom, a small rise in height covers a wide chord and adds a surprising amount of volume. Near the top, the same rise adds less again after the middle. The middle itself is the one friendly mark: half the height is half the volume, but only because the surface cuts the center of the circle. Say that sentence out loud before you estimate a horizontal tank by eye.

Checking the Three Shapes

Run the rectangle at 2, 3, 4, and fill 4. Confirm 24. Run the vertical cylinder at diameter 2 and fill 10. Confirm 31.4159265359. Run the horizontal cylinder at diameter 2, length 10, and fill 1. Confirm 15.70796327. Raise the rectangle’s fill above its height and confirm the rejection. Those runs cover the box, the full standing cylinder, the halfway horizontal case, and the limit.

Cloth counts are a different product of a width and a height. The Cross Stitch Calculator turns a design size and a stitch count into stitches. It does not return cubic volume. Use it for fabric. Use this page for the tank.

Frequently Asked Questions

What does a 2 by 3 rectangle filled to 4 return?

24. The volume is length times width times fill height.

What does a standing cylinder of diameter 2 and fill 10 return?

31.4159265359. The radius is 1, and pi on this page is 3.14159265359.

What does a horizontal cylinder, diameter 2, length 10, fill 1, return?

15.70796327. The fill is halfway up the circle, so the volume is half the full cylinder at this rounding.

When is a horizontal tank just pi r squared times length?

When the fill height equals the diameter and the tank is full. A partial fill uses the circular segment instead.

Can the fill be higher than the tank?

No. The page rejects it. It does not clamp the fill to the rim.

What does a fill of zero return?

0. An empty tank is a valid input. A negative fill is rejected.

Does width matter for a cylinder?

No. Width is used only for the rectangle. Cylinders use diameter, length or height, and fill.

Is half the height always half the volume?

For a rectangle and a standing cylinder, yes. For a horizontal cylinder, half the height is half the volume only because that height passes through the center. Other height fractions are not volume fractions.

Will the page convert to gallons?

No. The headline is in cubic units of the unit you typed. Convert afterward and keep the factor.

Should I enter outside dimensions?

No. Enter the inside dimensions the liquid occupies. Subtract walls before you type.

What does copy return?

The sentence that states the filled volume in cubic units.

Does the page include domed ends?

No. The round options are straight cylinders. A dome is not in the shape list.