Pls check the code appended below, I hope this is the simplest way to get the width from percentage to pixel.
HTML
Perentage to Pixel :
CSS
.test {
border: 1px solid;
cursor: pointer;
height: 100%;
position: relative;
width: 100%;
padding: 10px;
}
JS
var widPx = $('#test1').width();
$('#widthPx').append(Math.round(widPx) + 'px');
OUTPUT
Perentage to Pixel : 609px
The output would be purely based on the div width.
Thanks.