An update to @vals' answer. Some of his calcs didn't quite work for me.
The background-size calcs worked, except that he was multiplying by 1000 instead of 100 to get the final percentage figures. So 12500% should be 1250% and so on. (Update: 10/2015 - it looks like @vals has corrected this in his answer.)
The background-position X value calcs were very slightly out for me. They didn't match what was generated by spritecow.com (as per Adrian Florescu's suggestion). This is, I think, because absolute coordinates are calculated from the left of the background image, whereas with percentages, you have to calculate from the right of the background image. That being the case, you have to subtract the image width from the overall background width before you divide the absolute x-pos number with it.
So instead of:
x-part 173px / 1000px = 0.173 ->> 17.3%
do this:
x-part 173px / (1000px - 80px) = 0.1880434783 ->> 18.80434783%
Where:
1000px is the width of the background image (sprite)
80px is the width of displayed image
173px is the absolute x-coordinate of the displayed image.
This is what works for me, anyway!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…