Description
Subtract two outer insets and intercolumn gutters, then divide the remaining width by columns.
A layout divides finite space among content, margins, gutters, and clearances. Counts describe how many gaps exist, while offsets and snapping describe where edges fall; changing either convention changes the resulting dimensions.
Subtract two outer insets and intercolumn gutters, then divide the remaining width by columns.
When to use this tool
Use Text Column Gutter Width Budget when you need a local layout dimension or alignment check with explicit geometric inputs.
How to use the tool and how it works
- Enter containerWidth, columns, gutter, outerInset. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read contentWidth, totalGutters, columnWidth. Use the output convention below.
Require positive integer columns and nonnegative gutter and outerInset with enough container width. Subtract two outer insets and intercolumn gutters, then divide the remaining width by columns.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| containerWidth | Container Width | Required. Finite number. |
| columns | Columns | Required. Safe integer; minimum 1. |
| gutter | Gutter | Required. Finite number; minimum 0. |
| outerInset | Outer Inset | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| contentWidth | Content Width | Required. Finite number. |
| totalGutters | Total Gutters | Required. Finite number. |
| columnWidth | Column Width | Required. Finite number. |
{
"input": {
"containerWidth": 600,
"columns": 3,
"gutter": 20,
"outerInset": 10
},
"output": {
"contentWidth": 580,
"totalGutters": 40,
"columnWidth": 180
}
} Limitations and assumptions
- Lengths share units and zero-width columns are allowed; no text flow, minimum readable width, responsive behavior, or actual layout is validated.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Construct the full layout in a design application and inspect its bounds. For overlapping or rotated content, use geometric intersection and containment rather than independent one-dimensional allowances.
References
Similar or alternative tools
- Grid Gutter Per Column Share
Divide nonnegative gutterWidth by positive columnWidth.
- Print Trim Safety Offset
Require nonnegative suppliedMinimum and return contentDistanceFromTrim-suppliedMinimum as remainingMargin.