Photoshop: Allow simple maths in number fields.

  • 76
  • Idea
  • Updated 4 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 Tal Shuv

Tal Shuv

  • 6 Posts
  • 3 Reply Likes
It works in most Adobe products, but very limited. It should support chained calculations such as 3*(15-4)/2.4.
Photo of PECourtejoie

PECourtejoie, Champion

  • 795 Posts
  • 287 Reply Likes
InDesign, After Effects and Illustrator have that functionnality. Cross-programs users expect the same behavior in Photoshop...
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
It's not just that we "expect the same behavior", but that we expect features that make sense and expand the usefulness of the program.

This feature would eliminate the need for a separate calculator program in many cases. That's a plus! Get it? PUN INTENDED
Photo of Karffe

Karffe

  • 14 Posts
  • 1 Reply Like
of course, this feature may be only in CC version... : /
Photo of mooncaine

mooncaine

  • 5 Posts
  • 1 Reply Like
I've been much more productive since I learned I could use math in number fields in Illustrator and After Effects. It's a huge time saver, and it's better for my poor tired editor hands, too!

Photoshop should have this. Please add it, making it work like it does in AE or AI. Thanks!



Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
6 years later, one more new release with lots of things I won't use, and the one feature that would be most helpful to me in my day to day operations, one that exists in Every Single Other Adobe App, as well as its competitors, still hasn't been implemented.  2018 may be the year I switch to Affinity Photo for good.  
Photo of Carpet Ofcourse

Carpet Ofcourse

  • 3 Posts
  • 0 Reply Likes
if you would like to have this feature include, write it to the photoshop's developers page.
Photo of roman weiser

roman weiser

  • 61 Posts
  • 9 Reply Likes
Great suggestion! This would be a nice addition to Photoshop for sure! It would improve functionality of Image Size and Image Rotation as well.
Photo of Miguel Marn

Miguel Marn

  • 17 Posts
  • 2 Reply Likes
I even would suggest a little popup calculator for all these number-input-fields. I saw this great little feat in autodesk combustion and inferno. Quite nice - but that should be as an addition to the "inline" calculation.
Photo of asox asox

asox asox

  • 2 Posts
  • 1 Reply Like
I can't tell you how much time i wasted on this. In package design when you want to put something on each side of a box you need to rotate the same layer with x°. You can't enter 76+90 to the drop shadow for example. Also in webdesign where you need to be pixel perfect you can't just enter x+73px when you free transform sg. and so on. I mean every app has simple math in input fields and you would think it's called a creative SUIT for a reason but...
Photo of Ryan Malm

Ryan Malm

  • 1 Post
  • 1 Reply Like
Agreed with all of the above; I use Illustrator on a daily basis for sign and poster layouts and frequently make use of this feature in numeric fields. In Photoshop, often used for pixel-perfect web design mockups and UI design, the feature seems to be a no-brainer, and is often a source of frustration for me that it isn't present.
Photo of Christi Evans

Christi Evans

  • 1 Post
  • 1 Reply Like
why am I unable to do equations in photoshop width and height boxes like I do in illustrator?
i.e. new document box i can enter 6*72 (as I prefer to work in points) in the width or height box in illustrator and get 432pt. But not in photoshop.........

This reply was created from a merged topic originally titled
Why can't photoshop handle equations in width and height boxes.
Photo of Jinn Leong

Jinn Leong

  • 80 Posts
  • 1 Reply Like
Could you guys add Logarithmic Resizing? It would save me some work and error when calculating.

This reply was created from a merged topic originally titled
Logarithmic Resizing.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Since I discovered the Illy team included the ability to do math in text fields I've always been disappointed by the fact that PS cannot.

This would be a big one, gents!
Photo of Daniel

Daniel

  • 9 Posts
  • 0 Reply Likes
Hi! It would be neat if I could just type for example "+4,11" in the "Canvas size" window to add that number to the specific width or height. And that Ps did the math for me. Thanks! /Daniel

This reply was created from a merged topic originally titled
Photoshop: Canvas size, a little smarter.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Hmm, what?

Are you specifying canvas coordinates?
Photo of Daniel

Daniel

  • 9 Posts
  • 0 Reply Likes
No. Just trying to add some numbers together.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Ah, like a formula then?

Like this: (61+98)+(4+11) ?

I can't make sense of your use of commas otherwise.
I'm no math major though, haha.
Photo of Daniel

Daniel

  • 9 Posts
  • 0 Reply Likes
