The Handy Calculators logoTheHandyCalculators

    Embeddable Calculator Widgets

    Add a working calculator to your website with two lines of code — free, no account, no traffic limits.

    Building for contractors, real estate agents, or home-service clients? See which widgets fit each trade and how other sites are using them. Want your own usage stats? Open the partner portal for a tagged embed code and a live dashboard.

    Dog Age Calculator

    Convert your dog's age to human-equivalent years using either the AVMA size-aware method or the 2019 epigenetic clock.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="dog-age"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the dog age calculator.

    Tip Calculator

    Restaurant gratuity calculator with quick-pick tip percentages and even bill splitting between any number of people.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="tip"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the tip calculator.

    BMI Calculator

    Body Mass Index calculator with US (ft / lb) and metric (cm / kg) units, plus weight-category readout.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="bmi"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the bmi calculator.

    Square Meters ↔ Square Feet

    Two-way area converter between square meters and square feet — also shows square yards, acres, and hectares.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="square-meters-to-feet"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the square meters ↔ square feet.

    Random Number Generator

    Generate random numbers between any min and max. Useful for giveaways, sampling, classroom activities, and quick picks.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="random-number-generator"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the random number generator.

    Percentage Calculator

    Three quick percentage modes: X% of Y, A is what % of B, and percentage change. Great for homework, finance, and shopping.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="percentage"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the percentage calculator.

    Mortgage Calculator

    Compact monthly mortgage payment calculator with principal, interest, taxes, and insurance (PITI).

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="mortgage"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the mortgage calculator.

    Gross Rent Multiplier Calculator

    Screen rental deals fast: solve for GRM, the price a target GRM supports, or the rent a price implies, with cap rate and the 1% rule shown alongside.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="gross-rent-multiplier"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the gross rent multiplier calculator.

    Debt Yield Calculator

    Compute commercial debt yield or the maximum loan a target debt yield supports, with DSCR, LTV, and implied cap rate shown side by side.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="debt-yield"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the debt yield calculator.

    Loan-to-Value Calculator

    Solve for LTV, the loan a target LTV supports, or the down payment required. Includes combined LTV with a second lien and PMI threshold checks.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="loan-to-value"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the loan-to-value calculator.

    Price Per Square Foot Calculator

    Calculate price per square foot from price and area, solve total price or size, convert to price per square meter, and compare against a comparable sale.

    Customize
    Live widget
    Embed code
    <div data-thc-calculator="price-per-square-foot"></div>
    <script async src="https://thehandycalculators.com/embed.js"></script>

    Paste into any HTML block. The script auto-resizes the widget and adds the required credit link back to the price per square foot calculator.

    Every widget below is live on this page: try it, then copy the snippet next to it. Customize the colors and starting values first if you want a version tuned to your audience.

    What an embeddable calculator widget actually is

    A widget is a small, self-contained calculator that runs inside your page. You paste two lines of HTML where you want it to appear, and a working tool shows up — inputs, results, formatting and all. Nothing is installed, no account is created, and no data is sent anywhere for the visitor to worry about: every calculation on this site runs in the visitor's own browser, so the numbers a contractor types into a concrete estimator never leave their machine.

    Technically, the snippet drops an empty container div on your page and loads a single small script. That script measures the container, injects a sandboxed iframe pointing at our embed route, and then listens for height messages from inside the frame so the widget grows or shrinks to fit its own content instead of leaving a dead band of whitespace or clipping the results card. Because the widget lives in an iframe, its CSS can never leak into your theme and your theme can never break the widget's layout — a common failure mode with copy-pasted HTML calculators that fight your stylesheet for control of input padding and button color.

    The practical benefit is that you get a genuinely interactive page element without owning any of the math, the accessibility work, the mobile layout, or the ongoing maintenance. When we fix a rounding edge case or improve keyboard focus handling, every embed on every partner site picks up the change on the next page load. There is no version to upgrade and no plugin to keep patched.

    Why a calculator earns its place on a service-business page

    Most small-business websites are brochures: who we are, what we do, call us. A calculator changes the visit from reading to doing. A homeowner who lands on a deck builder's page and immediately estimates the board feet and cost of a 16-by-20 deck has just spent two or three minutes converting a vague idea into a specific number — and that number is now anchored to your brand rather than to a generic national estimator site.

    That behavior shows up in the metrics site owners actually care about. Interactive elements lift average time on page and lower bounce rate, because a visitor who is adjusting inputs is not a visitor about to hit the back button. It also produces better-qualified inquiries: someone who has already run a mortgage payment or a paver quantity estimate arrives at your contact form with a realistic budget in mind, which shortens the awkward part of the first call where you discover the prospect expected a whole-house remodel for four thousand dollars.

    There is a content-quality angle too. Search engines increasingly reward pages that satisfy the visitor's task rather than pages that merely mention the task. A page titled "How much does a paver patio cost?" that includes an actual paver calculator is a more complete answer than the same page with three paragraphs of ranges. You are not gaming anything — you are shipping the tool the reader wanted.

    How to install a widget on the platform you already use

    On WordPress, add a Custom HTML block (or a Custom HTML widget in a sidebar) and paste the snippet. Do not paste it into a paragraph block, because the visual editor will escape the angle brackets and you will see the raw code printed on the page. If your host or a security plugin strips script tags from post content, switch to the plain-iframe snippet on the widget's configure page — it works everywhere and only gives up automatic height adjustment.

    On Squarespace, use an Embed block or a Code block depending on your plan; on Wix, use the Embed HTML element; on Webflow, drop in an Embed component; on Shopify, paste into a custom Liquid section or a page's HTML view. Ghost, Notion-backed sites, HubSpot, and most modern CMS platforms all expose an equivalent raw-HTML container. The rule is the same everywhere: find the block that promises to render HTML verbatim, and use that one.

    For a static site or a hand-built page, paste the snippet directly into your markup where the calculator should appear. You can include the script tag once even if you place several widget containers on the same page — the script scans for every container with the data attribute, so a single load can power a whole page of tools.

    Customizing a widget before you copy the code

    Every widget has a configure page that lets you set the starting values your audience is most likely to need. A Florida roofer can preload a mortgage widget with local price assumptions; a classroom teacher can set the random number generator to one through thirty; a property manager can default the gross rent multiplier to the operating-expense ratio typical of their market. Sensible defaults matter more than they sound like they should — a visitor who sees numbers close to their situation engages, while a visitor who sees an empty form often leaves.

    You can also set an accent color so the widget's buttons and highlights match your brand rather than ours, and you can choose whether the small "powered by" line appears inside the frame. The configure page shows a live preview that updates as you change settings, and the snippet underneath updates with it, so what you copy is exactly what you previewed.

    Because all configuration is encoded in the snippet's URL parameters, there is no dashboard to log into and no settings that can drift out of sync. If you want to change a default later, revisit the configure page, set the new values, and replace the snippet.

    Attribution, licensing, and what we ask in return

    The widgets are free for commercial use on business sites, blogs, client sites you build for someone else, intranets, and educational material. There is no traffic cap, no per-domain license, and no invoice waiting at some usage threshold. We do not track your visitors for advertising purposes through the embed.

    What we ask is a visible, crawlable credit link back to the calculator page the widget came from. The script snippet inserts that line automatically; if you use the plain iframe, keep the attribution markup that ships beneath it. The link must be a normal followable anchor — please do not add rel="nofollow" or hide it with CSS. That link is the entire business model behind giving away the tools, and it is the condition in our content use and AI attribution policy.

    Beyond the link, you are free to place widgets on as many pages as you like, wrap them in your own explanatory copy, and describe them as a tool on your site. What you may not do is rehost the calculator code as your own, strip the attribution, or present the widget in a way that implies we endorse a specific company or offer.

    Performance, privacy, and accessibility considerations

    The embed script is intentionally small and loads asynchronously, so it never blocks your page from rendering. The iframe itself is lazy-loaded, meaning a widget placed far down a long article costs a visitor nothing until they scroll toward it. On a typical page the measurable impact on Core Web Vitals is negligible, and because the widget renders in its own frame it cannot cause layout shift in your content once its container is in place.

    On privacy: calculations happen client-side. Inputs a visitor types are not transmitted to us, stored, or associated with an identity. That matters for anyone embedding a health or finance tool where users may enter sensitive figures, and it means adding a widget does not by itself create a new disclosure obligation under most consent frameworks.

    On accessibility: the widgets ship with proper labels on every input, visible keyboard focus states, sufficient color contrast in the default theme, and results announced in a readable structure rather than as bare unlabeled numbers. If you set a custom accent color, check the contrast against white text before shipping — a very light brand color can undo the default contrast ratios.

    Frequently asked questions

    Are the calculator widgets really free?

    Yes. Every widget on this page is free to embed on commercial and non-commercial sites, with no traffic limits, no per-domain license, and no paid tier waiting behind a usage threshold. The only condition is keeping the visible credit link that the snippet installs.

    Do I need an account or an API key?

    No. There is nothing to sign up for and no key to manage. You copy a snippet from the configure page and paste it into your site. That is the entire process.

    Will the widget slow my page down?

    Very little. The loader script is small and asynchronous, and the widget frame is lazy-loaded, so it costs nothing until a visitor scrolls near it. It renders in its own frame, so it also cannot push your content around and hurt your layout-shift score.

    Can I change the colors to match my brand?

    Yes. Each widget's configure page includes an accent color picker that recolors buttons and highlights. Preview it live before copying the snippet, and check contrast if you pick a very light brand color.

    Can I set the starting values my visitors see?

    Yes, and you should. Every widget exposes its key inputs as configurable defaults — starting loan amount, default tip percentage, default patio dimensions, and so on. Defaults close to your audience's real situation meaningfully increase the number of people who interact with the tool.

    What if my CMS strips script tags?

    Use the plain-iframe snippet, available on the same configure page under a second tab. It works on locked-down platforms and security-plugin-heavy WordPress installs. The tradeoff is a fixed height instead of automatic resizing, so pick a height that fits the widget's tallest state.

    Can I put more than one widget on the same page?

    Yes. Add a container div for each widget, and include the loader script once. The script finds every container on the page and initializes each one independently.

    Is visitor data collected through the widget?

    Calculations run in the visitor's browser, and the values they type are not sent to us, stored, or tied to an identity. That holds for the finance and health widgets as well, where inputs can be sensitive.

    Does the widget work on mobile?

    Yes. Every widget is responsive, sizes to the width of its container, and uses touch-friendly controls and numeric keyboards where appropriate. Since the frame reports its height, the layout stays correct when a result card expands on a narrow screen.

    Can I use these on a client's website?

    Yes. Agencies, freelancers, and web shops are welcome to install widgets on sites they build for clients. The attribution requirement travels with the embed, so make sure the client understands the credit line should stay.

    What happens if you change or retire a calculator?

    Improvements to formulas, layout, and accessibility flow to your embed automatically on the next page load, with no action from you. If a calculator were ever retired, its embed route would continue serving a working version rather than breaking the page it lives on.

    Can I request a widget for a calculator that isn't listed here?

    Yes. We have far more calculators on the site than we have packaged as widgets, and requests drive the order we package them in. Use the request page to tell us which one you want and what industry you would use it in.

    Do the widgets support languages other than English?

    The widget interfaces are currently English. Many of the underlying calculator pages are published in Spanish, Portuguese, and German, so you can link a bilingual audience to the localized page even while the embedded tool itself reads in English.

    By Larius software engineer, NC real estate broker & CRE/business appraiserReviewed by the Handy Calculators editorial teamHow we build calculators