ForHosting KIT · Math

Cuboid surface area calculator

Get the total outer area of a rectangular box from its three edges: a box of 3 by 4 by 5 has faces of 12, 15 and 20 and a total surface of 94. Handy for wrap, labels, paint or cladding. Free in your browser.

  • Free
  • Runs in your browser
  • No sign-up
  • Your data stays on your device
Use it from WebAPIEmailTelegramApp soon
If you enter
Length
3
Width
4
Height
5
You get
Face lw
12
Face lh
15
Face wh
20
Surface area
94

This calculator turns three non-negative edge lengths of a rectangular cuboid—length, width, and height—into the total surface area that covers all six faces.

Six faces in three matching pairs

A rectangular cuboid, also called a rectangular box or prism, has six rectangular faces that come in three identical pairs: top and bottom measure length by width, front and back length by height, and the two ends width by height. Because every edge runs along one of three perpendicular directions, the three edge lengths fix the whole shape. To get the total skin, multiply the edges of each pair, add the three products and double the sum, 2(lw + lh + wh). A box of 3 by 4 by 5 has faces of 12, 15 and 20, and its total surface comes to 94. The calculator shows the three face areas as well, so you can check each step.

Where it is used and the usual slips

Students meet it in homework on gift boxes and cardboard, and the same numbers size wrapping paper, label stock and paint for rectangular cases, or cladding, insulation and wallpaper for rooms and columns when only the outer dimensions are known. Game and simulation teams use it for surface budgets on box-shaped models. The most common slip is counting each face only once and forgetting to double the sum; another is leaving out the top and bottom. A negative length, width or height is rejected rather than turned into a meaningless figure, while an edge of zero is accepted.

Where cuboid surface metrics fit in study, design, and code

Students meet the cuboid surface formula when a textbook asks for the total skin of a gift box, when an exam demands the area of cardboard before a packaging problem, or when solid-geometry homework wants a single expression that works for any rectangular box once the three edges are known. Teachers can pre-generate answer keys that list face pair products and total surface for integer edges, and that refuse negative length, width, or height instead of printing NaN.

Packaging and manufacturing teams use the same numbers for wrap area, label stock, and paint coverage on rectangular cases; knowing that a requested edge is negative is as valuable as the number itself. Architects and interior designers estimate cladding, insulation, or wallpaper on rectangular rooms and columns when only the three outer dimensions are specified. Game and simulation teams use surface metrics for procedural mesh UV budgets, paint cost approximations, and collision hulls that should stay deterministic across platforms.

Homework and exam preparation

Compute cuboid total surface from textbook length, width, and height, check face pair products, and verify that negative dimensions are rejected.

Packaging, paint, and cladding estimates

Size wrap area, label stock, or outer cladding from known box edges in design and manufacturing tools.

What does the cuboid surface area calculator cost?

It is free in your browser on this page.

Does surface area include the top and bottom?

The two faces of each opposite pair are counted by the factor of two in the formula.

What is the formula for the surface area of a cuboid?

Multiply each pair of edges, add the three products and double the sum, which is 2(lw + lh + wh). A box of 3 by 4 by 5 gives a total of 94 square units.

What are the face pair areas in the result?

They are the areas of the three kinds of face: length by width, length by height and width by height. For 3 by 4 by 5 they are 12, 15 and 20, and each appears twice on the box.

Can I use it for the walls of a room?