61,98cm is a distance, just like 62cm, just a little shorter. If you are unfamiliar with the meter system, please look it up at a wiki.
Photo of Giordano

Giordano

  • 8 Posts
  • 0 Reply Likes
check "Relative" and put 4,11 in the "width" field...I understand the need for division and multiplication, but for addition and subtraction, well, there is the checkbox for that...
Photo of Roman_the_Finisher

Roman_the_Finisher

  • 37 Posts
  • 0 Reply Likes
I wonder why no one from Adobe responded to this topic?
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Nobody on the Photoshop team knows how to do math.
Photo of Roman_the_Finisher

Roman_the_Finisher

  • 37 Posts
  • 0 Reply Likes
that's why they should consider adding this feature .. :P
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1263 Posts
  • 190 Reply Likes
»Nobody on the Photoshop team knows how to do math.«
Are you trying to be funny or are you short on politeness?
The distinction is sometimes difficult in written communication. Edit: At least for me, I guess.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Haha, no I agree. Was sarcasm; just poking fun.
I have big respect for the PS team. How could I not. PS is by a landslide my favorite program of all time.
Photo of iMatt

iMatt

  • 122 Posts
  • 12 Reply Likes
It would also be nice if actions would record the math modifier instead of the result. For example if I type +5 in the blue of a solid color layer, the action would record that I added five blue, not the result of the addition.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
That's more of a problem - because you don't know whether the intent was an absolute or relative specification, and the action can be used without the original context. In general, it is much safer to record the absolute unless the field is specified as a percentage.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
But if there's a "+" or a "-" preceding the value, isn't that explicitly relative? As in, being a modifier of current value, and not a replacement for it?
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
no, because 5+2 != 15+2. Was the intent to get 7, or just to always add 2 -- the application can't know.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
"5+2 !=" ??? Not following. Also not a math expert. More like a math retard.

I'd be happy if PS allowed simple math in text fields like Illustrator already does.
Photo of Jaydude

Jaydude

  • 29 Posts
  • 1 Reply Like
It would be very convenient if Adobe Photoshop could do simple calculations in it's input field. E.g type 768*2 in a field, and the software makes it 1536. Most other software does this, but PS lacks this user friendly way of inputting.

http://www.blogger.com/blogger.g?blog...

This reply was created from a merged topic originally titled
Please let the computer compute: Photoshop must be able to d calculations in input fields.
Photo of Andrew Kinnear

Andrew Kinnear

  • 6 Posts
  • 2 Reply Likes
Basic math in the canvas size dimension fields would be a big help for me. I frequently have to extend images for designers by taking measurements from InDesign with the ruler tool and have to reach for the calculator. Can't do two decimal places in my head!
Photo of PECourtejoie

PECourtejoie, Champion

  • 795 Posts
  • 287 Reply Likes
BTW, even if I'm strongly in favor of basic math, I'd like to point out that Canvas size has had for a long time a way to add or reduce documents with + or minus operators: click on "relative", then enter the value you'd like to increase your document to, or -{value} to reduce it by that value. Way less intuitive than basic math, I know, but still it exists.
Photo of Andrew Kinnear

Andrew Kinnear

  • 6 Posts
  • 2 Reply Likes
Thank you, that addresses my needs perfectly. I had no absolutely no idea that functionality existed. Mind you I've only been using it for 20 years :-) RTFM to me then. Thanks again.
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
I'll point out again here that having this feature in a sort-of round-a-bout way in one dialog, the Canvas size dialog, isn't what we're asking for in this thread.
Photo of li

li

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled
一个建议.


我建议在软件输入数值的地方都加入一个计算器可以使用简单的+、-、*、\(加减乘除),比如950+50这样的可以直接得到结果,而不是去翻出计算器来傻傻的按一遍,这样将会节省大量的时间,免去使用计算器的痛苦,提高效率,其实我挺失望我等这个功能已经等了将近十年了,希望下个版本能看到这个功能
Photo of monia mu

monia mu

  • 2 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled
Add a calculator in document size and canvas size windows in Photoshop.


It would be great to add a small calculator in the : document size and and canvas size windows. As for people who work a lot with game graphics it would be much easier to calculate animation sequence size etc. rather than open calculator and do all the math there.
Photo of Johan Perjus

Johan Perjus

  • 5 Posts
  • 2 Reply Likes
This reply was created from a merged topic originally titled
Add math funtion to input fields just like in Illustrator..


