SVG Path Data Precision
The number of decimal places in path coordinates is a tradeoff between file size and geometric accuracy.
Drop your image here
Supports PNG, JPG, BMP, WEBP up to 5MB
How Coordinate Precision Affects File Size
SVG path data exported directly from design tools often includes far more decimal places in each coordinate than are visually meaningful, since differences smaller than a fraction of a pixel are imperceptible on screen, and reducing that unnecessary precision (typically to two or three decimal places) with an optimizer like SVGO can shrink file size noticeably with no visible quality loss.
- Design tool exports often include far more decimal precision than needed
- Reducing to two or three decimal places is usually visually imperceptible
- SVGO and similar optimizers automate this precision reduction reliably
When Higher Precision Actually Matters
For most icons and illustrations, aggressive precision reduction is safe, but for technical diagrams, maps, or CAD-derived vector data where exact coordinate accuracy matters for downstream calculations or manufacturing, it's worth being more conservative with precision reduction or skipping it for those specific files.
- Most icons and illustrations tolerate aggressive precision reduction safely
- Technical diagrams or CAD-derived data may need coordinate accuracy preserved
- Consider excluding precision-sensitive files from automatic optimization passes
Frequently Asked Questions
How much can I typically reduce path precision without visible quality loss?
Reducing to two or three decimal places is generally safe for most icon and illustration work, since sub-pixel coordinate differences at that precision level are imperceptible on typical screen resolutions.
Does reducing precision affect how a design tool re-imports the SVG later?
It can introduce very minor rounding differences if the file is re-imported and edited further in the original design tool, though this is rarely noticeable in practice for typical icon or illustration work.
Related guides
Ready to Convert Your Image to SVG?
Free online converter — no sign-up, no watermarks, results in under 3 seconds.
Try It Free — Convert Image to SVG