CalcPaper

Calculators on your website

For brokers, finance blogs and real estate sites: our calculators on your page, no work on your side, always up to date and free with a link to CalcPaper.

Two lines of HTML, your colors, your font. Everything is calculated in your visitors’ browser – no input leaves your page. One file under 35 KB (gzip) without dependencies, for any CMS that allows custom scripts.

#3240cc

Preview

Free license

Without a license the widget shows “Not licensed” on your page. Enter your domain, create a key – it goes straight into the code below.

We only use the email for notes about the widget, e.g. when the embed code changes. The license is free and covers one domain (with and without www), on condition that the link “Calculator by CalcPaper” stays visible in the code. We may block the license in case of abuse. Privacy

Embed code
<script src="https://calcpaper.com/widget/finanz-rechner.en.js" defer></script>

<finanz-rechner
  vorlage="usmortgage"
  farbe="#3240cc"
  radius="12"
  app-url="https://calcpaper.com"
  lizenz="YOUR-LICENSE-KEY"
>
  <a slot="aktion" href="/your-request">Request financing now</a>
  <a slot="quelle" href="https://calcpaper.com/calculators/mortgage/">Calculator by CalcPaper</a>
</finanz-rechner>

The link “Calculator by CalcPaper” in the code is a condition of the free license. Please keep it.

Attributes

vorlage
calculator: zinsrechner, sparplan, kreditrechner, baufinanzierung, hausbudget, mietrendite, entnahmeplan, dividendenrechner, fondskosten, dispozins, verzugszins, bruttonetto, mehrwertsteuer, abgeltungsteuer, inflationsrechner, prozentrechner, rabattrechner, usmortgage, salestax, paycheck
werte
prefilled inputs as JSON, e.g. {"homePrice": 450000} – say, from a property listing
berechne
starting mode, e.g. homePrice (“How much house can I afford?”)
ziel
target value of the starting mode, e.g. ziel="2500" for a monthly payment of $2,500
farbe · radius · modus
brand color, corner radius in px, hell (light) / dunkel (dark) / auto
titel
heading; titel="" hides it
lizenz
your license key – free per domain, see “Free license” above
ohne-branding
hides the line “Calculator by CalcPaper” (paid plan only)
slot="quelle"
link “Calculator by CalcPaper” in your HTML; condition of the free license

Use the results

After every change the widget fires the event berechnet with all inputs and results – ideal for prefilling your inquiry form.

document.addEventListener('berechnet', (e) => {
  // eingaben = inputs, ergebnisse = results, formatiert = formatted results
  const { eingaben, ergebnisse, formatiert } = e.detail;
  form.price.value = eingaben.homePrice;
  form.payment.value = ergebnisse.payment;
});