Please please please add a math function to input fields in Photoshop just like InDesign and Illustrator works. Meaning that you can for example write "1024*2" in say the canvas input field and as you tab it calculates that to "2048". Thank you!
Photo of cocotypo

cocotypo

  • 3 Posts
  • 1 Reply Like
This reply was created from a merged topic originally titled Support equation entry in 'Canvas Size' dialog fields.

I would really like it if you could type equations into the 'Canvas Size' dialog box the way you can most other measurement fields in Photoshop. For example, if I want to increase my canvas measuring 1582 px by an additional 135 pixels, I could just type add '+135' to the current field value so the entry in the field would be '1582+135'.
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
In the special case of Canvas size: just click the Relative checkbox, then type in the number you wish to add or subtract.
Photo of cocotypo

cocotypo

  • 3 Posts
  • 1 Reply Like
Indeed -- Thanks Chris!
Photo of Johan Perjus

Johan Perjus

  • 5 Posts
  • 2 Reply Likes
The fact that you have to check a box to enable this when the same software company has solved in a way simpler and more intuitive way (i.e. there should be no patent issues) is unfathomable and beyond ignorant from a UX perspective. Or maybe I am beyond ignorant in understanding just how difficult this would be to add to Photoshop?
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
Where's the outcry from web developers on this feature? Or game developers?
The list of uses for this very practical feature goes on and on.. and is used for such in other Adobe apps. It boggles my mind that this request has gone without attention for another year. I've taken to bringing in raster assets to illustrator to position them with pixel accuracy, because Illustrator has this feature. I can move an item x pixels over and y pixels down with ease, where in photoshop you're stuck setting up an elaborate array of guides and hoping the snapping feature doesn't get in your way. It's time for photoshop to have basic math in ALL numeric entry fields. You'd think this would be an easier feature to add than the elaborate new smart guides, which are still rather clunky IMO.
Photo of mathias

mathias

  • 199 Posts
  • 44 Reply Likes
Agreed 100%!
Photo of Johan Perjus

Johan Perjus

  • 5 Posts
  • 2 Reply Likes
For the love of god! Add math functionality to all input fields as in Illustrator!
Photo of Johan Perjus

Johan Perjus

  • 5 Posts
  • 2 Reply Likes
In comment to the original request post, I am of the opinion that multiplication should be written "160*2.5" (to quote the example) in order to be consistent with other Adobe apps that has this functionality.
Photo of SIMO BOGDANOVIC

SIMO BOGDANOVIC

  • 14 Posts
  • 3 Reply Likes
This reply was created from a merged topic originally titled Simple math in numeric entry boxes ?.

Would it be possible to implement number value fields in Photoshop which can accept simple math formulas, such as 100/2 or 44*3 ?

Perhaps it's a little esoteric, but It's a feature I've come to rely on lots in other software (eg Modo by The Foundry). I've come across lots of times when I'd find it useful - recently using Filters such as Offset for fixing tiled pattern joins, creating and transforming Live shapes. I used to need it often when placing guides numerically, but thanks to the recent CC update the new Create Guides options do the job perfectly.
Photo of Jaroslav Bereza

Jaroslav Bereza

  • 848 Posts
  • 206 Reply Likes
This reply was created from a merged topic originally titled Smarter numeric input.

I would love if all numeric fields they could count as a calculator. E.g. I have a 90 mm width of the canvas and I want to extend from each side about 7 mm. Ergonomic way: "90 + 7 * 2". Of course they could be more complex things that are wrong counting from heads. E.g. x position of ninth in a series of items, including spaces. E.g. "100 + 9 * (40 + 10)" in number input for a new guideline.

For example, CINEMA 4D can do this.
Photo of Ken

Ken

  • 3 Posts
  • 0 Reply Likes
This reply was created from a merged topic originally titled Photoshop: Add/subtract/multiply/divide pixels to image/canvas size.



Examples:
1500+50 results in 1550
1500-300 results in 1200
1500*3 results in 4500
1500/2.5 results in 600

Support for multiple additions/subtractions if you need to take many sizes of images/etc into account for example:
1500+50+30+10+50..

Could also work with percent
250+20% results in 300

Saves work from doing the math manually
Photo of Chris Cox

Chris Cox

  • 20280 Posts
  • 838 Reply Likes
Canvas size already has a relative option that can add or subtract quite easily.
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes
Having a similar feature in a single isolated dialog box is NOT what we're asking for here, and your comments thus far have been far less that constructive.
Photo of Ryan Malm

Ryan Malm

  • 7 Posts
  • 8 Reply Likes