Skip to content
Free tools

Laser DPI, LPI and line interval converter

Convert lines per inch to line interval in millimetres and back, see xTool's lines per centimetre and the nearest Glowforge LPI step for any density.

LPI
mm

LightBurn calls it Line Interval; some programs say line spacing.

lines/cm

Type in any box; the others follow.

Line interval
0.1mm1000 lines in every 100 mm. Set the image DPI to 254 too, so one pixel row is one scan line.
xTool
100lines/cmExact: xTool takes whole lines per centimetre.
Glowforge
270LPIThe nearest step. The head really scans at 1355 / 5 = 271 LPI, 0.0937 mm apart.
LightBurn
0.1mmInterval with DPI 254; LightBurn links the two.
Lines per cm
100The exact figure, before xTool rounds it.

DPI, LPI and line interval are one number

On a laser, lines per inch is the scan line density: how many passes of the head fit into an inch. The line interval is the gap between two passes. For a bitmap engraving the image’s DPI should be the same number, so each row of pixels becomes exactly one scan line:

line interval (mm) = 25.4 / lines per inch, and lines per cm = lines per inch / 2.54.

LPI (DPI)IntervalLines/cmxToolGlowforge
1270.2 mm5050125
169.30.15 mm66.767170
2000.127 mm78.779195
2540.1 mm100100270
3000.085 mm118.1118270
3180.08 mm125.2125340
3400.075 mm133.9134340
3810.067 mm150150340
4230.06 mm166.5167450
5080.05 mm200200450
6350.04 mm250250675

Each program asks for it differently

  • LightBurn shows DPI and Line Interval side by side and keeps them linked. With an image layer set to Pass-Through, it engraves the image’s own pixels, so set the DPI to the image’s.
  • xTool Studio and Creative Space take whole lines per centimetre. 254 LPI is exactly 100 lines/cm; 318 LPI becomes 125 lines/cm, which is 317.5 LPI, so make the image at 317.5 DPI for dot-exact results.
  • Glowforge offers fixed steps (1355, 675, 450, 340, 270, 225 and lower). Each is 1355 divided by a whole number, so the closest step to 254 is 270, which really scans at 271. The Glowforge LPI picker lists them all.

Which density should I use?

One that suits the width of your laser’s mark on that material: lines closer than the mark is wide merge into mud, lines much wider apart leave stripes. Diode lasers often suit 254 to 423 LPI, CO2 lasers 200 to 340. The guide choosing lines per inch shows how to measure your mark and test.

In print, LPI means something else: halftone screen frequency, the number of halftone cells per inch. A newspaper’s 85 LPI screen spans many of a laser’s scan lines per cell. This converter is about scan lines.

More free tools