Free Material Test Grid Generator for Diode Lasers

A material test grid burns a matrix of small squares on your scrap material — each square at a different speed/power combination — so you see at a glance which settings work best. Pick your machine and material below, set your power and speed ranges, and download an SVG file (for LightBurn) or firmware-aware G-code for direct GRBL machines. Free, runs entirely in your browser, no account needed.

What you need: a scrap piece of your target material (at least 100 × 80 mm is comfortable for a 5 × 4 default grid), plus either LightBurn for the SVG workflow or a direct GRBL connection (LaserGRBL, Candle, etc.) for the G-code workflow.

Configure Your Test Grid

Power Axis — columns (X)

Min %
Max %
Steps

Speed Axis — rows (Y, mm/min)

Min
Max
Steps
Size of each square in the grid. 15–25 mm is typical.

Preview & Download

Set your machine and material to generate the preview.

M4 scales laser power with actual speed — prevents corner over-burn during acceleration. Requires $32=1 in GRBL. M3 uses constant power (use for marking sprays where consistency is critical).
Before running G-code: confirm $32=1 is set, position your laser at the front-left corner of your material and set work origin, then do a dry framing pass. The downloaded file includes a complete safety checklist.

What is a material test grid?

A material test grid (sometimes called a "speed/power matrix" or "burn matrix") burns a grid of small squares onto a scrap piece of your target material. Each row uses a different speed — slowest at the top, fastest at the bottom. Each column uses a different power — lowest on the left, highest on the right. After burning, you can compare all combinations side by side and find the setting that gives you the result you want: cleanest engrave, deepest cut, or sharpest contrast.

This is the fastest calibration method for any new material, new machine, or changed material batch. It eliminates the guesswork of "try one setting, see if it worked, adjust, repeat." One 10-minute burn tells you everything about a 20-setting range.

How to use the SVG output in LightBurn

The SVG download is the easiest workflow for LightBurn users. It imports a labeled grid that you assign laser settings to in the Cuts/Layers panel.

  1. Download the SVG file and save it somewhere you can find it.
  2. In LightBurn: File → Import and select your SVG. The grid appears on the canvas at the correct physical size (in mm).
  3. Select all objects (Ctrl+A) and assign them to your desired layer. Set the layer to "Line" (cut) mode — this traces the square outlines and shows you burn depth and edge quality.
  4. To test different speeds per row, select each row's cells and assign a different layer color. Then in the Cuts/Layers panel set the Speed for each layer to match the row's labeled value.
  5. Position the grid on your scrap material in the workspace. Run Frame first to confirm it fits.
  6. Run the job. After burning, read the axis labels: power on top, speed on the left. The cell where both axes look right is your new baseline setting.

LightBurn tip: LightBurn also has a built-in "Material Test" generator (Laser menu → Material Test). Our SVG is useful when you want to run the same grid in xTool Creative Space, LaserGRBL, or share the file with another machine user.

How to use the G-code output (LaserGRBL / direct GRBL)

The G-code file is fully automated: it burns every cell at its pre-assigned speed and power, in order, without any additional software setup. Every cell is a single square outline — the laser traces the perimeter at the given settings so you can compare burn depth and edge quality across the grid.

  1. Open your GRBL control software (LaserGRBL, Candle, OpenBuilds Control, etc.).
  2. Connect to your machine and open the GRBL console. Send $32=1 and press Enter to enable laser mode. Without this, the laser will fire during rapid moves — which is dangerous.
  3. Manually jog the laser head to the front-left corner of your test material. Set this as work origin: send G92 X0 Y0 (or use your software's "Set Origin" button).
  4. Load the .nc file into your software. Run a dry framing pass first (no laser — in LaserGRBL use "Run Border") to confirm the grid fits within your material.
  5. Confirm focus is correctly set for your material thickness.
  6. Run the file. Total burn time varies — a 5 × 4 grid at typical engraving speeds takes 5–15 minutes.

GRBL laser mode is required. Always verify $32=1 is set before running. Type $$ in the GRBL console and check that parameter 32 reads 1. If it reads 0, your laser fires during all G0 rapid moves, which will burn lines across your material and waste your beam time.

M4 dynamic power vs M3 constant power

The G-code mode selector controls how GRBL handles power during acceleration and deceleration:

Reading your test grid results

After burning, examine the grid in good light — angle the material to see depth variation:

Tip: Start your search near the center of the grid, not at the extremes. The center is usually where usable results live. Work outward to understand the range.

Safety reminder

Always test on scrap material. Results vary by material batch, moisture content, laser focus, and machine condition. The settings you find with this grid are calibrated starting points — verify on a small piece before committing to a finished workpiece. Wear OD7+ 450 nm laser safety glasses, run ventilation, and never leave a running laser unattended.

See also