vcalc is an Sass function for calculate unit from px to vw or vmin. Install $ npm install --save-dev vcalc-stylus @import 'vcalc-stylus'; Set variable $base-v-size as you want, default sets 375 (iPhone6). $base-view-width = 320; Useage Same as sass version