Skip to main content
A_Gussenberg
July 13, 2023

Calculation formula within variable input

  • July 13, 2023
  • 74 replies
  • 11482 views

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

74 replies

dalemoore
July 22, 2024

Co-signing yet another great and much-needed feature. Love Figma, keeps getting better—let’s keep pushing it with new features like this. 🙂

MaKo
July 25, 2024

+1 for this great idea

Robin_Williams2
New Participant
August 13, 2024

This feels like a function that was missed, among others. Definitely need this feature…+1000000000

August 21, 2024

+1 here.
Also formula on colors would be fantastic! With this feature I’d be able to set main theme color and automatically derive all intermediate colors from it.

August 22, 2024

+1 as well. This would be a gamechanger and making base components a lot easier

Elena_Titos
New Member
September 7, 2024

+1. Yes, please. It would be awesome!

Ivica_Batinic1
New Participant
September 12, 2024

Penpot will have this feature pretty soon.

LXNDR
New Member
September 12, 2024

Let’s keep this one alive, even though it might be a micro-feature. It’s similar to a few other features I’ve been looking around at, so I hope it gets lumped in with those.

Praying the Figma dev team adds this soon! It seems like a small addition considering that we already have variables.

Anna_Rocca1
September 12, 2024

NEED THIS +1 this is extremely helpful if you are showing your designs in static mode to clients to give them an easy understanding of something you are trying to convey - I am not a prototyper nor do I plan to start, but I am a HEAVY variable user

djv
Figmate
Community Support
September 12, 2024

Hey All, thanks for the feedback here!

We’ll pass this onto the team for future consideration.