Skip to content
Brokaro

Calculators

Embed a calculator

Three Brokaro calculators can be embedded in your own website, blog or article.

Copy the code below the calculator you want into your page. The calculator then appears in a frame, calculates with the same data and formulas as on brokaro.io, and links to the full page with formula, assumptions and sources.

What the frame contains

  • No cookies, no tracking

    The embedded page sets no cookies and sends no page view to our statistics.

  • No affiliate links

    The embedded fee calculator has no buttons to the brokers. Links lead only to brokaro.io and open in a new tab.

  • With source credit

    Every frame names Brokaro as its source and links to the full page. Please keep the link below the frame.

  • The same data

    The calculators use the same data and formulas as on brokaro.io; the data date is shown below the fee calculator.

The calculators

Fee calculator

What does a year of trading really cost at each broker?

<iframe src="https://brokaro.io/embed/en/fee-calculator" title="Fee calculator" width="100%" height="1900" style="border:0;width:100%;max-width:100%" loading="lazy" sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"></iframe>
<p style="font-size:13px"><a href="https://brokaro.io/en/tools/fee-calculator">Fee calculator – calculator by Brokaro</a></p>

Swiss stamp duty calculator

Umsatzabgabe on buying and selling securities: your share, the full amount and when none is due.

<iframe src="https://brokaro.io/embed/en/swiss-stamp-duty" title="Swiss stamp duty calculator" width="100%" height="1300" style="border:0;width:100%;max-width:100%" loading="lazy" sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"></iframe>
<p style="font-size:13px"><a href="https://brokaro.io/en/tools/swiss-stamp-duty">Swiss stamp duty calculator – calculator by Brokaro</a></p>

US withholding tax calculator (Switzerland)

What is left of a US dividend, and what comes back through W-8BEN, DA-1 and the additional Swiss retention.

<iframe src="https://brokaro.io/embed/en/us-withholding-tax" title="US withholding tax calculator (Switzerland)" width="100%" height="1500" style="border:0;width:100%;max-width:100%" loading="lazy" sandbox="allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox"></iframe>
<p style="font-size:13px"><a href="https://brokaro.io/en/tools/us-withholding-tax">US withholding tax calculator (Switzerland) – calculator by Brokaro</a></p>

Adjust the height automatically (optional)

By default the frame has a fixed height and scrolls inside itself if needed. Add this script to your page once and every Brokaro frame becomes as tall as its content. The script accepts messages from https://brokaro.io only, and only the height.

<script>
window.addEventListener("message", function (event) {
  if (event.origin !== "https://brokaro.io") return;
  var data = event.data;
  if (!data || data.type !== "brokaro:embed-height" || typeof data.height !== "number") return;
  var height = Math.min(8000, Math.max(200, Math.ceil(data.height)));
  var frames = document.getElementsByTagName("iframe");
  for (var i = 0; i < frames.length; i++) {
    if (frames[i].contentWindow === event.source) frames[i].style.height = height + "px";
  }
});
</script>

Language

The code uses the language of this page. For another language, open this page in that language (language menu at the top) and copy the code there.

These calculators are for information only and are not investment advice. Content on Brokaro is for information purposes only and is not investment, legal or tax advice. All information is provided without guarantee; only the provider's own statements are authoritative.