Check out example codes for "variables scss en calc()". It will help you in understanding the concepts better.

Code Example 1

height: calc(100% - #{$body_padding})

Learn ReactJs, React Native from akashmittal.com