Layout Grid Calculator

Calculate column widths for any container, column count, gutter and margin — with CSS grid code. Free, instant, and private — everything runs in your browser.

Shortcuts: / search · R randomize · T theme

How to use the layout grid calculator

  1. Adjust the controls — every change updates the live preview instantly.
  2. Fine-tune until the result matches what you need.
  3. Copy the output with one click, or use the download/export buttons where available.

Frequently asked questions

What does the layout grid calculator do?

Calculate column widths for any container, column count, gutter and margin — with CSS grid code.

Is the layout grid calculator free to use?

Yes — every Yexla tool is completely free with no signup, no limits and no watermarks. Everything you generate is yours for personal and commercial use.

Is my data uploaded anywhere?

No. All processing happens locally in your browser using standard web APIs — your text, colors, code and images never leave your device.