I would calculate the percentage in base to the current window size.
You can get those values with the functions width
and height
of jQuery:
var windowsWidtdh = $(window).width();
var windowsHeight = $(window).height();
Then you could do:
var scrolledPercentage = (scrollPos * 100) / windowsHeight;