This takes some experimenting but you almost always need it to be bigger than the supplied one for when you round all values to integers. Since Material Design icons are drawn over a grid it would be foolish to increase the viewbox size to e.g. “0 0 100 100”. Instead we’ll multiply the current grid by 4 to ”0 0 96 96".

Optimising SVGs for Web Use — Part 2

Andreas Larsen

1185

So maybe a good first try value in many cases would be to multiply the current value by as much as possible without increasing the number of digits of the result?