use css calc with scss variable code example Example: calc sass variables height: calc(100% - #{$body_padding})