NestCut Back to the nesting studio

NestCut · Guide

Fixing SVG Scale Problems: Inkscape, Illustrator and Real Sizes

A part that imports a third too big or too small is almost always a unit problem, not a nesting problem. SVG files do not always say what a unit means, and different design programs make different assumptions. This guide explains where the confusion comes from, shows how to read the size error to find the cause, and gives export settings for Inkscape and Illustrator that produce real-world sizes every time.

8 minute read · Last updated: 21 November 2026

Why SVG sizes go wrong

An SVG file stores shapes as plain numbers. A square that is 100 units wide is only 100 millimetres wide if something in the file, or in the program reading it, says that one unit equals one millimetre. The file only knows its own physical size if the top-level svg element has a width and height with a unit, such as 200mm, together with a viewBox.

Design programs do not agree on what a unit means when the file does not say. Inkscape treats one user unit as one pixel at 96 pixels to the inch. Illustrator has traditionally worked in points, 72 to the inch. A drawing made with one unit equal to one millimetre is a third convention. When the reading program guesses differently from the program that wrote the file, every part is off by the same ratio.

How NestCut decides the size

  • If the SVG has a width with a unit (mm, cm, in, pt or px) and a viewBox, NestCut uses them to work out the real size.
  • Otherwise it falls back to the SVG scale setting, which is 72 units per inch by default.

So a file that has no physical width and was drawn at 96 units to the inch will import about 33 percent too large with the default of 72, because 96 divided by 72 is 1.33. The same file with a width such as 100mm will import correctly whatever the setting is.

Find the cause from the size error

Measure one part you know the true size of, divide the size NestCut shows by the true size, and compare the ratio with this list:

  • About 1.33 times too large, or 0.75 times (25 percent too small): a mix-up between 96 and 72 units per inch.
  • About 3.78 times too large, or 0.26 times: pixels were read as millimetres, or the reverse. This is 96 divided by 25.4.
  • About 2.83 times too large, or 0.35 times: points were read as millimetres, or the reverse. This is 72 divided by 25.4.
  • Exactly 25.4 times off: inches and millimetres were confused.
  • A different, odd ratio: the artwork was scaled inside the design program after the document size was set. See the common mistakes below.

The one-minute test

  1. In your design program, draw a square of exactly 100 mm.
  2. Export it as SVG and import it into NestCut.
  3. Check the size shown in the parts list for that part.
  4. If it is not 100 mm, work out the ratio and fix the scale with one of the methods below.

Do this once for each design program you use, and write the result down. After that you will know which fix your files need.

Fix 1: change the SVG scale setting

In the settings, change SVG scale to the number of units per inch that your file uses, before you import it. Use 96 for files made at 96 units to the inch, 72 for point-based files, and 25.4 for files drawn with one unit equal to one millimetre. The setting applies to files imported after you change it, so remove the wrongly sized parts and import the file again.

This fix only matters for files that do not state a physical width. If your file states one, NestCut already uses it.

Fix 2: export from Inkscape with a real size

  1. Open the document properties (File, then Document Properties).
  2. Set the display units and the page size units to millimetres, and set the scale so that one user unit equals one millimetre.
  3. Check the page size. For a job drawn on a 600 by 400 mm sheet, the page should read 600 by 400 mm.
  4. Save as Plain SVG, or as Optimized SVG, so extra editor data and odd transforms are not saved.

To confirm, open the XML editor (Edit, then XML Editor) and look at the top-level svg element. You should see a width and height in mm and a viewBox with matching numbers, for example width="600mm" height="400mm" viewBox="0 0 600 400". Menu names can differ a little between Inkscape versions.

Fix 3: export from Illustrator with a real size

  1. Start the document in millimetres, or change the units in the document setup before you draw.
  2. Choose Save As and select SVG, then open the SVG options if your version offers them.
  3. If there is a Responsive option, switch it off. Responsive files leave out the width and height, which makes NestCut fall back to the scale setting.
  4. Convert any live text to outlines first, as described in our guide to preparing SVG files.

If your files still import at the wrong size, use Fix 1 and set the scale to 72.

Check the file yourself in a text editor

You can open any SVG in a plain text editor such as Notepad. The first line with <svg tells you how the file describes its size:

  • width="200mm" height="100mm" viewBox="0 0 200 100": one unit is one millimetre. NestCut reads the real size correctly.
  • width="800px" height="400px" viewBox="0 0 800 400": one unit is one pixel, which is 1/96 inch, so the drawing is about 211.7 by 105.8 mm.
  • No width or height at all, only a viewBox: the file does not state a size, so NestCut uses the SVG scale setting.

A worked example

A 100 mm square drawn at 96 units to the inch is about 377.95 units wide. Saved with no physical width, it reaches NestCut as 377.95 units. At the default of 72 units to the inch, NestCut computes 377.95 divided by 72 times 25.4, which is about 133.3 mm. That is 1.33 times too large, matching the first line of the ratio list.

Setting SVG scale to 96 and importing again gives 377.95 divided by 96 times 25.4, which is 100 mm. Exporting the same file from Inkscape with a width of 100mm would have avoided the problem without touching the setting.

Common mistakes

  • Scaling the artwork by eye to match a size, instead of fixing the document units. The next export will be wrong again.
  • Setting the SVG scale, importing, and then changing the setting afterwards. It applies only to files imported after the change.
  • Using pixel sizes for production work. Use millimetres or inches so every program reads the same size.
  • Leaving groups with transforms in the file. Ungroup and save as a plain SVG if shapes land in the wrong place.
  • Importing several files made in different programs with one scale setting. Check each program with the one-minute test.

Check the result before cutting

NestCut exports the nested layout with its width and height in millimetres, matching your sheet. After export, open the file in your cutter software and measure one part you know. If it matches, the whole chain from design program to cutter is correct. A test cut on scrap material is cheaper than a ruined sheet.

Keep reading

  • How to Prepare an SVG File for Nesting: A Checklist
  • How to Nest SVG Parts for Laser Cutting, Step by Step
  • What Is Kerf? How to Set Part Spacing for Laser, Plasma and CNC

See all guides

Try it on your own partsNestCut nests SVG outlines in your browser. New accounts start with 0 credits, and you earn credits by watching a short rewarded ad.Open the tool
© 2026 NestCut
ExamplesGuidesAboutPrivacy PolicyTerms of UseContact