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.
LightBurn calls it Line Interval; some programs say line spacing.
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) | Interval | Lines/cm | xTool | Glowforge |
|---|---|---|---|---|
| 127 | 0.2 mm | 50 | 50 | 125 |
| 169.3 | 0.15 mm | 66.7 | 67 | 170 |
| 200 | 0.127 mm | 78.7 | 79 | 195 |
| 254 | 0.1 mm | 100 | 100 | 270 |
| 300 | 0.085 mm | 118.1 | 118 | 270 |
| 318 | 0.08 mm | 125.2 | 125 | 340 |
| 340 | 0.075 mm | 133.9 | 134 | 340 |
| 381 | 0.067 mm | 150 | 150 | 340 |
| 423 | 0.06 mm | 166.5 | 167 | 450 |
| 508 | 0.05 mm | 200 | 200 | 450 |
| 635 | 0.04 mm | 250 | 250 | 675 |
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
- Free toolPhoto to laserTurn a photo into a dithered PNG or SVG for your laser, tuned for wood, slate, leather and seven more materials, with an honest burn preview. Runs in your browser; the photo never leaves your device.Open
- CalculatorEngrave timeEstimate how long a raster engraving takes from its size, lines per inch, speed and overscan, with the maths shown so you can check it.Open
- GeneratorPower and speed test gridMake a labelled power and speed test grid for any material: an SVG with one colour per cell, or a LightBurn project with every cell's power and speed already set.Open
- CalculatorImage size for engravingWork out the pixels a photo needs for an engraving of a given size and DPI, or the largest engraving a photo you have can make.Open
- CalculatorGlowforge LPI pickerEvery Glowforge engrave LPI step, the exact density the head scans at (1355 divided by a whole number), its line spacing, and the nearest step for the density you want.Open