Units and precision

The supported length units in SVG are: px, pt, pc, cm, mm, in, em, ex, and percentages.

The default one is px.

All units in SVG support double precision. That means up to 15-17 digits.

Examples:

  • 9007199254740992
  • 25.797693134862315