Free 8pt Grid Generator
Check spacing against the 8pt grid instantly with our 100% free generator. Upload any screenshot, choose 8 to 80 divisions with 4pt half-steps for dense UI work, then export SVG or 600 DPI PNG in seconds. No signup, no downloads needed. Trusted by 60,000+ artists worldwide.
Everything on a multiple of eight
A spacing grid at 8-pixel intervals, the interface convention that keeps padding, margins and component heights commensurate. Eight divides cleanly at the common display scale factors, which is the practical reason for it.
2 controls, not a fixed picture
Set spacing divisions, toggle 4pt half-step minor lines. Every one is live on the canvas.
Stacks with layout & design
Overlays combine, each carrying its own transform, so this one can sit under or over modular grid, baseline grid and modulor, and 11 more in the same set.
Pixel-exact where it must be
Export at 1x so the 8-pixel interval is exactly 8 pixels, or higher DPI for a printed reference. SVG for placing into a design file.
| Ctrl + Z | Undo |
| Ctrl + Y | Redo |
| Esc | Deselect overlay |
| Alt + drag | Free positioning (no snap) |
| Ctrl + scroll | Zoom canvas |
| Ctrl + P | |
| ? | Show this help |
The spacing system every design system converges on, drawn at two weights so the major rhythm and the half-step sub-rhythm are visibly different things.
The 8pt grid generator draws one of the 82 composition overlays in Grid Maker Pro, and the rest stack on the same image.
- 8–80 divisions
- 45% minor weight
- SVG + 600 DPI export
- Nothing uploaded
What is an 8pt grid?
The 8pt grid generator is a free browser tool that draws a spacing lattice. Major lines fall at a division of the short side that you choose, with optional half-step minor lines stroked at 45% of the major weight so the two rhythms read as distinct. It draws over your own interface or layout, exports SVG and raster to 600 DPI, and never uploads anything.

How to use the 8pt grid
Every spacing value a multiple of eight, with optional four-point half-steps, laid over the artwork so the values in the design can be checked against the system.
Work out the division you need
Spacing is the short side divided by the division count. For a literal 8-pixel step you need the short side divided by 8, so a 640px canvas needs 80 divisions — the maximum. Larger canvases cannot reach a true 8px step, which is worth knowing before you count.
JPG · PNG · GIF · WEBP
Decide about the half-steps
The minor lines sit halfway between the majors and are stroked at 45% weight. Turn them on when you need the 4pt sub-rhythm for icon alignment and tight type, off when you are checking layout spacing only.
Spacing divisions · 4pt half-step minor lines
Check your spacings, then export
The point is to find the values that are not on the system. A 14px gap in a field of 8s is invisible on its own and obvious under the lattice. Export SVG or a raster up to 600 DPI.
PNG · JPG · PDF · SVG · up to 600 DPI
Three steps, about a minute. No signup, no upload.
What the 8pt Grid Generator does
One unit, everywhere
An 8pt grid puts padding, margins, gaps, component heights and icon sizes on multiples of one number. The value is not the number itself; it is that there is only one, so a spacing decision made in one place holds everywhere.
Half-steps at 45% weight
The minor lines are stroked at 45% of the major weight rather than the same, so you can see both rhythms at once and tell them apart. A two-weight grid answers a different question than a single-weight one at double the density.
Equal in both directions
The same step horizontally and vertically, measured against the short side. Vertical rhythm and horizontal rhythm on different units is one of the most common and least-noticed inconsistencies in interface work.
A real limit, stated
Spacing is the short side over the division count, and the count stops at 80. So a literal 8-pixel step is reachable on a 640px short side and not on a 1080px one, where the finest step available is 13.5px.
Over your own interface
Screenshot a screen and lay the lattice over it. Every spacing that is off the system shows up immediately, which is a faster audit than reading a stylesheet and a more honest one.
Vector out
SVG keeps both line weights, so the lattice becomes a guide layer in Figma, Illustrator or Affinity with the hierarchy intact. Raster export runs to 600 DPI, sized from the paper format.
8pt grid examples: four ways the 8pt lattice reads
8pt grid vs figma layout grids vs browser dev tools
| Option | Two weights | Over a screenshot | Vector export | Cost |
|---|---|---|---|---|
| Grid Maker Prothis tool | Major and minor at 45% | Yes | SVG + raster to 600 DPI | Free |
| Figma layout grids | Two, in separate grids | In the file only | Yes | Subscription |
| Browser dev tools | No | Live pages only | No | Free |
| Measuring by hand | n/a | Yes | n/a | Time |
Who an 8pt grid is for: systems that repeat
How it works — The 8pt grid: why eight, and what a spacing system actually buys
The 8pt grid is the most widely adopted convention in interface design and, of the 82 composition overlays, one of the least examined. It is worth separating what it genuinely does from what it is credited with.
A spacing system says that every gap, padding value and component dimension in a design is a multiple of one base unit. That is the whole rule. Everything else — the specific number, the naming, the scale — is convention.
What the rule buys is not aesthetic. It is that a spacing decision made once holds everywhere, and that two designers working on different screens of the same product produce spacings that agree without coordinating.
That is a coordination benefit, and it scales with team size. For one person on one screen, a spacing system is overhead. For six people on two hundred screens, it is the only thing keeping the product from looking assembled by six people.
Why eight
Why eight specifically. The usual explanation is screen densities: common device pixel ratios are 1×, 1.5×, 2×, 3× and 4×, and eight divides cleanly by two and four, so an 8-unit value stays a whole number of physical pixels at most scale factors. Four would too; sixteen would be too coarse.
That explanation is real but partial. A four-point base has the same divisibility and is used by some systems. The actual reason eight won is that it is coarse enough to constrain — an 8pt system offers 8, 16, 24, 32, 40 as its first five values, which is a small enough set to remember, where a 4pt system offers ten values in the same range and stops feeling like a constraint.
Which is why most 8pt systems keep a 4pt half-step for tight cases. Icon alignment, the space between a label and its input, dense table rows — all want something finer than 8, and the half-step gives it without opening the door to arbitrary values.
What this overlay draws, and one limit
This overlay draws that structure directly. The major lines are at your chosen division and the minor lines sit halfway between them, stroked at 45% of the major weight. That weight difference is doing real work: a single-weight grid at double density tells you where the lines are but not which ones are the system.
There is a specific limit here that is better stated than discovered. The spacing is the short side divided by the division count, and the count runs 8 to 80. On a canvas whose short side is 640 pixels, 80 divisions gives exactly 8 pixels. On a 768px canvas the finest available step is 9.6 pixels; on 1080px it is 13.5; on 1440px it is 18.

