Try it out with, I think this is what you aim for:
(100 - ((distance / $(window).width()))*100)
I've just played with the formula a bit to make it more "proportional" to the distance a user swipes:
Where the first 100 is the 100% of screen width. Then you get the distance over entire width to get a decimal representation of the distance swiped in relation to the screen width let say 0.63 and you multiply that with 100 to get make it into percentage. Then just subtract the two and what you are left is how much your right distance will be in percentage. The trick is just to reverse the percentages in order to get distance from right instead of distance from left.