Why not just use 100% ? Should be perfect for most cases. Outside of that you would have to do some device queries and add classes based on that to your main tag. Then if you know the pixle width of the particular scroll bar on each device you can use calc to get the width you're looking for.