Back to Plugins

Variable Calculator
Run math operations on your variable values!
Plugin Preview
About this plugin
Easily calculate variable values
Use 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 collection
- Select the target mode or all modes
- Enter the path to a group of variables
- Enter the formula to apply to the variables
- Calculate!
Tip
- Use 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 Notes
- Variable names and paths are case sensitive.
- Updating variables, especially those linked to text styles may take longer to propagate.
Copy/Paste Figma Bug
If 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
Version | 1 |
---|---|
Created | May 19, 2025 |
Last Updated | May 19, 2025 |
Category | File organization plugins |
Creator | Murph |
Stats | 17 installs, 13 likes |
Pricing | Free |
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
More Like This
Discover other plugins in the File organization plugins category.