How to Add an Instant Quote Calculator to WordPress in 2026

Add an instant quote calculator to WordPress in 60 seconds with Gutenberg, Elementor, Divi or Classic Editor. No plugin, no code. Step-by-step 2026 guide.

Last updated: November 2026

Your WordPress site gets visitors. But if those visitors can't get a price instantly, most of them leave. Not because they weren't interested — because they couldn't be bothered filling out a "we'll get back to you in 24–48 hours" contact form.

Adding an instant quote calculator to your WordPress site changes that. It gives visitors what they actually want — a ballpark number — and in return you get their name, phone, and email before they bounce. That's a lead. Automatically delivered to your inbox.

The good news: you don't need a plugin, a developer, or any coding ability. Leadkit's embed code is a single <script> tag and a <div> element. Paste it into any WordPress editor, done.

This guide walks you through exactly how to do it in every common WordPress setup — Gutenberg, Classic Editor, Elementor, Divi, Beaver Builder and block-theme templates. We'll also cover WordPress.com plan limits, caching plugins, user-role permissions, why it works on any theme without conflicts, and how to troubleshoot the most common issues.


Key Takeaways

  • The short answer: to add an instant quote calculator to WordPress, copy your Leadkit embed code and paste it into a Custom HTML block (Gutenberg), the Text tab (Classic Editor) or an HTML/Code widget (Elementor, Divi, Beaver Builder). No plugin is required.
  • A Leadkit quote calculator is one block of HTML: a <div> placeholder plus one deferred <script> tag.
  • Only WordPress users with the unfiltered_html capability (Administrators, and Editors on single sites) can save script tags — the most common reason an embed "disappears" on save.
  • On WordPress.com, custom scripts only work on plans that allow plugins (Business or higher at the time of writing); on lower plans, link to your hosted Leadkit estimate page instead.
  • The calculator renders inside a Shadow DOM, so your theme's CSS can't break it, and it's mobile-responsive by default in any container at least 320px wide.
  • Leadkit's free plan includes 1 calculator and 50 leads a month; Pro is $29/month for unlimited calculators and leads. You can have a lead-capturing quote calculator live in under 60 seconds.

Table of Contents

  1. Why is a quote calculator the best lead tool on a WordPress site?
  2. What do you need before you start?
  3. How do you get your embed code from Leadkit?
  4. How do you add the calculator to WordPress?
  5. Does it work on WordPress.com and with caching plugins?
  6. Will it clash with your WordPress theme? (Shadow DOM)
  7. Why isn't the calculator showing? Troubleshooting
  8. How do you get the most leads from it?
  9. FAQs

