Adding on to what @WinnersTakesAll said, If you divide the Absolute X size by the Absolute Y size, and set the aspectratio to your result, it should scale perfectly and maintain a perfect square size on all screen sizes. I believe if you get decimals in your answer, you only need the first 2 or 3 decimal digits