Photoshop: Allow simple maths in number fields.

  • 76
  • Idea
  • Updated 3 months ago
  • Implemented
So if I want my canvas to be 43px smaller I can basically type 160-43. Or if I want it to be 2.5x bigger I can do 160x2.5.
Any number field can benefit from this. Very often I have to open the calculator to figure out numbers.
Photo of Edward

Edward

  • 92 Posts
  • 24 Reply Likes

Posted 8 years ago

  • 76
Photo of Agni Kaster

Agni Kaster

  • 2 Posts
  • 3 Reply Likes
This reply was created from a merged topic originally titled Allow simple math in numeric fields.

It would be awesome if the number input fields could do simple arithmetics to speedup design process; adding, subtracting, multiplications, etc. Such as the font size or line height fields would allow 27+64, and upon hitting "return" the result would replace the expression to 91px (or default metric).

Use case for ui designers: to quickly prototype web box-model elements in psd could type 26+4*2+3*2 for the height of a shape object to represent a web element that is "height: 26px with margin: 4px and padding: 3px".

Not all designers are good at math.

Photo of Mark Sterne

Mark Sterne

  • 46 Posts
  • 9 Reply Likes
This reply was created from a merged topic originally titled Use simple Maths in numeric fields in Photoshop..

The title says it all.

Simple. Maths. In. Numeric. Fields.

Every 3D software does it, After effects does it plus many more. We should have had this years ago.

Example, I have 37 degrees rotation selected but I want to halve that:
I type 37/2 in the rotation field.

Example, I have 1326 pixels wide in image size but I want 25%.
I type 1326/4 in the field. Quicker than changing the pulldown to percentage.

Example, I create a new document at A4 but want 20 less pixels in the height.
Type 297-20 in the height field.

And so on......

Round up to the nearest integer in cases where you need deal with whole numbers (like document pixel amounts).
Photo of Mark Sterne

Mark Sterne

  • 46 Posts
  • 9 Reply Likes
Dear Adobe,

I can see this topic was started 4 years ago.

Is there a technical reason it can't be done, or it's too difficult or take too long to code?

Would be great to hear an official response.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 836 Reply Likes
Millions of users, thousands of requests, and a (more or less) fixed number of engineers. It all takes time.
Photo of Mark Sterne

Mark Sterne

  • 46 Posts
  • 9 Reply Likes
Thanks Chris.

Understand the need to prioritise feature requests.
But where does this stand in that list?

Personally I think it should be near the top!
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 836 Reply Likes
I don't know where it is on the prioritized list. While it would be nice to have, there really are more important things ahead of it (many of which you can already find requested on this site).
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
We really need clunky 3D features more than this basic utilitarian one.
Photo of Jaydude

Jaydude

  • 29 Posts
  • 1 Reply Like
This behaviour can be copied from Ai, Ae, Id, ... Or maybe I am to optimistic about object oriented development ;-)
(Edited)
Photo of Christian Boehnke

Christian Boehnke

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Add simple math to input fields.

Wouldn't it be great to add simple math to photoshop's input fields? this feature is available in Illustrator and Indesin, too. E.g. you can input something like this: 20px / 2, which will result in 10px.
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 15276 Posts
  • 2200 Reply Likes
Note - you can do simple math in the Design Space interface of Photoshop: https://helpx.adobe.com/photoshop/usi...
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 841 Posts
  • 206 Reply Likes
A good step forward. Perhaps you do manage to get into the Classic view of Photoshop. :-)
Photo of Nicolas Charrier

Nicolas Charrier

  • 10 Posts
  • 1 Reply Like
Or "Why simplify things when they can be so complicated?" We (all here) did not require that you create a Space Design (need to activate and requires 64-bit Windows 8.1 or later (PC) and Mac OS X 10.10 (Mac)), but to implement a function longstanding other software like Illustrator or InDesign.
It was still much easier to implement a function that exists in Illustrator or InDesign, create Design Space that, right?
Each version of Photoshop, you add functions that personally I do not use and I do not see the point (eg 3D). As against simple features such as allowing to do simple operations in the fields number who Yet many to call and that for years ...
I'm not saying that all the features you add to Photoshop are useless, but for example you add the tool Work Plan (which somehow comes Illustrator) but still not do simple math in numbers fields?
Photo of Nicolas Charrier

