I'm working with two rectangles, one is 50x50px and the other is 46.3x46.3px. Oddly specific, no? But it's to illustrate my issue.

I'm trying to figure out if I can resize one object and simultaneously resize the other proportionally, but with fixed dimensions. See, when I select both objects and I want the smaller one to be 60x60px, then how big will the bigger object become exactly? If I select both objects and they are perfectly aligned, the bounding box and transformation tools will only tell me the height of the bigger box.

Using the transform each command is out of question, because it does not let me specify the dimensions for a key object.

Who can tell me how to achieve it, without using a calculator and math, if it can be done at all?


3 Answers 3


Here two squares

The red = 50 px x 50 px

The green = 43 px x 43 px

Create an horizontal guide at the squares's base.

Select the guide > Menu Object > Transform > Move > Horizontal = 0 / Vertical -60px > Copy

Select the squares and resize them proportionally, pressing Shift, until the smaller square touch the top guide.

enter image description here


I know you stated "no math" but you could merely increase the size of the larger rectangle by the same pixel difference.

60 - 46.3 = 13.7

Larger rectangle should be 63.7x63.7px to be the same proportional enlargement.

Math isn't always bad :) Especially when it takes only a couple seconds to calculate.


Here's a script to allow you to automatically scale elements.

All you have to do is have an artboard that is the final dimensions that you want. In my example I also used a stroke to show you that it will subtract the stroke from the final dimensions.

So 60px - 1pt stroke = 59px just keep this in mind.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.