Yangra Calculator lets you build calculators for your visitors without writing code. Add the inputs you need, write a formula for each result, and place the calculator on any page. Results update as visitors type.
Use it for:
Build each calculator on its own screen in the admin, with a live preview of the result. Every change is checked before it is saved. If a formula has a mistake, the builder points to it and nothing you typed is lost. Calculators keep revisions, so you can go back to an earlier version.
“Add New” opens a choice of ready-made calculators to change to fit: flooring estimate, hourly service quote, how much can I borrow, sales tax, profit margin and markup, return on investment, BMI, daily calories, tip and bill split, and trip fuel cost. Or start from scratch with an empty calculator.
Formulas use the input names you choose, for example:
area * price_per_m2 + if(rush, 50, 0)
+ - * / % ^ and brackets.== != < > <= >= && || !if, min, max, round, floor, ceil, abs, sqrt, clamp.$ or / month. Numbers use your site language’s decimal and thousands separators.Each calculator can compute results in one of two ways:
You can choose which mode new calculators start with under Yangra Calculator Settings.
[yangra_calculator id="123"] works in classic content, widgets and page builders. The All Calculators screen shows each calculator’s shortcode, ready to copy.The minified files in build/ are compiled from the human-readable source in assets/src/ using @wordpress/scripts (npm run build).
The plugin includes the Freemius WordPress SDK (version 2.13.4, GPLv3) in vendor/freemius/wordpress-sdk/, which handles opt-in diagnostics and Pro licensing. Its source is available in that repository.