you may use variables --width33: round(33vw, 1px); width: calc((var(--width33) - 10px)/2); ...or whatever you want