I\'m trying to do math operation with lengths:
$itemWidth: 25px; $item2Width: 80px; element { width: $itemWidth/2-$item2Width/2-5px }
Wrap the calculation in parentheses. This tells SASS that the whole thing is part of a calculation.
$itemWidth: 25px; $item2Width: 80px; element { width: ($itemWidth/2-$item2Width/2-5px); }