Widget Guide

How to Embed a Free Payroll Calculator on Your Website (2026)

HR blogs, accountant sites, and small business portals all benefit from having a live payroll calculator — but building one from scratch takes months. PayrollSprint's free embed widget takes 2 minutes to add, works on any platform, and can be white-labeled with your own colors and logo.

Updated 2026 · Works on WordPress, Squarespace, Webflow, Wix, and any HTML site

Go straight to the Widget Code Generator to get your iframe snippet with custom colors and logo in 60 seconds.

Who should embed a payroll calculator?

HR & payroll blogs
Turn informational articles into interactive tools. Readers who calculate their own paycheck stay longer and return more often.
Accountants & CPAs
Give clients a self-service tool for quick estimates. Reduces "quick question" calls and positions your site as a resource hub.
Small business portals
Add payroll tools to employee handbooks, onboarding portals, or HR intranets without building anything custom.
Job boards & career sites
Let candidates calculate take-home pay for listed salaries before applying — a genuine engagement differentiator.

Step-by-step: embed in under 2 minutes

  1. Go to the Widget Generator. Visit payrollsprint.com/embed-widget/. No account or sign-up required.
  2. Choose your calculator. Select from Payroll Calculator, Paycheck Calculator, or Salary Slip Generator. A live preview updates instantly.
  3. Set width and height. Width 100% works for responsive layouts. Height defaults to the recommended size for each tool (480–560px).
  4. Optionally white-label it. Expand "White-label options" to set a custom accent color and your logo URL. The attribution bar updates in the preview.
  5. Copy the iframe snippet (or JS snippet for auto-resize). Paste it into your page's HTML where you want the widget to appear.

The two embed methods

Method 1: iframe snippet (recommended)

The simplest option. Paste directly into any HTML editor, WordPress block, or page builder's "Custom HTML" element.

<iframe
  src="https://payrollsprint.com/embed/paycheck-calculator/"
  width="100%"
  height="480"
  frameborder="0"
  scrolling="no"
  title="Paycheck Calculator — PayrollSprint"
  loading="lazy"
></iframe>

The loading="lazy" attribute means the widget only loads when the user scrolls it into view — no performance impact on page load.

Method 2: JavaScript snippet

Use this if you want to inject the widget dynamically or need to place it inside a container div that is rendered by JavaScript.

<div id="ps-widget-paycheck-calculator"></div>
<script>
(function(){
  var d=document,s=d.createElement('iframe');
  s.src='https://payrollsprint.com/embed/paycheck-calculator/';
  s.width='100%'; s.height='480';
  s.frameBorder='0'; s.scrolling='no';
  s.loading='lazy';
  d.getElementById('ps-widget-paycheck-calculator').appendChild(s);
})();
</script>

White-label options

The widget generator supports two white-label parameters that are appended to the embed URL:

ParameterWhat it doesExample
?accent=#hexChanges the attribution link color to match your brand?accent=#17382D
&logo=URLReplaces the PayrollSprint icon with your logo (18px tall)&logo=https://yoursite.com/logo.png

The generator builds these into the snippet automatically — you do not need to edit the URL manually. The "Powered by PayrollSprint" text link must remain visible per the terms of use.

Platform-specific instructions

WordPress

In the block editor, add a Custom HTML block and paste the iframe snippet. In the classic editor, switch to "Text" mode and paste. For page builders (Elementor, Divi, Beaver Builder), use their HTML/Code widget.

Squarespace

Add a Code block to your page and paste the iframe snippet. Squarespace requires a Business plan or higher to use custom code blocks.

Webflow

Add an Embed element from the Add panel and paste the iframe snippet. The widget respects Webflow's responsive grid — set width to 100% and it fills the column.

Wix

Use Wix HTML iframe (Add → Embed → HTML iframe) and paste the snippet. Set the iframe element's height to match the widget height you chose.

Performance and privacy

Zero server requests during use. All tax calculations run in the visitor's browser. No salary data is ever sent to PayrollSprint's servers.
No cookies or tracking. The widget does not set cookies or use tracking pixels. Safe for GDPR, CCPA, and strict privacy policies.
Lazy-loaded. The loading="lazy" attribute prevents the widget from blocking your page's initial load. Core Web Vitals are not affected.
Always up to date. Tax rates update automatically each January. You never need to update your embed code — the widget always uses current-year rates.

Frequently asked questions

How do I add a payroll calculator to my website for free?
Go to payrollsprint.com/embed-widget/, choose a calculator, copy the iframe snippet, and paste it into your HTML. No sign-up, no API key, no cost. Keep the attribution link visible.
Can I white-label the payroll calculator widget?
Yes. Set a custom accent color and your logo URL in the widget generator. Your logo replaces the PayrollSprint icon. The "Powered by PayrollSprint" text link must remain per the terms of use.
Will the embedded calculator slow down my website?
No. The widget uses loading="lazy" so it only loads when scrolled into view. All calculations run in the visitor's browser — no server requests during use.
What payroll calculators are available to embed?
Payroll Calculator, Paycheck Calculator, and Salary Slip Generator. More widgets are added regularly — check the embed widget page for the current list.
Does the embedded calculator collect visitor data?
No. All calculations happen in the visitor's browser. No inputs or results are transmitted to PayrollSprint's servers. No cookies, no tracking pixels.

Get your embed code now — free forever

Custom colors, your logo, responsive layout. One snippet, any platform.