So a literal 8-pixel lattice is reachable at 640 and below, and above that the grid is a proportional spacing system rather than a pixel one. For checking a design's internal consistency, proportional is what you want. For pixel-hinting an interface at 1:1, work at the actual pixel size.
Where the convention came from
The historical origin of the convention is more recent and more mundane than its ubiquity suggests. The 8pt spacing grid overlay page traces it, beside the rest of the typography grid overlays, and the modular grid generator handles the case where the spacing has to carry columns and rows too. Google's Material Design, published in 2014, specified an 8dp baseline grid and a 4dp sub-grid for iconography, and its scale of influence made that specific pair the default across the industry within a few years.
It was not new even then. Print typography has used unit-based vertical rhythm for as long as it has used leading, and the concept of setting everything to a multiple of the leading is standard practice in book work. The interface version is that idea applied in two dimensions.
What is different in the interface case is that the unit is horizontal as well as vertical. Print's vertical rhythm has no horizontal counterpart, because the horizontal is governed by the measure. An 8pt grid applies the same unit both ways, which is what makes it a spacing system rather than a rhythm.
That symmetry matters more than it looks. Vertical rhythm on one unit and horizontal spacing on another is extremely common in interfaces built without a system, and it produces a specific kind of wrongness that nobody can identify — everything is aligned but nothing feels related.
Auditing a design with it
The most valuable use of an overlay like this is auditing rather than designing. Screenshot a finished screen, lay the lattice over it and look for edges that fall between lines. In practice a large majority of spacing errors are single values that were nudged once and never corrected.
A 14-pixel gap in a field of 8s and 16s is invisible in isolation — nobody perceives 14 as wrong — and completely obvious under the grid. That asymmetry between how hard the error is to see and how easy it is to find with a tool is the argument for the tool.
The second use is settling arguments. Two designers can disagree indefinitely about whether a gap is too tight, and the disagreement resolves in seconds once the question becomes whether it is on the system.
The criticisms worth taking seriously
The main criticism of 8pt grids is worth taking seriously: they are a spacing system, not a design system, and the two get conflated. Consistent spacing does not produce good hierarchy, good typography or good colour, and a product can be perfectly on-grid and completely illegible.
A related criticism is that strict adherence can force bad decisions. Optical alignment sometimes requires a value off the system — a piece of punctuation, a shape with a different visual centre, an icon whose bounding box lies about its weight. Systems that forbid exceptions produce designs that are technically consistent and visually wrong.
The usual resolution is to treat the grid as the default rather than the law: on-system unless there is a stated reason, and the reason has to be optical rather than convenience.
Print, and why the lattice runs both ways
For print work, the same lattice does the same job with a different unit. A 3 mm or 4 mm base grid on a page serves exactly the function that 8pt serves on a screen, and the argument for one number rather than several is identical.
The lattice is drawn in both directions at the same spacing because that symmetry is the point. If you only want vertical rhythm, the baseline grid generator is the correct tool and this one is more than you need.
The grid draws over your own image rather than exporting a fixed template because the useful question is always about a specific screen. A blank lattice tells you nothing; the same lattice over your interface tells you which values are off.
The export sizes itself from the paper format and the DPI you choose rather than from your screen, and SVG preserves both line weights, so the hierarchy between major and minor survives into whatever application you take it into.
Everything runs in your browser. Images you load are never uploaded, because there is no server for them to reach. The drawing, the transform and the export all happen on your own machine.
Where an 8pt grid gets used

