Back to Plugins
Variable Calculator

Variable Calculator

Run math operations on your variable values!

Plugin Preview

Variable Calculator preview

About this plugin

Easily calculate variable valuesUse Variable Calculator to apply math formulas, recalculating your variables. Apply to en entire collection, specific group, or specific mode. Great for scaling numbers for responsive behavior.Select your collectionSelect the target mode or all modesEnter the path to a group of variablesEnter the formula to apply to the variablesCalculate!TipUse a, b, c, n, v, x, $ or value to reference the current variable value.Keep your variable window open to see the changes.Use the Refresh button to pull in changes to the variables made when the plugin window is open. (see below for copy & paste)Use clear to quickly delete the path.Plugin NotesVariable names and paths are case sensitive.Updating variables, especially those linked to text styles may take longer to propagate.Copy/Paste Figma BugIf you copy/paste variables between collections, you may need to reload the tab in order for those variables to register in their new collection.

Plugin Details

Version1
CreatedMay 19, 2025
Last UpdatedMay 19, 2025
CategoryFile organization plugins
CreatorMurph
Stats51 installs, 22 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:ui.html
  • main:code.js
  • Document Access:dynamic-page
  • Editor Types:
    figma
  • Allowed Domains:
    • https://fonts.googleapis.com
    • https://fonts.gstatic.com