Read the ratio
Select the whole design after import and divide its width by the width you expected.
| Ratio | Cause | Fix |
|---|---|---|
| 0.75 or 1.33 | The size is in pixels, read at 72 instead of 96 per inch, or the other way | Write the size in millimeters, or match the import setting |
| 2.54 or 0.39 | Centimeters read as inches, or inches as centimeters | Correct the unit in the file |
| 10 or 0.1 | Millimeters and centimeters mixed up | Correct the unit in the file |
| 25.4 or 0.039 | Millimeters and inches mixed up | Correct the unit in the file |
| Anything else | A stray shape or the page around the artwork is part of the selection | Select only the design, or crop the page |
Width, height and viewBox
The width and height give the size; the viewBox gives the coordinates inside it. Our arch label says width="60mm" height="62mm" viewBox="0 0 60 62": 60 by 62 millimeters, with one unit per millimeter. Change the width and height to resize a file; changing the viewBox numbers instead crops or stretches the drawing.
A worked example
A 76 × 42 mm label exported from Illustrator in pixels is written 215.4 × 119.1 px, Illustrator’s 72 per inch. Inkscape and LightBurn, at 96 per inch, open it 57 × 31.5 mm: a ratio of 0.75. Set it in our resize tool to 76 mm wide, and the copy says width="76mm"; every program then opens it at 76 × 42 mm. Units shown differently are not an error: 76 mm is 7.6 cm and about 2.99 in.
Set it in your cutting software
- Select every piece of the design, and nothing else.
- Lock the proportions.
- Type the width you want; check the height follows.
- Save, close and open the file again to see that the size held.
From the maker’s documentation and reference works: W3C: SVG coordinates, Inkscape: units in Inkscape, LightBurn: settings and preferences, Adobe: export high-quality SVG from Illustrator.