Design System Spacing Scale Generator

Create 4px/8px grid spatial rhythm tokens for padding, margin, and layout gap systems.

Design System Spacing Scale

Generate consistent layout and padding scales based on a root grid multiplier

Visual Spacing Scale

10.25x
2px0.125rem
20.5x
4px0.25rem
30.75x
6px0.375rem
41x
8px0.5rem
51.5x
12px0.75rem
62x
16px1rem
73x
24px1.5rem
84x
32px2rem
96x
48px3rem
108x
64px4rem
1112x
96px6rem
1216x
128px8rem
1324x
192px12rem
1432x
256px16rem

Code Export

CSS Variables (Root)
:root {
  --spacing-1: 0.125rem; /* 2px */
  --spacing-2: 0.25rem; /* 4px */
  --spacing-3: 0.375rem; /* 6px */
  --spacing-4: 0.5rem; /* 8px */
  --spacing-5: 0.75rem; /* 12px */
  --spacing-6: 1rem; /* 16px */
  --spacing-7: 1.5rem; /* 24px */
  --spacing-8: 2rem; /* 32px */
  --spacing-9: 3rem; /* 48px */
  --spacing-10: 4rem; /* 64px */
  --spacing-11: 6rem; /* 96px */
  --spacing-12: 8rem; /* 128px */
  --spacing-13: 12rem; /* 192px */
  --spacing-14: 16rem; /* 256px */
}
Tailwind Config (theme.spacing)
theme: {
  spacing: {
    '1': '0.125rem', // 2px
    '2': '0.25rem', // 4px
    '3': '0.375rem', // 6px
    '4': '0.5rem', // 8px
    '5': '0.75rem', // 12px
    '6': '1rem', // 16px
    '7': '1.5rem', // 24px
    '8': '2rem', // 32px
    '9': '3rem', // 48px
    '10': '4rem', // 64px
    '11': '6rem', // 96px
    '12': '8rem', // 128px
    '13': '12rem', // 192px
    '14': '16rem', // 256px
  }
}

Using REM units is standard practice for accessibility. Assuming a root font size of 16px, 1rem = 16px.

Runs in your browser. Your file and input data are never uploaded to any external server.
Mode: Local BrowserMax Limit: 50 MB

Frequently Asked Questions — Design System Spacing Scale Generator

What does Design System Spacing Scale Generator do?

Create 4px/8px grid spatial rhythm tokens for padding, margin, and layout gap systems. It is part of the VEXOR Design suite designed for fast, distraction-free workflow. Supports files up to 50 MB per operation.

Is my data private when using Design System Spacing Scale Generator?

Yes. Design System Spacing Scale Generator runs 100% locally inside your web browser using client-side APIs. Your files and input data never leave your device and are never uploaded to any external server.

Is Design System Spacing Scale Generator free to use without registration?

Yes. Design System Spacing Scale Generator on VEXOR is completely free to use with no account sign-up, no watermarks, and no forced ads before downloading or copying your result.

View all Design tools