Printable graph paper PDF generator

A graph paper generator produces a print-ready PDF of grid, ruled, dot-grid, or isometric paper at an exact line spacing instead of relying on pre-made image templates. This page generates that PDF entirely in your browser: choose a pattern, a spacing from 1 to 50 mm, A4 or US Letter, a light gray, blue, or green ink color, and up to 50 identical pages. The lines are drawn as vector paths, so they print crisp at any resolution, and every fifth grid line is drawn heavier for easy counting.

Graph paper generator — runs on your device

How it works

The generator computes the drawable area of the page — A4 is 210 × 297 mm, US Letter 215.9 × 279.4 mm — subtracts a fixed 10 mm margin on all sides, and works out how many whole grid cells of your chosen spacing fit in what remains. It then centers that whole-cell block so partial squares never appear at the edges. Each line becomes a PDF vector path: a moveto/lineto pair with a stroke width of about 0.2 mm for regular lines and 0.45 mm for the emphasized lines. On square grids, every fifth line in both directions gets the heavier weight, the same major/minor convention used on commercial engineering pads, so you can count cells in groups of five.

Vector paths are why a generated PDF beats downloading a raster graph-paper template. A PNG template stores the grid as pixels at one fixed resolution — typically 96 or 150 dpi — so a 600 dpi laser printer must scale it up, blurring or aliasing every line. A vector line has no resolution at all: the printer rasterizes the path at its own native DPI, so a 0.2 mm hairline stays a clean 0.2 mm hairline at 600, 1200, or 2400 dpi. The file is also dramatically smaller, since a full page of grid is just a few kilobytes of path instructions rather than megabytes of pixels.

The four patterns cover the common use cases. Square grid at 5 mm is the engineering and graphing standard; ruled mode draws horizontal lines only, where 7–8 mm spacing matches college-ruled handwriting paper; dot grid replaces line intersections with small filled circles, popular for bullet journaling because the page looks nearly blank; isometric mode draws verticals plus lines at ±30° from horizontal, producing the triangle lattice used for 3D sketching. Because spacing is specified in millimeters and the PDF page is defined in exact physical units, the printed grid is dimensionally accurate — provided you print at 100% scale. Choosing "Fit to page" in the print dialog rescales the whole page by a few percent and silently turns a 5 mm grid into a 4.7 mm one.

Illustrative example: a 20-page 5 mm engineering pad

Illustrative scenario, not a recorded benchmark. File sizes, timings and results depend on the input and device. Try the reproducible samples.

A student needs a homework pad: 5 mm squares, gray, A4, 20 pages. On A4 minus the 10 mm margins the drawable area is 190 × 277 mm, which fits 38 × 55 whole cells (190 ÷ 5 = 38 exactly; 277 ÷ 5 = 55.4, rounded down to 55, with the 2 mm remainder split top and bottom). The generator draws 39 vertical and 56 horizontal paths per page — 95 lines total, of which 19 are the heavier fifth lines. The finished 20-page PDF is about 18 KB, because page 2 through 20 reuse the same content stream. The equivalent 20 pages of 300 dpi PNG templates would exceed 6 MB and still print with visibly softer lines. Printed at 100% scale, a ruler across ten squares measures exactly 50 mm.

Frequently asked questions

What spacing should I use for graph paper?

5 mm is the standard engineering and math grid, and 7 mm to 8 mm suits ruled paper for handwriting. Use 10 mm squares for young children or large diagrams, and 2 mm for fine technical sketching.

Why does every fifth line look darker?

The generator draws every fifth grid line at a heavier stroke weight, the same convention used on commercial engineering paper. It lets you count squares in groups of five and read distances quickly without losing your place.

Do I have to print at 100% scale?

Yes. Set your printer dialog to 100% or Actual size, never Fit to page, otherwise a 5 mm grid can shrink to roughly 4.7 mm. The PDF already keeps a 10 mm margin so nothing is clipped at full scale.

Is a PDF grid sharper than a downloaded image template?

Yes, because the PDF stores lines as vector paths that the printer rasterizes at its own resolution, typically 600 or 1200 dpi. A downloaded PNG template is fixed at its stored resolution and its lines blur or alias when scaled.

What is isometric paper used for?

Isometric paper carries lines at 30 degrees from horizontal in both directions plus verticals, forming a triangle lattice. It is used for 3D technical sketches, piping diagrams, and game maps where all three axes need equal visual length.

Related tools