Auditing, not designing. A 14px gap among 8s is invisible on its own and obvious under the grid.
It settles arguments. Two people can disagree about whether a gap is tight forever, and the question 'is it on the system' resolves in seconds.
On-system unless there is an optical reason. Systems that forbid exceptions produce designs that are consistent and wrong.
8pt grid: frequently asked questions
The geometry
Why eight rather than four or ten?
Divisibility is the usual explanation — eight divides cleanly by two and four, so values stay whole pixels at common device scale factors. But four has the same property. Eight won because it is coarse enough to constrain: its first five values are 8, 16, 24, 32, 40, a small enough set to remember, where a 4pt scale offers ten in the same range and stops feeling like a system.
What are the half-step lines?
The 4pt sub-rhythm, sitting halfway between the majors and stroked at 45% of their weight. Icon alignment, label-to-input spacing and dense table rows all want something finer than 8, and a half-step gives it without opening the door to arbitrary values.
Why are the minor lines lighter rather than the same weight?
So that both rhythms are visible at once and distinguishable. A single-weight grid at double density shows you where the lines are but not which ones are the system, which is the thing you are usually checking.
Can I get a literal 8-pixel grid?
On a canvas whose short side is 640 pixels or less. Spacing is the short side divided by the division count and the count stops at 80, so 640 ÷ 80 = 8 exactly. On a 1080px short side the finest step available is 13.5px. Above 640, treat the lattice as a proportional spacing system rather than a pixel one.
Where did the convention come from?
Google's Material Design in 2014 specified an 8dp baseline grid with a 4dp sub-grid for iconography, and its influence made that pair the industry default within a few years. The underlying idea is much older — print typography has set everything to multiples of the leading for as long as it has had leading.
Should I ever break the grid?
Yes, for optical reasons. Punctuation, shapes with an offset visual centre and icons whose bounding boxes lie about their weight all sometimes need an off-system value. Treat the grid as the default rather than the law: on-system unless there is a stated optical reason.
Does a spacing system make a design good?
No, and the two get conflated constantly. Consistent spacing produces nothing on its own — a product can be perfectly on-grid and completely illegible. What it buys is coordination: a decision made once holds everywhere, and two designers on different screens agree without talking.
Using it
How do I match the overlay to a real 8px rhythm in my design?
Set the division so the major lines land on your actual spacing step, then scale the overlay until they agree with something in the screenshot you know is on the grid — a button height, a card gap. You are calibrating against the design rather than against the canvas, which is what makes the check meaningful.
Should the half-step lines be on while I audit?
Yes. Half your violations are 4pt ones. The minor lines are stroked at 45% of the major weight precisely so you can see both rhythms at once without them competing — an element on a minor line is defensible, an element between lines is not.
Export and print
Does it work for print?
Yes, with a different unit. A 3 mm or 4 mm base grid on a page does exactly what 8pt does on a screen, and the argument for one number rather than several is identical.
Can I hand a marked-up screenshot to a developer?
Export the composite — image plus grid — as a PNG and it goes straight into a ticket. That is more useful than the grid alone here, because the argument is about specific elements missing specific lines, and the developer needs to see both.
Choosing a grid
How is this different from print's vertical rhythm?
It applies the same unit horizontally as well. Print's vertical rhythm has no horizontal counterpart because the horizontal is governed by the measure. Using one unit both ways is what makes an 8pt grid a spacing system rather than a rhythm — and mismatched horizontal and vertical units is a very common, very hard-to-name kind of wrongness.
Should I use this or Figma's own layout grid?
Figma's, while you design in Figma. This is for everything Figma cannot see: a screenshot of a shipped page, a competitor's site, a PDF, a design someone sent as an image. Being able to put a spacing grid on any picture is the whole difference.
Practical matters
Does anything I load get uploaded?
No. There is no server to upload to. The image is read by your browser, the grid is drawn on your machine, and the export is generated locally.
Can I audit a competitor's site with it?
Yes — screenshot the page, load it here and raise the division until the major lines agree with their spacing. If nothing ever agrees, they are not on a spacing system, which is itself worth knowing. Nothing leaves your browser while you do it.
Does it work on a phone for a quick check?
It runs in mobile browsers, though a spacing audit is a poor fit for a small screen — the whole point is comparing fine offsets, and a phone gives you neither the resolution nor the room. Use it on a desktop where you can.
Open the tool 8pt grid generator
One unit, and a half
The 8pt grid draws major and minor at two weights, which keeps them distinguishable. Export vector or 600 DPI. No signup, nothing uploaded.
Back to the generator →