Skip to main content
A_Gussenberg
Jul 13, 2023 8:38 AM UTC

Calculation formula within variable input

Hey folks, first of all I love the new variable function. Within the setup of spacings I want to reference my base value (“8”) and do calculations, e.g. (spacing-base)*2". This works fine and the value is calculated properly within the input to add a new variable. But I expected not that the calculation string changes to the absolute value. With this behaviour I loose the connection/ reference to my base value and the calculation is some how obsolete.

Does anybody feel the same?
Will there be an update?

image

Thanks

75 replies

ROB002
New Participant
Nov 11, 2024 1:25 AM UTC

This seems like a no brainer, not sure why Figma seems to be kicking the can down the road on this one. It was a missing feature from the get go and now that they have Responsive as an option in the viewer it seems even more so. Please Figma, bump up the priority on this one.

Jack_Reeves
New Participant
Nov 25, 2024 11:08 AM UTC

Tagging here to keep alive however after posting multiple requests over the last 5years that are all sensible - relatively easy features to add - only to get no response i feel like this forum is a waste of time.

  • still no background picture positioning to match css
  • still limited number of variables except enterprise
  • still no simple calculations on variables

All in favour of AI features no designer asked for.

Andri
Nov 27, 2024 11:20 PM UTC

I agree, the Figma team is slooooow when it comes to adding new things. One problem is that there is really not any competition. Sketch is way behind and doesn’t even have auto layout.

Figma could be so much better but for some reason they decided to build an enierly different product (FigJam) instead of making Figma more useful.

Lucian_Tudorache
New Participant
Nov 28, 2024 9:28 AM UTC

+1 — I think everyone agrees that this is a must!

ViktorO
Dec 6, 2024 2:51 PM UTC

This is absolutely essential functionality. It would make the handoff to the devs much more intuitive. Combined with native JSON export it’d be golden.

Dec 20, 2024 2:06 PM UTC

+1
Could be very helpful

Randy_Chen
New Member
Jan 20, 2025 3:39 PM UTC

Still waiting for this feature to complete my design system!:)

Joachim_Pihlgren
New Member
Jan 23, 2025 9:17 AM UTC

+1
Totally agree, we can already do arithmetic in input fields, we just need to be able to do it with variables.

Laurentiu
New Member
Feb 1, 2025 12:03 PM UTC

THIS IS A MUST! reducing duplicate work and enabling modularity!!

Lea.P
New Participant
Feb 3, 2025 7:11 PM UTC

+1
… would be soooo helpful for design systems!