Responsive Grid Width

Web layout

Responsive equal-column grid width calculator

Calculate equal-width grid tracks and how many minimum-width columns fit inside a fixed-width container. Enter your actual values and compare the results.

Your inputs

Enable JavaScript to calculate.

Worked example

A 1,200 px container with 24 px padding on both sides and three 16 px gaps has 1,104 px for four equal tracks, or 276 px per column. Four 260 px minimum columns fit.

Read the method, sources and limitations.