Ratio padding calculator

Enter the width and height of your element to calculate the vertical padding needed to make your element responsive whilst maintaining its aspect ratio.

Example usage: when using a background image and you need the div to be the height of the image.

x
© Doge-Star-All Rights Reserved.