Price calculator widget for your website

A website calculator lets visitors enter a few details, such as rooms, amount or team size, and see a price or estimate instantly. In Widg, you add inputs like sliders and dropdowns, write simple formulas for the results, and paste one snippet into your site. The numbers update as visitors type, so they get an answer without waiting for a quote.

Create this widget for free — 5 ready-made templates, no coding.

"How much will it cost?" is the question behind most enquiries. If the only way to find out is to email you and wait, many visitors leave to compare elsewhere. A calculator on your site gives them a fair estimate in seconds and a reason to get in touch once they like the number.

Widg's Calculator works like a small spreadsheet you design yourself. Add the questions visitors answer, then write formulas for the results, such as a base price plus a rate per room. Start from a ready-made template, like a cleaning estimate or a mortgage payment, and change the numbers to match your business. No coding, and no spreadsheet knowledge beyond simple sums.

Why use a Calculator widget?

  • Instant answers for buyers

    Results update the moment a visitor moves a slider or changes a dropdown, so they can try different options and see the effect right away.

  • Your pricing, your rules

    Write formulas with everyday math plus helpers like min, max, round and if, so you can add discounts, minimum charges or add-ons.

  • Easy inputs for visitors

    Use number fields, sliders, dropdowns with a value per option, and on/off toggles, each with its own label, help text and units.

  • Start from a working example

    Choose from 5 templates with real formulas already in place: loan, cleaning estimate, mortgage, ROI and daily calories.

  • Numbers that read naturally

    Add currency symbols and units, set decimals, and pick a number format such as 1,234.56 or 1.234,56 for your region.

How do I add the Calculator widget to my website?

  1. Create a free Widg account and add a Calculator widget.
  2. Pick a template close to what you need, or start from the default loan calculator.
  3. Edit the inputs and formulas to match your prices, and check the live preview.
  4. Copy the embed snippet onto your pricing or services page and publish.

It works on WordPress, Shopify, Wix, Squarespace, Webflow and any HTML site. See the installation guide.

Who uses it?

  • A home cleaning company prices each visit from bedrooms, bathrooms, frequency and an optional deep clean.
  • A mortgage broker shows monthly payments and total interest from home price, deposit, rate and term.
  • A software company shows prospects their yearly savings, hours saved and payback time.
  • A gym or nutrition coach gives visitors their daily calorie needs and BMI.
  • A contractor shows a rough project estimate so leads arrive already knowing the budget range.

Frequently asked questions

How do I add a calculator to my website?

Build your calculator in the Widg editor, then copy the snippet, a <div> plus one <script> tag, into an HTML or custom code block on your site. That works on WordPress, Wix, Squarespace, Shopify, Webflow and plain HTML. Paste it once. When you change a price or formula later, publish in the dashboard and your site updates automatically.

Do I need to know how to code to build a calculator?

No. You give each input a short name, like rooms, and use those names in formulas, such as 40 + rooms * 18. If you can write a simple spreadsheet sum, you can build a calculator. The templates include complete formulas you can copy and adjust, and the live preview shows the result as you edit.

What kinds of calculators can I make?

Anything that turns a few inputs into numbers. Common examples are service quotes, loan and mortgage payments, ROI and savings estimates, and health measures like calories or BMI. Formulas support basic math, percentages, powers, comparisons and functions such as min, max, round, sqrt and if, so you can handle tiers and discounts.

Can I show more than one result?

Yes. Add as many results as you need, each with its own formula, label, currency or unit, and number of decimals. Highlight the most important one, such as the total price. The Receipt style lists results like an itemized bill, and the Result tiles style shows each figure in its own box.

Is the calculator widget ready to use?

The Calculator is currently marked as beta, so some details may still change. All five templates come with working formulas you can use and adapt today. If a formula can't be worked out, for example because of a typo, visitors see a friendly message that you can edit instead of a broken number.

Is the calculator widget free?

Yes. The Calculator is available on every Widg plan, including Free, with 3 widgets and 3,000 widget views a month and no card needed. Paid plans start at $5 a month, with a 14-day money-back guarantee. Yearly billing is cheaper, and you can cancel any time.

  • Business Hours — Tell visitors when you are open with a live "Open now" status in their local time. Handle split shifts, holidays and special hours with ease.
  • Map — Help customers find you with an interactive map and directions link. Add one or several locations, style the map to match your brand and show opening details.
  • Pricing Table — Present your plans side by side with features, badges and clear calls to action. Highlight the most popular option and toggle monthly or yearly pricing.
  • QR Code — Generate a branded QR code for any link, Wi-Fi network or contact card. Great for menus, flyers and in-store displays that send people back to your site.