Nicolas Charrier

  • 10 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled Having the ability to do operations where we enter numerical values.

(Excuse my English, I am French and I pass by Google translation. I hope you understand what I mean :-p)
For those who do not know, in Illustrator or InDesign, in the fields where you enter numeric values (such as height or width fields of an item), the four basic operations we can do.
For example, if you want an item to be 2 times higher, we will type * 2 after the height and validates it by pressing Enter. Same thing if you want to move it 10 pixels on the X axis, + 10 you type after the value in X and you confirm with the Enter key. If instead of hitting Enter, you Alt + Enter, it performs the transformation you while duplicating the item.

By cons, we still can not do it on Photoshop. This is unfortunate because it is handy.
Photo of Karffe

Karffe

  • 14 Posts
  • 1 Reply Like
yes...
Photo of jordan314

jordan314

  • 4 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled PHOTOSHOP - Accept expressions in image size dialog.

I would love it if the Image Size and Canvas Size dialog accepted expressions. For instance, if an image width is 592, let me type in 592 * 2 instead of having me do the math to type in 1184.
Photo of Geiras ES

Geiras ES

  • 3 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled Ability to change the size of objects by using simple math operations in the Tran....

When you Ctrl + T a layer, it would be nice to use simple math operations to change the size.

Example: You have a rectangle that is 800px wide. But I want to change the rectangle to be a third of that size. Instead of making the math operation somewhere else, this could be done straight in Photoshop by introducing /3 after the width value. Illustrator and InDesign do this for a long time and it would be good to make Photoshop do it as well.
Photo of gp sidhu

gp sidhu

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Mathematical Expressions in Size input fields.

How cool it would be if we could enter simple mathematical expressions in size field .
Lets say i have a canvas size of 67 px and if i need to increase it by 4 .. i have to do calclations manually .. Insteas how cool it would be if we could just add 67*4 in canvas dialog box
Photo of Karffe

Karffe

  • 14 Posts
  • 1 Reply Like
it should be included many time ego in CS6
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
Time to chime in here again. Although after 6 years this is really feeling like it's falling on deaf ears, or at least deeply entrenched intentionally obtuse ears (I'm talking to YOU, Chris Cox.)

This isn't a outrageous feature request, its a basic utilitarian feature present in EVERY SINGLE OTHER ADOBE APP. 
Photo of Carpet Ofcourse

Carpet Ofcourse

  • 3 Posts
  • 0 Reply Likes
It will be forgotten... for all previous version which have been left fot their reasson.
Photo of Marco Miltenburg

Marco Miltenburg

  • 3 Posts
  • 3 Reply Likes
It's stupid that this has not been added after 6 years. I have the need for this almost every time I use Photoshop. I would even like to reference the width and height in the other field. E.g. :

Photo of Carpet Ofcourse

Carpet Ofcourse

  • 3 Posts
  • 0 Reply Likes
i was wondering if exactly in your case doesn't help you just change the percentage value.
Photo of tmmls

tmmls

  • 28 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled [Bug] [Photoshop] Can't use calculations in image/canvas size.

Creatives are not able to use calculations when changing the canvas and/or image size of an image ...


Photo of Hannah Nicollet

Hannah Nicollet, Quality Engineer

  • 720 Posts
  • 315 Reply Likes
Official Response
Hi Everyone,

Thank you for contributing to this discussion. This idea has been implemented into Photoshop 20.0, which is available for download today. Please open the Creative Cloud app, download the update and let us know how it goes for you. If you do not see the update immediately, sign in and sign out of the Creative Cloud.

Thank you,
Hannah
Photo of jordan314

jordan314

  • 4 Posts
  • 0 Reply Likes
Huzzah!! It works!! It even accepts expressions with parentheses. Thank you!!
Photo of Olof Ogland

Olof Ogland

  • 1 Post
  • 0 Reply Likes
I tried a simple transform of a layer and inputting 36%*1.2 doesnt work. I just get invalid numeric entry.
Photo of SIMO BOGDANOVIC

SIMO BOGDANOVIC

  • 14 Posts
  • 3 Reply Likes
Wow thats an amazing new feature ! So great that I wonder why no one had thought of adding it before