Skip to main content
Noah Lynaugh
New Member
October 14, 2026

Equation Driven Variables

I can’t believe how equation driven variables aren’t in figma! 

Ex. establishing a rem size (font size)

then Driving type scales and line height based on that rem unit. 
You can literally do this in css html 

 

--font-ratio: 1.333;

--font-size: 1.2rem;

--font-size-1: calc(var(--font-size) * var(--font-ratio));

--font-size-2: calc(var(--font-size-1) * var(--font-ratio));

1 reply

mith sams
New Member
October 14, 2026

This would be really useful for type scales. As a workaround for now, you can type math like 16 * 1.333 directly into any number field in Figma and it will calculate the result. It does not replace real variable references, but it helps when setting up the scale.