Allows you to display calculated values in your posts and pages. You can even use dynamic shortcodes as variables!
As of April 2026, Calculate Values with Shortcodes is a WordPress evaluation plugin with 200 active installations and a 4.8/5 rating from 9 reviews. It has been downloaded 3.9K+ times in total. Requires WordPress 4.0+ and PHP 5.2.4+. Available on WordPress.org since 2018. Last updated 5 years ago — may have compatibility concerns. Top alternative: DX Template Manager.
Have you ever wanted to calculate some values dynamically to display in your posts? Let’s say you have some shortcodes that retrieve values in real time from the database. Now you want to perform some calculations on those shortcodes and display the results in your posts or pages. This plugin allows you to use a simple [calculate] shortcode with the expression inside to display these values in real time!
So an expression like [calculate]2+3*4[/calculate] will return the value “14”. Now just replace any numeric value with a shortcode that returns a number and you’re set.
You can use the “dec” attribute to specify the number of decimal digits you want to round the result up to. The default is “0”. Meaning that by default, all result…
| WordPress | 4.0+ requiredTested up to 5.4.19 |
| PHP | 5.2.4+ required |
Changed <? to <?php in evalmath.class.php
Removed the deprecated “money_format” function and replaced it with NumberFormatter instead
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.