Small tools. Clear answers.

Calculation methods and limitations

CalcPebble pairs calculations with formulas, worked examples and the assumptions behind each result. This page explains how to read and check those results.

Calculations happen in your browser

The calculator code performs arithmetic in your browser when you select Calculate. Changing an input marks the previous result as out of date. Select Calculate again to update it; Reset restores the example inputs.

The example result demonstrates the tool. It becomes your result after you calculate with your own inputs.

Units are converted before calculating

Use the unit selectors to identify each measurement. Lengths are converted to a common unit before applying a volume formula. Where a tool has no unit selector, use the same unit for all related dimensions.

  • 1 foot = 12 inches = 0.3048 metres, exactly.
  • 1 cubic foot = 1,728 cubic inches.
  • 1 cubic yard = 27 cubic feet.
  • 1 cubic foot = 28.316846592 litres.
  • US liquid measures are explicitly labelled. A US liquid gallon contains 231 cubic inches; it is different from an Imperial gallon.

Construction brass uses the stated convention of 100 cubic feet per brass. Check that this convention matches your supplier's quote.

Choose the formula that matches the shape

For a rectangular space, volume is length × width × height. A cylinder uses π × radius² × height. Radius is half the diameter, and a shape's height is its perpendicular height rather than its sloping edge.

For repeated items, multiply one item's volume by its quantity. Add differently sized items separately. Irregular-shape estimates split a space into supported solids and subtract measured holes or voids.

Use interior measurements for capacity and the packed exterior dimensions for shipping or storage space. Diagrams explain the measurements; they are schematic and not drawn to scale.

Some results require additional assumptions

Volume alone cannot determine weight, floor area, pressure, power or flow speed. The relevant tools ask for the additional information needed:

  • Weight needs material density. Moisture, compaction and material composition can change actual density.
  • Coverage or floor area needs a uniform depth or height.
  • Bag counts depend on the entered yield; whole-bag estimates round up.
  • Gas energy depends on the stated heating value. Vessel pressure depends on gas volumes, absolute reference pressure and temperatures.
  • Hydraulic horsepower depends on flow, pressure difference and efficiency. Flow speed needs the cross-sectional area.

Default densities, allowances, yields and reference conditions are example assumptions. Replace them with the values that apply to your material, product or project. A storage-volume estimate does not establish whether particular furniture will fit through a door or pack into a unit.

Methods and checks for the reviewed calculators

The CalcPebble team maintains these tools. The following small checks can be reproduced using the calculator inputs; they describe the method rather than guaranteeing accuracy for every possible value.

  • LCM combines numbers pairwise using LCM(a, b) = (a/GCF(a, b)) × b. The GCF uses Euclidean remainders. Integer multiplication is checked against the safe-integer range. Check LCM(12, 18, 30) = 180 and LCM(6, 8, 12) = 24. Zero and non-whole values are rejected.
  • Midpoint averages each pair of coordinates. For A = (−4, 2) and B = (6, −8), M = (1, −3). Identical endpoints return the same point. The reverse check reflects A through M to compare with B.
  • Endpoint reflects A through M using B = 2M − A, then averages A and B to check the midpoint. For A = (−4, 2) and M = (1, −3), B = (6, −8). Decimal displays use up to 15 significant digits. Very large or closely spaced values have floating-point limits.
  • Unit price converts quantities to kilograms, litres or items before comparing unrounded rates. A 500 g pack for $4.50 is $9/kg; a 750 g pack for $6 is $8/kg, or 11.11% less per kilogram. Relative tie tolerance is 1 × 10⁻¹². A free option is allowed; zero quantity is rejected.

Coordinate checks use a scale-aware floating-point tolerance. They test internal consistency, not whether the measurements or problem were entered correctly. Decimal display rounding can hide small differences.

References: NIST: least common multiple and greatest common divisor; OpenStax: rectangular coordinates and the midpoint formula; NIST: unit conversion factors.

Rounding and numerical precision

Displayed answers are rounded for readability. Calculations generally retain unrounded intermediate values, so multiplying rounded numbers from the result panel may produce a slightly different final answer.

Most calculations use JavaScript floating-point numbers. Very large values and operations on decimals can have numerical precision limits. Fraction and integer tools apply their own supported-input limits. Read any validation message rather than treating a rejected input as zero.

Check the answer and report corrections

Review the selected units, formula, substituted values and worked examples. Input checks reject missing or unsupported values, but cannot detect a dimension measured incorrectly or an assumption that does not fit your situation.

To report an issue, include the calculator URL, inputs and units, the displayed answer and the answer you expected. Cubic feet calculation links can preserve measurements for reproduction.

Report a calculation issue or open the Cubic Feet Calculator. For information about browser storage and analytics, read our Privacy page.