Yes, for cladding, insulation or wallpaper estimates when only the three outer dimensions are known. The total covers all six faces, and the separate face areas let you leave out the ones you do not cover.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/geom/cuboid-surface

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/geom/cuboid-surface \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"length":3,"width":4,"height":5}'
{
  "length": 3,
  "width": 4,
  "height": 5
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "geom.cuboid_surface",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

The closed form is S = 2(lw + lh + wh): each pair of opposite faces contributes twice the product of those two edges, and the three pair products sum to the full skin of the box. Enter length, width, and height as finite numbers (aliases l, a, depth; w, b; h, c are accepted); the engine echoes the dimensions, reports each face pair area, returns surface_area, and includes the formula string so a student or a log line can verify the identity without reading the source. When any dimension is negative, missing, or non-finite, the tool returns invalid_input instead of a silent NaN. Through the API a successful request costs $0.002; validation failures are not charged.

What a cuboid surface calculator returns and why L, W, and H matter

A rectangular cuboid—also called a rectangular box or rectangular prism—is the solid with six rectangular faces, twelve edges, and eight vertices that students meet first in solid geometry. Every edge is parallel to one of three mutually perpendicular axes, so the shape is fully fixed by three non-negative lengths: length along one axis, width along the second, and height along the third. The surface area is the total area of the outer skin: two faces of size length by width, two of length by height, and two of width by height. If you need cube-only metrics from a single edge, general right-prism surface from perimeter and base area, or volume alone, use a tool dedicated to those contracts; the search intent here is the cuboid total surface from L, W, and H, with a clear answer or an honest error when a dimension is negative. Adding those three pair products and doubling is exactly S = 2(lw + lh + wh). This tool exists to turn those three numbers into a single deterministic response without forcing you to draw the net by hand or to remember whether total surface includes the top and bottom. Preferred inputs are the JSON fields length, width, and height; aliases l, a, and depth for length, w and b for width, and h or c for height are accepted for form and spreadsheet callers. The response always echoes length, width, and height, reports face_lw, face_lh, and face_wh as the three distinct face areas before doubling, surface_area as twice their sum, and a formula string so a student or a pipeline log can verify the identity without reading the source. Missing fields, non-finite values, or a negative dimension all raise invalid_input with a message that names the failing field. That discipline keeps automated tests stable, makes caching safe, and prevents a script from treating a flipped sign as a real box.

How the closed form is evaluated: three face pairs and the total skin

Face pair areas are the three products length times width, length times height, and width times height; total surface area is exactly twice the sum of those three products, because each pair of opposite faces contributes the same rectangle twice. A cube with all edges two has three equal face products of four and total surface twenty-four, matching the six-face rule six times edge squared. The engine resolves length from length with aliases l, a, and depth; width from width with aliases w and b; and height from height with aliases h and c, requiring each to be a finite number and not negative. Pair the free browser run on this page with the priced API when you need the identical mathematical result inside an automated pipeline without re-implementing the three-pair-double rule yourself.

Where cuboid surface metrics fit in study, design, and code

On this page the work runs entirely in your browser; through the API each successful lookup costs $0.002, failed validation is not charged, and nothing is stored after the response returns. That split—free interactive exploration and a priced, identical API—matches the rest of the KIT tier-A catalog and lets you move from a classroom demo to an automated pipeline without changing the mathematical result. Pair it with other free geometry endpoints when you need prism surface from perimeter, cube metrics from a single edge, or cylinder lateral area for a lab of deterministic tools, and with documentation that shows both dimensions and the finished metrics so the numbers and the picture stay aligned for learners and reviewers. Whether you arrived searching for a cuboid surface area calculator or for total surface of a rectangular box from length, width, and height, the contract is the same: non-negative L, W, and H in, finite surface or a clear invalid_input out.

Deterministic geometry fixtures

Generate reproducible cuboid surface metrics for unit tests, contest validators, and CI assertions without hand-rolled 2(lw+lh+wh) logic.

What if a dimension is negative?

The handler returns invalid_input with a message that the failing field (length, width, or height) must not be negative.

How is total surface area computed?

Total surface area is twice the sum of the three face pair products: S = 2(lw + lh + wh). The response also reports face_lw, face_lh, and face_wh before doubling.

Is a cube allowed?

Yes. Enter equal length, width, and height; the formula reduces to the familiar six times edge squared, and surface_area matches that identity.

Read the full KIT documentation →