0
0
Figmabi_tool~10 mins

Responsive grid systems in Figma - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This data shows common responsive grid system settings for different screen widths in a design tool like Figma. Columns, gutter width, and margin width adjust as screen size changes.

CellValue
A1Screen Width (px)
B1Columns
C1Gutter Width (px)
D1Margin Width (px)
A2320
B24
C216
D216
A3768
B38
C324
D324
A41024
B412
C424
D432
Formula Trace
Total Content Width = Screen Width - 2 * Margin Width - (Columns - 1) * Gutter Width
Step 1: 2 * Margin Width
Step 2: Columns - 1
Step 3: (Columns - 1) * Gutter Width
Step 4: Screen Width - 2 * Margin Width - (Columns - 1) * Gutter Width
Cell Reference Map
    A       B       C       D
1 | Screen | Columns| Gutter | Margin
  | Width  |        | Width  | Width
-----------------------------------
2 | 320    | 4      | 16     | 16
3 | 768    | 8      | 24     | 24
4 | 1024   | 12     | 24     | 32

Formula uses cells A2, B2, C2, D2 for calculation.
The formula references screen width (A2), columns (B2), gutter width (C2), and margin width (D2) for the smallest screen size row.
Result
    A       B       C       D       E
1 | Screen | Columns| Gutter | Margin | Content
  | Width  |        | Width  | Width  | Width
---------------------------------------------
2 | 320    | 4      | 16     | 16     | 240
3 | 768    | 8      | 24     | 24     | ?
4 | 1024   | 12     | 24     | 32     | ?
The calculated content width for the 320px screen is 240px after subtracting margins and gutters. Content width for other rows is not calculated here.
Sheet Trace Quiz - 3 Questions
Test your understanding
How many gutters are there for 4 columns?
A3
B4
C2
D5
Key Result
Content Width = Screen Width minus twice the margin width minus total gutter widths