Why is a quote calculator the best lead tool on a WordPress site? {#why-a-quote-calculator}

A quote calculator out-performs a contact form because it gives the visitor something (a price range) before it asks for something (their details). A contact form does the opposite: it asks the customer to write a message and explain their job, with no payoff in sight. The effort is high and the reward is invisible, so most people abandon it.

A quote calculator flips that dynamic. The visitor answers a few guided questions — job size, finish level, suburb — and before the estimate shows, they enter their name, email, and phone number. By that point they're invested; they want to see the number. That exchange feels natural, and it hands you a lead that already includes the job details you'd normally chase over the phone.

From what we see across the calculators tradies run through Leadkit, the lead that arrives with job size and scope already filled in is the one that's quickest to follow up — you can call back with a sensible price conversation instead of starting from "so, what are you after?". Same traffic, same page, better tool.

Want to see what's available? Browse Leadkit's 202+ quote calculators across every trade and service category in Australia.


What do you need before you start? {#what-you-need}

You need two things: a Leadkit account and a configured calculator. You do not need a WordPress plugin, FTP access or a developer.

1. A Leadkit account. The Free plan gives you 1 calculator on your website and up to 50 leads a month, with Leadkit branding — enough to test it properly. Pro ($29/month) removes the branding and unlocks unlimited calculators, unlimited leads, a custom email domain and the full CRM. Agencies managing several client sites can use the Agency plan ($150/month) for unlimited workspaces. Sign up at leadkit.com.au — no credit card required for the free tier.

2. A calculator selected and configured. Once you're in the dashboard, pick the calculator that matches your trade or service and set your rates. Leadkit's construction and building calculators cover bathroom renovation, kitchen reno, concreting, roofing, painting, and 30+ other categories. The trades vertical covers plumbing, electrical, and other licensed trades. There's also outdoor and landscaping, cleaning, solar, pools, and more.

3. (Worth checking) Your WordPress role. If you're not the site owner, confirm you log in as an Administrator. Lower roles can't save script tags — more on that in troubleshooting.

Once your calculator is configured with your rates and branding, you're ready to copy the embed code.


How do you get your embed code from Leadkit? {#getting-your-embed-code}

You get the embed code from the Embed Code option on your calculator in the Leadkit dashboard. It takes about 10 seconds:

  1. Log in to your Leadkit dashboard.
  2. Find the calculator you want to embed and choose Embed Code. This opens the Embed & Share panel.
  3. Stay on the Embed on Website tab and select WordPress from the platform options (the others are Wix, Squarespace, Webflow and Other).
  4. Click Copy Code. The snippet looks similar to this:
<div id="leadkit-calculator" data-calculator-id="YOUR_ID"></div>
<script src="https://embed.leadkit.com.au/calculator.js" defer></script>

The example above is illustrative — always use the snippet the dashboard gives you, because it has your specific calculator ID pre-filled. You don't need to edit anything. Just copy the whole block.

Two components to understand:

  • The <div> is a placeholder element that tells the calculator where to render on the page.
  • The <script> tag loads the Leadkit calculator engine and renders the calculator inside the div automatically. The defer attribute means it loads after your page content, so it doesn't hold up the rest of the page.

The same panel has a Share Estimate Page tab with a hosted page URL and a downloadable QR code. Keep that link handy — it's the fallback if your WordPress setup won't allow scripts at all.


How do you add the calculator to WordPress? {#adding-to-wordpress}

You add the calculator by pasting the embed code into a block or widget that outputs raw HTML. Every method below amounts to the same thing: find a place to paste HTML onto the page without WordPress stripping it.

Editor / builderWhere to pasteDon't use
Gutenberg (Block Editor)Custom HTML blockParagraph or Shortcode block
Classic EditorText tabVisual tab
ElementorHTML widgetText Editor widget
DiviCode moduleText module
Beaver BuilderHTML moduleText Editor module
Block theme (Site Editor)Custom HTML block inside a template or synced patternParagraph block

Method 1: Gutenberg Block Editor (most common)

Gutenberg has been the default WordPress editor since version 5.0 and is what most WordPress sites use in 2026.

Steps:

  1. Open the page or post where you want the calculator (or create a new one).
  2. Click the + icon to add a new block.
  3. Search for "Custom HTML" and select it.
  4. Paste your Leadkit embed code directly into the Custom HTML block.
  5. Click Preview to confirm the calculator renders. (The block's own "Preview" toggle may not run scripts — use the page preview.)
  6. Click Publish or Update.

The Custom HTML block passes your HTML to the frontend exactly as written. Do not use a Paragraph block or Shortcode block; neither will render raw HTML correctly. WordPress documents the block in its Custom HTML block guide, and the WordPress Block Editor documentation covers all available block types.

Want the calculator on several pages? Turn the Custom HTML block into a synced pattern (select the block → three-dot menu → Create pattern → toggle Synced). Insert that pattern anywhere, and if you ever swap calculators you update it once.

Method 2: Classic Editor

If your site uses the Classic Editor plugin (or an older WordPress installation pre-5.0):

  1. Open the page in the Classic Editor.
  2. Click the Text tab (not Visual). This is critical — the Visual tab will try to render your HTML and may strip parts of it.
  3. Paste your embed code where you want the calculator to appear on the page.
  4. Click Update, then view the live page to confirm it renders.

Never paste raw <script> tags in the Visual tab — WordPress's TinyMCE editor will strip them on save. Also avoid flicking back and forth between Visual and Text after pasting; each switch is another chance for TinyMCE to rewrite your markup.

Method 3: Elementor

Elementor is the most popular page builder for WordPress.

  1. Open your page in Elementor.
  2. Drag in an HTML widget from the widget panel (search "HTML" if you can't see it).
  3. Paste your Leadkit embed code into the HTML field.
  4. Click Update and preview.

Elementor's editor canvas sometimes doesn't execute third-party scripts, so a blank box in the editor is normal. Check the published page, not the builder view.

Method 4: Divi

Divi by Elegant Themes uses a different architecture but the process is the same.

  1. Open your page in the Divi Builder.
  2. Add a new section/row, then add a Code module.
  3. Paste your Leadkit embed code into the Code module's content area.
  4. Save and preview.

Divi's Code module is specifically designed for raw HTML and JavaScript — don't use a Text module, which applies formatting that will break the script.

Method 5: Beaver Builder

  1. Open your page in Beaver Builder.
  2. Click the + icon to add a module.
  3. Under "Basic", select the HTML module.
  4. Paste your embed code in the HTML field.
  5. Click Done, then Publish.

Method 6: Block themes and the Site Editor

On block themes such as Twenty Twenty-Five, you can add the calculator to a template (for example, a dedicated "Quote" page template) through Appearance → Editor. Insert a Custom HTML block into the template, paste the code and save. Use this when you want the calculator baked into a layout rather than added page by page.

Same principle across every builder: raw HTML goes in a dedicated HTML/Code widget, not a standard text/paragraph widget.


Does it work on WordPress.com and with caching plugins? {#wordpress-com-and-caching}

It works on any self-hosted WordPress site, and on WordPress.com plans that allow plugins and custom code (Business or higher at the time of writing). On cheaper WordPress.com plans, script tags are stripped when you save, so the embed won't run.

WordPress.com vs self-hosted WordPress.org. Self-hosted WordPress (the kind most Australian web designers set up on hosts like VentraIP or SiteGround) lets an Administrator paste scripts freely. WordPress.com is a hosted service with plan-based limits. If you're on a lower WordPress.com plan, you have two options:

  • Upgrade to a plan that supports custom code, then follow Method 1.
  • Use the Share Estimate Page link from your Leadkit dashboard instead. Add a "Get a Quote" button or menu item on your WordPress.com site that links to that hosted page. You still capture every lead; the calculator just lives on its own page.

Caching and optimisation plugins. Plugins such as WP Rocket, LiteSpeed Cache, Autoptimize and Cloudflare's Rocket Loader can combine, minify or delay JavaScript to speed up your site. Usually the calculator is fine, but "delay JavaScript until user interaction" settings can make it appear only after someone scrolls or taps — or not at all.

If the calculator is slow to appear or missing on a cached page:

  1. Clear your page cache and any CDN cache, then reload in a private window.
  2. In your optimisation plugin, add embed.leadkit.com.au (or the script filename) to the exclusions list for "Delay JavaScript", "Combine JavaScript" and "Defer JavaScript".
  3. If you use Cloudflare, exclude the quote page from Rocket Loader.

That exclusion takes about a minute and is the fix for most "it works logged in but not for visitors" reports — because logged-in Administrators usually bypass the cache.


Will it clash with your WordPress theme? (Shadow DOM) {#shadow-dom}

No — Leadkit's calculator can't clash with your theme because it renders inside a Shadow DOM, which isolates its styles from the rest of the page.

Shadow DOM is a web platform feature that creates an isolated sub-document within your page. Think of it as a walled-off container: your theme's CSS lives outside the wall, and the calculator's styles live inside. Neither can see the other.

In practical terms, this means:

  • Your theme's fonts, colours, and layout rules don't bleed into the calculator.
  • The calculator's styles don't bleed out and accidentally change your page layout.
  • It doesn't matter whether you're running Astra, Kadence, GeneratePress, Divi, Avada, or a completely custom theme — the calculator looks the same on all of them.

This is a deliberate architectural decision, not an accident. Many third-party embeds use the same isolation pattern for the same reason. You control the calculator's look (colours, logo) from Leadkit's branding settings rather than from your theme.

Shadow DOM is a web standard documented by MDN and supported in all modern browsers. Install the embed code and it will just work, regardless of your theme or the plugins you're running.


Why isn't the calculator showing? Troubleshooting {#troubleshooting}

When a calculator doesn't render correctly on WordPress, the cause is almost always one of five things: a stripped script tag, a user role without permission to save scripts, a caching plugin delaying the script, a container that's too narrow, or a mobile layout issue.

Issue 1: Calculator not showing at all

Most likely cause: The <script> tag was stripped by WordPress.

WordPress strips <script> tags in some situations as a security measure — especially if you pasted into the Visual tab of the Classic Editor, or a standard Paragraph block in Gutenberg.

Fix: Make sure you pasted into a Custom HTML block in Gutenberg (not a Paragraph block), or the Text tab in Classic Editor. Then view the page source (right-click → View Page Source) and search for leadkit. If the <div> is there but the <script> isn't, it's being stripped. If your site runs a security plugin (Wordfence, Solid Security — formerly iThemes Security), check for rules that block inline or external scripts and whitelist the Leadkit embed domain.

Issue 2: The code vanishes every time you save

Most likely cause: Your WordPress user role lacks the unfiltered_html capability.

WordPress only lets certain roles save raw HTML and scripts. On a single site, Administrators and Editors have it; Authors and Contributors don't. On a Multisite network, only Super Admins do. The WordPress roles and capabilities documentation lists who has what.

Fix: Ask the site Administrator to paste the code, or to temporarily give your account the Administrator role. Some managed hosts also disable unfiltered_html site-wide via the DISALLOW_UNFILTERED_HTML setting in wp-config.php — your host or developer can confirm.

Issue 3: Works when logged in, missing for visitors

Most likely cause: A caching or optimisation plugin is serving an old page, or delaying the script.

Fix: Clear the cache and exclude the Leadkit script from JavaScript delay/combine settings, as covered in the WordPress.com and caching section.

Issue 4: Calculator appears but looks too narrow

Most likely cause: The container element has a fixed width narrower than the calculator's minimum width.

Fix: The calculator is responsive, but needs a container at least 320px wide to render correctly. On Elementor or Divi, check the column width settings — a calculator in a one-third column on desktop is a common culprit. On Gutenberg, use a full-width or wide-width block setting if your theme supports it.

Issue 5: Calculator not displaying correctly on mobile

Most likely cause: The page layout has a horizontal overflow issue or a missing viewport tag.

Fix: Check that your page's <meta name="viewport"> tag is set to width=device-width, initial-scale=1. This is standard on almost all modern WordPress themes but can be missing on older or custom themes. If it's correct, check whether any CSS sets overflow: hidden on the body or a parent container — this can clip embedded content on mobile.

Leadkit's calculator is mobile-responsive by default and tested across iOS and Android browsers. If none of the above resolves the issue, contact Leadkit support with a link to the page — the team can diagnose it quickly.


How do you get the most leads from it? {#maximise-conversions}

The highest-converting setup is a dedicated quote page with the calculator above the fold, linked from your main navigation. Getting the calculator onto the page is step one; placement decides how many leads it produces.

Put it above the fold on a dedicated page.

Create a page like /get-a-quote or /free-quote with the calculator as the first thing visitors see. No competition from other content, no distractions. A calculator buried in a sidebar or below a long block of text simply gets started by fewer people.

Link to your quote page from your navigation.

If your main nav says "Get a Quote" and links directly to that page, you're routing high-intent visitors straight to the conversion tool. Most WordPress sites have "Contact" in their nav and bury the quote tool five scrolls down. In WordPress, add the link under Appearance → Menus (classic themes) or the Navigation block (block themes).

Use the calculator as your page's primary CTA — not a secondary one.

If you have a hero section with a button, that button should go to the calculator, not to a contact form.

Match the headline on the page to what the visitor searched for.

If someone searched "painting quote Sydney," the page they land on should say "Get an Instant Painting Quote" — not "Contact Us." Matching the headline to search intent helps both relevance (Google) and conversion (the visitor).

Keep the estimate wording honest.

Leadkit shows customers an estimate, not a binding quote, and every result carries the line: "This is a price indication only. Your tradie will confirm the final price after assessing the job." Keep that framing on your page copy too — in Australia a written quote can be binding.

Test both desktop and mobile before going live.

Pull up the page on your phone and complete the calculator yourself. Make sure it renders cleanly, the fields are easy to tap, and the confirmation screen is readable. Then check your inbox for the test lead. Two minutes of testing saves you from unknowingly losing mobile leads.

For more on generating consistent leads from your website, read our guide on how to get more leads as a tradie in Australia.


Ready to add a quote calculator to your WordPress site? Start with Leadkit for free — embed a working calculator in 60 seconds, no credit card needed.


FAQs {#faqs}

Q: Do I need a WordPress plugin to add a Leadkit calculator?

A: No. Leadkit uses a standard HTML embed — a <script> tag and a <div> placeholder. You paste this directly into a Custom HTML block in Gutenberg, the Text tab in Classic Editor, or an HTML widget in Elementor, Divi, or Beaver Builder. No plugin download, no activation, no plugin updates to keep on top of. That's one of the key differences between Leadkit and calculator plugins — there's nothing to install or maintain on your WordPress site.

Q: Will the calculator work with my WordPress theme?

A: Yes. Leadkit's calculator renders inside a Shadow DOM, which isolates it from your theme's CSS. Whether you're on Astra, Kadence, GeneratePress, Divi, Avada, or a fully custom theme, the calculator will look and function identically. Browse Leadkit's full calculator library to find one for your trade.

Q: Can I add a quote calculator to a WordPress.com site?

A: Yes, on WordPress.com plans that allow plugins and custom code (Business or higher at the time of writing). Lower WordPress.com plans strip script tags on save, so the embed won't run. On those plans, use the hosted estimate page link from Leadkit's Share Estimate Page tab and point a "Get a Quote" button or menu item at it — you still capture every lead.

Q: Will the calculator slow down my WordPress site?

A: Not noticeably. The calculator typically appears within about 2 seconds on a standard broadband connection, and because the script loads with the defer attribute it doesn't block the rest of your page from rendering. If you use an optimisation plugin like WP Rocket or LiteSpeed Cache, exclude the Leadkit script from "delay JavaScript" settings so it loads promptly for visitors.

Q: Can I embed the calculator on multiple pages?

A: Yes. Paste the same embed code on as many pages as you want — a Gutenberg synced pattern makes this easy — or use different calculators on different pages, for example a bathroom renovation calculator on your bathroom page and a kitchen renovation calculator on your kitchen page. The Free plan includes 1 calculator; Leadkit's Pro plan includes unlimited calculators.

Q: What happens when someone completes the quote calculator on my WordPress site?

A: The visitor enters their contact details before their estimate is revealed. Once they submit, they see their instant estimate on screen and receive it by email, you get a notification with the lead and job details, and the lead appears in your Leadkit CRM for follow-up. On Free the customer email carries Leadkit branding; on Pro it carries yours. No WordPress integration is required — it all happens through Leadkit's backend.

Q: Is the calculator mobile-responsive without any extra configuration?

A: Yes, out of the box. Leadkit's calculator is built responsively and tested on iOS and Android across Chrome, Safari, and Firefox. It adapts to the screen width automatically. Just make sure the container it sits in is at least 320px wide, which covers modern smartphones in portrait orientation.

Q: What if the script tag gets stripped by my WordPress security plugin?

A: Some security plugins (Wordfence, Solid Security) include rules that block inline scripts or external JavaScript from unknown domains. If the calculator doesn't appear, check your security plugin settings and whitelist the domain embed.leadkit.com.au. Also confirm your user role has permission to save scripts (Administrator on most sites). If you're still stuck, contact Leadkit support — or use your hosted estimate page link in the meantime.


Get Your Quote Calculator Live Today

Adding a quote calculator to your WordPress site is one of the fastest, cheapest ways to turn existing website traffic into actual leads. No ad spend. No redesign. No developer required.

You paste a block of HTML into a Custom HTML block in Gutenberg — or the equivalent in your page builder — and you're done. The calculator handles the rest: real-rate estimates, lead capture, automatic notifications, and a CRM to manage follow-ups.

Ready to capture leads from your WordPress site? Embed a free Leadkit quote calculator in 60 seconds — no credit card needed, no plugin required.


Looking for cost context to set the right price ranges in your calculator? See our guides on kitchen renovation costs in Sydney, bathroom renovation costs in Melbourne, and roof replacement costs across Australia — useful benchmarks when configuring your calculator's rate inputs.

Your next estimate request
could land before lunch.

Five minutes to set up. No credit card. Cancel any time. You've got nothing to lose except a few estimating calls at 9pm.

14-day Pro trialCancel any timeAustralian owned & operated