keencalculator
  1. Home
  2. Geometry
  3. Rectangular Prism Volume Calculator

Rectangular Prism Volume Calculator

A rectangular prism is a box: six rectangular faces with square corners. Enter its length, width and height — in any mix of units — to get the volume, the surface area and the longest diagonal that fits inside.

Quick examples
Your numbers stay in your browser. They are never uploaded.
Volume576 in³
Rectangular Prism Volume CalculatorLength 12 in, Width 8 in, Height 6 in → Volume 576 in³d = 15.62 inl = 12 inw = 8 inh = 6 in
Surface area
432 in²
Space diagonal
15.62 in
Base area (length × width)
96 in²

Step by step

Worked through with your numbers

  1. FormulaV = l × w × h
  2. Plug inV = 12 in × 8 in × 6 in
  3. Work it outV = 96 in² × 6 in
  4. AnswerV = 576 in³

Saved setups

Save a set of inputs you reuse — your usual rate, your loan, your room sizes — and load it back in one tap.

    Your recent calculations

    Results you calculate here are kept on this device so you can come back to them.

      Also free on iPhone and Mac

      Formula

      Volume = length × width × height
      Surface area = 2 × (length × width + length × height + width × height)
      Space diagonal = √(length² + width² + height²)

      How to use it

      1. Enter the length, width and height, each in its own unit.
      2. Choose the volume unit: cubic inches, cubic feet, liters or gallons.
      3. Use the diagonal to check whether a long item will fit corner to corner.

      Worked examples

      A 12 × 8 × 6 in box: 576 in³, which is 9.44 liters

      Volume
      576 in³
      Surface area
      432 in²
      Space diagonal
      15.62 in
      Base area (length × width)
      96 in²

      A 2 × 3 × 6 m container: 36 m³

      Volume
      36 m³
      Surface area
      72 m²
      Space diagonal
      7 m

      Converting between cubic units

      There are 1,728 cubic inches in a cubic foot (12 × 12 × 12) and 27 cubic feet in a cubic yard. Dividing cubic inches by 12 instead of 1,728 is a very common slip. A 12 × 8 × 6 inch box is 576 in³, which is exactly one third of a cubic foot.

      Aquariums and containers

      A US gallon is 231 cubic inches. A tank 24 × 12 × 16 inches is 4,608 in³, or just under 20 gallons — measured to the brim and from the inside.

      Questions people ask

      What is the volume of a box 12 by 8 by 6 inches?

      12 × 8 × 6 = 576 cubic inches, or 0.33 cubic feet.

      What is the difference between a rectangular prism and a cube?

      A cube is a rectangular prism whose length, width and height are all equal.

      How long an item fits in a box?

      Up to the space diagonal. In a 12 × 8 × 6 inch box that is √244 = 15.62 inches, ignoring the item’s thickness.

      Keep exploring