Skip to main content

Variables: Use of Math with Aliases

  • September 8, 2023
  • 6 replies
  • 1964 views

Adam_M_Babkes

I’m super excited to be using native variables in Figma; however, there are couple of glaring holes.

  1. Identifying an EM scale for text (maybe this will come with Font Variables support)
  2. Need to be able to reference an existing Variable (an Alias) and be able to do math on it; for instance, if Spacer = 20px, i would like to be able to reference {spacer}/2 to get 10px without changing the parent value

6 replies

Alex_FG
  • New Participant
  • September 9, 2023

Variable math is possible with a plugin. https://www.figma.com/community/plugin/899028246731755335

Generator Variables


Adam_M_Babkes
  • Author
  • New Member
  • September 11, 2023

This is interesting, but unfortunately not what I’m trying to accomplish. I can already do math with variables in TokenStudio, which does it very well with a Plugin, I just really want to be able to do this without a plugin in the native Figma Variables.


Al_Avery
  • New Participant
  • October 9, 2024

I use this ability in Tokens Studio as well and it would be very helpful to have natively in Figma.


Celine_
Figmate
  • Community Support
  • October 10, 2024

Hey everyone, thanks for your feedback. I’ve gone ahead to switch your topic as a Feature request so you can vote for this idea. This will help us to monitor votes for overall interest from the community. Thank you!


Al_Avery
  • New Participant
  • November 19, 2025

100% would like to be able to do calculations on vars natively in Figma. ​@Celine_ Where can we vote on this?


Celine_
Figmate
  • Community Support
  • November 20, 2025

Hey ​@Al_Avery , thanks for following up!

We updated our process about a year ago. (My previous post you saw was from before that change.) Your comment now counts as a +1 on this thread, and the team can review the feedback here.

Thanks for sharing your input!