Free WordPress plugin
Yangra Calculator for WordPress
Build pricing estimators, quote tools and ROI calculators from your own inputs and formulas, then add them to any page with a block or shortcode. No code needed.
One plugin, any kind of calculator
Give visitors a number before they get in touch. A clear estimate turns "how much?" into a real enquiry.
Price estimators
Cleaning, painting, printing, moving, catering, web design.
Quote tools
A starting price plus options and add-ons.
ROI and savings calculators
Show what a customer gains by switching to you.
Finance and health tools
Loan repayments, tax, BMI, calories, unit conversions.
From idea to live calculator in three steps
- 1
Add your inputs
Numbers, sliders, dropdowns and checkboxes, each with a name you choose.
- 2
Write a formula
One formula per result, using those names. The builder checks it as you go.
- 3
Place it on a page
Drop in the Calculator block or paste a shortcode. Results update as visitors type.
Visual builder
Build with a live preview
Build each calculator on its own screen in the admin and watch the result change as you go.
- +Each calculator gets its own editing screen
- +Live preview of the result while you build
- +Every change is checked before it is saved
- +Mistakes in a formula are pointed out, and nothing you typed is lost
- +Revisions, so you can go back to an earlier version
Number
A typed value, with optional minimum, maximum and step.
Slider
A range between a minimum and a maximum.
Dropdown
A label for visitors and a number for formulas, such as "Premium" = 49.
Checkbox
Counts as 1 when ticked and 0 when not, which suits add-ons.
Start from a template
"Add New" opens a choice of ready-made calculators to change to fit. Or start from scratch with an empty calculator.
- 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
- Trip fuel cost
- + Start from scratch
Formulas
Write it the way you'd say it
Formulas use the input names you choose, so they read like plain sums.
area * price_per_m2 + if(rush, 50, 0)- Arithmetic
+-*/%^( )- Comparisons and logic
==!=<><=>=&&||!- Functions
ifminmaxroundfloorceilabssqrtclamp
Break long formulas into steps
A result can use any result above it. Tick "Hide from visitors" on the in-between steps so visitors only see the final figure.
Formatted for your visitors
Each result has its own decimal places, prefix and suffix, such as $ or / month. Numbers use your site language's decimal and thousands separators.
$1,249.50 / month
Keep your formulas private
Each calculator can compute results in one of two ways. Choose which mode new calculators start with under Yangra Calculator → Settings.
In the visitor's browser
Results update instantly as visitors type. The formulas are included in the page.
Best for speed
On your server
Formulas and hidden results never leave your site. The page sends the values entered and shows the results that come back, after a short pause.
Best for pricing you'd rather not publish
Add it anywhere
Calculator block
Pick a calculator in the block editor and style it with colours, spacing and font size.
Shortcode
Works in classic content, widgets and page builders. The All Calculators screen shows each calculator's shortcode, ready to copy.
[yangra_calculator id="123"]Lightweight and private
No tracking
No external services, no tracking and no cookies.
Loads only where needed
Scripts and styles load only on pages that show a calculator.
Nothing stored
Values entered by visitors are not stored.
Build your first calculator today
Free to install from the WordPress.org plugin directory.